/* ═══════════════════════════════════════════
   TRIALNEXUS — Shared Styles
   Multi-page site: Home, DM Agent, About, Contact
   ═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   CSS VARIABLES & RESET
   ═══════════════════════════════════════════ */
:root {
  --pink: #ff6b9d;
  --blue: #12c2e9;
  --purple: #c471ed;
  --deep: #0a0a1a;
  --cosmic: #1a1a3e;
  --white: #ffffff;
  --cream: #fafaf8;
  --warm-gray: #f5f3f0;
  --light-gray: #e8e6e3;
  --mid-gray: #9a9590;
  --text-primary: #0a0a1a;
  --text-secondary: rgba(10, 10, 26, 0.72);
  --text-tertiary: rgba(10, 10, 26, 0.44);
  --gradient-primary: linear-gradient(135deg, #ff6b9d, #12c2e9);
  --gradient-button: linear-gradient(135deg, #ff6b9d, #c471ed);
  --gradient-warm: linear-gradient(135deg, #ff6b9d 0%, #c471ed 50%, #12c2e9 100%);
  /* Font Stack: IBM Plex Sans (headings), Inter (body/UI), IBM Plex Mono (code) */
  --font-heading: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --font-plex-sans: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', 'Fira Code', monospace;
  --font-plex-mono: 'IBM Plex Mono', 'SF Mono', 'Fira Code', monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   UTILITY & ANIMATION CLASSES
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
}

.pre-header {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s var(--ease-out-expo);
  backdrop-filter: blur(0px);
}

nav.scrolled {
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 10, 26, 0.06);
}

/* Dark nav variant for dark-hero pages */
nav.nav-dark {
  backdrop-filter: blur(0px);
}
nav.nav-dark.scrolled {
  background: rgba(10, 10, 26, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
nav.nav-dark .nav-links a {
  color: rgba(255, 255, 255, 0.7);
}
nav.nav-dark .nav-links a:hover,
nav.nav-dark .nav-links a.active {
  color: var(--white);
}
nav.nav-dark .nav-cta {
  background: var(--white);
  color: var(--deep);
}
nav.nav-dark .nav-cta:hover {
  background: var(--cream);
}
nav.nav-dark .nav-logo svg text {
  fill: white;
}
nav.nav-dark .mobile-toggle span {
  background: var(--white);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 40px;
  flex-shrink: 0;
}

.nav-logo svg {
  height: 36px;
  width: auto;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(10, 10, 26, 0.04);
}

.nav-links a.active {
  color: var(--text-primary);
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 100px;
  background: var(--text-primary);
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--cosmic);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(10, 10, 26, 0.15);
}

/* Mobile nav toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 26, 0.5);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--white);
  z-index: 101;
  padding: 80px 32px 32px;
  transition: right 0.4s var(--ease-out-expo);
  box-shadow: -4px 0 40px rgba(10, 10, 26, 0.1);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(10, 10, 26, 0.06);
  transition: color 0.3s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--text-primary);
}

.mobile-nav .nav-cta {
  display: inline-block;
  margin-top: 24px;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn-primary {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  background: var(--gradient-button);
  color: var(--white);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 2px 20px rgba(255, 107, 157, 0.25);
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(255, 107, 157, 0.35);
}

.btn-secondary {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 100px;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  border: 1.5px solid rgba(10, 10, 26, 0.15);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   HERO (Homepage)
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 32px 64px;
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: float 20s ease-in-out infinite;
}

.hero-gradient-orb.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--pink);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-gradient-orb.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--blue);
  bottom: -10%;
  left: -5%;
  animation-delay: -7s;
}

.hero-gradient-orb.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--purple);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 16px;
}

.hero-phases {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-phase-tag {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(10, 10, 26, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(10, 10, 26, 0.08);
}

.hero-phase-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--light-gray);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: breathe 3s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--pink), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

/* ═══════════════════════════════════════════
   AGENT PAGE HERO (Dark variant)
   ═══════════════════════════════════════════ */
.agent-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 32px 80px;
  position: relative;
  background: var(--deep);
  color: var(--white);
  overflow: hidden;
}

.agent-hero .hero-gradient-orb { opacity: 0.08; }

.agent-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.agent-hero .pre-header {
  color: rgba(255, 255, 255, 0.4);
}

.agent-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 24px;
}

.agent-hero h1 em {
  font-style: normal;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.agent-hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 28px;
}

.agent-hero .hero-ctas .btn-secondary {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}
.agent-hero .hero-ctas .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.agent-hero-badge,
.agent-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: #4ade80;
  margin-bottom: 0;
}

