/* ═══════════════════════════════════════════════════════════
   AXIOM BIO — Global Styles
   Dark premium theme with scroll-driven animation support
   ═══════════════════════════════════════════════════════════ */

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

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

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul, ol {
  list-style: none;
}

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

/* ── Splash Screen ────────────────────────────────────── */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.splash-logo {
  width: 80px;
  height: auto;
  animation: spin 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.splash-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #8892a0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0d1117;
  --bg-card: #141922;
  --cyan: #00e5ff;
  --teal: #00bcd4;
  --blue-deep: #1a237e;
  --text-primary: #f0f0f0;
  --text-secondary: #8892a0;
  --text-muted: #555e6b;
  --border: rgba(255, 255, 255, 0.06);

  --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  --shadow-glow: 0 0 30px rgba(0, 229, 255, 0.08);
  --shadow-glow-hover: 0 0 30px rgba(0, 229, 255, 0.15);
  --radius: 12px;
}

/* ── Base ──────────────────────────────────────────────── */
body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: normal;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image: url('../assets/bg-platform.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

@supports (-webkit-touch-callout: none) {
  body {
    background-attachment: scroll;
    background-size: cover;
  }
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 768px), (orientation: portrait) {
  body {
    background-image: url('../assets/bg-platform-mobile.png') !important;
    background-size: cover;
    background-position: center center;
  }
}

/* ── Mobile Fixed Background ─────────────────────────── */
/* Uses a fixed div because iOS doesn't support background-attachment: fixed */
#bg-fixed-mobile {
  display: none;
}

@media (max-width: 768px), (orientation: portrait) {
  #bg-fixed-mobile {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../assets/bg-platform-mobile.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  #bg-fixed-mobile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
  }

  body::before,
  body::after {
    display: none !important;
  }
}

@media (min-width: 769px) and (orientation: landscape) {
  #bg-fixed-mobile {
    display: none !important;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ── Content Wrapper ──────────────────────────────────── */
.site-content-bg {
  position: relative;
  z-index: 3;
}

/* ── Glassmorphism Design System ──────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 40px;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.08);
}

.glass-section {
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-btn-primary {
  background: rgba(0, 229, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 12px;
  color: #00e5ff;
  padding: 14px 32px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.glass-btn-primary:hover {
  background: rgba(0, 229, 255, 0.25);
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.glass-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #f0f0f0;
  padding: 14px 32px;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.glass-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.navbar-visible .navbar {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

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

.nav-logo-img,
.nav-logo-text {
  display: none;
}

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

.nav-links a {
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  letter-spacing: 0.05em;
}

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

.nav-links .nav-cta {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.nav-links .nav-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Dark Overlay (fades 0-15% scroll) ──────────── */
.hero-dark-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

/* ── Animated Logo ────────────────────────────────────── */
.animated-logo {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  will-change: transform, opacity;
  opacity: 0;
}

.animated-logo-img {
  width: 160px;
  height: auto;
  display: block;
}

.animated-logo-text {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
}

/* ── Hero Section ──────────────────────────────────────── */
.hero-section {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 300vh;
  overflow: visible;
}

.hero-scroll-spacer {
  height: 100%;
}

.hero-sticky-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  height: -webkit-fill-available;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  transform: none !important;
}

@supports (height: 100dvh) {
  .hero-sticky-container {
    height: 100dvh;
  }
}


#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block;
}

/* Safe area insets for iPhones with notch/dynamic island */
.section,
footer {
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

#hero,
.hero-sticky-container,
#hero-canvas {
  padding: 0;
  margin: 0;
}

/* Hero Overlay — inside fixed container, centered on screen */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: env(safe-area-inset-top, 0) max(24px, env(safe-area-inset-right, 0)) env(safe-area-inset-bottom, 0) max(24px, env(safe-area-inset-left, 0));
}

.hero-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}

.hero-headline {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  max-width: 800px;
  margin-bottom: 24px;
}

