/* ============================================================
   THE GRAVITY FUNNEL — styles.css
   Premium dark B2B lead-gen site for Digilu
   Mobile-first, responsive, no framework dependencies
   ============================================================ */

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  /* Background layers */
  --clr-bg:           #09090f;
  --clr-bg-2:         #0d0d1a;
  --clr-bg-card:      #111120;
  --clr-bg-card-2:    #141428;
  --clr-bg-input:     #0f0f1e;

  /* Borders */
  --clr-border:       rgba(255, 255, 255, 0.07);
  --clr-border-2:     rgba(255, 255, 255, 0.12);
  --clr-border-focus: rgba(82, 114, 242, 0.6);

  /* Accent — primary blue */
  --clr-accent:       #5272f2;
  --clr-accent-h:     #6b8aff;
  --clr-accent-dim:   rgba(82, 114, 242, 0.15);
  --clr-accent-glow:  rgba(82, 114, 242, 0.25);

  /* Accent — secondary gold for premium touches */
  --clr-gold:         #c8973a;
  --clr-gold-dim:     rgba(200, 151, 58, 0.15);

  /* Text */
  --clr-text:         #eeeef8;
  --clr-text-2:       #9099b8;
  --clr-text-3:       #5a5e7a;

  /* Status */
  --clr-success:      #34c27a;
  --clr-error:        #e05555;

  /* Typography */
  --font:  -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --fs-xs:   0.75rem;    /* 12px */
  --fs-sm:   0.875rem;   /* 14px */
  --fs-base: 1rem;       /* 16px */
  --fs-md:   1.125rem;   /* 18px */
  --fs-lg:   1.375rem;   /* 22px */
  --fs-xl:   1.75rem;    /* 28px */
  --fs-2xl:  2.25rem;    /* 36px */
  --fs-3xl:  3rem;       /* 48px */
  --fs-4xl:  3.75rem;    /* 60px */

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semi:   600;
  --fw-bold:   700;
  --fw-black:  800;

  --lh-tight:  1.15;
  --lh-snug:   1.35;
  --lh-normal: 1.6;

  /* Layout */
  --max-w:        1100px;
  --max-w-narrow: 720px;
  --container-px: 1.25rem;

  /* Spacing scale */
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow:    0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --ease: 200ms ease;
  --ease-slow: 350ms ease;

  /* Header height (for offset calculations) */
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Logo: the Digilu SVG uses a dark fill (#2e3a41).
   This filter renders it white on the site's dark background.
   If you swap in a logo with a light or multi-color fill, remove this. */
.logo-img {
  height: 36px;      /* control size by height; width scales automatically */
  width: auto;
  filter: brightness(0) invert(1);
}

/* Slightly smaller in the footer */
.footer-logo {
  height: 28px;
}

a {
  color: var(--clr-accent);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover {
  color: var(--clr-accent-h);
}

ul {
  list-style: none;
}

/* ── Accessibility ────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  padding: var(--sp-3) var(--sp-6);
  background: var(--clr-accent);
  color: #fff;
  font-weight: var(--fw-semi);
  border-radius: var(--radius);
  z-index: 9999;
  transition: top var(--ease);
}

.skip-link:focus {
  top: var(--sp-4);
}

:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

/* ── Typography ───────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-4);
}

.eyebrow--gold {
  color: var(--clr-gold);
}

h1, h2, h3, h4 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--clr-text);
}

h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p { color: var(--clr-text-2); }

.text-lead {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--clr-text-2);
}

.text-muted {
  font-size: var(--fs-sm);
  color: var(--clr-text-3);
}

.text-center { text-align: center; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--ease), transform var(--ease), box-shadow var(--ease), opacity var(--ease);
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

/* Primary — solid blue */
.btn-primary {
  background: var(--clr-accent);
  color: #fff;
  box-shadow: 0 0 0 0 var(--clr-accent-glow);
}

.btn-primary:hover {
  background: var(--clr-accent-h);
  color: #fff;
  box-shadow: 0 0 0 6px var(--clr-accent-glow);
  transform: translateY(-1px);
}

/* Ghost / outlined */
.btn-ghost {
  background: transparent;
  color: var(--clr-text);
  border: 1px solid var(--clr-border-2);
}

.btn-ghost:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: var(--clr-accent-dim);
}

/* Small size variant */
.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--fs-sm);
}