.agent-hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.btn-secondary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}
.btn-secondary-light:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.agent-hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}

/* ═══════════════════════════════════════════
   PAGE HERO (for About, Contact — light variant)
   ═══════════════════════════════════════════ */
.page-hero {
  padding: 120px 32px 80px;
  text-align: center;
  background: var(--cream);
  position: relative;
}

.page-hero .pre-header {
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.page-hero h1 em {
  font-style: normal;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   EVIDENCE & HOW IT WORKS
   ═══════════════════════════════════════════ */
.evidence-section {
  padding: 100px 0;
  background: var(--white);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.evidence-card {
  padding: 28px;
  border-radius: 18px;
  background: var(--cream);
  border: 1px solid rgba(10, 10, 26, 0.06);
}

.evidence-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.evidence-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.evidence-cta {
  margin-top: 28px;
  text-align: center;
}

.how-section {
  padding: 100px 0;
  background: var(--cream);
  position: relative;
}

.how-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--light-gray), transparent);
}

.how-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 28px 0 20px;
  flex-wrap: wrap;
}

.how-node {
  flex: 1 1 180px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(10, 10, 26, 0.08);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.how-arrow {
  font-size: 18px;
  color: var(--text-tertiary);
  flex: 0 0 auto;
}

.how-outputs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.how-tag {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(10, 10, 26, 0.08);
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.integration-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.integration-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(10, 10, 26, 0.1);
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════
   PRODUCT PREVIEW
   ═══════════════════════════════════════════ */
.preview-section {
  padding: 100px 0;
  background: var(--white);
}

/* ═══════════════════════════════════════════
   LIVE TODAY
   ═══════════════════════════════════════════ */
.live-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.live-card {
  padding: 22px;
  border-radius: 18px;
  background: var(--cream);
  border: 1px solid rgba(10, 10, 26, 0.06);
  transition: all 0.3s var(--ease-out-expo);
}

.live-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(10, 10, 26, 0.06);
}

.live-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.live-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.live-cta {
  margin-top: 24px;
  text-align: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   TRUST SUMMARY
   ═══════════════════════════════════════════ */
.trust-section {
  padding: 80px 0;
  background: var(--white);
  position: relative;
}

.trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--light-gray), transparent);
}

.trust-box {
  border-radius: 20px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(10, 10, 26, 0.08);
  text-align: center;
}

.trust-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}

.trust-items span {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--text-secondary);
  border: 1px solid rgba(10, 10, 26, 0.08);
}

.trust-link {
  font-size: 13px;
  color: var(--pink);
  text-decoration: none;
  font-weight: 600;
}

.trust-link:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════
   PERSONA SECTION
   ═══════════════════════════════════════════ */
.persona-section {
  padding: 100px 0;
  background: var(--white);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.preview-card {
  border-radius: 18px;
  border: 1px solid rgba(10, 10, 26, 0.08);
  background: var(--cream);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.preview-visual {
  min-height: 160px;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.18), rgba(18, 194, 233, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.preview-body {
  padding: 20px;
}

.preview-body h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.preview-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.video-placeholder {
  min-height: 200px;
  background: linear-gradient(135deg, rgba(10, 10, 26, 0.9), rgba(26, 26, 62, 0.9));
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.video-placeholder span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}

.video-placeholder strong {
  font-size: 18px;
  font-weight: 600;
}
/* ═══════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════ */
.legal-section {
  padding: 110px 0;
  background: var(--white);
}

.legal-section.alt {
  background: var(--cream);
  position: relative;
}

.legal-section.alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--light-gray), transparent);
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text-primary);
}

