/* ══════════════════════════════════════════════
   jedicfo.com -OneFinance Style System
   Design tokens from slide-design-tokens.json
   ══════════════════════════════════════════════ */

/* ── CSS VARIABLES (from design tokens) ── */
:root {
  /* Backgrounds */
  --bg-primary:       #0B1120;
  --bg-secondary:     #111827;
  --bg-card:          #1A2332;
  --bg-card-alt:      #1E293B;
  --bg-surface:       #0F172A;

  /* Accents */
  --cyan-primary:     #38BDF8;
  --cyan-bright:      #22D3EE;
  --cyan-muted:       #0EA5E9;
  --gold-primary:     #F59E0B;
  --gold-bright:      #FBBF24;
  --green-primary:    #34D399;
  --green-bright:     #10B981;
  --pink-primary:     #F472B6;
  --purple-accent:    #A78BFA;
  --red-accent:       #F87171;

  /* Text */
  --text-primary:     #F8FAFC;
  --text-secondary:   #CBD5E1;
  --text-muted:       #94A3B8;
  --text-dim:         #64748B;

  /* Borders */
  --border-subtle:    rgba(56, 189, 248, 0.15);
  --border-card:      rgba(56, 189, 248, 0.08);

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;
}


/* ── RESET & BASE ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-primary);
}


/* ── LAYOUT ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  scroll-snap-align: start;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

section.section-active {
  opacity: 1;
}


/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Urbanist', sans-serif;
  color: var(--text-primary);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--cyan-primary);
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

p {
  max-width: 640px;
}


/* ── SECTION LABEL ── */
.section-label {
  display: inline-block;
  font-family: 'Urbanist', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
}


/* ── PASSWORD GATE ── */
#gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.4s ease;
}

#gate.gate-fade {
  opacity: 0;
  pointer-events: none;
}

.gate-card {
  max-width: 400px;
  width: 90%;
  text-align: center;
  border-radius: var(--radius-xl);
  background: rgba(26, 35, 50, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
}

/* Gradient border via mask-composite */
.gate-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(245, 158, 11, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.gate-brand {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--cyan-primary);
  text-shadow: 0 0 60px rgba(56, 189, 248, 0.25);
  margin-bottom: 8px;
}

.gate-msg {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: none;
}

.gate-input {
  display: block;
  width: 100%;
  font-family: 'Urbanist', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 1px;
}

.gate-input::placeholder {
  color: var(--text-dim);
  letter-spacing: 0;
}

.gate-input:focus {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}

.gate-btn {
  display: block;
  width: 100%;
  font-family: 'Urbanist', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--cyan-primary);
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 36px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.gate-btn:hover {
  background: var(--cyan-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.25);
}

.gate-error {
  display: none;
  font-size: 0.85rem;
  color: var(--red-accent);
  margin-top: 12px;
}

/* Shake animation for wrong password */
@keyframes gate-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

.gate-shake {
  animation: gate-shake 0.4s ease;
}


/* ── NAVIGATION ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Brand dot -gold period on baseline */
.brand-dot {
  color: var(--gold-primary);
}

.logo-mark {
  flex-shrink: 0;
}

.btn-nav {
  font-family: 'Urbanist', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--cyan-primary);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-nav:hover {
  background: var(--cyan-bright);
  transform: translateY(-1px);
}


/* ── PAGE NAV DOTS ── */
.page-dots {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.page-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--text-dim);
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.page-dots button:hover {
  border-color: var(--cyan-primary);
  transform: scale(1.3);
}

.page-dots button.active {
  border-color: var(--cyan-primary);
  background: var(--cyan-primary);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

/* Tooltip label on hover */
.dot-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: 'Urbanist', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(11, 17, 32, 0.9);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.page-dots button:hover .dot-label {
  opacity: 1;
}


/* ── HERO ── */
.hero {
  height: 100vh;
  min-height: 600px;
  display: grid;
  grid-template-rows: 1fr auto;
  text-align: center;
  padding: 80px 24px 0;
  position: relative;
  overflow: hidden;
}

/* Animated gradient mesh background */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}

.hero-bg::before {
  background: var(--cyan-primary);
  top: 10%;
  left: 20%;
  animation: drift-1 12s ease-in-out infinite alternate;
}

.hero-bg::after {
  background: var(--gold-primary);
  bottom: 10%;
  right: 20%;
  animation: drift-2 14s ease-in-out infinite alternate;
}

@keyframes drift-1 {
  from { transform: translate(0, 0); }
  to   { transform: translate(60px, -40px); }
}

@keyframes drift-2 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-50px, 30px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

/* Hero brand wordmark */
.hero-brand {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--cyan-primary);
  text-shadow: 0 0 60px rgba(56, 189, 248, 0.25);
  animation: entry 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s backwards;
}

