/* AfriBox's four essential benefits, using the shared AfriPharmacy palette. */
.hero-description{max-width:455px}
.hero-feature-list{display:flex;flex-wrap:wrap;gap:9px 10px;list-style:none;padding:0;margin:23px 0 0;max-width:470px}
.hero-feature-list li{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid var(--border);border-radius:7px;background:var(--card);font-size:12px;line-height:1.5;font-weight:550;white-space:nowrap}
.hero-feature-list [data-icon]{color:var(--green)}
.hero-feature-list svg{width:15px;height:15px}

.overview .section-heading{align-items:flex-end;margin-bottom:37px}
.overview .section-heading h2{max-width:700px}
.overview .section-heading>p{font-size:14px;line-height:1.85;max-width:340px}
.core-features-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.core-feature{--feature-accent:var(--primary);--feature-tint:var(--purple-soft);position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:19px;background:var(--card);padding:31px 33px 28px;transition:border-color .25s,box-shadow .25s,transform .25s}
.core-feature:hover{border-color:color-mix(in srgb,var(--feature-accent) 55%,var(--border));box-shadow:var(--shadow);transform:translateY(-3px)}
.feature-offline,.feature-portable{--feature-accent:var(--green);--feature-tint:var(--green-soft)}
.feature-topline{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}
.feature-icon{display:grid;place-items:center;width:47px;height:47px;flex-shrink:0;border-radius:13px;background:var(--feature-tint);color:var(--feature-accent);border:1px solid color-mix(in srgb,var(--feature-accent) 15%,var(--border))}
.feature-icon svg{width:23px;height:23px}
.feature-proof{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border:1px solid color-mix(in srgb,var(--feature-accent) 20%,var(--border));border-radius:30px;font-size:11px;font-weight:600;line-height:1.4;letter-spacing:.1px;color:var(--feature-accent);background:var(--feature-tint);text-align:center}
.feature-label{font-size:10px;font-weight:650;letter-spacing:1.45px;color:var(--feature-accent);line-height:1.65;margin-bottom:9px;display:block}
.core-feature h3{font-size:32px;letter-spacing:-1.15px;line-height:1.15;margin-bottom:15px;max-width:100%}
.feature-promise{font-size:15px;font-weight:600;line-height:1.7;max-width:460px;margin-bottom:10px;min-height:51px}
.feature-description{font-size:14px;line-height:1.8;color:var(--muted);max-width:470px;margin-bottom:25px;min-height:76px}
.feature-visual{position:relative;min-height:151px;display:flex;align-items:center;justify-content:center;gap:13px;padding:22px 20px;isolation:isolate;margin-top:auto;border-radius:12px;border:1px solid color-mix(in srgb,var(--feature-accent) 13%,var(--border));background:linear-gradient(135deg,var(--feature-tint),color-mix(in srgb,var(--card) 75%,var(--feature-tint)));overflow:hidden}
.feature-visual:before{content:"";position:absolute;inset:0;background-image:radial-gradient(var(--feature-accent) .6px,transparent .6px);background-size:15px 15px;opacity:.075;z-index:-1;pointer-events:none}

/* Local files remain available when an internet connection is absent. */
.offline-library{display:flex;align-items:center;justify-content:center;gap:11px}
.offline-library>span{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;width:79px;height:93px;border:1px solid color-mix(in srgb,var(--green) 23%,var(--border));background:var(--card);color:var(--green);border-radius:9px;box-shadow:0 6px 16px #00000004;font-size:10px;font-weight:550;line-height:1.3}
.offline-library>span:first-child{transform:rotate(-5deg) translateY(3px)}
.offline-library>span:last-child{transform:rotate(5deg) translateY(3px)}
.offline-library>span svg{width:26px;height:26px}
.offline-signal{position:absolute;bottom:13px;right:14px;display:grid;place-items:center;background:var(--green);color:var(--card);width:35px;height:35px;border:4px solid var(--green-soft);border-radius:50%}
.offline-signal svg{width:17px;height:17px}

/* Content takes one clear route from an update source to the local audience. */
.sync-node{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:70px;color:var(--muted);font-size:10px;font-weight:550;line-height:1.4;text-align:center}
.sync-node>svg,.sync-node>[data-icon]{width:49px;height:49px;display:grid;place-items:center;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--primary);padding:12px}
.sync-node>[data-icon] svg{width:23px;height:23px}
.sync-node:nth-of-type(2)>svg,.sync-node:nth-of-type(2)>[data-icon]{color:var(--green);background:var(--green-soft);border-color:color-mix(in srgb,var(--green) 22%,var(--border))}
.sync-arrow{color:var(--primary);opacity:.65;flex:0 0 27px;align-self:center;margin-top:-20px;display:grid;place-items:center}
.sync-arrow svg{width:24px;height:24px}

