@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:         #0F0C1D;
  --navy-2:       #160F2E;
  --navy-3:       #1E1645;
  --navy-4:       #271D5A;
  --brand:        #6D28D9;
  --brand-dark:   #5B21B6;
  --brand-light:  #EDE9FE;
  --brand-mid:    #C4B5FD;
  --teal:         #0D9488;
  --teal-light:   #CCFBF1;
  --amber:        #F59E0B;
  --amber-light:  #FEF3C7;
  --amber-dark:   #D97706;
  --bg:           #F5F3FF;
  --surface:      #FFFFFF;
  --border:       #E2DDFF;
  --text:         #0F0C1D;
  --muted:        #5B5380;
  --hint:         #9590B8;
  --success:      #059669;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono:         'DM Mono', 'SFMono-Regular', monospace;
  --radius:       8px;
  --radius-lg:    14px;
  --gutter:       1.375rem;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--navy);
  color: #F5F3FF;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 12, 29, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(196, 181, 253, 0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 var(--gutter);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.nav-logo-mark img { width: 100%; height: 100%; }
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #F5F3FF;
  letter-spacing: -0.01em;
}
.nav-logo-name span { color: var(--brand-mid); }
.nav-cta {
  background: var(--amber);
  color: var(--navy);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.15s;
}
.nav-cta:active { background: var(--amber-dark); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  padding: 3.5rem var(--gutter) 3rem;
  text-align: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% -5%, rgba(109,40,217,0.30) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 15% 80%, rgba(217,119,6,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 35% 25% at 85% 75%, rgba(13,148,136,0.07) 0%, transparent 55%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(109,40,217,0.18);
  border: 1px solid rgba(196,181,253,0.35);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #C4B5FD;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 7.5vw, 48px);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 auto 1.25rem;
  position: relative;
}
.hero h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(135deg, #C4B5FD 0%, #A78BFA 50%, #D97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: #9590B8;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  position: relative;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.btn-ghost {
  color: var(--hint);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.15s;
}
.btn-ghost:active { color: #ffffff; }

/* ── SECTION SHELL ───────────────────────────────────────── */
.section { padding: 3rem var(--gutter); }
.section-light {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.section-tinted {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.section-inner { max-width: 600px; margin: 0 auto; }

/* Matches desktop exactly — plain uppercase label, no pill */
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 5.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: inherit;
  margin-bottom: 0.75rem;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ── VALUE PROPS ─────────────────────────────────────────── */
.props-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.prop-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(15,12,29,0.08);
  border-left: 3px solid transparent;
}
.prop-card:has(.prop-icon.blue)  { border-left-color: var(--brand); }
.prop-card:has(.prop-icon.teal)  { border-left-color: var(--teal); }
.prop-card:has(.prop-icon.amber) { border-left-color: var(--amber); }
.prop-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.prop-icon.blue  { background: var(--brand-light); }
.prop-icon.teal  { background: var(--teal-light); }
.prop-icon.amber { background: var(--amber-light); }
.prop-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.prop-text { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── PROBLEM + DIFFERENTIATORS ───────────────────────────── */
.diff-problem { margin-bottom: 2rem; }
.diff-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 1rem;
}
.diff-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* Matches desktop card grid layout — icon left, title+text right */
.diff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.25rem;
}
.diff-card-icon {
  width: 36px;
  height: 36px;
  background: var(--brand-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / 3;
}
.diff-card-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  align-self: end;
}
.diff-card-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── FEATURES AT A GLANCE ───────────────────────────────── */
.tier-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
}
.tier-tabs::-webkit-scrollbar { display: none; }

.tier-tab {
  flex-shrink: 0;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.tier-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}
.tier-tab.coming-soon {
  opacity: 0.65;
}
.tier-tab-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.2);
  padding: 1px 5px;
  border-radius: 100px;
}
.tier-tab:not(.active) .tier-tab-badge {
  background: rgba(109,40,217,0.1);
  color: var(--brand);
}