/* Gradient rule under brand name */
.hero-rule {
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, var(--cyan-primary), var(--gold-primary));
  margin: 12px auto 32px;
  border-radius: 1px;
  animation: entry 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s backwards;
}

/* Hero entrance animation -staggered fade-up */
@keyframes entry {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  margin-bottom: 20px;
  animation: entry 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s backwards;
}

.hero h1 .accent {
  color: var(--cyan-primary);
}

.hero-tagline {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--gold-primary);
  margin: 0 auto 40px;
  font-style: italic;
  animation: entry 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s backwards;
}

.btn-hero {
  display: inline-block;
  font-family: 'Urbanist', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--cyan-primary);
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 36px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  animation: entry 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.55s backwards;
}

.btn-hero:hover {
  background: var(--cyan-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.25);
}

/* Proof strip at bottom of hero */
.proof-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-top: 1px solid;
  border-image: linear-gradient(to right, rgba(56, 189, 248, 0.15), rgba(245, 158, 11, 0.15)) 1;
  font-family: 'Urbanist', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  animation: entry 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s backwards;
}

.proof-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-primary);
}


/* ── SCROLL-REVEAL SYSTEM ── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: calc(var(--i, 0) * 120ms);
}

[data-reveal="up"] {
  transform: translateY(36px);
}

[data-reveal="scale"] {
  transform: scale(0.92);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal].in-view {
  opacity: 1;
  transform: translate(0) scale(1);
}


/* ── PROBLEM SECTION ── */
.problem {
  background: var(--bg-secondary);
}

/* Subtle warm radial gradient atmosphere */
.problem::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.problem h2 {
  margin-bottom: 32px;
}

/* Symptom grid */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.problem-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.04);
  border: 1px solid var(--border-card);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.problem-card:hover {
  border-color: var(--border-subtle);
  background: rgba(56, 189, 248, 0.07);
}

.problem-card svg {
  width: 20px;
  height: 20px;
  color: var(--cyan-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.problem-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: none;
  margin: 0;
}

.problem-card strong {
  color: var(--text-primary);
}

/* Agitation + Bridge callout box */
.problem-callout {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  position: relative;
  z-index: 1;
}

.problem-agitate {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: none;
  margin-bottom: 20px;
}

.problem-agitate strong {
  color: var(--text-primary);
}

.problem-bridge {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: none;
  padding-left: 20px;
  border-left: 3px solid var(--gold-primary);
}

.problem-cover {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: none;
  margin-top: 20px;
  padding-left: 20px;
  border-left: 3px solid var(--cyan-primary);
  color: var(--text-primary);
  font-weight: 500;
}


/* ── DELIVERABLES CARDS (What You Get) ── */
/* Faint grid texture atmosphere */
.deliverables::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.08);
}

/* Top accent bar */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
}

.card:nth-child(1)::before { background: var(--cyan-primary); }
.card:nth-child(2)::before { background: var(--gold-primary); }
.card:nth-child(3)::before { background: var(--green-primary); }

/* Gradient border via mask-composite */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(245, 158, 11, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background 0.3s ease;
  z-index: 1;
}

.card:hover::after {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(245, 158, 11, 0.35));
}

/* Lucide icon container */
.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(56, 189, 248, 0.05));
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.card-icon-wrap svg {
  width: 22px;
  height: 22px;
  color: var(--cyan-primary);
}

.card:hover .card-icon-wrap {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.1));
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: none;
  text-align: justify;
  hyphens: auto;
}


/* ── PRICING TIERS ── */
.pricing-section {
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.pricing-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Gradient top bar - featured card only */
.pricing-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--cyan-primary), var(--gold-primary));
}

/* Sibling fade: when grid is hovered, dim all cards, then restore the hovered one */
.pricing-grid:hover .pricing-card {
  opacity: 0.4;
}

.pricing-grid:hover .pricing-card:hover {
  opacity: 1;
  border-color: var(--cyan-primary);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.1);
}

