/* ==========================================
   ZEN BENEFITS — MARKETING SITE
   Landing page styles
   ========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #00C896;
  --green-600: #00a77e;
  --green-700: #068a68;
  --green-ink: #035c45;
  --green-tint: #E6FAF5;
  --green-tint-2: #D2F5EA;

  --red: #DC2626;
  --red-600: #B91C1C;
  --red-ink: #7F1D1D;
  --red-tint: #FEF2F2;

  --amber: #B45309;
  --amber-tint: #FEF3C7;

  --indigo: #4F46E5;
  --indigo-tint: #EEF2FF;

  --ink: #0B1220;
  --ink-2: #1A2233;
  --muted: #5B6473;
  --muted-2: #8A93A3;
  --line: #E7EAEF;
  --line-2: #EEF0F4;
  --bg: #FFFFFF;
  --bg-2: #F7F8FA;
  --bg-3: #F1F3F6;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  --shadow-xs: 0 1px 2px rgba(11,18,32,0.06);
  --shadow-sm: 0 1px 3px rgba(11,18,32,0.07), 0 1px 2px rgba(11,18,32,0.04);
  --shadow-md: 0 8px 24px rgba(11,18,32,0.07), 0 2px 6px rgba(11,18,32,0.04);
  --shadow-lg: 0 24px 60px rgba(11,18,32,0.10), 0 8px 20px rgba(11,18,32,0.06);
}

html, body { background: var(--bg); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-feature-settings: "ss01"; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ============ SHARED ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ============ NAV ============ */
.app-nav {
  height: 68px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; background: var(--bg);
  position: sticky; top: 0; z-index: 100;
}
.app-nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -0.3px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: #00C896;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 14px; flex-shrink: 0;
}

.land-nav-cta { display: flex; align-items: center; gap: 10px; }
.land-nav-link { font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 12px; border-radius: 8px; }
.land-nav-link:hover { color: var(--ink); background: var(--bg-2); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 600; cursor: pointer; border: none;
  transition: transform .1s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap; letter-spacing: -0.1px; text-decoration: none;
}
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: #1b2436; transform: translateY(-1px); box-shadow: 0 10px 20px rgba(11,18,32,0.18); }
.btn-green { background: var(--green); color: white; box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 8px 16px rgba(0,200,150,0.28); }
.btn-green:hover { background: var(--green-600); transform: translateY(-1px); box-shadow: 0 12px 24px rgba(0,200,150,0.38); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #cdd2db; background: var(--bg-2); }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-sm { padding: 7px 12px; font-size: 12px; }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 0;
  background: radial-gradient(1100px 520px at 50% -120px, rgba(0,200,150,0.08), rgba(0,200,150,0) 60%), linear-gradient(180deg, #FCFCFD 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-bottom: 72px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-tint); color: var(--red-600);
  padding: 6px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(42px, 5vw, 60px); font-weight: 800;
  letter-spacing: -1.4px; line-height: 1.04; margin-bottom: 22px;
  text-wrap: balance; color: var(--ink);
}
.hero-title em { font-style: normal; color: var(--red); }
.hero-sub { font-size: 18px; line-height: 1.55; color: var(--muted); margin-bottom: 32px; max-width: 540px; list-style: none; padding: 0; margin-top: 0; }
.hero-sub li { padding-left: 22px; position: relative; margin-bottom: 10px; }
.hero-sub li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.hero-sub strong { color: var(--ink); font-weight: 700; }
.hero-ctas { display: flex; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-trust .ht-item { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.ht-check { width: 16px; height: 16px; border-radius: 50%; background: var(--green-tint-2); color: var(--green-700); display: grid; place-items: center; font-size: 10px; font-weight: 800; }

.hero-card-wrap { position: relative; }
.hero-card {
  background: white; border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  position: relative;
}
.hc-eyebrow { font-size: 10px; font-weight: 800; color: var(--muted-2); letter-spacing: 1px; margin-bottom: 14px; }
.hc-client { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); margin-bottom: 20px; }
.hc-av { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, #1A2233, #0B1220); color: white; display: grid; place-items: center; font-weight: 800; font-size: 13px; letter-spacing: 0.3px; flex-shrink: 0; }
.hc-client b { display: block; font-size: 14px; font-weight: 700; letter-spacing: -0.2px; }
.hc-client span { font-size: 12px; color: var(--muted); }
.hc-total { background: #0B1220; color: white; border-radius: 14px; padding: 22px 24px; margin-bottom: 18px; }
.hc-total-lab { font-size: 10px; font-weight: 800; color: rgba(255,255,255,0.55); letter-spacing: 1px; margin-bottom: 6px; }
.hc-total-amt { font-size: 44px; font-weight: 800; color: #FF6B6B; letter-spacing: -1.3px; font-variant-numeric: tabular-nums; line-height: 1; margin-bottom: 6px; }
.hc-total-sub { font-size: 12px; color: rgba(255,255,255,0.6); }
.hc-breakdown { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.hc-b-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); padding: 6px 0; border-bottom: 1px dashed var(--line-2); }
.hc-b-row:last-child { border-bottom: none; }
.hc-b-row .mono { color: var(--red-600); font-weight: 700; }
.hc-foot { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: var(--green-700); padding-top: 12px; border-top: 1px solid var(--line-2); }
.hc-foot-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }

.hero-stat-chip {
  position: absolute; background: white; border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md);
  min-width: 130px;
}
.hsc-val { font-size: 26px; font-weight: 800; letter-spacing: -0.6px; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.hsc-lab { font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 4px; line-height: 1.3; }

/* ============ SECTIONS ============ */
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.sec-head .eyebrow { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--green-700); background: var(--green-tint); padding: 5px 12px; border-radius: 100px; margin-bottom: 16px; }
.sec-head h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; text-wrap: balance; margin-bottom: 12px; }
.sec-head .sec-sub { font-size: 16px; color: var(--muted); line-height: 1.55; }

/* ============ HOW IT WORKS ============ */
.how { padding: 80px 0; }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.how-card { background: white; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; transition: border-color .15s, transform .15s; }
.how-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.how-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: var(--green-700); background: var(--green-tint); padding: 4px 8px; border-radius: 6px; display: inline-block; margin-bottom: 16px; }
.how-card h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 8px; }
.how-card p { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 12px; }
.how-meta { font-size: 11px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.5px; padding-top: 12px; border-top: 1px dashed var(--line-2); }