/* Large size variant */
.btn-lg {
  padding: 1.0625rem 2.25rem;
  font-size: var(--fs-md);
  border-radius: var(--radius-lg);
}

/* Full width */
.btn-full { width: 100%; }

/* Loading / disabled state */
.btn:disabled,
.btn[aria-busy="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

/* ── Site Header ──────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(9, 9, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--ease-slow), border-color var(--ease-slow);
}

#site-header.scrolled {
  background: rgba(9, 9, 15, 0.97);
  border-color: var(--clr-border-2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--sp-4);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 32px;
  width: auto;
}

.header-presents {
  display: none; /* Hidden on smallest screens */
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text-2);
  white-space: nowrap;
}

.header-divider {
  display: none;
  width: 1px;
  height: 20px;
  background: var(--clr-border-2);
}

/* Header nav links */
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.header-nav-link {
  display: none; /* shown at tablet+ */
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text-2);
  text-decoration: none;
  transition: color var(--ease);
  white-space: nowrap;
}

.header-nav-link:hover {
  color: var(--clr-text);
}

/* ── Sections — shared ────────────────────────────────────── */
.section {
  padding-block: var(--sp-16);
}

.section--alt {
  background: var(--clr-bg-2);
}

.section-header {
  margin-bottom: var(--sp-12);
}

.section-header h2 {
  margin-bottom: var(--sp-4);
}

.section-header p {
  max-width: 60ch;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin-inline: auto;
}

/* ── Hero ─────────────────────────────────────────────────── */
#hero {
  padding-top: calc(var(--header-h) + var(--sp-16));
  padding-bottom: var(--sp-20);
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(82, 114, 242, 0.18) 0%, transparent 65%),
    var(--clr-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern overlay */
#hero::before {
  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: 60px 60px;
  pointer-events: none;
}

.hero-eyebrow {
  margin-bottom: var(--sp-6);
}

.hero-headline {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-6);
  color: var(--clr-text);
  max-width: 20ch;
  margin-inline: auto;
}

.hero-headline em {
  font-style: normal;
  color: var(--clr-accent);
}

.hero-sub {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--clr-text-2);
  max-width: 54ch;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}

.hero-qualifier {
  display: inline-block;
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
  border: 1px solid var(--clr-border-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: 100px;
}

/* Featured date block — hero */
.featured-date-block {
  margin-top: var(--sp-12);
  display: inline-block;
  text-align: center;
}

.featured-date-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-4);
}

/* The large date display — used in hero and webinar section panel */
.featured-date-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-8) var(--sp-10);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-lg);
}

.featured-date-day {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--clr-text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.featured-date-time {
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--clr-accent);
  letter-spacing: 0.01em;
}

/* Panel variant — sits inside the webinar section card, full width */
.featured-date-display--panel {
  width: 100%;
  margin-bottom: 0;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 1px var(--clr-accent-dim);
}

/* ── Problem Section ──────────────────────────────────────── */
#problem {
  background: var(--clr-bg-2);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.problem-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.problem-card:hover {
  border-color: var(--clr-border-2);
  box-shadow: var(--shadow);
}

.problem-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--clr-accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  font-size: 1.25rem;
}

.problem-card h3 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  margin-bottom: var(--sp-3);
}

.problem-card p {
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* ── Gravity Funnel / Solution ────────────────────────────── */
#solution {
  background: var(--clr-bg);
}

.solution-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}

.solution-text { }

.solution-text .eyebrow {
  display: block;
  margin-bottom: var(--sp-4);
}

.solution-text h2 {
  margin-bottom: var(--sp-6);
}

.solution-text p {
  line-height: 1.8;
  margin-bottom: var(--sp-5);
}

.solution-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
}

.benefit-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--clr-accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.benefit-icon svg {
  width: 14px;
  height: 14px;
  color: var(--clr-accent);
}

.benefit-item p {
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
  line-height: 1.6;
}