/* Featured card - subtle emphasis at rest */
.pricing-card-featured {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.1);
}

.pricing-badge {
  font-family: 'Urbanist', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.pricing-price {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.pricing-scope {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: none;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.pricing-includes {
  font-family: 'Urbanist', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-top: 16px;
  border-top: 1px solid var(--border-card);
  margin-top: auto;
}

.pricing-addon {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 16px 24px;
  background: rgba(245, 158, 11, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-md);
}

.pricing-addon strong {
  color: var(--gold-primary);
}


/* ── SAMPLE CTA (below deliverable cards) ── */
.sample-cta {
  margin-top: 32px;
  position: relative;
  z-index: 1;
}

.sample-cta-inner {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sample-cta-inner:hover {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.08);
}

.sample-cta h3 {
  font-size: 1.1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.sample-cta p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: none;
  flex: 1;
}

.btn-sample {
  display: inline-block;
  font-family: 'Urbanist', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--bg-primary);
  background: var(--gold-primary);
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.btn-sample:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}


/* ── TIMELINE (How It Works) ── */
.process {
  background: var(--bg-surface);
}

/* Subtle bottom glow atmosphere */
.process::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(56, 189, 248, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  position: relative;
}

.timeline-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 2px;
  background: linear-gradient(to right, var(--cyan-primary), var(--gold-primary));
  opacity: 0.3;
}

.timeline-step {
  text-align: center;
  position: relative;
  padding: 20px 12px;
  border-radius: var(--radius-lg);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.timeline-step:hover {
  background: rgba(56, 189, 248, 0.04);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.08);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: 'Urbanist', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--cyan-primary);
  position: relative;
  z-index: 1;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.timeline-step:hover .step-number {
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35), 0 0 32px rgba(56, 189, 248, 0.15);
  border-color: var(--cyan-bright);
}

.timeline-step h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.timeline-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: none;
  margin: 0 auto;
}

.step-duration {
  font-family: 'Fira Code', monospace;
  font-size: 12px;
  color: var(--gold-primary);
  margin-top: 8px;
}


/* ── WHO THIS IS FOR ── */
.audience {
  background: var(--bg-secondary);
}

.audience-split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.audience-left h2 {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--cyan-primary);
  margin-bottom: 36px;
  line-height: 1.15;
}

.audience-lines {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.audience-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.audience-line:last-child {
  border-bottom: none;
}

.line-dot {
  flex-shrink: 0;
  color: var(--gold-primary);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.65;
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 0 40px rgba(56,189,248,0.08), 0 0 80px rgba(56,189,248,0.04);
  position: sticky;
  top: 32px;
}

.profile-card-label {
  font-family: 'Urbanist', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.profile-card-title {
  font-family: 'Urbanist', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.3;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.check-mark {
  flex-shrink: 0;
  color: var(--cyan-primary);
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 2px;
}

.profile-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.profile-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: 'Urbanist', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--gold-primary);
  text-decoration: none;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: background 0.2s, border-color 0.2s;
}

.profile-cta:hover {
  background: rgba(245,158,11,0.13);
  border-color: rgba(245,158,11,0.5);
}

.profile-cta-arrow {
  font-size: 22px;
  transition: transform 0.2s;
}

.profile-cta:hover .profile-cta-arrow {
  transform: translateX(4px);
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.tag {
  font-family: 'Urbanist', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .audience-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .profile-card {
    position: static;
  }
}


/* ── CREDENTIALS ── */
.credentials {
  background-image: radial-gradient(circle, rgba(56, 189, 248, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
}

.cred-subheading {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-top: 12px;
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 20px;
  margin-top: 40px;
}

.cred-item {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: default;
}

.cred-item:hover {
  border-color: var(--border-subtle);
  background: rgba(56, 189, 248, 0.04);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.1), 0 0 48px rgba(56, 189, 248, 0.05);
}

.cred-value {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--cyan-primary);
  line-height: 1.1;
}

.cred-value.gold {
  color: var(--gold-primary);
}

.cred-value-text {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.cred-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.3;
}


/* ── TESTIMONIAL / QUOTE ── */
.testimonial {
  background: var(--bg-secondary);
  text-align: center;
}

/* Radial spotlight glow */
.testimonial-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.quote-block {
  max-width: 720px;
  margin: 32px auto 0;
  position: relative;
  padding: 0 20px;
}

/* Decorative oversized quote mark */
.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Urbanist', sans-serif;
  font-size: 6rem;
  font-weight: 900;
  color: var(--cyan-primary);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

.quote-block blockquote {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}

.quote-block .quote-line {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--cyan-primary), var(--gold-primary));
  margin: 24px auto 0;
  border-radius: 2px;
}