.hero-subheadline {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Buttons — Glass */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: rgba(0, 229, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 12px;
  color: #00e5ff;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: rgba(0, 229, 255, 0.25);
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #f0f0f0;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.0625rem;
  letter-spacing: 0.05em;
}

/* Loading indicator */
.hero-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  background: var(--bg-primary);
  transition: opacity 0.6s ease;
}

.hero-loader.loaded {
  opacity: 0;
  pointer-events: none;
}

.hero-loader-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-indicator-text {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-indicator-chevron {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
  animation: chevronBounce 2s ease-in-out infinite;
}

@keyframes chevronBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ── Sections ──────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 2;
  padding: 100px 24px;
  background: transparent;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.section-headline {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.section-subheadline {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 680px;
}

.section-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 680px;
}

/* ── Justified body copy ─────────────────────────────── */
p,
.card-desc,
.section-description,
.section-body,
.value-desc,
.serve-desc,
.diff-desc,
.footer-brand-desc,
.vision-body {
  text-align: justify;
}

/* Exceptions: keep centered */
.hero-subheadline,
.cta-subtext {
  text-align: center;
}


/* ── Reveal animations ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered children */
.reveal-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* ── Cards — Glass ─────────────────────────────────────── */
.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  color: var(--cyan);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── Grid layouts ──────────────────────────────────────── */
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── SECTION: Trust Strip — Glass ──────────────────────── */
.trust-strip {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 0 24px 8px;
  margin-top: 0;
}

.trust-strip .section-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.trust-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-icon svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

.trust-text {
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ── SECTION: About — Glass ────────────────────────────── */
.about-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-image-wrapper {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.about-image-wrapper:hover {
  transform: scale(1.02);
}

.about-image-wrapper img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.about-image-wrapper:first-child {
  flex: 55;
}

.about-image-wrapper:last-child {
  flex: 45;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ── SECTION: Capabilities ─────────────────────────────── */
.capabilities-grid {
  margin-top: 56px;
}

/* ── SECTION: SYN APSE — Glass ─────────────────────────── */
#synapse-product .section-inner {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 48px;
}

.synapse-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 20px;
  padding: 6px 16px;
  margin-top: 16px;
  margin-bottom: 32px;
}

.synapse-headline {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.synapse-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.synapse-feature {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 10px 20px;
  transition: all var(--transition-fast);
}

.synapse-feature:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.synapse-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--cyan);
  transition: opacity var(--transition-fast);
}

.synapse-link:hover {
  opacity: 0.8;
}

.synapse-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.synapse-top .section-body {
  max-width: none;
}

.synapse-image-wrapper {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.synapse-image-wrapper:hover {
  transform: scale(1.02);
}

.synapse-image-wrapper img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.synapse-image-caption {
  font-family: var(--font-family);
  font-size: 0.75rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ── SECTION: Why It Matters ───────────────────────────── */
.value-grid {
  margin-top: 56px;
}

.value-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.08);
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.value-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── SECTION: Who We Serve ─────────────────────────────── */
.serve-grid {
  margin-top: 56px;
}

.serve-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.serve-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.08);
}

.serve-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.serve-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ── SECTION: Vision / Timeline ────────────────────────── */
.vision-body {
  max-width: 680px;
  margin-bottom: 64px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--teal), var(--border));
}

.timeline-phase {
  position: relative;
  padding: 48px 24px 24px 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  position: absolute;
  top: 15px;
  left: 0;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

.timeline-phase:nth-child(2) .timeline-dot {
  background: var(--teal);
  box-shadow: 0 0 12px rgba(0, 188, 212, 0.3);
}

.timeline-phase:nth-child(3) .timeline-dot {
  background: var(--text-secondary);
  box-shadow: 0 0 8px rgba(136, 146, 160, 0.25);
}

.timeline-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.timeline-tag.current {
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.timeline-tag.next {
  color: var(--teal);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 188, 212, 0.25);
}

.timeline-tag.horizon {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
}

/* ── SECTION: Differentiators ──────────────────────────── */
.diff-grid {
  margin-top: 56px;
}

.diff-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.diff-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.08);
}

.diff-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.08);
  margin-top: 4px;
}

.diff-icon svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

.diff-content {}