.benefit-item strong {
  display: block;
  font-weight: var(--fw-semi);
  color: var(--clr-text);
  font-size: var(--fs-sm);
  margin-bottom: 2px;
}

/* Funnel visual */
.funnel-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.funnel-stage {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.funnel-bar {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--clr-text);
  letter-spacing: 0.03em;
  width: 100%;
  transition: background var(--ease);
}

.funnel-bar--1 { background: rgba(82,114,242,0.25); width: 100%; }
.funnel-bar--2 { background: rgba(82,114,242,0.35); width: 82%; }
.funnel-bar--3 { background: rgba(82,114,242,0.48); width: 64%; }
.funnel-bar--4 { background: rgba(82,114,242,0.65); width: 46%; }
.funnel-bar--5 { background: rgba(82,114,242,0.85); width: 28%; border-radius: var(--radius) var(--radius) 0 0; }

.funnel-point {
  width: 0;
  height: 0;
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-top: 18px solid rgba(82,114,242,0.85);
}

.funnel-bar-label {
  font-size: var(--fs-xs);
  color: var(--clr-text);
  white-space: nowrap;
}

.funnel-connector {
  width: 2px;
  height: 12px;
  background: var(--clr-border-2);
}

/* ── Webinar Learn Section ────────────────────────────────── */
#webinar {
  background: var(--clr-bg-2);
}

.learn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}

.learn-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.learn-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-left: 3px solid var(--clr-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.learn-num {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  min-width: 20px;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}

.learn-item p {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--clr-text-2);
}

.learn-item strong {
  color: var(--clr-text);
  display: block;
  margin-bottom: 2px;
  font-weight: var(--fw-semi);
}

/* Dates panel in webinar section */
.webinar-session-panel {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
}

.session-panel-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-3);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--clr-border);
}

#session-dates-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

/* Session rows */
.session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius);
  border: 1px solid var(--clr-border);
}

.session-row--full {
  background: transparent;
  opacity: 0.45;
}

.session-row--open {
  background: rgba(82, 114, 242, 0.07);
  border-color: rgba(82, 114, 242, 0.3);
}

.session-row-date {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text);
}

.session-row--full .session-row-date {
  text-decoration: line-through;
  color: var(--clr-text-3);
}

/* Badges */
.session-badge {
  flex-shrink: 0;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
}

.session-badge--full {
  background: rgba(255,255,255,0.06);
  color: var(--clr-text-3);
}

.session-badge--open {
  background: rgba(52, 194, 122, 0.15);
  color: var(--clr-success);
}

/* Scarcity spots line (used in hero and panel) */
.scarcity-spots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
}

.scarcity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-success);
  flex-shrink: 0;
  display: inline-block;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* Form scarcity note above submit */
.form-scarcity-note {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-success);
  text-align: center;
}

/* Header date pill */
.header-nav-date {
  display: none;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--clr-accent);
  background: var(--clr-accent-dim);
  border: 1px solid rgba(82,114,242,0.25);
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background var(--ease), border-color var(--ease);
}

.header-nav-date:hover {
  background: rgba(82,114,242,0.25);
  border-color: rgba(82,114,242,0.5);
  color: var(--clr-accent-h);
}

/* ── Who It's For ─────────────────────────────────────────── */
#fit {
  background: var(--clr-bg);
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

.fit-card {
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  border: 1px solid;
}

.fit-card--good {
  background: rgba(52, 194, 122, 0.05);
  border-color: rgba(52, 194, 122, 0.2);
}

.fit-card--not {
  background: rgba(224, 85, 85, 0.05);
  border-color: rgba(224, 85, 85, 0.15);
}

.fit-card-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
}

.fit-card--good .fit-card-title { color: var(--clr-success); }
.fit-card--not .fit-card-title  { color: var(--clr-error); }

.fit-items {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.fit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
  line-height: 1.55;
}

.fit-check,
.fit-x {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 10px;
  font-weight: var(--fw-bold);
}

.fit-check {
  background: rgba(52, 194, 122, 0.2);
  color: var(--clr-success);
}

