/* ══════════════════════════════════════════
   MARKGROWTH — MIDNIGHT LUXE
   Design Tokens → Layout → Sections
══════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── TOKENS ── */
:root {
  --obsidian: #0D0D12;
  --champagne: #C9A84C;
  --ivory: #FAF8F5;
  --slate: #2A2A35;
  --error: #E63B2E;

  --font-display: 'Inter', sans-serif;
  --font-drama: 'Playfair Display', serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-card: 2rem;
  --radius-btn: 9999px;
  --radius-footer: 4rem 4rem 0 0;

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── BASE ── */
body {
  background-color: var(--obsidian);
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NOISE OVERLAY ── */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* ── SCROLL ORB ── */
.scroll-orb-svg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.scroll-orb {
  position: fixed;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 10px 3px rgba(201,168,76,0.6), 0 0 28px 8px rgba(201,168,76,0.2);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  will-change: left, top;
}

/* Push all page content above the orb */
nav, section, footer {
  position: relative;
  z-index: 1;
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ivory);
  max-width: 560px;
  margin: 0.5rem auto 0;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--champagne);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.2s;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: scale(1.03); }
.btn-primary {
  background: var(--champagne);
  color: var(--obsidian);
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.35);
}
.btn-ghost {
  color: rgba(250,248,245,0.6);
  border: 1px solid rgba(250,248,245,0.15);
}
.btn-ghost:hover {
  color: var(--ivory);
  border-color: rgba(250,248,245,0.35);
}
.btn-outline {
  color: var(--ivory);
  border: 1.5px solid rgba(250,248,245,0.25);
}
.btn-outline:hover {
  border-color: var(--champagne);
  color: var(--champagne);
}
.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1rem;
}
.btn-arrow { font-style: normal; }

/* ══════════════════════════
   NAVBAR
══════════════════════════ */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: auto;
  transition: all 0.4s var(--ease-out);
}
.navbar.scrolled {
  background: rgba(13, 13, 18, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 168, 76, 0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-btn);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: var(--ivory);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links li a {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(250,248,245,0.65);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.nav-links li a:hover { color: var(--ivory); }
.nav-cta {
  color: var(--champagne) !important;
  font-weight: 900 !important;
}

/* ══════════════════════════
   HERO
══════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 2rem 6rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1685618017405-6bfa50646043?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-color: #0a0a10;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,18,0.55) 0%,
    rgba(13,13,18,0.45) 40%,
    rgba(13,13,18,0.85) 80%,
    rgba(13,13,18,1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 1.5rem;
  opacity: 0;
}
.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.75rem;
  line-height: 1;
}
.hero-line1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0;
  transform: translateY(50px);
}
.hero-line2 {
  font-family: var(--font-drama);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(5rem, 18vw, 14rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--champagne);
  opacity: 0;
  transform: translateY(40px);
  margin-top: -0.1em;
}
.hero-line2 em { font-style: italic; }
.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  font-weight: 400;
  color: rgba(250,248,245,0.7);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--champagne), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ══════════════════════════
   FEATURES
══════════════════════════ */
.features {
  padding: 8rem 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--slate);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(250,248,245,0.06);
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
  opacity: 0;
  transform: translateY(40px);
}
.feature-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px) !important;
}
.feature-card-inner {
  display: flex;
  flex-direction: column;
}
.feature-visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: rgba(13,13,18,0.5);
  border-bottom: 1px solid rgba(250,248,245,0.05);
}
.feature-card-copy {
  padding: 1.75rem;
}
.feature-card-copy h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}
.feature-card-copy p {
  font-size: 0.9rem;
  color: rgba(250,248,245,0.55);
  line-height: 1.6;
}

/* Shuffler Visual */
.shuffler-visual {
  flex-direction: column;
  gap: 0;
  padding: 1.5rem;
}
.shuffler-stages {
  width: 100%;
}
.shuffler-stage {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  opacity: 0.3;
  transition: all 0.5s var(--ease-out);
  background: transparent;
}
.shuffler-stage.active {
  opacity: 1;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
}
.stage-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(250,248,245,0.7);
  flex: 1;
}
.stage-icon {
  color: var(--champagne);
  font-size: 0.8rem;
}
.stage-action {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--champagne);
  font-weight: 500;
}
.shuffler-connector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0;
}
.connector-line {
  width: 1px;
  height: 8px;
  background: rgba(201, 168, 76, 0.3);
}

