/* ============================================================
   Express Website — homepage (front-page.php)
   Layers on top of style.css base. Loaded only on the front page.
   ============================================================ */

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 700px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(198,242,78,0.16), transparent 62%);
  filter: blur(10px);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; text-align: center; }
.hero h1 {
  font-size: clamp(48px, 8.5vw, 112px); line-height: 0.95; margin: 26px auto 0;
  max-width: 14ch; letter-spacing: -0.04em;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead {
  font-size: clamp(18px, 2vw, 22px); color: var(--on-dark-mute); line-height: 1.5;
  max-width: 56ch; margin: 28px auto 0; font-weight: 400;
}
.hero-ctas { display: flex; justify-content: center; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 72px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stat { padding: 32px 20px; text-align: center; border-right: 1px solid var(--line-dark); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(34px,4vw,54px); letter-spacing: -0.04em; }
.stat .num .u { opacity: 0.6; }
.stat .lbl { font-size: 14px; color: var(--on-dark-mute); margin-top: 6px; letter-spacing: 0.02em; }

/* ---------- Section scaffolding ---------- */
.pad { padding: 116px 0; }
.sec-head { max-width: 720px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2 { font-size: clamp(38px, 5.2vw, 68px); letter-spacing: -0.035em; margin-top: 18px; }
.sec-head p { font-size: 19px; line-height: 1.5; margin-top: 18px; }
.sec-light .sec-head p { color: var(--on-light-mute); }
.sec-dark .sec-head p { color: var(--on-dark-mute); }

/* ---------- Free Offer ---------- */
.offer-toggle {
  display: inline-flex; padding: 5px; border-radius: 100px;
  background: rgba(16,17,18,0.05); box-shadow: inset 0 0 0 1px var(--line-light); gap: 4px;
}
.offer-toggle button {
  font-family: var(--display); font-weight: 600; font-size: 15.5px;
  padding: 12px 24px; border-radius: 100px; color: var(--on-light-mute);
  transition: all .2s ease; letter-spacing: -0.01em;
}
.offer-toggle button.active { background: var(--ink); color: var(--on-dark); box-shadow: 0 4px 14px -4px rgba(0,0,0,0.3); }
.toggle-row { display: flex; justify-content: center; margin-bottom: 56px; }

.offer-panel { display: none; }
.offer-panel.active { display: block; }
.offer-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.offer-copy h3 { font-size: clamp(30px,3.6vw,46px); letter-spacing: -0.035em; line-height: 1.04; }
.offer-copy > p { font-size: 18px; color: var(--on-light-mute); line-height: 1.55; margin-top: 18px; max-width: 46ch; }
.feature-list { display: grid; gap: 14px; margin-top: 36px; }
.feature {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start;
  padding: 20px; border-radius: 18px; background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line-light); transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(16,17,18,0.18), 0 14px 30px -18px rgba(0,0,0,0.3); }
.feature .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; font-size: 22px; }
.feature .feature-title { display: block; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.feature p { font-size: 15px; color: var(--on-light-mute); line-height: 1.5; margin-top: 5px; }
.offer-foot { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.offer-foot .note { font-size: 14.5px; color: var(--on-light-mute); }

/* mock browser / report card */
.mock {
  background: var(--ink); border-radius: 22px; overflow: hidden; color: var(--on-dark);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5), inset 0 0 0 1px var(--line-dark);
  position: sticky; top: 100px;
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line-dark); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mock-url { margin-left: 8px; flex: 1; font-size: 13px; color: var(--on-dark-mute); background: rgba(255,255,255,0.05); padding: 7px 14px; border-radius: 100px; font-family: var(--display); }
.mock-tag { font-size: 11px; font-weight: 700; font-family: var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 4px 9px; border-radius: 6px; }
.mock-body { padding: 26px; }
.mock-title { font-size: 14px; color: var(--on-dark-mute); font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.mock-previews { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 18px; }
.mock-prev { background: var(--ink-2); border-radius: 14px; padding: 18px 14px; text-align: center; box-shadow: inset 0 0 0 1px var(--line-dark); }
.mock-prev .pic { font-size: 26px; margin-bottom: 10px; }
.mock-prev h5 { font-size: 14px; }
.mock-prev p { font-size: 12px; color: var(--on-dark-mute); margin-top: 3px; line-height: 1.4; }
.mock-skeleton { margin-top: 18px; background: var(--ink-2); border-radius: 14px; padding: 20px; box-shadow: inset 0 0 0 1px var(--line-dark); }
.sk-bar { height: 12px; border-radius: 6px; background: rgba(255,255,255,0.09); }
.sk-bar.accent { background: var(--accent); }
.sk-row { display: flex; gap: 10px; margin-top: 12px; }

/* report scores */
.scores { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 18px; }
.score { background: var(--ink-2); border-radius: 14px; padding: 16px 12px; text-align: center; box-shadow: inset 0 0 0 1px var(--line-dark); }
.score .v { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.03em; }
.score .l { font-size: 12px; color: var(--on-dark-mute); margin-top: 2px; }
.score.s-low .v { color: var(--high); }
.score.s-mid .v { color: var(--warn); }
.score.s-high .v { color: var(--good); }
.findings { margin-top: 16px; display: grid; gap: 8px; }
.finding { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px; border-radius: 12px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-dark); font-size: 14px; }
.finding .badge { font-size: 11px; font-weight: 700; font-family: var(--display); letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; white-space: nowrap; }
.badge.high { background: rgba(232,89,61,0.16); color: #FF8B73; }
.badge.med { background: rgba(232,163,61,0.16); color: #FFC470; }
.badge.good { background: rgba(31,157,85,0.18); color: #5FD493; }

/* ---------- Services ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.filter {
  font-family: var(--display); font-weight: 600; font-size: 15px; padding: 11px 20px;
  border-radius: 100px; color: var(--on-dark-mute); box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: all .18s ease;
}
.filter.active { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.filter:not(.active):hover { color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); }
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 44px; }
.svc {
  padding: 32px; border-radius: 22px; background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-dark); transition: transform .2s ease, box-shadow .2s ease, opacity .25s ease;
  display: flex; flex-direction: column; min-height: 230px;
}
.svc:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(198,242,78,0.4), 0 30px 50px -28px rgba(0,0,0,0.6); }
.svc.hide { display: none; }
.svc .ic { width: 54px; height: 54px; border-radius: 14px; background: rgba(198,242,78,0.12); display: grid; place-items: center; font-size: 26px; box-shadow: inset 0 0 0 1px rgba(198,242,78,0.25); margin-bottom: 18px; }
.svc h5 { font-size: 22px; margin-top: 0; letter-spacing: -0.02em; }
.svc p { font-size: 15.5px; color: var(--on-dark-mute); line-height: 1.55; margin-top: 10px; flex: 1; }
.svc .inc { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--accent); margin-top: 20px; font-family: var(--display); }
.svc .inc::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 11px; }

/* ---------- Industries ---------- */
.ind-chips { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 44px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 600;
  padding: 13px 22px; border-radius: 100px; background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line-light); transition: all .16s ease; font-family: var(--display); letter-spacing: -0.01em; color: var(--on-light);
}
.chip:hover { background: var(--ink); color: var(--on-dark); transform: translateY(-2px); }
.chip .em { font-size: 18px; }
.chip.more { background: transparent; color: var(--on-light-mute); box-shadow: none; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.step {
  position: relative; padding: 30px; border-radius: 22px; background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-dark); overflow: visible;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(198,242,78,0.38), 0 30px 50px -28px rgba(0,0,0,0.6); }
.step .ghost { position: absolute; top: -16px; right: 14px; font-family: var(--display); font-weight: 700; font-size: 150px; line-height: 1; color: rgba(255,255,255,0.04); letter-spacing: -0.05em; pointer-events: none; z-index: 0; }
.step-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.step .n { font-family: var(--display); font-weight: 700; font-size: 17px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.step .time { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: 13.5px; color: var(--accent); padding: 6px 13px; border-radius: 100px; box-shadow: inset 0 0 0 1px rgba(198,242,78,0.3); }
.step .step-ic { width: 54px; height: 54px; border-radius: 14px; margin-top: 26px; background: rgba(198,242,78,0.1); display: grid; place-items: center; font-size: 26px; box-shadow: inset 0 0 0 1px rgba(198,242,78,0.22); position: relative; z-index: 1; }
.step h5 { font-size: 26px; margin-top: 34px; letter-spacing: -0.02em; position: relative; z-index: 1; }
.step p { font-size: 16px; color: var(--on-dark-mute); line-height: 1.55; margin-top: 10px; position: relative; z-index: 1; flex: 1; }
.step .bar { margin-top: 26px; height: 4px; border-radius: 100px; background: rgba(255,255,255,0.08); position: relative; z-index: 1; }
.step .bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 100px; background: var(--accent); display: block; }
.step:nth-child(1) .bar i { width: 33%; }
.step:nth-child(2) .bar i { width: 66%; }
.step:nth-child(3) .bar i { width: 100%; }
.step .arrow { position: absolute; top: 50%; transform: translateY(-50%); right: -30px; z-index: 6; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line-dark); display: grid; place-items: center; color: var(--accent); font-size: 17px; }
.step:last-child .arrow { display: none; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; align-items: stretch; }
.plan {
  background: var(--paper-2); border-radius: 24px; padding: 36px 32px;
  box-shadow: inset 0 0 0 1px var(--line-light); display: flex; flex-direction: column; position: relative;
  transition: transform .2s ease;
}
.plan:hover { transform: translateY(-4px); }
.plan.feat { background: var(--ink); color: var(--on-dark); box-shadow: 0 40px 70px -30px rgba(0,0,0,0.5); transform: scale(1.03); }
.plan.feat:hover { transform: scale(1.03) translateY(-4px); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; }
.plan .tier { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.plan .price { font-family: var(--display); font-weight: 700; font-size: 52px; letter-spacing: -0.04em; margin-top: 16px; line-height: 1; }
.plan .price .cur { font-size: 30px; vertical-align: 6px; opacity: 0.6; margin-right: 6px; letter-spacing: 0; }
.plan .per { font-size: 14px; margin-top: 8px; }
.plan.feat .per { color: var(--on-dark-mute); }
.plan:not(.feat) .per { color: var(--on-light-mute); }
.plan ul { list-style: none; margin: 28px 0; display: grid; gap: 13px; flex: 1; }
.plan li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; line-height: 1.4; }
.plan li .tick { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; margin-top: 1px; }
.plan:not(.feat) li .tick { background: rgba(16,17,18,0.08); color: var(--on-light); }
.plan.feat li .tick { background: var(--accent); color: var(--accent-ink); }

/* ---------- Final CTA ---------- */
.final { text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; bottom: -50%; left: 50%; transform: translateX(-50%); width: 900px; height: 600px; background: radial-gradient(ellipse at center, rgba(198,242,78,0.18), transparent 65%); pointer-events: none; }
.final-inner { position: relative; }
.final h2 { font-size: clamp(40px,6vw,84px); letter-spacing: -0.04em; max-width: 16ch; margin: 0 auto; }
.final p { font-size: 19px; color: var(--on-dark-mute); line-height: 1.55; max-width: 56ch; margin: 26px auto 0; }
.final .ctas { display: flex; justify-content: center; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.final .note { font-size: 14.5px; color: var(--on-dark-mute); margin-top: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .offer-layout { grid-template-columns: 1fr; gap: 36px; }
  .mock { position: static; }
  .svc-grid, .steps, .price-grid, .mock-previews, .scores { grid-template-columns: 1fr 1fr; }
  .step .arrow { display: none; }
  .plan.feat { transform: none; }
  .plan.feat:hover { transform: translateY(-4px); }
  .pad { padding: 84px 0; }
}
@media (max-width: 620px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-dark); }
  /* Odd stat count: last one spans the full row instead of sitting half-width */
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: none; }
  .svc-grid, .steps, .price-grid, .scores { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
}