.fit-x {
  background: rgba(224, 85, 85, 0.2);
  color: var(--clr-error);
}

.fit-qualifier-note {
  margin-top: var(--sp-10);
  padding: var(--sp-6) var(--sp-8);
  background: var(--clr-gold-dim);
  border: 1px solid rgba(200, 151, 58, 0.25);
  border-radius: var(--radius);
  font-size: var(--fs-base);
  color: var(--clr-gold);
  text-align: center;
}

/* ── About Section ────────────────────────────────────────── */
#about {
  background: var(--clr-bg-2);
}

.about-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}

.about-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--clr-accent-dim);
  border: 2px solid var(--clr-border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  flex-shrink: 0;
}

.about-name {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-2);
}

.about-handle {
  font-size: var(--fs-sm);
  color: var(--clr-text-3);
  font-family: 'SF Mono', 'Fira Code', monospace;
  margin-bottom: var(--sp-6);
  letter-spacing: 0.04em;
}

.about-bio {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.about-bio p {
  font-size: var(--fs-base);
  line-height: 1.75;
}

/* ── Registration Form Section ────────────────────────────── */
#register {
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(82, 114, 242, 0.1) 0%, transparent 65%),
    var(--clr-bg);
}

.form-container {
  max-width: 760px;
  margin-inline: auto;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-lg);
  padding: var(--sp-10) var(--sp-8);
}

.form-container .section-header {
  margin-bottom: var(--sp-10);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text);
  display: block;
}

label .required-star {
  color: var(--clr-error);
  margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  background: var(--clr-bg-input);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: var(--fs-sm);
  color: var(--clr-text);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5e7a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

input::placeholder,
textarea::placeholder {
  color: var(--clr-text-3);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px var(--clr-accent-dim);
}

/* Field error state */
.field-error {
  border-color: var(--clr-error) !important;
  box-shadow: 0 0 0 3px rgba(224, 85, 85, 0.15) !important;
}

.error-message {
  font-size: var(--fs-xs);
  color: var(--clr-error);
  margin-top: var(--sp-1);
}

/* Select option text (dark background fallback) */
select option {
  background: #1a1a2e;
  color: var(--clr-text);
}

/* Form submit area */
.form-submit-area {
  margin-top: var(--sp-8);
}

.form-submit-note {
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--clr-text-3);
  text-align: center;
}

/* Inline form alert (success/error) */
#form-alert {
  display: none;
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  margin-bottom: var(--sp-6);
}

#form-alert.alert-error {
  display: block;
  background: rgba(224, 85, 85, 0.1);
  border: 1px solid rgba(224, 85, 85, 0.3);
  color: #f07070;
}

#form-alert.alert-success {
  display: block;
  background: rgba(52, 194, 122, 0.1);
  border: 1px solid rgba(52, 194, 122, 0.3);
  color: var(--clr-success);
}

.form-qualifier {
  margin-top: var(--sp-10);
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--clr-border);
  font-size: var(--fs-xs);
  color: var(--clr-text-3);
  text-align: center;
  line-height: 1.6;
}

/* ── FAQ Section ──────────────────────────────────────────── */
#faq {
  background: var(--clr-bg-2);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: var(--max-w-narrow);
  margin-inline: auto;
}

.faq-item {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--ease);
}

.faq-item.open {
  border-color: var(--clr-border-2);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--clr-text);
  transition: color var(--ease);
}

.faq-question:hover { color: var(--clr-accent); }

.faq-item.open .faq-question { color: var(--clr-accent); }

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--clr-text-3);
  transition: transform var(--ease-slow), color var(--ease);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--clr-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--ease-slow), padding var(--ease-slow);
}

.faq-answer-inner {
  padding: 0 var(--sp-6) var(--sp-6);
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--clr-text-2);
}

/* ── Footer ───────────────────────────────────────────────── */
#site-footer {
  background: #070710;
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-12) 0 var(--sp-8);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.footer-logo {
  height: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
}

.footer-links a {
  font-size: var(--fs-sm);
  color: var(--clr-text-3);
  transition: color var(--ease);
}

.footer-links a:hover { color: var(--clr-text-2); }