.legal-section p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-section ul {
  margin: 12px 0 24px 20px;
  color: var(--text-secondary);
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section a {
  color: var(--pink);
  text-decoration: none;
  font-weight: 500;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-meta {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 8px;
}

/* ═══════════════════════════════════════════
   SECTION 2: THE COST
   ═══════════════════════════════════════════ */
.cost-section {
  padding: 120px 0 100px;
  background: var(--cream);
  position: relative;
}

.cost-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--light-gray), transparent);
}

.cost-people {
  margin-bottom: 72px;
}

.cost-people p {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 720px;
}

.cost-people p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.source-link {
  color: var(--pink);
  font-weight: 600;
  margin-left: 4px;
  cursor: default;
}

.cost-stat-label sup {
  font-size: 11px;
  vertical-align: super;
}

.source-note {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 0;
  margin-bottom: 18px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.source-note a {
  color: var(--pink);
  text-decoration: none;
  font-weight: 500;
}

.source-note a:hover {
  text-decoration: underline;
}

.cost-people .cost-kicker {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 24px;
  line-height: 1.4;
}

.cost-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
  align-items: stretch;
}

.cost-stat {
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(10, 10, 26, 0.06);
}

.cost-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 10px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cost-stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.cost-stat-label em {
  font-style: normal;
  color: var(--text-tertiary);
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

.cost-closing {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cost-closing p {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.8;
  color: var(--text-secondary);
}

.cost-closing p strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   SECTION 3: THE CONVERGENCE
   ═══════════════════════════════════════════ */
.convergence-section {
  padding: 120px 0;
  background: var(--white);
  text-align: center;
  position: relative;
}

.convergence-statement {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 780px;
  margin: 0 auto 48px;
}

.convergence-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto 56px;
  text-align: left;
}

.convergence-pillar {
  padding: 28px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid rgba(10, 10, 26, 0.05);
  transition: all 0.4s var(--ease-out-expo);
}

.convergence-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 10, 26, 0.06);
}

.convergence-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.convergence-pillar-icon.standards { background: rgba(18, 194, 233, 0.1); }
.convergence-pillar-icon.models { background: rgba(196, 113, 237, 0.1); }
.convergence-pillar-icon.industry { background: rgba(255, 107, 157, 0.1); }

.convergence-pillar h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.convergence-pillar p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.convergence-closing {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

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

/* ═══════════════════════════════════════════
   SECTION 4: THE OPERATING SYSTEM
   ═══════════════════════════════════════════ */
.os-section {
  padding: 120px 0;
  background: var(--deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.os-section .pre-header { color: rgba(255, 255, 255, 0.35); }

.os-headline {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 32px;
}

.os-body {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 56px;
}

.os-body strong {
  color: var(--white);
  font-weight: 600;
}

.os-emphasis {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-top: 24px;
  display: block;
}

.os-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.os-phase-card {
  padding: 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}

.os-phase-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.os-phase-card.active {
  border-color: rgba(255, 107, 157, 0.3);
  background: rgba(255, 107, 157, 0.06);
}

.os-phase-card.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.os-phase-card.clickable {
  cursor: pointer;
}

.os-phase-card.clickable:hover {
  background: rgba(255, 107, 157, 0.08);
  border-color: rgba(255, 107, 157, 0.25);
}

.os-phase-card .card-arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 18px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s var(--ease-out-expo);
  color: var(--pink);
}

.os-phase-card.clickable:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.os-phase-card .coming-soon-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
  margin-top: 12px;
}

.os-phase-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.os-phase-label .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-live { background: #4ade80; box-shadow: 0 0 8px rgba(74, 222, 128, 0.5); }
.status-design { background: var(--blue); }
.status-planned { background: rgba(255, 255, 255, 0.25); }

.os-phase-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.os-phase-agents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.os-agent-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.os-phase-card.active .os-agent-tag {
  background: rgba(255, 107, 157, 0.1);
  border-color: rgba(255, 107, 157, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.os-transition {
  text-align: center;
  padding-top: 20px;
}

.os-transition p {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.os-transition p strong {
  color: var(--white);
}

.os-transition a {
  color: var(--pink);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 157, 0.3);
  transition: all 0.3s;
}

.os-transition a:hover {
  border-color: var(--pink);
}

/* ═══════════════════════════════════════════
   DM DEEP DIVE
   ═══════════════════════════════════════════ */
.dm-section {
  padding: 120px 0 100px;
  background: var(--white);
  position: relative;
}

.dm-header {
  text-align: center;
  margin-bottom: 72px;
}

.dm-header .section-headline {
  font-size: clamp(36px, 4vw, 52px);
  margin-bottom: 24px;
}

.dm-header .dm-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

.dm-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dm-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid rgba(10, 10, 26, 0.06);
  position: relative;
}

.dm-step:last-child {
  border-bottom: 1px solid rgba(10, 10, 26, 0.06);
}

.dm-step-number {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dm-step-number::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient-primary);
}

.dm-step h3 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.dm-step .dm-step-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
}

.dm-human-moment {
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.04), rgba(18, 194, 233, 0.04));
  border: 1px solid rgba(255, 107, 157, 0.1);
}