.quote-source {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 16px;
  max-width: none;
}


/* ── CTA SECTION ── */
.cta-section {
  text-align: center;
}

/* Subtle radial gradient atmosphere */
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 40% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 60% 50%, rgba(245, 158, 11, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card {
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background: rgba(26, 35, 50, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Gradient border via mask-composite */
.cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(245, 158, 11, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cta-brand {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan-primary);
  text-shadow: 0 0 40px rgba(56, 189, 248, 0.2);
  margin-bottom: 16px;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  margin: 0 auto 32px;
  max-width: 520px;
}

.btn-cta {
  display: inline-block;
  font-family: 'Urbanist', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--cyan-primary), var(--cyan-bright));
  border: none;
  border-radius: var(--radius-md);
  padding: 18px 44px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.3);
}


/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border-card);
  padding: 32px 0;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-brand .brand-dot {
  color: var(--gold-primary);
}

.footer-contact {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--cyan-primary);
}


/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

@media (max-width: 900px) {
  html {
    scroll-snap-type: y proximity;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .sample-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .sample-cta h3 {
    white-space: normal;
  }

  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .timeline-grid::before {
    display: none;
  }

  .cred-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
  }

  .cta-card {
    padding: 40px 28px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-snap-type: none;
  }

  .page-dots {
    display: none;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  section {
    min-height: auto;
    padding: 64px 0;
  }

  .hero {
    height: auto;
    min-height: auto;
    padding: 100px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-brand {
    font-size: 2.5rem;
  }

  .proof-strip {
    gap: 8px;
    font-size: 10px;
    letter-spacing: 1px;
  }

  .nav-inner {
    height: 56px;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .cred-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
  }

  .btn-hero,
  .btn-cta {
    width: 100%;
    text-align: center;
  }

  .cta-card {
    padding: 32px 20px;
  }

  .cta-brand {
    font-size: 1.4rem;
  }
}


/* ══════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .hero-brand,
  .hero-rule,
  .hero h1,
  .hero-tagline,
  .btn-hero,
  .proof-strip {
    animation: none;
  }

  .hero-bg::before,
  .hero-bg::after {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  section {
    opacity: 1;
    transition: none;
  }

  [data-parallax] {
    transform: none !important;
  }
}


/* ══════════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════════ */

@media print {
  #gate {
    display: none;
  }

  html {
    scroll-snap-type: none;
  }

  body {
    background: #fff;
    color: #1a1a1a;
  }

  .page-dots {
    display: none;
  }

  .site-nav {
    position: relative;
    background: none;
    backdrop-filter: none;
    border-bottom: 1px solid #ccc;
  }

  .hero-bg,
  .testimonial-glow {
    display: none;
  }

  .hero-brand,
  .hero-rule,
  .hero h1,
  .hero-tagline,
  .btn-hero,
  .proof-strip {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  section {
    opacity: 1;
    min-height: auto;
    scroll-snap-align: none;
    display: block;
  }

  .card::after,
  .cta-card::after {
    display: none;
  }

  section {
    padding: 24px 0;
    page-break-inside: avoid;
  }

  .card {
    border: 1px solid #ccc;
    background: #f8f8f8;
  }

  .sample-cta-inner {
    border-color: #ccc;
    background: #f8f8f8;
  }

  .pricing-card {
    border: 1px solid #ccc;
    background: #f8f8f8;
  }

  .pricing-addon {
    border-color: #ccc;
    background: #f8f8f8;
  }

  .credentials {
    background-image: none;
  }

  .problem::after,
  .deliverables::after,
  .process::after,
  .cta-section::after {
    display: none;
  }

  .problem-card {
    border: 1px solid #ccc;
    background: #f8f8f8;
  }

  .problem-callout {
    border-color: #ccc;
    background: #f8f8f8;
  }

  h2, .cred-value {
    color: #0B1120;
  }

  .btn-hero,
  .btn-cta,
  .btn-nav {
    background: #0B1120;
    color: #fff;
  }

  .cta-card {
    backdrop-filter: none;
    background: #f8f8f8;
    border: 1px solid #ccc;
  }
}