.feature-summary {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.feature-cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  background: var(--surface);
  cursor: pointer;
  user-select: none;
}
.feature-cat-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.feature-cat-chevron {
  color: var(--muted);
  transition: transform 0.25s ease;
}
.feature-cat-card[data-open="true"] .feature-cat-chevron {
  transform: rotate(180deg);
}
.feature-cat-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
  border-top: 0px solid var(--border);
}
.feature-cat-card[data-open="true"] .feature-cat-body {
  grid-template-rows: 1fr;
  border-top-width: 1px;
}
.feature-cat-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.feature-cat-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--border);
  padding: 2px 8px;
  border-radius: 100px;
}
.feature-cat-count.full {
  background: rgba(5,150,105,0.1);
  color: var(--success);
}
.feature-cat-list {
  padding: 0.625rem 0;
  min-height: 0;
  overflow: hidden;
}
.feature-item {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  padding: 0.375rem 1rem;
}
.feature-item-icon {
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
  flex-shrink: 0;
  width: 14px;
}
.feature-item-excluded .feature-item-icon {
  color: var(--border);
}
.feature-item-name {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}
.feature-item-excluded .feature-item-name {
  color: var(--hint);
}

/* ── CTA / EARLY ACCESS ──────────────────────────────────── */
.cta-section {
  padding: 3.5rem var(--gutter) 3rem;
  text-align: center;
  background: var(--navy-2);
  border-top: 1px solid rgba(196,181,253,0.1);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 260px;
  background: radial-gradient(ellipse at center, rgba(109,40,217,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.875rem;
  position: relative;
}
.cta-section > p {
  font-size: 16px;
  color: var(--hint);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.lead-gen-form {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.lead-email-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(196,181,253,0.2);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.125rem;
  color: #ffffff;
  font-family: var(--font);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s;
}
.lead-email-input::placeholder { color: var(--muted); }
.lead-email-input:focus { border-color: var(--brand-mid); }
.lead-email-input.input-error { border-color: #FCA5A5; }
.lead-submit-btn {
  width: 100%;
  background: var(--amber);
  border: none;
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.125rem;
  color: var(--navy);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.1s;
}
.lead-submit-btn:active { background: var(--amber-dark); transform: scale(0.98); }
.lead-email-error {
  font-size: 10px;
  font-style: italic;
  color: #FCA5A5;
  margin-top: 11px;
  max-width: 400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  padding-left: 25px;
  transform: scale(0.8);
  transform-origin: left center;
  display: none;
}
.lead-email-error.visible { display: block; }
.lead-gen-thanks {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #6EE7B7;
  padding: 1rem;
  position: relative;
}
.lead-gen-thanks.visible { display: flex; }

/* ── PRICING CALCULATOR ──────────────────────────────────── */
[x-cloak] { display: none !important; }

.m-pricing-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.m-skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--bg) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: m-shimmer 1.5s infinite;
  border-radius: var(--radius-lg);
}
@keyframes m-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.m-coming-soon {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.m-calc { display: flex; flex-direction: column; gap: 1rem; }
.m-tier-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.m-tier-tagline { font-size: 13px; color: var(--muted); margin-top: 2px; }

.m-billing-toggle { display: flex; gap: 0.5rem; }
.m-billing-btn {
  flex: 1;
  padding: 0.625rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.m-billing-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.m-billing-btn:disabled { opacity: 0.4; cursor: default; }

.m-field {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.125rem;
}
.m-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.625rem;
}
.m-field-label { font-size: 13px; font-weight: 600; color: var(--text); }
.m-field-value { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--brand); }
.m-field-sub   { font-size: 11px; color: var(--hint); margin-bottom: 0.5rem; }
.m-field-hint  { font-size: 11px; color: var(--hint); }

input[type="range"].m-range {
  width: 100%;
  accent-color: var(--brand);
  cursor: pointer;
}
.m-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--hint);
  margin-top: 4px;
}