.footer-contact {
  font-size: var(--fs-sm);
  color: var(--clr-text-3);
}

.footer-contact a {
  color: var(--clr-text-2);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--clr-border);
}

.footer-copyright {
  font-size: var(--fs-xs);
  color: var(--clr-text-3);
}

/* ── Inner-page layouts (thank-you, alternate, privacy, terms) */
.inner-page {
  padding-top: calc(var(--header-h) + var(--sp-20));
  padding-bottom: var(--sp-24);
  min-height: 100vh;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(82, 114, 242, 0.1) 0%, transparent 60%),
    var(--clr-bg);
}

.inner-page .container { max-width: var(--max-w-narrow); }

.inner-page-tag {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-5);
}

.inner-page h1 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-6);
}

.inner-page .lead {
  font-size: var(--fs-lg);
  color: var(--clr-text-2);
  line-height: 1.65;
  margin-bottom: var(--sp-8);
}

.inner-page .body-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.inner-page .body-block p {
  font-size: var(--fs-base);
  line-height: 1.8;
}

.inner-page .body-block h2 {
  font-size: var(--fs-lg);
  margin-top: var(--sp-4);
}

.inner-page .cta-row {
  margin-top: var(--sp-10);
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Alternate webinar page specific */
.alternate-highlight {
  margin-top: var(--sp-8);
  padding: var(--sp-6) var(--sp-8);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-lg);
}

.alternate-highlight h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-3);
}

.alternate-highlight p {
  font-size: var(--fs-sm);
  color: var(--clr-text-2);
  margin-bottom: var(--sp-6);
}

/* Privacy / Terms prose */
.prose-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.prose-section h2 {
  font-size: var(--fs-md);
  font-weight: var(--fw-semi);
  color: var(--clr-text);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--clr-border);
}

.prose-section p,
.prose-section li {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--clr-text-2);
}

.prose-section ul {
  margin-top: var(--sp-3);
  padding-left: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.prose-section ul li {
  position: relative;
  padding-left: var(--sp-3);
}

.prose-section ul li::before {
  content: '–';
  position: absolute;
  left: -var(--sp-3);
  color: var(--clr-text-3);
}

.prose-last-updated {
  font-size: var(--fs-xs);
  color: var(--clr-text-3);
  margin-bottom: var(--sp-10);
}

/* ── Divider / HR ─────────────────────────────────────────── */
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--clr-accent);
  border: none;
  margin-bottom: var(--sp-8);
  border-radius: 2px;
}

/* ── Scroll-to-top / floating CTA ────────────────────────── */
.sticky-cta-bar {
  display: none; /* shown on mobile via JS if desired */
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ============================================================
   RESPONSIVE — Tablet 768px+
   ============================================================ */
@media (min-width: 768px) {

  :root {
    --container-px: 2rem;
  }

  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }

  .hero-headline { font-size: var(--fs-3xl); }

  .header-presents,
  .header-divider {
    display: flex;
  }

  .header-nav-link {
    display: inline;
  }

  .header-nav-date {
    display: inline;
  }

  .featured-date-day {
    font-size: var(--fs-3xl);
  }

  .featured-date-time {
    font-size: var(--fs-xl);
  }

  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }

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

  .solution-inner {
    flex-direction: row;
    align-items: center;
  }

  .solution-text { flex: 1; }

  .funnel-visual {
    flex-shrink: 0;
    width: 260px;
  }

  .learn-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

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

  .about-inner {
    flex-direction: row;
    gap: var(--sp-12);
  }

  .about-content { flex: 1; }

  .form-row--2col {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-brand { flex: 1 0 100%; }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ============================================================
   RESPONSIVE — Desktop 1024px+
   ============================================================ */
@media (min-width: 1024px) {

  :root {
    --container-px: 2.5rem;
  }

  .section { padding-block: var(--sp-24); }

  .hero-headline {
    font-size: var(--fs-4xl);
    max-width: 18ch;
  }

  .hero-sub { font-size: var(--fs-lg); }

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

  .inner-page h1 { font-size: var(--fs-4xl); }

  .form-container {
    padding: var(--sp-12) var(--sp-16);
  }
}