/* Typewriter Visual */
.typewriter-visual {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  background: #08080c !important;
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(250,248,245,0.06);
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: #E63B2E; }
.terminal-dot.yellow { background: #E6A330; }
.terminal-dot.green { background: #30C67C; }
.terminal-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(250,248,245,0.3);
  margin-left: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.terminal-body {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.terminal-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ivory);
  min-height: 1.4em;
}
.terminal-prefix {
  color: var(--champagne);
}
.typewriter-output {
  flex: 1;
  color: rgba(250,248,245,0.85);
}
.cursor-blink {
  color: var(--champagne);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.terminal-pulse {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #30C67C;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(48, 198, 124, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(48, 198, 124, 0); }
}
.pulse-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(250,248,245,0.35);
}

/* Calendar Visual */
.calendar-visual {
  flex-direction: column;
  align-items: stretch;
  padding: 1.25rem;
  position: relative;
  background: rgba(13,13,18,0.6) !important;
}
.cal-header {
  margin-bottom: 0.75rem;
}
.cal-month {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--champagne);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  flex: 1;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(250,248,245,0.35);
  border-radius: 6px;
  transition: all 0.3s;
  position: relative;
}
.cal-day.is-header {
  color: rgba(250,248,245,0.2);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  aspect-ratio: auto;
  padding: 0.15rem 0;
}
.cal-day.today {
  color: var(--ivory);
  font-weight: 700;
}
.cal-day.highlighted {
  background: var(--champagne);
  color: var(--obsidian) !important;
  font-weight: 700;
}
.cal-cursor {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transform: translate(-8px, -20px);
}
.cal-confirm {
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--obsidian);
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.3);
  transition: background 0.3s;
  opacity: 0.4;
  cursor: default;
  width: 100%;
  color: var(--champagne);
}
.cal-confirm.active {
  opacity: 1;
  background: var(--champagne);
  color: var(--obsidian);
}

/* ══════════════════════════
   ROI CALCULATOR
══════════════════════════ */
.calculator {
  padding: 6rem 0;
  border-top: 1px solid rgba(250,248,245,0.06);
  border-bottom: 1px solid rgba(250,248,245,0.06);
}
.calc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.calc-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,248,245,0.5);
  margin-bottom: 0.75rem;
}
.slider-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 3px;
  background: rgba(250,248,245,0.1);
  border-radius: 2px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--champagne);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.6);
}
.slider-val {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--champagne);
  min-width: 4rem;
  text-align: right;
}
.calc-output {
  background: var(--slate);
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px solid rgba(250,248,245,0.07);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.calc-divider {
  height: 1px;
  background: rgba(250,248,245,0.08);
}
.calc-result { text-align: center; }
.result-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,248,245,0.4);
  margin-bottom: 0.5rem;
}
.result-number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  color: rgba(250,248,245,0.7);
  line-height: 1;
  transition: color 0.3s;
}
.calc-result.highlight .result-number {
  color: var(--champagne);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
}
.result-unit {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(250,248,245,0.3);
  margin-top: 0.3rem;
}

/* ══════════════════════════
   PHILOSOPHY
══════════════════════════ */
.philosophy {
  position: relative;
  padding: 10rem 0;
  overflow: hidden;
}
.philosophy-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1505118380757-91f5f5632de0?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-color: #060810;
  opacity: 0.08;
}
.manifesto {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  padding: 0 2rem;
}
.manifesto-line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  opacity: 0;
  transform: translateY(30px);
}
.manifesto-dim { color: rgba(250,248,245,0.35); }
.manifesto-bright { color: var(--ivory); }
.manifesto-accent em {
  font-family: var(--font-drama);
  font-style: italic;
  font-weight: 400;
  color: var(--champagne);
  font-size: 1.1em;
}
.manifesto-divider {
  width: 60px;
  height: 1px;
  background: rgba(201, 168, 76, 0.4);
  margin: 2rem 0;
  opacity: 0;
}

/* ══════════════════════════
   PROTOCOL
══════════════════════════ */
.protocol {
  padding: 8rem 0;
}
.protocol-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.protocol-card {
  background: var(--slate);
  border-radius: var(--radius-card);
  border: 1px solid rgba(250,248,245,0.06);
  overflow: hidden;
  position: sticky;
  opacity: 0;
  transform: translateY(40px);
  transition: border-color 0.3s;
}
.protocol-card:nth-child(1) { top: 6rem; }
.protocol-card:nth-child(2) { top: 7.5rem; }
.protocol-card:nth-child(3) { top: 9rem; }
.protocol-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
}
.protocol-card-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  min-height: 200px;
}
.protocol-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,13,18,0.5);
  border-right: 1px solid rgba(250,248,245,0.06);
  padding: 2rem;
}
.anim-svg {
  width: 100%;
  max-width: 200px;
}
.protocol-copy {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.protocol-step-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--champagne);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.protocol-copy h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}
.protocol-copy p {
  font-size: 0.9rem;
  color: rgba(250,248,245,0.55);
  line-height: 1.7;
  max-width: 420px;
}