.dm-human-moment-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 8px;
}

.dm-human-moment p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Step visual panels */
.dm-step-visual {
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid rgba(10, 10, 26, 0.06);
  padding: 32px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.dm-visual-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.dm-visual-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dm-visual-dot.green { background: #4ade80; }
.dm-visual-dot.yellow { background: #fbbf24; }
.dm-visual-dot.red { background: #f87171; }

.dm-visual-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-left: 8px;
}

.dm-mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10, 10, 26, 0.04);
}

.dm-mock-row:last-child { border: none; }

.dm-mock-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.dm-mock-badge.high { background: rgba(74, 222, 128, 0.15); color: #16a34a; }
.dm-mock-badge.med { background: rgba(251, 191, 36, 0.15); color: #d97706; }
.dm-mock-badge.low { background: rgba(248, 113, 113, 0.15); color: #dc2626; }

.dm-mock-field {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  flex: 1;
}

.dm-mock-domain {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  background: rgba(10, 10, 26, 0.04);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Step 7 special - daily ops */
.dm-ops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.dm-ops-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--cream);
  border: 1px solid rgba(10, 10, 26, 0.06);
}

.dm-ops-card h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dm-ops-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.dm-closing {
  text-align: center;
  padding-top: 72px;
}

.dm-closing p {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  max-width: 680px;
  margin: 0 auto 16px;
  letter-spacing: -0.02em;
}

.dm-closing .dm-super {
  font-size: clamp(24px, 2.8vw, 36px);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════
   DAY IN THE LIFE
   ═══════════════════════════════════════════ */
.day-section {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
}

.day-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--light-gray), transparent);
}

.day-header {
  text-align: center;
  margin-bottom: 56px;
}

.day-header .section-headline {
  font-size: clamp(32px, 3.5vw, 48px);
  margin-bottom: 16px;
}

.day-timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.day-timeline::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--pink), var(--blue));
  opacity: 0.2;
}

.day-entry {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  position: relative;
}

.day-entry:last-child { margin-bottom: 0; }

.day-time {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-tertiary);
  min-width: 72px;
  padding-top: 4px;
  text-align: right;
}

.day-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-primary);
  margin-top: 7px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--cream);
}

.day-content {
  flex: 1;
  padding: 24px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(10, 10, 26, 0.06);
  box-shadow: 0 2px 12px rgba(10, 10, 26, 0.03);
}

.day-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.day-closing {
  text-align: center;
  margin-top: 48px;
}

.day-closing p {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  color: var(--pink);
}

/* ═══════════════════════════════════════════
   HUMAN AGENCY DIAL
   ═══════════════════════════════════════════ */
.dial-section {
  padding: 120px 0;
  background: var(--white);
  text-align: center;
}

.dial-section .section-headline {
  font-size: clamp(32px, 3.5vw, 48px);
  margin-bottom: 32px;
}

.dial-body {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 48px;
}

