/* ============================================
   ArthroSync — Investor Website
   Brand-Aligned CSS Foundation
   ============================================ */

/* --- CSS Variables (Brand Tokens) --- */
:root {
  /* Brand Colors */
  --purple: #6e397d;
  --purple-dark: #5a2d66;
  --purple-light: #8b5a9e;
  --purple-glow: rgba(110, 57, 125, 0.15);
  --cream: #ede4df;
  --cream-dark: #ddd0c8;
  --orange: #ff914d;
  --orange-dark: #e87a35;
  --maroon: #9b3625;
  --maroon-light: #b8483a;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #faf8f6;
  --light-gray: #f5f2ef;
  --mid-gray: #b0a8a0;
  --dark-gray: #4a4a4a;
  --charcoal: #2d2d2d;
  --black: #1a1a1a;

  /* Functional */
  --success: #2ecc71;
  --danger: #e74c3c;

  /* Extended palette */
  --purple-deeper: #3d1f47;
  --orange-light: #ffb380;

  /* Hover lift */
  --lift-sm: -2px;
  --lift-md: -3px;

  /* Typography */
  --font-primary: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-purple: 0 4px 30px rgba(110, 57, 125, 0.2);
  --shadow-orange: 0 4px 30px rgba(255, 145, 77, 0.25);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-mid: 0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  font-size: 1.05rem;
  color: var(--dark-gray);
  max-width: 680px;
}

.text-purple { color: var(--purple); }
.text-orange { color: var(--orange); }
.text-maroon { color: var(--maroon); }
.text-white  { color: var(--white); }

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-alt {
  background: var(--off-white);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: var(--mid-gray);
}

.section-purple {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
}

.section-purple h2,
.section-purple h3,
.section-purple h4,
.section-purple p {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header p {
  margin: var(--space-sm) auto 0;
  font-size: 1.15rem;
  color: var(--dark-gray);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: var(--space-sm);
  padding: 6px 16px;
  background: var(--purple-glow);
  border-radius: var(--radius-xl);
}

.section-dark .section-label {
  color: var(--orange);
  background: rgba(255, 145, 77, 0.15);
}

.section-purple .section-label {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

/* --- Grid System --- */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(var(--lift-sm));
  box-shadow: var(--shadow-orange);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(var(--lift-sm));
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(var(--lift-sm));
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.1rem;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-mid);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(var(--lift-md));
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  background: var(--purple-glow);
  color: var(--purple);
}

.card h3 {
  margin-bottom: var(--space-sm);
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-mid);
  display: flex;
  align-items: center;
}

.nav.transparent {
  background: transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
}

.nav.scrolled .nav-logo {
  color: var(--purple);
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: none;
  border-radius: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition-fast);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav.scrolled .nav-links a {
  color: var(--dark-gray);
}

.nav.scrolled .nav-links a:hover {
  color: var(--purple);
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--orange) !important;
  color: var(--white) !important;
  border-radius: var(--radius-xl) !important;
  font-weight: 600 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--orange-dark) !important;
  transform: translateY(var(--lift-sm));
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav.scrolled .nav-toggle span {
  background: var(--charcoal);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
    gap: var(--space-md);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-mid);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--charcoal) !important;
    font-size: 1.1rem;
  }

  .nav-links a:hover {
    color: var(--purple) !important;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 50%, var(--purple-deeper) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 145, 77, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(155, 54, 37, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Animated grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}

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

.hero-orb-2 {
  width: 160px;
  height: 160px;
  background: var(--maroon);
  bottom: 20%;
  left: 5%;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 120px;
  height: 120px;
  background: var(--purple-light);
  top: 50%;
  right: 30%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.02); }
}

.hero-two-col {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 140px;
}

.hero-content {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 600px;
}

.hero-animation {
  flex: 0 0 480px;
  height: 480px;
  position: relative;
  overflow: visible;
  margin-right: -60px;
}

.hero-animation canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-weight: 800;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .hero-two-col {
    flex-direction: column;
  }
  .hero-animation {
    flex: 0 0 auto;
    width: 100%;
    max-width: 480px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + var(--space-lg)) 0 var(--space-2xl);
  }
  .hero-animation {
    height: 320px;
    max-width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Problem Section --- */
.problem-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
}

.problem-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 2rem;
}

.problem-icon.red {
  background: rgba(231, 76, 60, 0.1);
  color: var(--danger);
}

.problem-icon.orange {
  background: rgba(255, 145, 77, 0.1);
  color: var(--orange);
}

.problem-icon.maroon {
  background: rgba(155, 54, 37, 0.1);
  color: var(--maroon);
}

.problem-stat {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 4px;
}