/* Protocol Animations: Circles */
.circle-pulse {
  fill: none;
  stroke: var(--champagne);
}
.c1 { stroke-width: 0.75; opacity: 0.15; }
.c2 { stroke-width: 0.75; opacity: 0.25; }
.c3 { stroke-width: 1.5; opacity: 0.5; }

/* Protocol Animations: Laser */
.dot-grid circle {
  fill: rgba(250,248,245,0.15);
}
.laser-line {
  stroke: var(--champagne);
  stroke-width: 1.5;
  opacity: 0.7;
  filter: drop-shadow(0 0 4px rgba(201, 168, 76, 0.8));
}

/* Protocol Animations: EKG */
.ekg-line {
  fill: none;
  stroke: var(--champagne);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(201, 168, 76, 0.6));
}

/* ══════════════════════════
   SOCIAL PROOF
══════════════════════════ */
.social-proof {
  padding: 8rem 0;
  border-top: 1px solid rgba(250,248,245,0.06);
}
.proof-header {
  text-align: center;
  margin-bottom: 4rem;
}
.proof-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ivory);
  margin-bottom: 1.25rem;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(48, 198, 124, 0.25);
  background: rgba(48, 198, 124, 0.05);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30C67C;
  animation: pulse 2s ease-in-out infinite;
}
.live-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(250,248,245,0.6);
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--slate);
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px solid rgba(250,248,245,0.06);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(30px);
  transition: border-color 0.3s;
}
.testimonial-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
}
.testimonial-quote {
  font-size: 0.92rem;
  color: rgba(250,248,245,0.75);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: -0.01em;
}
.author-info span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(250,248,245,0.4);
}
.author-flag { font-size: 1.25rem; }
.testimonial-stars {
  color: var(--champagne);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ══════════════════════════
   CTA BLOCK
══════════════════════════ */
.cta-block {
  padding: 8rem 0;
}
.cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px);
}
.cta-inner .eyebrow { margin-bottom: 1rem; }
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ivory);
  margin-bottom: 1rem;
}
.cta-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(250,248,245,0.45);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ══════════════════════════
   FOOTER
══════════════════════════ */
.footer {
  background: var(--obsidian);
  border-top: 1px solid rgba(250,248,245,0.06);
  border-radius: var(--radius-footer);
  padding: 5rem 0 3rem;
  margin-top: -1px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(250,248,245,0.4);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 1.5rem;
}
.system-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(48, 198, 124, 0.2);
  background: rgba(48, 198, 124, 0.04);
}
.system-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #30C67C;
  animation: pulse 2.5s ease-in-out infinite;
}
.system-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(250,248,245,0.45);
  letter-spacing: 0.1em;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,248,245,0.3);
  margin-bottom: 1.25rem;
}
.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-links-col ul li a {
  font-size: 0.85rem;
  color: rgba(250,248,245,0.5);
  transition: color 0.2s;
}
.footer-links-col ul li a:hover { color: var(--ivory); }
.footer-bottom {
  border-top: 1px solid rgba(250,248,245,0.06);
  padding-top: 2rem;
  text-align: center;
}
.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(250,248,245,0.25);
  letter-spacing: 0.05em;
}

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-line1 { font-size: clamp(2rem, 10vw, 3.5rem); }
  .hero-line2 { font-size: clamp(4rem, 20vw, 8rem); }
  .features-grid { grid-template-columns: 1fr; }
  .calc-body { grid-template-columns: 1fr; gap: 2.5rem; }
  .protocol-card-inner { grid-template-columns: 1fr; }
  .protocol-animation { border-right: none; border-bottom: 1px solid rgba(250,248,245,0.06); min-height: 140px; }
  .testimonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { text-align: center; justify-content: center; }
  .protocol-card:nth-child(1),
  .protocol-card:nth-child(2),
  .protocol-card:nth-child(3) { position: relative; top: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-line { animation: none; opacity: 0.3; }
}