/* ============ CASE STUDIES ============ */
.cases { padding: 80px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-tabs { display: flex; gap: 0; background: white; border: 1px solid var(--line); border-radius: 100px; padding: 5px; margin: 0 auto 36px; max-width: fit-content; }
.cs-tab { font-size: 13px; font-weight: 600; color: var(--muted); padding: 10px 18px; border-radius: 100px; cursor: pointer; border: none; background: transparent; transition: all .15s; font-family: inherit; white-space: nowrap; }
.cs-tab:hover { color: var(--ink); }
.cs-tab.active { background: var(--ink); color: white; }
.cs-panel { display: none; }
.cs-panel.active { display: block; }
.cs-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.cs-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cs-meta .chip { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px; background: white; color: var(--muted); border: 1px solid var(--line); text-transform: uppercase; letter-spacing: 0.3px; }
.cs-arch { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 4px; }
.cs-byline { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.cs-block { margin-bottom: 22px; padding-left: 16px; border-left: 3px solid var(--line); }
.cs-block.leak-block { border-left-color: var(--red); }
.cs-block.fix-block { border-left-color: var(--indigo); }
.cs-block.math-block { border-left-color: var(--green); }
.cs-block-hd { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.leak-block .cs-block-hd { color: var(--red); }
.fix-block .cs-block-hd { color: var(--indigo); }
.math-block .cs-block-hd { color: var(--green-700); }
.cs-block p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.cs-block p b { color: var(--ink); font-weight: 700; }

.cs-math-card { background: #0B1220; color: white; border-radius: var(--r-lg); padding: 28px 28px 24px; box-shadow: var(--shadow-lg); position: sticky; top: 90px; }
.mc-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mc-label { font-size: 10px; font-weight: 800; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1px; }
.mc-tag { font-size: 10px; font-weight: 800; background: rgba(255,107,107,0.15); color: #FF6B6B; padding: 3px 9px; border-radius: 100px; }
.cs-math-total { font-size: 52px; font-weight: 800; color: #FF6B6B; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; margin-bottom: 6px; line-height: 1.05; }
.cs-math-foot { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 22px; }
.cs-math-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 0; border-top: 1px dashed rgba(255,255,255,0.12); align-items: start; }
.cs-math-row .rl { font-size: 13px; color: rgba(255,255,255,0.85); }
.cs-math-row .rl small { display: block; color: rgba(255,255,255,0.5); font-size: 11px; margin-top: 3px; font-weight: 500; }
.cs-math-row .rv { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: #FF6B6B; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs-math-total-row { margin-top: 14px; padding-top: 14px; border-top: 2px solid rgba(255,255,255,0.25); display: flex; justify-content: space-between; font-weight: 800; color: white; font-size: 15px; }
.cs-math-total-row .t-val { font-family: 'JetBrains Mono', monospace; color: #FF6B6B; font-size: 17px; }

/* ============ PRICING ============ */
.pricing { padding: 80px 0; }
.pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.pc-card { background: white; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; position: relative; transition: border-color .15s; }
.pc-card:hover { border-color: var(--ink); }
.pc-card.pop { border-color: var(--ink); background: var(--ink); color: white; }
.pc-card.pop .pc-tier, .pc-card.pop .pc-price, .pc-card.pop .pc-desc { color: white; }
.pc-card.pop .pc-feats li { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.12); }
.pc-card.pop .pc-feats li::before { color: var(--green); }
.pc-badge { position: absolute; top: 14px; right: 14px; background: var(--green); color: white; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 4px; letter-spacing: 0.3px; text-transform: uppercase; }
.pc-tier { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); margin-bottom: 14px; }
.pc-price { font-size: 42px; font-weight: 800; letter-spacing: -1px; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.pc-desc { font-size: 13px; color: var(--muted); margin-bottom: 20px; min-height: 40px; }
.pc-feats { list-style: none; margin-bottom: 24px; }
.pc-feats li { font-size: 13px; padding: 8px 0; border-top: 1px dashed var(--line); color: var(--ink-2); position: relative; padding-left: 22px; }
.pc-feats li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.pc-btn { width: 100%; justify-content: center; padding: 13px; font-size: 14px; font-weight: 700; }

.rush-strip {
  max-width: 980px; margin: 0 auto;
  background: var(--bg-2); border: 1px dashed var(--line); border-radius: var(--r-md);
  padding: 20px 24px; display: flex; align-items: center; gap: 16px; justify-content: space-between; flex-wrap: wrap;
}
.rush-strip-l { display: flex; align-items: center; gap: 14px; }
.rush-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--amber-tint); display: grid; place-items: center; font-size: 18px; }
.rush-strip-l b { font-size: 14px; font-weight: 700; display: block; margin-bottom: 2px; }
.rush-strip-l span { font-size: 13px; color: var(--muted); }
.rush-strip-r { font-size: 13px; font-weight: 700; color: var(--muted); }

/* ============ CLOSING CTA ============ */
.closing-cta { padding: 80px 0; background: #0B1220; color: white; }
.cc-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cc-check { width: 56px; height: 56px; border-radius: 16px; background: rgba(0,200,150,0.15); color: var(--green); font-size: 24px; font-weight: 800; display: grid; place-items: center; margin: 0 auto 24px; }
.cc-inner h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; color: white; text-wrap: balance; }
.cc-inner p { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 28px; }
.cc-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cc-btn-primary { background: white; color: var(--ink); padding: 14px 26px; font-size: 14px; font-weight: 700; border-radius: 10px; border: none; cursor: pointer; text-decoration: none; display: inline-block; }
.cc-btn-primary:hover { background: #f3f4f7; transform: translateY(-1px); }
.cc-btn-ghost { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.25); padding: 14px 26px; font-size: 14px; font-weight: 600; border-radius: 10px; cursor: pointer; text-decoration: none; display: inline-block; }
.cc-btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }

/* ============ FOOTER ============ */
.foot { padding: 48px 0 0; background: white; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.foot-brand p { font-size: 13px; color: var(--muted); margin-top: 10px; max-width: 260px; }
.foot-col h4 { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 12px; color: var(--muted); }
.foot-col a { display: block; font-size: 13px; color: var(--ink-2); padding: 4px 0; }
.foot-col a:hover { color: var(--ink); }
.foot-legal { border-top: 1px solid var(--line); padding: 20px 0; font-size: 12px; color: var(--muted); }
.foot-legal .container { display: flex; justify-content: space-between; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .hero-grid, .cs-layout, .foot-grid { grid-template-columns: 1fr !important; display: flex; flex-direction: column; }
  .how-grid, .pc-grid { grid-template-columns: 1fr 1fr !important; }
  .cs-math-card { position: static; }
  .hero-card-wrap { width: 100%; }
  .hero-stat-chip { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .how-grid, .pc-grid { grid-template-columns: 1fr !important; }
  .land-nav-link { display: none; }
  .cs-tabs { flex-wrap: wrap; border-radius: var(--r-lg); max-width: 100%; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