/* --- Solution Section --- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition-mid);
}

.solution-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(var(--lift-md));
}

.solution-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.solution-card h3 {
  color: var(--purple);
  margin-bottom: var(--space-xs);
}

/* --- How It Works Section --- */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 var(--space-md);
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto var(--space-md);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-purple);
}

.step-connector {
  position: absolute;
  top: 32px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--orange));
  z-index: 1;
}

.step:last-child .step-connector {
  display: none;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.step h3 {
  margin-bottom: var(--space-xs);
}

.step p {
  font-size: 0.95rem;
  margin: 0 auto;
  max-width: 280px;
}

@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .step-connector {
    display: none;
  }
}

/* --- Market Stats Section --- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.stat-card {
  text-align: center;
  padding: var(--space-lg);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-unit {
  font-size: 0.5em;
  opacity: 0.7;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Revenue Section --- */
.revenue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.revenue-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  transition: all var(--transition-mid);
}

.revenue-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 145, 77, 0.3);
  transform: translateY(var(--lift-md));
}

.revenue-card-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.revenue-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.revenue-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.revenue-highlight {
  text-align: center;
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(255, 145, 77, 0.05));
  border: 1px solid rgba(255, 145, 77, 0.2);
  border-radius: var(--radius-lg);
}

.revenue-highlight-number {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.revenue-highlight-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 600px) {
  .revenue-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Moats Section --- */
.moat-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-mid);
}

.moat-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(3px);
}

.moat-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: var(--purple-glow);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.moat-item h4 {
  margin-bottom: 4px;
  color: var(--purple);
}

.moat-item p {
  font-size: 0.95rem;
}

/* --- Roadmap Section --- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--purple), var(--orange), var(--maroon));
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--purple);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(2) .timeline-dot { background: var(--orange); }
.timeline-item:nth-child(3) .timeline-dot { background: var(--maroon); }
.timeline-item:nth-child(4) .timeline-dot { background: var(--charcoal); }

.timeline-phase {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 4px;
}

.timeline-item h3 {
  margin-bottom: var(--space-xs);
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-sm);
}

.timeline-tag {
  font-size: 0.8rem;
  padding: 4px 12px;
  background: transparent;
  color: var(--mid-gray);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-xl);
  font-weight: 500;
}

/* --- Team Section --- */
.team-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--white);
  margin: 0 auto var(--space-md);
  box-shadow: var(--shadow-purple);
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.9rem;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta-section p {
  margin: 0 auto var(--space-lg);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
}

.cta-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cta-input {
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.cta-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cta-input:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.12);
}

textarea.cta-input {
  resize: vertical;
  min-height: 100px;
}

/* --- Footer --- */
.footer {
  background: var(--black);
  color: var(--mid-gray);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand p {
  font-size: 0.95rem;
  margin-top: var(--space-sm);
  color: var(--mid-gray);
}

.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 0.95rem;
  color: var(--mid-gray);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 0.4s; }
.stagger-children .fade-in:nth-child(5) { transition-delay: 0.5s; }
.stagger-children .fade-in:nth-child(6) { transition-delay: 0.6s; }
.stagger-children .fade-in:nth-child(7) { transition-delay: 0.7s; }
.stagger-children .fade-in:nth-child(8) { transition-delay: 0.75s; }
.stagger-children .fade-in:nth-child(9) { transition-delay: 0.8s; }
.stagger-children .fade-in:nth-child(10) { transition-delay: 0.85s; }
.stagger-children .fade-in:nth-child(11) { transition-delay: 0.9s; }
.stagger-children .fade-in:nth-child(12) { transition-delay: 1.0s; }

/* --- Animated Counter --- */
.count-up {
  display: inline-block;
}

/* --- Grid-1 Utility (Single Column Centered) --- */
.grid-1 {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* --- Density Toggle (Signals / Pillars) --- */
.signals-grid .signal-card:nth-child(n+9),
.pillar-grid .pillar-card:nth-child(n+9) {
  display: none;
}

.signals-grid.expanded .signal-card:nth-child(n+9),
.pillar-grid.expanded .pillar-card:nth-child(n+9) {
  display: block;
}

.grid-toggle-btn {
  display: block;
  margin: var(--space-lg) auto 0;
  padding: 10px 24px;
  background: transparent;
  color: var(--purple);
  border: 1px solid var(--purple);
  border-radius: var(--radius-xl);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.grid-toggle-btn:hover {
  background: var(--purple);
  color: var(--white);
}

/* --- Accessibility: Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-orb {
    display: none;
  }

  .fade-in,
  .fade-in-left,
  .fade-in-right {
    opacity: 1;
    transform: none;
  }
}