.diff-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.diff-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── SECTION: CTA — Glass ──────────────────────────────── */
.cta-section {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 24px;
}

.cta-section .section-inner {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 80px 48px;
}

.cta-headline {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.cta-subtext {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
}

.cta-email {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 20px;
}

.cta-email a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.cta-email a:hover {
  color: var(--cyan);
}

/* ── Footer — Glass ────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 2;
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 80px 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

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

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ── Responsive: Medium screens / Tablet ─────────────── */
@media (max-width: 1024px) and (min-width: 769px) {
  .nav-links {
    gap: 24px;
  }

  .nav-links a {
    font-size: 0.8125rem;
  }

  .section {
    padding: 80px 40px;
  }

  .hero-headline {
    font-size: 2.4rem;
  }

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

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

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

/* ── Responsive: Ultrawide ────────────────────────────── */
@media (min-width: 1920px) {
  .section-inner,
  .footer-inner {
    max-width: 1400px;
    margin: 0 auto;
  }

  .site-content-bg {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* ── Responsive: Tablet ────────────────────────────────── */
@media (max-width: 768px) {
  .navbar {
    padding: 0 24px;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .trust-strip .section-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Mobile hero: animation runs with native portrait frames */

  .hero-headline {
    font-size: 2.75rem;
  }

  .hero-subheadline {
    font-size: 1.0625rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .hero-actions .glass-btn-primary,
  .hero-actions .glass-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  body {
    font-size: 0.95rem;
  }

  .section {
    padding: 60px 20px;
  }

  .section-headline {
    font-size: 2rem;
  }

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

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

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

  .grid-2x2 {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-3x2 {
    grid-template-columns: 1fr;
  }

  .synapse-headline {
    font-size: 2.25rem;
  }

  #synapse-product .section-inner {
    padding: 40px 32px;
  }

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

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 5px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline-phase {
    padding: 24px 24px 24px 32px;
  }

  .timeline-dot {
    top: 28px;
    left: -6px;
  }

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

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

  .cta-section {
    padding: 60px 20px;
  }

  .cta-section .section-inner {
    padding: 60px 32px;
  }

  .cta-headline {
    font-size: 2rem;
  }

  .animated-logo-img {
    width: 120px;
  }

  .animated-logo-text {
    font-size: 2.5rem;
  }
}

/* ── Responsive: Small Mobile (iPhone SE) ────────────── */
@media (max-width: 375px) {
  .hero-headline { font-size: 1.5rem; }
  .section-headline { font-size: 1.3rem; }
  .section { padding: 40px 16px; }
  .glass-card { padding: 24px 16px; }
  .hero-actions { padding: 0 20px; }
  .about-stats { grid-template-columns: 1fr; }
  .trust-strip .section-inner { grid-template-columns: 1fr; }
}

/* ── Responsive: Mobile ────────────────────────────────── */
@media (max-width: 480px) {
  .section {
    padding: 60px 16px;
  }

  .hero-headline {
    font-size: 1.8rem;
  }

  .hero-subheadline {
    font-size: 1rem;
  }

  .section-headline {
    font-size: 1.75rem;
  }

  .about-content {
    padding: 24px;
  }

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

  .grid-3,
  .grid-3x2 {
    grid-template-columns: 1fr;
  }

  .synapse-headline {
    font-size: 1.75rem;
  }

  #synapse-product .section-inner {
    padding: 32px 24px;
  }

  .card {
    padding: 28px;
  }

  .value-card {
    padding: 28px;
  }

  .diff-card {
    padding: 24px;
  }

  .trust-strip {
    padding: 0 16px 8px;
  }

  .trust-strip .section-inner {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 60px 16px 32px;
  }

  .cta-section {
    padding: 60px 16px;
  }

  .cta-section .section-inner {
    padding: 48px 24px;
  }

  .cta-headline {
    font-size: 1.75rem;
  }

  .timeline-phase {
    padding: 24px 16px 24px 32px;
  }

  .animated-logo-img {
    width: 80px;
  }

  .animated-logo-text {
    font-size: 2rem;
  }
}

/* ── Utility ───────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