/* Product photography supplies a tangible reference for the small footprint. */
.feature-portable .feature-visual{justify-content:space-evenly;gap:18px}
.portable-device{width:195px;height:auto;max-width:52%;object-fit:contain;filter:drop-shadow(0 12px 9px #0002);transform:rotate(-6deg);flex-shrink:0}
.dimension-note{display:flex;flex-direction:column;gap:4px;position:relative;min-width:0;border-left:1px solid color-mix(in srgb,var(--green) 25%,var(--border));padding-left:19px;color:var(--green)}
.dimension-note strong{font-size:19px;letter-spacing:-.5px;line-height:1.4;font-weight:650;white-space:nowrap}
.dimension-note small{font-size:11px;line-height:1.6;color:var(--muted)}

/* Three recognizable actions make the ease of use concrete. */
.feature-easy .feature-visual{gap:0}
.easy-step{display:flex;align-items:center;flex-direction:column;gap:10px;min-width:0;flex:1;position:relative;text-align:center}
.easy-step:not(:last-child):after{content:"";position:absolute;left:calc(50% + 25px);right:calc(-50% + 25px);top:22px;border-top:1px dashed color-mix(in srgb,var(--primary) 45%,var(--border))}
.easy-step>span{height:45px;width:45px;border:1px solid color-mix(in srgb,var(--primary) 22%,var(--border));background:var(--card);color:var(--primary);border-radius:50%;display:grid;place-items:center;position:relative;z-index:1;font-size:16px}
.easy-step strong{font-weight:600}
.easy-step small{font-size:11px;line-height:1.5;color:var(--text);font-weight:550}

.start-strip{margin-top:27px;border:1px solid var(--border);border-radius:16px;background:var(--soft);padding:29px 32px 24px;display:grid;grid-template-columns:.85fr 1.5fr;gap:22px 40px;align-items:center}
.start-strip-heading{display:flex;align-items:flex-start;gap:13px;min-width:0}
.start-strip-heading>[data-icon]{color:var(--green);padding-top:3px}
.start-strip-heading svg{width:23px;height:23px}
.start-strip-heading strong{display:block;font-size:19px;letter-spacing:-.5px;font-weight:600;line-height:1.4}
.start-strip-heading p{font-size:13px;color:var(--muted);line-height:1.7;margin-top:6px;max-width:300px}
.start-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;list-style:none;padding:0;margin:0;min-width:0}
.start-steps li{display:flex;gap:10px;min-width:0;align-items:flex-start}
.step-number{display:grid;place-items:center;flex:0 0 27px;height:27px;border-radius:50%;background:var(--purple-soft);color:var(--primary);font-size:11px;font-weight:650;margin-top:2px}
.start-steps strong{display:block;font-size:13px;font-weight:600;line-height:1.6}
.start-steps li>div>span{display:block;font-size:12px;line-height:1.75;color:var(--muted);margin-top:3px}
.start-strip-note{grid-column:1/-1;border-top:1px solid var(--border);padding-top:15px;font-size:12px;line-height:1.8;color:var(--muted)}
.core-features-grid>.reveal:nth-child(2n){transition-delay:.08s}

@media(max-width:1100px){
  .core-feature{padding:28px 27px 25px}
  .core-feature h3{font-size:29px}
  .feature-visual{padding-inline:14px}
  .feature-visual .sync-node{min-width:60px}
  .sync-arrow{flex-basis:18px}
  .dimension-note{padding-left:12px}
  .dimension-note strong{font-size:16px}
  .start-strip{grid-template-columns:1fr;gap:24px}
  .start-strip-heading p{max-width:none}
  .start-steps{gap:28px}
}
@media(max-width:850px){
  .hero-feature-list{gap:7px}
  .hero-feature-list li{padding:6px 8px;font-size:11px;gap:5px}
  .hero-feature-list svg{width:13px;height:13px}
  .overview .section-heading{gap:28px}
  .overview .section-heading>p{font-size:13px;max-width:290px}
  .core-features-grid{gap:18px}
  .core-feature{padding:26px 24px 23px}
  .feature-topline{gap:10px;margin-bottom:22px}
  .feature-proof{font-size:10px;padding-inline:8px;max-width:160px}
  .feature-label{font-size:9px;letter-spacing:1.15px}
  .core-feature h3{font-size:28px}
  .feature-promise{font-size:14px;min-height:72px}
  .feature-description{font-size:14px;min-height:101px}
  .feature-visual{gap:8px;min-height:145px}
  .offline-library{gap:7px}
  .offline-library>span{width:65px;height:84px;font-size:9px}
  .offline-signal{right:9px;bottom:10px}
  .sync-node{font-size:9px}
  .feature-visual .sync-node{min-width:52px}
  .sync-arrow{flex-basis:11px}
  .sync-arrow svg{height:18px;width:18px}
  .feature-portable .feature-visual{gap:10px}
  .portable-device{max-width:48%}
  .dimension-note strong{font-size:14px}
  .dimension-note small{font-size:10px}
  .easy-step small{font-size:10px}
}
@media(max-width:760px){
  .hero-description{font-size:14px;max-width:440px}
  .hero-feature-list{margin-top:20px;max-width:440px;gap:8px}
  .hero-feature-list li{font-size:11px;padding:6px 9px}
  .overview .section-heading{gap:20px;margin-bottom:30px}
  .overview .section-heading>p{max-width:480px;font-size:14px}
  .core-features-grid{grid-template-columns:1fr;gap:20px}
  .core-feature{padding:28px 27px 25px}
  .feature-topline{margin-bottom:24px}
  .feature-proof{font-size:11px;padding-inline:10px;max-width:none}
  .feature-label{font-size:10px;letter-spacing:1.4px}
  .core-feature h3{font-size:31px}
  .feature-promise{font-size:15px;min-height:0;max-width:470px}
  .feature-description{font-size:14px;min-height:0;max-width:490px;margin-bottom:25px}
  .feature-visual{min-height:155px;padding-inline:20px;gap:15px}
  .offline-library{gap:13px}
  .offline-library>span{width:79px;height:94px;font-size:10px}
  .offline-signal{right:15px;bottom:13px}
  .feature-visual .sync-node{min-width:70px;font-size:10px}
  .sync-arrow{flex-basis:27px}
  .sync-arrow svg{height:24px;width:24px}
  .feature-portable .feature-visual{gap:20px}
  .portable-device{max-width:50%;width:195px}
  .dimension-note{padding-left:18px}
  .dimension-note strong{font-size:18px}
  .dimension-note small{font-size:11px}
  .easy-step small{font-size:11px}
  .start-strip{padding:26px 25px 23px;gap:25px;border-radius:14px}
  .start-strip-heading strong{font-size:20px}
  .start-strip-heading p{font-size:13px}
  .start-steps{grid-template-columns:1fr;gap:20px}
  .start-steps li{gap:13px}
  .step-number{width:30px;height:30px;flex-basis:30px;font-size:12px}
  .start-steps strong{font-size:14px}
  .start-steps li>div>span{font-size:13px;margin-top:1px}
  .start-strip-note{font-size:12px;padding-top:19px}
  .core-features-grid>.reveal:nth-child(2n){transition-delay:0s}
}
@media(max-width:400px){
  .hero-feature-list{gap:7px}
  .hero-feature-list li{font-size:10px;gap:5px;padding:6px 8px}
  .core-feature{padding:24px 21px 21px;border-radius:15px}
  .feature-icon{width:42px;height:42px;border-radius:11px}
  .feature-proof{font-size:10px;max-width:165px;min-height:28px;padding:5px 9px}
  .feature-topline{margin-bottom:22px}
  .feature-label{letter-spacing:1px;font-size:9px}
  .core-feature h3{font-size:28px}
  .feature-promise{font-size:14px}
  .feature-description{font-size:13px;line-height:1.85;margin-bottom:23px}
  .feature-visual{padding:20px 9px;min-height:140px;gap:6px}
  .offline-library{gap:7px}
  .offline-library>span{width:62px;height:82px;font-size:9px}
  .offline-library>span svg{width:23px;height:23px}
  .offline-signal{right:9px;bottom:9px;width:31px;height:31px}
  .feature-visual .sync-node{min-width:51px;font-size:9px}
  .sync-node>svg,.sync-node>[data-icon]{width:43px;height:43px;padding:10px}
  .sync-arrow{flex-basis:14px}
  .sync-arrow svg{width:17px;height:17px}
  .feature-portable .feature-visual{gap:9px}
  .portable-device{max-width:46%}
  .dimension-note{padding-left:11px}
  .dimension-note strong{font-size:14px;letter-spacing:-.4px}
  .dimension-note small{font-size:10px}
  .easy-step>span{height:39px;width:39px;font-size:14px}
  .easy-step:not(:last-child):after{top:19px;left:calc(50% + 23px);right:calc(-50% + 23px)}
  .easy-step small{font-size:9px}
  .start-strip{padding-inline:21px}
  .start-strip-heading{gap:10px}
  .start-strip-heading strong{font-size:18px}
}
@media(prefers-reduced-motion:reduce){.core-feature{transition:none}.core-feature:hover{transform:none}.core-features-grid>.reveal{transition-delay:0s}}