.dial-visual {
  max-width: 800px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dial-mode {
  padding: 32px 24px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid rgba(10, 10, 26, 0.06);
  transition: all 0.4s var(--ease-out-expo);
  cursor: default;
}

.dial-mode:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 10, 26, 0.06);
}

.dial-mode.active {
  background: var(--white);
  border-color: var(--pink);
  box-shadow: 0 8px 32px rgba(255, 107, 157, 0.1);
}

.dial-mode-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.dial-mode h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.dial-mode p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.dial-guardrail {
  max-width: 640px;
  margin: 0 auto 36px;
  padding: 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.03), rgba(18, 194, 233, 0.03));
  border: 1px solid rgba(255, 107, 157, 0.12);
}

.dial-guardrail-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 16px;
}

.dial-guardrail p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.dial-quote {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.dial-compliance {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   WHY TRIALNEXUS (Homepage credibility)
   ═══════════════════════════════════════════ */
.why-section {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--light-gray), transparent);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(10, 10, 26, 0.06);
  transition: all 0.4s var(--ease-out-expo);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 10, 26, 0.06);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.08), rgba(18, 194, 233, 0.08));
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.why-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.why-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  justify-content: center;
}

.why-signal {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--white);
  color: var(--text-secondary);
  border: 1px solid rgba(10, 10, 26, 0.08);
}

/* ═══════════════════════════════════════════
   WHY NOW (About page)
   ═══════════════════════════════════════════ */
.whynow-section {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
}

.whynow-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--light-gray), transparent);
}

.whynow-header .section-headline {
  font-size: clamp(32px, 3.5vw, 48px);
  margin-bottom: 32px;
  max-width: 600px;
}

.whynow-body {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 48px;
}

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

.whynow-shift {
  margin-bottom: 32px;
}

.whynow-shift h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.whynow-shift p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.whynow-closing {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  color: var(--text-primary);
  max-width: 600px;
  margin-top: 32px;
  margin-bottom: 48px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.whynow-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.whynow-signal {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--white);
  color: var(--text-secondary);
  border: 1px solid rgba(10, 10, 26, 0.08);
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
  padding: 120px 0 96px;
  background: var(--deep);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-gradient-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.cta-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.08;
}

.cta-orb.orb-1 {
  background: var(--pink);
  top: -20%;
  left: -10%;
}

.cta-orb.orb-2 {
  background: var(--blue);
  bottom: -20%;
  right: -10%;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-headline {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.cta-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-buttons .btn-primary {
  font-size: 16px;
  padding: 16px 40px;
}

.cta-buttons .btn-secondary {
  font-size: 16px;
  padding: 16px 40px;
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}

.cta-buttons .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.cta-links {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 2;
}

.cta-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.cta-links a:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ═══════════════════════════════════════════
   ABOUT PAGE — Mission, Team, Values
   ═══════════════════════════════════════════ */
.about-mission {
  padding: 96px 0;
  background: var(--white);
}

.about-mission .section-headline,
.about-mission .pre-header {
  text-align: center;
}

.about-mission-text {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 20px auto 24px;
  text-align: left;
}

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

.about-mission-text p {
  margin-bottom: 16px;
}

.about-mission-text p:last-child {
  margin-bottom: 0;
}

.about-values {
  padding: 96px 0;
  background: var(--cream);
  position: relative;
}

.about-values::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--light-gray), transparent);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.about-value-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(10, 10, 26, 0.06);
}

.about-value-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-value-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.about-team-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

.about-team {
  padding: 96px 0;
  background: var(--white);
}

.about-team-header {
  margin-bottom: 48px;
  text-align: center;
}

.about-team-header .section-headline {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 16px;
}

.about-team-header p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.about-founder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  padding: 36px;
  border-radius: 24px;
  background: var(--cream);
  border: 1px solid rgba(10, 10, 26, 0.06);
  margin-bottom: 32px;
}

.about-founder:last-of-type {
  margin-bottom: 0;
}

.about-founder-photo {
  width: 280px;
  height: 280px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.08), rgba(18, 194, 233, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--text-tertiary);
}