.m-metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.m-metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1rem;
}
.m-metric-card.highlight { border-color: var(--brand); background: rgba(109,40,217,0.04); }
.m-metric-card.savings-active { border-color: #16A34A; background: rgba(5,150,105,0.04); }
.m-metric-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--hint); margin-bottom: 0.25rem;
}
.m-metric-value { font-family: var(--mono); font-size: 18px; font-weight: 500; color: var(--text); letter-spacing: -0.02em; }
.m-metric-value.savings-value { color: #16A34A; }
.m-metric-sub { font-size: 10px; color: var(--hint); margin-top: 2px; line-height: 1.4; }

.m-bar-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.125rem;
}
.m-bar-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.625rem; font-size: 12px; font-weight: 600; color: var(--text);
}
.m-onboarding { font-size: 11px; color: var(--muted); }
.m-bar {
  height: 8px; background: var(--border); border-radius: 100px;
  overflow: hidden; display: flex; margin-bottom: 0.625rem;
}
.m-bar-seg { height: 100%; transition: width 0.3s; }
.m-bar-legend { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.m-bar-legend-item { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.m-bar-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.m-actions { display: flex; flex-direction: column; gap: 0.625rem; }
.m-signup-btn {
  width: 100%; background: var(--brand); color: #fff;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  padding: 14px; border-radius: var(--radius-lg); border: none;
  cursor: pointer; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.15s;
}
.m-signup-btn.annual { background: #16A34A; }
.m-founder-btn {
  width: 100%; background: var(--amber); color: var(--navy);
  font-family: var(--font); font-size: 13px; font-weight: 600;
  padding: 11px; border-radius: var(--radius); border: 1px solid #D97706;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: 6px; transition: background 0.15s;
}
.m-founder-btn-muted { background: var(--surface); border-color: var(--border); color: var(--muted); }

.m-founder-panel {
  background: var(--navy-3); border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-lg); padding: 1.25rem; margin-top: 0.25rem;
}
.m-founder-panel-title {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: #fff; margin-bottom: 0.25rem;
  display: flex; align-items: center; gap: 6px;
}
.m-founder-panel-sub { font-size: 12px; color: var(--hint); margin-bottom: 1rem; line-height: 1.5; }
.m-founder-claim-btn {
  width: 100%; background: var(--amber); color: var(--navy);
  font-size: 13px; font-weight: 700; padding: 10px;
  border-radius: var(--radius); border: none; cursor: pointer;
  text-decoration: none; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; transition: background 0.15s;
}
.m-founder-claim-btn:active { background: #D97706; }
.m-founder-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.m-founder-panel-muted {
  background: var(--surface);
  border-color: var(--border);
}
.m-founder-panel-muted .m-founder-panel-title { color: var(--text); }
.m-founder-panel-muted .m-founder-panel-title svg path { fill: var(--muted); }
.m-founder-panel-muted .m-founder-panel-sub { color: var(--muted); }
.m-founder-panel-muted .m-founder-claim-btn { background: var(--muted); color: #ffffff; }
.m-founder-panel-muted .m-founder-claim-btn:active { background: var(--text); }
.m-founder-panel-muted .m-founder-stat { background: var(--bg); }
.m-founder-panel-muted .m-founder-stat.highlight { background: var(--border); border-color: var(--border); }
.m-founder-panel-muted .m-founder-stat-label { color: var(--hint); }
.m-founder-panel-muted .m-founder-stat-value { color: var(--text); }
.m-founder-panel-muted .m-founder-stat.highlight .m-founder-stat-value { color: var(--text); }
.m-founder-panel-muted .m-founder-stat-sub { color: var(--hint); }
.m-founder-stat {
  background: rgba(255,255,255,0.05); border-radius: var(--radius); padding: 0.75rem;
}
.m-founder-stat.highlight { border: 1px solid rgba(245,158,11,0.3); }
.m-founder-stat-label { font-size: 10px; color: var(--hint); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.06em; }
.m-founder-stat.highlight .m-founder-stat-label { color: var(--amber); }
.m-founder-stat-value { font-family: var(--mono); font-size: 16px; font-weight: 500; color: #fff; }
.m-founder-stat.highlight .m-founder-stat-value { color: var(--amber); }
.m-founder-stat-sub { font-size: 10px; color: var(--hint); margin-top: 2px; }
.m-founder-stat.highlight .m-founder-stat-sub { color: var(--amber); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  padding: 1.5rem var(--gutter);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--hint);
  background: var(--navy);
  border-top: 1px solid rgba(196,181,253,0.08);
  opacity: 0.75;
}
