/* ============================================================
   CastMaster Design System
   "The best technology disappears."
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  /* Backgrounds */
  --bg-primary:     #0A0A0F;
  --bg-secondary:   #12121A;
  --bg-tertiary:    #1A1A28;
  --bg-surface:     #22222F;

  /* Text */
  --text-primary:   #F0F0F5;
  --text-secondary: #A0A0B8;
  --text-tertiary:  #606078;

  /* Accent — used sparingly */
  --accent-primary:   #6C63FF;
  --accent-secondary: #00D4AA;
  --accent-warm:      #FF6B6B;

  /* Typography */
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-hero:    clamp(3rem, 5vw, 5rem);
  --font-h1:      clamp(2rem, 3.5vw, 3.5rem);
  --font-h2:      clamp(1.5rem, 2vw, 2rem);
  --font-body:    1.125rem;
  --font-caption: 0.875rem;
  --font-label:   0.75rem;

  /* Spacing */
  --section-gap:    min(12vh, 160px);
  --content-pad:    clamp(2rem, 5vw, 4rem);
  --max-width:      1200px;

  /* Transitions */
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --duration-base:  0.8s;
  --duration-slow:  1.2s;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: var(--font-body);
  line-height: 1.75;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--content-pad);
}

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

.text-primary   { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary  { color: var(--text-tertiary); }

/* ---------- Scroll-triggered animation base ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-base) var(--ease-out-expo),
              transform var(--duration-base) var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-slow {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}

.reveal-slow.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity var(--duration-base) var(--ease-out-expo),
              transform var(--duration-base) var(--ease-out-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-slow, .reveal-left {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
  background-color: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(96, 96, 120, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.logo-symbol {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: var(--font-caption);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  font-size: var(--font-h2);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

/* ============================================================
   MODULE 1: HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 5rem;
  position: relative;
}

/* Subtle background glow */
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(108, 99, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-slogan {
  font-size: var(--font-hero);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  position: relative;
}

.hero-slogan .word-invisible {
  color: var(--accent-primary);
}

.hero-slogan .word-visible {
  color: var(--accent-secondary);
}

.hero-subtitle {
  font-size: var(--font-h2);
  color: var(--text-secondary);
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero-tagline {
  font-size: var(--font-caption);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

/* Stats trio */
.stats-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 720px;
  width: 100%;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(96, 96, 120, 0.15);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-number {
  font-size: var(--font-hero);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-number.accent-warm {
  color: var(--accent-warm);
}

.stat-label {
  font-size: var(--font-caption);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* Scroll prompt */
.scroll-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-tertiary);
  font-size: var(--font-body);
  cursor: pointer;
  transition: color 0.3s ease;
}

.scroll-prompt:hover {
  color: var(--text-secondary);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* ============================================================
   MODULE 2: THE ICEBERG
   ============================================================ */
.iceberg {
  position: relative;
}

.iceberg-title {
  font-size: var(--font-h1);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.iceberg-subtitle {
  font-size: var(--font-body);
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

/* Problem statement */
.problem-statement {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 2rem;
  padding: 10vh 2rem;
}

.problem-stat {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.problem-body {
  font-size: var(--font-h2);
  color: var(--text-tertiary);
  line-height: 1.5;
  font-weight: 400;
}

/* Chat mockup */
.chat-mockup {
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(96, 96, 120, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(96, 96, 120, 0.1);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chat-avatar.patient {
  background: linear-gradient(135deg, var(--accent-warm), #ff9a9a);
}

.chat-avatar.host {
  background: linear-gradient(135deg, var(--accent-primary), #9b93ff);
}

.chat-name {
  font-size: var(--font-caption);
  font-weight: 600;
  color: var(--text-primary);
}

.chat-label {
  font-size: var(--font-label);
  color: var(--text-tertiary);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: var(--font-caption);
  line-height: 1.6;
  color: var(--text-primary);
}

.chat-bubble.from-patient {
  background: var(--bg-tertiary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.from-host {
  background: rgba(108, 99, 255, 0.15);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bubble .emoji {
  font-style: normal;
}

.chat-subtitle {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
  font-style: italic;
  line-height: 1.4;
}

/* "What they don't see" transition text */
.iceberg-transition {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-top: 2rem;
}

.iceberg-transition .quote {
  font-size: var(--font-h2);
  font-weight: 500;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.iceberg-transition .bridge {
  font-size: var(--font-body);
  color: var(--text-tertiary);
}

/* Waterline */
.waterline {
  position: relative;
  margin: 3.5rem 0;
  height: 2px;
  overflow: visible;
}

.waterline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 212, 170, 0.3) 20%,
    rgba(0, 212, 170, 0.5) 50%,
    rgba(0, 212, 170, 0.3) 80%,
    transparent 100%
  );
  animation: shimmer 8s ease-in-out infinite;
}

.waterline::after {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 212, 170, 0.04) 50%,
    transparent 100%
  );
  pointer-events: none;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* Below the surface */
.below-surface-heading {
  font-size: var(--font-h2);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.engine-layers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 700px;
  margin-inline: auto;
}

.engine-layer {
  background: var(--bg-secondary);
  border: 1px solid rgba(96, 96, 120, 0.1);
  border-left: 3px solid var(--accent-primary);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 1.75rem;
}

.engine-layer-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.engine-layer-icon {
  color: var(--accent-primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.engine-layer-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.engine-layer-desc {
  font-size: var(--font-caption);
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 2.5rem;
  margin-bottom: 0.5rem;
}

.engine-tech-badge {
  font-size: 0.65rem;
  color: var(--accent-secondary);
  font-family: monospace;
  background: rgba(0, 212, 170, 0.08);
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: auto;
}

.engine-layer-replaces {
  font-size: var(--font-label);
  color: rgba(96, 96, 120, 0.5);
  font-style: italic;
  padding-left: 2.5rem;
}

/* Philosophy statement */
.philosophy {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-top: var(--section-gap);
  padding: 4rem 2rem;
  position: relative;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(108, 99, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.philosophy-quote {
  font-size: var(--font-h1);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
}

.philosophy-body {
  font-size: var(--font-body);
  color: var(--text-secondary);
  line-height: 1.8;
  position: relative;
}

.philosophy-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* The Pattern — replicability visualization */
.the-pattern {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-top: 3rem;
  padding: 2.5rem 2rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(96, 96, 120, 0.1);
  border-radius: 16px;
}

.pattern-title {
  font-size: var(--font-caption);
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.pattern-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.pattern-step {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pattern-step-label {
  font-size: var(--font-caption);
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pattern-step-desc {
  font-size: var(--font-label);
  color: var(--text-tertiary);
}

.pattern-arrow {
  font-size: 1rem;
  color: var(--text-tertiary);
}

.pattern-ventures {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 360px;
  margin-inline: auto;
}

.pattern-venture {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--font-caption);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.pattern-venture.done {
  color: var(--accent-secondary);
  background: rgba(0, 212, 170, 0.06);
}

.pattern-venture.done .pattern-check {
  font-weight: 700;
}

.pattern-venture.next {
  color: var(--text-tertiary);
}

.pattern-status {
  margin-left: auto;
  font-size: var(--font-label);
  font-style: italic;
}

/* ============================================================
   MODULE 3: THE METHOD
   ============================================================ */
.method-header {
  margin-bottom: 3.5rem;
}

.method-header h2 {
  font-size: var(--font-h1);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.method-header p {
  font-size: var(--font-body);
  color: var(--text-secondary);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
  position: relative;
}

/* Connecting line behind steps */
.method-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 1px;
  background: linear-gradient(90deg, var(--accent-primary), var(--bg-tertiary));
}

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

.method-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid rgba(108, 99, 255, 0.3);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.method-step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.method-step-desc {
  font-size: var(--font-caption);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA banner */
.method-cta {
  background: var(--bg-secondary);
  border: 1px solid rgba(96, 96, 120, 0.15);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.method-cta-text {
  font-size: var(--font-body);
  color: var(--text-secondary);
  font-style: italic;
}

.method-cta-text strong {
  color: var(--text-primary);
  font-weight: 600;
  font-style: normal;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: var(--font-caption);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(96, 96, 120, 0.2);
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.btn:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.1);
}

.btn-primary {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.btn-primary:hover {
  background: #7b73ff;
  box-shadow: 0 0 30px rgba(108, 99, 255, 0.2);
}

.btn-outline {
  background: transparent;
  border-color: rgba(96, 96, 120, 0.5);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(240, 240, 245, 0.05);
  box-shadow: none;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   MODULE 4: ADVISORY
   ============================================================ */
.advisory-header {
  margin-bottom: 3rem;
}

.advisory-header h2 {
  font-size: var(--font-h1);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.advisory-header p {
  font-size: var(--font-body);
  color: var(--text-secondary);
}

.advisory-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.advisory-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(96, 96, 120, 0.12);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.advisory-card:hover {
  border-color: rgba(108, 99, 255, 0.25);
  box-shadow: 0 0 30px rgba(108, 99, 255, 0.05);
}

.advisory-card-icon {
  color: var(--accent-primary);
  margin-bottom: 1.25rem;
  display: flex;
}

.advisory-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.advisory-card p {
  font-size: var(--font-caption);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* IFDC Badge */
.ifdc-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
}

.ifdc-badge-icon {
  color: var(--accent-primary);
  flex-shrink: 0;
  display: flex;
}

.ifdc-badge-text {
  font-size: var(--font-caption);
  color: var(--text-secondary);
}

.ifdc-badge-text strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.15rem;
}

/* ============================================================
   MODULE 5: FOUNDER
   ============================================================ */
.founder-header h2 {
  font-size: var(--font-h1);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3rem;
}

.founder-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  background: var(--bg-tertiary);
  overflow: hidden;
  position: relative;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder for when no photo is available */
.founder-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--text-tertiary);
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.founder-info {
  padding-top: 0.5rem;
}

.founder-name {
  font-size: var(--font-h1);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.founder-title {
  font-size: var(--font-body);
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.founder-tagline {
  font-size: var(--font-body);
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.founder-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.credential {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--font-caption);
  color: var(--text-secondary);
  line-height: 1.5;
}

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

.credential-icon {
  color: var(--accent-primary);
  flex-shrink: 0;
  display: flex;
  margin-top: 2px;
}

.founder-quote {
  font-size: var(--font-h2);
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent-primary);
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-caption);
  color: var(--text-tertiary);
  transition: color 0.3s ease;
}

.founder-linkedin:hover {
  color: var(--accent-primary);
}

/* ============================================================
   MODULE 6: FOOTER
   ============================================================ */
.future-vision {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  font-size: var(--font-body);
  color: var(--text-tertiary);
  line-height: 1.7;
}

.future-vision strong {
  color: var(--accent-secondary);
}

.footer-cta {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(108, 99, 255, 0.12);
  border-radius: 16px;
  margin-bottom: 3rem;
}

.footer-cta h2 {
  font-size: var(--font-h2);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  border-top: 1px solid rgba(96, 96, 120, 0.1);
  font-size: var(--font-caption);
  color: var(--text-tertiary);
}

.footer-logo {
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-links a {
  color: var(--text-tertiary);
  transition: color 0.3s ease;
}

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

.footer-venture {
  color: var(--text-tertiary);
}

.footer-venture a {
  color: var(--accent-secondary);
  transition: color 0.3s ease;
}

.footer-venture a:hover {
  color: #33e0be;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .method-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .method-steps::before {
    display: none;
  }

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

  .founder-content {
    grid-template-columns: 220px 1fr;
    gap: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-gap: clamp(4rem, 10vh, 6rem);
  }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-slogan {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .pattern-flow {
    flex-direction: column;
    gap: 0.5rem;
  }

  .pattern-arrow {
    transform: rotate(90deg);
  }

  .credential {
    text-align: left;
  }

  .stats-trio {
    grid-template-columns: 1fr;
    max-width: 300px;
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .method-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .method-cta {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .advisory-cards {
    grid-template-columns: 1fr;
  }

  .founder-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-photo {
    max-width: 240px;
    margin-inline: auto;
  }

  .founder-quote {
    border-left: none;
    padding-left: 0;
    border-top: 3px solid var(--accent-primary);
    padding-top: 1.5rem;
  }

  .founder-credentials {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}