.about-founder-info h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-founder-info .role {
  font-size: 15px;
  color: var(--pink);
  font-weight: 500;
  margin-bottom: 20px;
}

.about-founder-info p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-founder-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.about-founder-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 50%;
  border: 1px solid rgba(10, 10, 26, 0.12);
  transition: all 0.3s;
}

.about-founder-links a:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
  background: rgba(10, 10, 26, 0.04);
}

.about-founder-links a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Footer social link icons */
.footer-col ul li a svg {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 8px;
  opacity: 0.7;
}

.footer-col ul li a:hover svg {
  opacity: 1;
}

.about-team-closing {
  border-top: 1px solid rgba(10, 10, 26, 0.06) !important;
  border-bottom: none !important;
  margin-top: 60px !important;
  padding-top: 40px !important;
  padding-bottom: 0 !important;
  text-align: center !important;
}

.about-team-closing p {
  font-size: 18px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
}

.about-team-closing strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════ */
.contact-section {
  padding: 72px 0 110px;
  background: var(--white);
}

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

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.contact-info p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-personas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.contact-persona-card {
  padding: 18px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(10, 10, 26, 0.08);
}

.contact-persona-card h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.contact-persona-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-channel {
  padding: 24px;
  border-radius: 16px;
  background: var(--cream);
  border: 1px solid rgba(10, 10, 26, 0.06);
}

.contact-channel h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.contact-channel p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-channel a {
  color: var(--pink);
  text-decoration: none;
  font-weight: 500;
}

.contact-channel a:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  padding: 40px;
  border-radius: 24px;
  background: var(--cream);
  border: 1px solid rgba(10, 10, 26, 0.06);
}

.contact-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(10, 10, 26, 0.12);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  margin-top: 8px;
}

.form-submit .btn-primary {
  width: 100%;
  text-align: center;
  font-size: 16px;
  padding: 16px;
}

.form-note {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 16px;
  text-align: center;
}

.form-status {
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
  color: var(--text-tertiary);
}

.form-status.pending {
  color: var(--text-tertiary);
}

.form-status.success {
  color: #16a34a;
}

.form-status.error {
  color: #b91c1c;
}

/* ═══════════════════════════════════════════
   GLOBAL FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  padding: 80px 32px 40px;
  background: var(--deep);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 320px;
  margin-top: 16px;
}

.footer-brand .nav-logo {
  margin-bottom: 8px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* Newsletter mini-form */
.footer-newsletter {
  margin-top: 24px;
}

.footer-newsletter p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: all 0.3s;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer-newsletter-form input:focus {
  border-color: rgba(255, 107, 157, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.footer-newsletter-form button {
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--gradient-button);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.footer-newsletter-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 107, 157, 0.3);
}

/* Compliance badges */
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 32px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

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

  .about-founder {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-founder-photo {
    width: 200px;
    height: 200px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .nav-center { display: none; }
  .mobile-toggle { display: flex; }
  .mobile-nav { display: block; }

  .convergence-pillars {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .dm-step {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .dm-step-visual {
    order: -1;
  }

  .dm-ops-grid {
    grid-template-columns: 1fr;
  }

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

  .day-timeline::before {
    left: 4px;
  }

  .day-time {
    min-width: auto;
    display: none;
  }

  .day-content::before {
    content: attr(data-time);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    display: block;
    margin-bottom: 8px;
  }

  .day-dot {
    display: none;
  }

  .day-entry {
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .about-founder {
    padding: 32px;
  }
}

@media (max-width: 600px) {
  .container, .container-narrow {
    padding: 0 20px;
  }

  nav {
    padding: 16px 20px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .agent-hero {
    padding: 120px 20px 80px;
  }

  .page-hero {
    padding: 120px 20px 80px;
  }

  .hero-phases {
    gap: 6px;
  }

  .hero-phase-tag {
    font-size: 11px;
    padding: 5px 12px;
  }

  .cost-stats {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-ctas, .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .contact-form-wrapper {
    padding: 24px;
  }

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

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 48px 20px 32px;
  }
}
