/* ============================================
   Transcend — AI & Automation Consulting
   Main Stylesheet
   ============================================ */

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

:root {
  /* Colors */
  --bg-primary: #06060a;
  --bg-secondary: #0c0c14;
  --bg-card: #10101a;
  --bg-card-hover: #161625;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(139, 92, 246, 0.3);
  
  /* Text */
  --text-primary: #f0f0f5;
  --text-secondary: #9898a8;
  --text-muted: #5a5a6e;
  
  /* Accent */
  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --accent-glow: rgba(139, 92, 246, 0.15);
  --accent-glow-strong: rgba(139, 92, 246, 0.3);
  
  /* Gradient */
  --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  
  /* Light theme (post-hero sections) */
  --bg-light: #f8f9fc;
  --bg-light-alt: #eef0f6;
  --bg-light-card: #ffffff;
  --bg-light-card-hover: #f1f3f9;
  --text-light-primary: #1a1a2e;
  --text-light-secondary: #9898a8;
  --text-light-muted: #7a7a9a;
  --border-light: rgba(139, 92, 246, 0.12);
  --border-light-subtle: rgba(0, 0, 0, 0.06);
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Spacing */
  --section-padding: clamp(80px, 12vw, 140px);
  --container-max: 1200px;
  --container-padding: clamp(20px, 4vw, 40px);
  
  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.4s var(--ease-out);
  --transition-slow: 0.8s var(--ease-out);
}

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

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

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

ul {
  list-style: none;
}

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

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --- Section Shared --- */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: var(--accent-glow);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-accent);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 8px 40px var(--accent-glow-strong);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.btn-outline {
  background: transparent;
  color: var(--accent-light);
  border: 1px solid var(--border-accent);
}

.btn-outline:hover {
  background: var(--accent-glow);
  border-color: var(--accent-light);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.05rem;
  border-radius: 14px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
  background: transparent;
}

.nav.scrolled {
  background: rgba(6, 6, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  font-size: 1.5rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

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

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

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

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

.nav-cta {
  color: var(--accent-light) !important;
  font-weight: 500 !important;
  padding: 8px 20px;
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  transition: all var(--transition-fast) !important;
}

.nav-cta:hover {
  background: var(--accent-glow);
}

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

/* Mobile toggle */
.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);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px var(--container-padding) 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 6, 10, 0.55) 0%,
    rgba(6, 6, 10, 0.7) 50%,
    rgba(6, 6, 10, 0.95) 100%
  );
  z-index: 1;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  z-index: 2;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
  top: 10%;
  left: 20%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
  bottom: 20%;
  right: 15%;
  animation-delay: -10s;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: var(--accent-glow);
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-accent);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero-definition {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s var(--ease-out) 0.05s both;
}

.hero-definition strong {
  color: var(--accent-light);
  font-style: normal;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.title-line {
  display: block;
  color: var(--text-primary);
}

.title-accent {
  display: block;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 60px;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.stat {
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stat-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.stat-note {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

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

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Services --- */
.services {
  background: var(--bg-secondary);
  padding-top: clamp(72px, 9vw, 112px);
}

.services-header {
  text-align: left;
  max-width: 820px;
  margin: 0 0 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(18, 24, 40, 0.08);
  border-radius: 24px;
  padding: 36px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 18px 50px rgba(18, 24, 40, 0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 36px;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.45), rgba(96, 165, 250, 0));
  opacity: 1;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.service-card:hover {
  background: #ffffff;
  border-color: rgba(139, 92, 246, 0.14);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(18, 24, 40, 0.08);
}

.service-card:hover::before {
  transform: translateX(6px);
}

.service-icon {
  width: 52px;
  height: 52px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.08);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.service-kicker {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.service-card h3 {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.service-card > p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-light-secondary);
  padding: 0 0 0 18px;
  position: relative;
  border-radius: 0;
  background: transparent;
  border: 0;
  line-height: 1.45;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--gradient-accent);
}

.service-outcome {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(18, 24, 40, 0.08);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-light-secondary);
  font-weight: 400;
  font-style: italic;
}

.cta-slot {
  position: relative;
  overflow: hidden;
  grid-column: span 2;
  min-height: 340px;
  padding: 36px;
  border-radius: 20px;
  background: #0b0b12;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  box-shadow: 0 24px 70px rgba(11, 11, 18, 0.28);
}

.cta-slot__seam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .5) 50%, transparent);
}

.cta-slot__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.cta-slot__stars i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 8px rgba(167, 139, 250, .55);
}

.cta-slot__stars i:nth-child(3n) {
  background: rgba(96, 165, 250, .9);
  box-shadow: 0 0 8px rgba(96, 165, 250, .55);
}

.cta-slot__stars i:nth-child(1) { top: 12%; left: 8%; }
.cta-slot__stars i:nth-child(2) { top: 18%; left: 16%; }
.cta-slot__stars i:nth-child(3) { top: 9%; left: 26%; }
.cta-slot__stars i:nth-child(4) { top: 22%; left: 34%; }
.cta-slot__stars i:nth-child(5) { top: 14%; left: 44%; }
.cta-slot__stars i:nth-child(6) { top: 28%; left: 54%; }
.cta-slot__stars i:nth-child(7) { top: 10%; left: 64%; }
.cta-slot__stars i:nth-child(8) { top: 20%; left: 74%; }
.cta-slot__stars i:nth-child(9) { top: 16%; left: 84%; }
.cta-slot__stars i:nth-child(10) { top: 30%; left: 92%; }
.cta-slot__stars i:nth-child(11) { top: 36%; left: 10%; }
.cta-slot__stars i:nth-child(12) { top: 42%; left: 20%; }
.cta-slot__stars i:nth-child(13) { top: 34%; left: 30%; }
.cta-slot__stars i:nth-child(14) { top: 46%; left: 40%; }
.cta-slot__stars i:nth-child(15) { top: 38%; left: 50%; }
.cta-slot__stars i:nth-child(16) { top: 44%; left: 60%; }
.cta-slot__stars i:nth-child(17) { top: 40%; left: 70%; }
.cta-slot__stars i:nth-child(18) { top: 48%; left: 80%; }
.cta-slot__stars i:nth-child(19) { top: 34%; left: 90%; }
.cta-slot__stars i:nth-child(20) { top: 58%; left: 14%; }
.cta-slot__stars i:nth-child(21) { top: 64%; left: 24%; }
.cta-slot__stars i:nth-child(22) { top: 56%; left: 36%; }
.cta-slot__stars i:nth-child(23) { top: 68%; left: 48%; }
.cta-slot__stars i:nth-child(24) { top: 60%; left: 60%; }
.cta-slot__stars i:nth-child(25) { top: 72%; left: 72%; }
.cta-slot__stars i:nth-child(26) { top: 62%; left: 82%; }
.cta-slot__stars i:nth-child(27) { top: 78%; left: 18%; }
.cta-slot__stars i:nth-child(28) { top: 82%; left: 42%; }
.cta-slot__stars i:nth-child(29) { top: 76%; left: 66%; }
.cta-slot__stars i:nth-child(30) { top: 84%; left: 88%; }

.cta-slot__orbits {
  position: absolute;
  right: -5%;
  top: 50%;
  width: 0;
  height: 0;
  z-index: 1;
}

.cta-slot__orbits i {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: tr-gw-spin linear infinite;
}

.cta-slot__orbits i::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateX(-50%);
}

.cta-slot__orbits i:nth-child(1){width:280px;height:280px;border:1px dashed rgba(167,139,250,.25);animation-duration:22s}
.cta-slot__orbits i:nth-child(1)::before{background:#a78bfa;box-shadow:0 0 12px #a78bfa}
.cta-slot__orbits i:nth-child(2){width:390px;height:390px;border:1px dashed rgba(167,139,250,.22);animation-duration:26s;animation-direction:reverse}
.cta-slot__orbits i:nth-child(2)::before{background:#60a5fa;box-shadow:0 0 12px #60a5fa}
.cta-slot__orbits i:nth-child(3){width:500px;height:500px;border:1px dashed rgba(167,139,250,.19);animation-duration:30s}
.cta-slot__orbits i:nth-child(3)::before{background:#a78bfa;box-shadow:0 0 10px #a78bfa}
.cta-slot__orbits i:nth-child(4){width:610px;height:610px;border:1px dashed rgba(167,139,250,.16);animation-duration:34s;animation-direction:reverse}
.cta-slot__orbits i:nth-child(4)::before{background:#60a5fa;box-shadow:0 0 10px #60a5fa}
.cta-slot__orbits i:nth-child(5){width:720px;height:720px;border:1px dashed rgba(167,139,250,.13);animation-duration:38s}
.cta-slot__orbits i:nth-child(5)::before{background:#a78bfa;box-shadow:0 0 8px #a78bfa}
.cta-slot__orbits i:nth-child(6){width:830px;height:830px;border:1px dashed rgba(167,139,250,.1);animation-duration:42s;animation-direction:reverse}
.cta-slot__orbits i:nth-child(6)::before{background:#60a5fa;box-shadow:0 0 8px #60a5fa}

@keyframes tr-gw-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.cta-slot__glow {
  position: absolute;
  right: -5%;
  top: 50%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  transform: translate(50%,-50%);
  background: radial-gradient(circle,rgba(167,139,250,.7),rgba(99,102,241,.3) 40%,transparent 70%);
  filter: blur(8px);
  animation: tr-gw-core 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes tr-gw-core {
  0%,100%{opacity:.9;transform:translate(50%,-50%) scale(1)}
  50% {opacity:1; transform:translate(50%,-50%) scale(1.08)}
}

.cta-slot__eyebrow,
.cta-slot__title,
.cta-slot__sub,
.cta-slot__ctas,
.cta-slot__meta {
  position: relative;
  z-index: 2;
}

.cta-slot__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, .8);
}

.cta-slot__title {
  margin: 0;
  max-width: 440px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: #fff;
}

.cta-slot__title em {
  font-style: normal;
  background: linear-gradient(135deg, #a78bfa 0%, #6366f1 55%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.cta-slot__sub {
  margin: 0;
  max-width: 440px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .84);
}

.cta-slot__ctas {
  position: relative;
  z-index: 2;
  margin-top: 4px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-slot__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
  cursor: pointer;
}

.cta-slot__btn svg {
  width: 14px;
  height: 14px;
}

.cta-slot__btn--primary {
  background: rgba(99,102,241,.12);
  border: 1px solid #6366f1;
  color: #fff;
}

.cta-slot__btn--primary:hover {
  background: rgba(99,102,241,.25);
  border-color: #a78bfa;
}

.cta-slot__btn--ghost {
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  background: transparent;
}

.cta-slot__btn--ghost:hover {
  border-color: rgba(167,139,250,.5);
  color: #fff;
}

.cta-slot__meta {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.4);
}

@media (prefers-reduced-motion: reduce) {
  .cta-slot__orbits i,
  .cta-slot__glow {
    animation: none;
  }
}

/* --- Approach --- */
.approach {
  padding-top: clamp(72px, 9vw, 112px);
}

.approach-header {
  text-align: left;
  max-width: 820px;
  margin: 0 0 56px;
}

.approach-timeline {
  max-width: 100%;
  margin: 0;
  display: grid;
  gap: 28px;
}

.approach-step {
  display: flex;
  gap: 24px;
  position: relative;
  align-items: flex-start;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--border-light-subtle);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 249, 252, 0.98) 100%);
  box-shadow: 0 18px 40px rgba(18, 24, 40, 0.05);
  overflow: hidden;
}

.approach-step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 34%);
  pointer-events: none;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-light);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  position: relative;
  z-index: 1;
}

.step-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.16);
  color: var(--accent);
  flex-shrink: 0;
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

.step-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.step-content h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

.step-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-connector {
  position: absolute;
  left: 59px;
  top: calc(100% - 8px);
  height: 38px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(139, 92, 246, 0.35), rgba(139, 92, 246, 0));
}

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

/* --- Approach Phases (revamped) --- */
.approach-phases {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.phase-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 44px;
  border-radius: 24px;
  border: 1px solid var(--border-light-subtle);
  background: linear-gradient(160deg, rgba(255,255,255,0.95) 0%, rgba(248,249,252,0.98) 100%);
  box-shadow: 0 12px 36px rgba(18, 24, 40, 0.06);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.phase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent 38%);
  pointer-events: none;
}

.phase-card:hover {
  box-shadow: 0 20px 48px rgba(18, 24, 40, 0.1);
  transform: translateY(-2px);
}

.phase-card__number {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  opacity: 0.25;
  user-select: none;
  margin-top: 4px;
}

.phase-card__body {
  flex: 1;
  position: relative;
  z-index: 1;
}

.phase-card__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.18);
}

.phase-card__title {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.phase-card__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 20px;
}

.phase-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phase-card__list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.phase-card__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

.phase-card__meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.phase-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-light);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 4px 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.phase-outcome {
  font-size: 0.92rem;
  color: var(--text-muted, var(--text-secondary));
  font-style: italic;
  line-height: 1.5;
}

.phase-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  color: rgba(139, 92, 246, 0.35);
}

.phase-divider svg {
  width: 20px;
  height: 20px;
}

/* --- What to Expect --- */
.expect-section {
  background: var(--bg-secondary);
}

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

.expect-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all var(--transition-base);
}

.expect-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(18, 24, 40, 0.07);
}

.expect-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.16);
  color: var(--accent);
}

.expect-item__icon svg {
  width: 20px;
  height: 20px;
}

.expect-item h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.expect-item p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* --- About --- */
.about {
  background: var(--bg-secondary);
}

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

.about-header {
  text-align: left;
  max-width: 860px;
  margin: 0 0 56px;
}

.about-content .section-tag {
  display: inline-block;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 18px;
}

.about-text em {
  color: var(--text-primary);
  font-style: italic;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}

.value {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid rgba(18, 24, 40, 0.08);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 12px 34px rgba(18, 24, 40, 0.04);
}

.value-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.08);
}

.value-icon svg {
  width: 20px;
  height: 20px;
}

.value strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.value span {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-visual {
  position: sticky;
  top: 100px;
}

.visual-card {
  background: var(--bg-card);
  border: 1px solid rgba(18, 24, 40, 0.08);
  border-radius: 28px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: 0 22px 60px rgba(18, 24, 40, 0.06);
}

.visual-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

.visual-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 22px;
  border-top: 1px solid rgba(18, 24, 40, 0.08);
}

.visual-stat:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.visual-number {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.visual-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Products --- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  transition: all var(--transition-base);
}

.product-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 60px var(--accent-glow);
}

.product-visual {
  text-align: center;
}

.product-logo {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.product-logo-route {
  background: linear-gradient(135deg, #00c8ff, #0080ff, #00eaff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-logo-ai {
  color: #5a7090;
}

.product-logo-mark {
  font-size: 3rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: var(--accent-glow);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border-accent);
}

.product-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.product-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* --- Contact (simple contact wrapper, pre-redesign) --- */
.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.detail-item {
  text-align: center;
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail-item a,
.detail-item > span:last-child {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.detail-item a:hover {
  color: var(--accent-light);
}

/* --- Newsletter --- */
.newsletter {
  background: var(--bg-primary);
}

.newsletter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

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

.newsletter-content {
  text-align: center;
}

.newsletter-content .section-title {
  margin-bottom: 16px;
}

.newsletter-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 12px;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.newsletter-input:focus {
  border-color: var(--accent);
}

.newsletter-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.newsletter-visual {
  position: relative;
}

.newsletter-glow {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow-strong), transparent 70%);
  filter: blur(20px);
  animation: orbFloat 8s ease-in-out infinite;
}

/* --- Footer --- */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  padding: 60px 0 32px;
  border-top: 1px solid var(--border-subtle);
}

.footer .container {
  position: relative;
  z-index: 10;
}

.footer--network .tr-con__svg {
  z-index: 1;
}

.footer--network .tr-con__nodes {
  z-index: 2;
}

.footer--network .tr-hero__vignette {
  z-index: 3;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(6, 6, 10, 0.1) 0%, rgba(6, 6, 10, 0.5) 48%, rgba(6, 6, 10, 0.92) 100%),
    linear-gradient(180deg, rgba(6, 6, 10, 0.1) 0%, rgba(6, 6, 10, 0.7) 72%, rgba(6, 6, 10, 0.96) 100%);
}

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

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links .footer-subheading {
  margin-top: 24px;
}

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

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

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Scroll Animations --- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header .grid-overlay {
  opacity: 0.5;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: var(--accent-glow);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-accent);
  margin-bottom: 20px;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

/* --- Active nav link --- */
.nav-links a.active {
  color: var(--text-primary);
}

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

/* --- CTA Section --- */
.cta-section {
  background: var(--bg-primary);
}

.cta-card {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 56px;
}

.services-next-step {
  padding-top: clamp(48px, 7vw, 72px);
}

@media (min-width: 901px) {
  .services {
    padding-bottom: clamp(32px, 4vw, 44px);
  }

  .services-next-step {
    padding-top: clamp(8px, 1.5vw, 16px);
  }
}

.services-next-step .cta-card {
  max-width: 720px;
  padding: 32px 40px 40px;
}

.services-next-step .section-tag {
  margin-bottom: 14px;
}

.services-next-step .cta-card h2 {
  margin-bottom: 10px;
}

.services-next-step .cta-card p {
  margin-bottom: 22px;
}

.cta-card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* --- CTA Banner (home page) --- */
.cta-banner {
  background: var(--bg-secondary);
}

.cta-banner-inner {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.cta-banner-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
}

.cta-banner-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-banner-inner p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* --- Section CTA (home page previews) --- */
.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* --- Principles --- */
.principles {
  background: var(--bg-secondary);
  padding-top: clamp(72px, 9vw, 110px);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.principle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  text-align: left;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.principle-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 32%);
  pointer-events: none;
}

.principle-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.principle-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.14);
  color: var(--accent);
  margin-bottom: 18px;
}

.principle-icon svg {
  width: 22px;
  height: 22px;
}

.principle-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.principle-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Audience --- */
.audience {
  background: var(--bg-primary);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid rgba(18, 24, 40, 0.08);
  border-radius: 24px;
  padding: 32px;
  transition: all var(--transition-base);
  box-shadow: 0 18px 50px rgba(18, 24, 40, 0.05);
}

.audience-card:hover {
  border-color: rgba(139, 92, 246, 0.14);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(18, 24, 40, 0.08);
}

.audience-kicker {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 18px;
}

.audience-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.audience-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Contact Page --- */
.contact {
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form-wrapper h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 36%),
    radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(248, 249, 252, 0.96), rgba(238, 240, 246, 0.98));
  box-shadow:
    0 24px 60px rgba(18, 24, 40, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.form-group--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.contact-form-verification {
  padding: 8px 0 0;
  border-radius: 20px;
  overflow: hidden;
}

.turnstile-widget {
  min-height: 65px;
  padding: 14px;
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.contact-form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-form-status.is-visible {
  display: block;
}

.contact-form-status.is-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #bbf7d0;
}

.contact-form-status.is-error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.26);
  color: #fecaca;
}

.contact-form button[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.contact-info-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.75), transparent);
}

.contact-info-card--primary {
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border-color: rgba(139, 92, 246, 0.22);
}

.contact-info-card--secondary {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.contact-card-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 16px;
}

.contact-info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.contact-card-intro {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-detail {
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-detail:first-child {
  padding-top: 0;
  border-top: 0;
}

.contact-detail:last-child {
  margin-bottom: 0;
}

.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail a,
.contact-detail > span:last-child {
  font-size: 0.98rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.contact-detail a:hover {
  color: var(--accent-light);
}

.expect-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.expect-list li {
  font-size: 0.96rem;
  color: var(--text-secondary);
  padding: 14px 16px 14px 46px;
  position: relative;
  line-height: 1.65;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.expect-list li::before {
  content: '→';
  position: absolute;
  left: 16px;
  top: 14px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--accent-light);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 999px;
}

.expect-list--icons li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
}

.expect-list--icons li::before {
  display: none;
}

.expect-list__icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--accent-light);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 999px;
  margin-top: 2px;
}

.expect-list__icon svg {
  width: 12px;
  height: 12px;
}

.contact-info-card--commitment {
  position: sticky;
  top: 112px;
  padding: 34px;
  border-color: rgba(139, 92, 246, 0.18);
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 36%),
    radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(248, 249, 252, 0.96), rgba(238, 240, 246, 0.98));
  box-shadow:
    0 24px 60px rgba(18, 24, 40, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.contact-info-card--commitment h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.contact-info-card--commitment .contact-card-kicker {
  margin-bottom: 18px;
}

.contact-info-card--commitment .expect-list {
  gap: 16px;
}

.contact-info-card--commitment .expect-list li {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(139, 92, 246, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.contact-info-card--commitment .expect-list__icon {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.22), rgba(139, 92, 246, 0.1));
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.16);
}

.contact-detail-grid--compact {
  margin-top: 26px;
  gap: 18px;
}

.contact-detail-grid--compact .contact-detail {
  padding-top: 18px;
}

/* --- What Happens Next (contact page) --- */
.next-steps-section {
  background: var(--bg-secondary);
}

.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.next-step {
  position: relative;
  overflow: hidden;
  padding: 36px 32px;
  border-radius: 20px;
  border: 1px solid var(--border-light-subtle);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.next-step::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.6), transparent);
}

.next-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.next-step__number {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  opacity: 0.28;
  line-height: 1;
  margin-bottom: 20px;
}

.next-step__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.next-step__desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Product Features --- */
.product-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.product-feature {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--accent-light);
  background: var(--accent-glow);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-accent);
}

/* --- Future Products --- */
.future-products {
  background: var(--bg-secondary);
}

.future-card {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px;
}

.future-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.future-card .btn-ghost {
  color: var(--text-light-primary);
  border-color: rgba(139, 92, 246, 0.22);
  background: rgba(139, 92, 246, 0.06);
}

.future-card .btn-ghost:hover {
  color: var(--text-light-primary);
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.14);
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.12);
}

/* --- Legal Pages --- */
.legal-page {
  background: var(--bg-light);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.legal-toc,
.legal-prose {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.legal-toc {
  position: sticky;
  top: 108px;
  padding: 24px;
}

.legal-toc h2 {
  font-size: 1rem;
  margin-bottom: 14px;
}

.legal-toc ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-toc a {
  color: var(--text-light-secondary);
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.legal-toc a:hover {
  color: var(--accent);
}

.legal-prose {
  padding: 34px;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light-muted);
  margin-bottom: 24px;
}

.legal-block + .legal-block {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(139, 92, 246, 0.12);
}

.legal-block h2 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text-light-primary);
}

.legal-block p,
.legal-block li {
  color: var(--text-light-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-block ul {
  list-style: disc;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.legal-note {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.14);
  color: var(--text-light-secondary);
}

.legal-contact {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 980px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }
}

@media (max-width: 768px) {
  .legal-prose,
  .legal-toc {
    padding: 22px;
  }
}

/* --- Step Details --- */
.step-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.step-detail {
  font-size: 0.82rem;
  color: var(--text-light-secondary);
  font-family: var(--font-mono);
  padding: 10px 14px 10px 28px;
  position: relative;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 999px;
}

.step-detail::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--gradient-accent);
}

.step-outcome {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  font-size: 0.95rem;
  color: var(--text-light-primary);
  font-weight: 500;
}

/* --- Services Preview (home) --- */
.services-preview {
  background: var(--bg-secondary);
}

.approach-preview {
  background: var(--bg-primary);
}

.approach-preview .approach-step .step-connector {
  display: none;
}



/* --- Light theme for content sections (all pages) --- */
/* Must come after component styles to override them */
.section {
  background: var(--bg-light) !important;
  color: var(--text-light-primary);
}

.section .section-title,
.section h2,
.section h3 {
  color: var(--text-light-primary);
}

.section .cta-slot__title {
  color: #fff;
}

.section .section-desc,
.section p,
.section .about-text,
.section .step-content p,
.section .service-card > p,
.section .product-info p,
.section .future-card p,
.section .cta-card p,
.section .cta-banner-inner p,
.section .newsletter-desc,
.section .contact-desc,
.section .value span,
.section .principle-card p,
.section .expect-list li,
.section .service-features li,
.section .step-detail {
  color: var(--text-light-secondary);
}

/* Cards on light bg */
.section .service-card,
.section .principle-card,
.section .visual-card,
.section .product-card,
.section .future-card,
.section .cta-banner-inner,
.section .newsletter-card,
.section .info-card,
.section .audience-card,
.section .contact-form {
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 36%),
    radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(248, 249, 252, 0.96), rgba(238, 240, 246, 0.98));
  border-color: var(--border-light-subtle);
  box-shadow: 0 24px 60px rgba(18, 24, 40, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.section .service-card,
.section .principle-card,
.section .visual-card,
.section .product-card,
.section .future-card,
.section .cta-banner-inner,
.section .newsletter-card,
.section .info-card,
.section .audience-card {
  background: var(--bg-light-card);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.section .service-card:hover,
.section .principle-card:hover {
  background: var(--bg-light-card-hover);
  border-color: var(--border-light);
}

/* Form inputs on light bg */
.section .newsletter-input,
.section input[type="text"],
.section input[type="email"],
.section input[type="tel"],
.section textarea {
  background: var(--bg-light);
  border-color: var(--border-light-subtle);
  color: var(--text-light-primary);
}

.section .newsletter-input::placeholder,
.section input::placeholder,
.section textarea::placeholder {
  color: var(--text-light-muted);
}

/* Stat/label text on light bg */
.section .visual-label,
.section .detail-label,
.section .newsletter-note {
  color: var(--text-light-muted);
}

/* Contact detail values readable on light bg */
.section .contact-detail a,
.section .contact-detail > span:last-child {
  color: var(--text-light-primary);
}

/* Contact info cards on light bg */
.section .contact-info-card {
  background: rgba(139, 92, 246, 0.04);
  border-color: var(--border-light-subtle);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.section .contact-info-card--primary {
  background: rgba(139, 92, 246, 0.07);
  border-color: var(--border-light);
}

.section .contact-info-card--secondary {
  background: rgba(59, 130, 246, 0.05);
  border-color: var(--border-light-subtle);
}

/* Keep hero, page-header, and footer dark */
.hero,
.page-header,
.footer {
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* Keep nav dark */
.nav {
  background: transparent;
}

.nav.scrolled {
  background: rgba(6, 6, 10, 0.92);
}

/* Keep body default dark (for areas not in a .section) */
body {
  background: var(--bg-primary);
}

/* --- Responsive additions --- */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  
  .about-visual {
    position: static;
  }

  .visual-card {
    padding: 36px;
  }
  
  .product-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px;
  }

  .service-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-slot {
    grid-column: 1 / -1;
  }
  
  .approach-step {
    padding: 28px;
    gap: 18px;
  }

  .step-head {
    flex-direction: column;
    gap: 14px;
  }

  .phase-card {
    padding: 32px 28px;
  }

  .phase-card__meta {
    flex-direction: column;
    gap: 10px;
  }

  .next-steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .newsletter-card {
    grid-template-columns: 1fr;
    padding: 40px;
    text-align: center;
  }
  
  .newsletter-visual {
    display: none;
  }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: var(--container-padding);
    right: var(--container-padding);
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.16);
    background: rgba(6, 6, 10, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    z-index: 999;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-links a {
    display: block;
    width: 100%;
    font-size: 1rem;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links .nav-cta {
    margin-top: 8px;
    text-align: center;
  }
  
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .contact-details {
    flex-direction: column;
    gap: 24px;
  }
  
  .newsletter-card {
    padding: 32px 24px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-input {
    width: 100%;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-sidebar {
    flex-direction: column;
  }
  
  .principles-grid {
    grid-template-columns: 1fr;
  }
  
  .audience-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-banner-inner {
    padding: 40px 24px;
  }
}

/* --- Shared immersive hero (services/products) --- */

.tr-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  min-height: 340px;
  padding: 160px 0 80px;
  display: flex;
  align-items: center;
  color: #fff;
}

/* Layer 1: warp streaks */
.tr-hero__warp {
  position: absolute;
  inset: 0;
  pointer-events: none;
  perspective: 600px;
}

.tr-hero__warp::before,
.tr-hero__warp::after,
.tr-hero__warp span {
  content: "";
  position: absolute;
  left: -180px;
  width: 120px;
  height: 1px;
  opacity: 0;
  transform: translateX(-40vw) scaleX(.2);
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, .5) 30%, rgba(99, 102, 241, .6) 60%, rgba(59, 130, 246, .8) 85%, #fff);
  animation: tr-warp 3.2s linear infinite;
  animation-fill-mode: both;
}

.tr-hero__warp::before { top: 10%; animation-delay: 0s; }
.tr-hero__warp::after  { top: 70%; animation-delay: 1.6s; width: 160px; }

.tr-hero__warp span:nth-child(1)  { top: 18%; animation-delay: .3s; width: 100px; }
.tr-hero__warp span:nth-child(2)  { top: 25%; animation-delay: .7s; width: 140px; }
.tr-hero__warp span:nth-child(3)  { top: 33%; animation-delay: 1.1s; width: 90px;  }
.tr-hero__warp span:nth-child(4)  { top: 40%; animation-delay: .5s; width: 150px; }
.tr-hero__warp span:nth-child(5)  { top: 48%; animation-delay: 1.8s; width: 110px; }
.tr-hero__warp span:nth-child(6)  { top: 55%; animation-delay: .9s; width: 130px; }
.tr-hero__warp span:nth-child(7)  { top: 62%; animation-delay: 1.4s; width: 95px;  }
.tr-hero__warp span:nth-child(8)  { top: 78%; animation-delay: .2s; width: 145px; }
.tr-hero__warp span:nth-child(9)  { top: 85%; animation-delay: 1.0s; width: 105px; }
.tr-hero__warp span:nth-child(10) { top: 92%; animation-delay: 1.5s; width: 125px; }
.tr-hero__warp span:nth-child(11) { top: 14%; animation-delay: 2.0s; width: 80px;  }
.tr-hero__warp span:nth-child(12) { top: 29%; animation-delay: 2.3s; width: 115px; }
.tr-hero__warp span:nth-child(13) { top: 37%; animation-delay: 2.6s; width: 135px; }
.tr-hero__warp span:nth-child(14) { top: 52%; animation-delay: 2.1s; width: 85px;  }
.tr-hero__warp span:nth-child(15) { top: 66%; animation-delay: 2.8s; width: 155px; }
.tr-hero__warp span:nth-child(16) { top: 74%; animation-delay: 2.4s; width: 100px; }
.tr-hero__warp span:nth-child(17) { top: 88%; animation-delay: 2.9s; width: 120px; }
.tr-hero__warp span:nth-child(18) { top: 22%; animation-delay: 3.1s; width: 90px;  }
.tr-hero__warp span:nth-child(19) { top: 45%; animation-delay: 0.4s; width: 140px; }
.tr-hero__warp span:nth-child(20) { top: 82%; animation-delay: 1.7s; width: 110px; }

@keyframes tr-warp {
  0%   { transform: translateX(-40vw) scaleX(.2); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateX(140vw) scaleX(1);   opacity: 0; }
}

.tr-hero--barrier .page-header-bg,
.tr-hero--grid .page-header-bg,
.tr-hero--gw .page-header-bg,
.tr-hero--con .page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tr-hero--barrier .grid-overlay,
.tr-hero--grid .grid-overlay,
.tr-hero--gw .grid-overlay,
.tr-hero--con .grid-overlay {
  opacity: 0.5;
}

.tr-barrier__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 62%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .4) 20%, rgba(96, 165, 250, .9) 50%, rgba(167, 139, 250, .4) 80%, transparent);
}

.tr-barrier__shimmer {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(62% - 12px);
  height: 24px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, .25), transparent);
  background-size: 200% 100%;
  filter: blur(8px);
  animation: tr-sweep 4s linear infinite;
}

@keyframes tr-sweep {
  from { background-position: -200% 0; }
  to { background-position: 200% 0; }
}

.tr-barrier__ripples {
  position: absolute;
  left: 78%;
  top: 62%;
}

.tr-barrier__ripples i {
  position: absolute;
  left: 0;
  top: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, .5);
  transform: translate(-50%, -50%) scale(.4);
  opacity: 0;
  animation: tr-ripple 4s ease-out infinite;
  animation-fill-mode: both;
}

.tr-barrier__ripples i:nth-child(2) { animation-delay: 1.3s; }
.tr-barrier__ripples i:nth-child(3) { animation-delay: 2.6s; }

@keyframes tr-ripple {
  0% { transform: translate(-50%, -50%) scale(.4); opacity: .6; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

.tr-gw__stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.tr-gw__stars i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 8px rgba(167, 139, 250, .55);
}

.tr-gw__stars i:nth-child(3n) {
  background: rgba(96, 165, 250, .9);
  box-shadow: 0 0 8px rgba(96, 165, 250, .55);
}

.tr-gw__stars i:nth-child(1) { top: 12%; left: 8%; }
.tr-gw__stars i:nth-child(2) { top: 18%; left: 16%; }
.tr-gw__stars i:nth-child(3) { top: 9%; left: 26%; }
.tr-gw__stars i:nth-child(4) { top: 22%; left: 34%; }
.tr-gw__stars i:nth-child(5) { top: 14%; left: 44%; }
.tr-gw__stars i:nth-child(6) { top: 28%; left: 54%; }
.tr-gw__stars i:nth-child(7) { top: 10%; left: 64%; }
.tr-gw__stars i:nth-child(8) { top: 20%; left: 74%; }
.tr-gw__stars i:nth-child(9) { top: 16%; left: 84%; }
.tr-gw__stars i:nth-child(10) { top: 30%; left: 92%; }
.tr-gw__stars i:nth-child(11) { top: 36%; left: 10%; }
.tr-gw__stars i:nth-child(12) { top: 42%; left: 20%; }
.tr-gw__stars i:nth-child(13) { top: 34%; left: 30%; }
.tr-gw__stars i:nth-child(14) { top: 46%; left: 40%; }
.tr-gw__stars i:nth-child(15) { top: 38%; left: 50%; }
.tr-gw__stars i:nth-child(16) { top: 44%; left: 60%; }
.tr-gw__stars i:nth-child(17) { top: 40%; left: 70%; }
.tr-gw__stars i:nth-child(18) { top: 48%; left: 80%; }
.tr-gw__stars i:nth-child(19) { top: 34%; left: 90%; }
.tr-gw__stars i:nth-child(20) { top: 58%; left: 14%; }
.tr-gw__stars i:nth-child(21) { top: 64%; left: 24%; }
.tr-gw__stars i:nth-child(22) { top: 56%; left: 36%; }
.tr-gw__stars i:nth-child(23) { top: 68%; left: 48%; }
.tr-gw__stars i:nth-child(24) { top: 60%; left: 60%; }
.tr-gw__stars i:nth-child(25) { top: 72%; left: 72%; }
.tr-gw__stars i:nth-child(26) { top: 62%; left: 82%; }
.tr-gw__stars i:nth-child(27) { top: 78%; left: 18%; }
.tr-gw__stars i:nth-child(28) { top: 82%; left: 42%; }
.tr-gw__stars i:nth-child(29) { top: 76%; left: 66%; }
.tr-gw__stars i:nth-child(30) { top: 84%; left: 88%; }

.tr-gw__orbits {
  position: absolute;
  right: -5%;
  top: 50%;
  width: 0;
  height: 0;
  z-index: 2;
}

.tr-gw__orbits i {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: tr-gw-spin linear infinite;
}

.tr-gw__orbits i::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateX(-50%);
}

.tr-gw__orbits i:nth-child(1) { width: 280px; height: 280px; border: 1px dashed rgba(167, 139, 250, .25); animation-duration: 22s; }
.tr-gw__orbits i:nth-child(1)::before { background: #a78bfa; box-shadow: 0 0 12px #a78bfa; }
.tr-gw__orbits i:nth-child(2) { width: 390px; height: 390px; border: 1px dashed rgba(167, 139, 250, .22); animation-duration: 26s; animation-direction: reverse; }
.tr-gw__orbits i:nth-child(2)::before { background: #60a5fa; box-shadow: 0 0 12px #60a5fa; }
.tr-gw__orbits i:nth-child(3) { width: 500px; height: 500px; border: 1px dashed rgba(167, 139, 250, .19); animation-duration: 30s; }
.tr-gw__orbits i:nth-child(3)::before { background: #a78bfa; box-shadow: 0 0 10px #a78bfa; }
.tr-gw__orbits i:nth-child(4) { width: 610px; height: 610px; border: 1px dashed rgba(167, 139, 250, .16); animation-duration: 34s; animation-direction: reverse; }
.tr-gw__orbits i:nth-child(4)::before { background: #60a5fa; box-shadow: 0 0 10px #60a5fa; }
.tr-gw__orbits i:nth-child(5) { width: 720px; height: 720px; border: 1px dashed rgba(167, 139, 250, .13); animation-duration: 38s; }
.tr-gw__orbits i:nth-child(5)::before { background: #a78bfa; box-shadow: 0 0 8px #a78bfa; }
.tr-gw__orbits i:nth-child(6) { width: 830px; height: 830px; border: 1px dashed rgba(167, 139, 250, .1); animation-duration: 42s; animation-direction: reverse; }
.tr-gw__orbits i:nth-child(6)::before { background: #60a5fa; box-shadow: 0 0 8px #60a5fa; }

@keyframes tr-gw-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.tr-gw__core {
  position: absolute;
  right: -5%;
  top: 50%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  transform: translate(50%, -50%);
  background: radial-gradient(circle, rgba(167, 139, 250, .7), rgba(99, 102, 241, .3) 40%, transparent 70%);
  filter: blur(8px);
  animation: tr-gw-core 4s ease-in-out infinite;
  z-index: 2;
}

@keyframes tr-gw-core {
  0%, 100% { opacity: .9; transform: translate(50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(50%, -50%) scale(1.08); }
}

.tr-con__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.tr-con__svg line {
  animation: tr-con-line ease-in-out infinite;
}

@keyframes tr-con-line {
  0%, 100% { opacity: .15; }
  50% { opacity: .5; }
}

.tr-con__nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.tr-con__nodes i {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: tr-con-node ease-in-out infinite;
}

@keyframes tr-con-node {
  0%, 100% { opacity: .6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
}

.tr-grid__floor {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 160%;
  height: 70%;
  perspective: 600px;
  perspective-origin: 50% 0;
}

.tr-grid__floor > div {
  width: 100%;
  height: 100%;
  transform-origin: 50% 0;
  transform: rotateX(62deg);
  background-image:
    linear-gradient(rgba(139, 92, 246, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, .28) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: tr-rush 3s linear infinite;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 100%);
}

@keyframes tr-rush {
  to { background-position: 0 80px; }
}

.tr-grid__horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .7), transparent);
  filter: blur(1px);
}

.tr-grid__glow {
  position: absolute;
  left: 35%;
  right: 35%;
  top: 38%;
  height: 120px;
  background: radial-gradient(ellipse at center top, rgba(139, 92, 246, .35), transparent 70%);
  filter: blur(20px);
}

/* Layer 2: legibility vignette */
.tr-hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 30% 50%, rgba(6, 6, 10, .15) 0%, rgba(6, 6, 10, .88) 75%, var(--bg-primary) 100%);
}

.tr-hero--gw .tr-hero__vignette {
  z-index: 3;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(6, 6, 10, .08) 0%, rgba(6, 6, 10, .42) 52%, rgba(6, 6, 10, .78) 100%),
    radial-gradient(circle at 78% 50%, rgba(96, 165, 250, .12) 0%, rgba(96, 165, 250, .04) 22%, transparent 44%);
}

.tr-hero--con .tr-hero__vignette {
  z-index: 3;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(6, 6, 10, .08) 0%, rgba(6, 6, 10, .45) 58%, rgba(6, 6, 10, .82) 100%),
    radial-gradient(circle at 70% 42%, rgba(96, 165, 250, .08) 0%, transparent 34%);
}

/* Layer 3: content */
.tr-hero .container {
  position: relative;
  z-index: 10;
  width: 100%;
}

.tr-hero__content {
  position: relative;
  z-index: 10;
  width: min(720px, 100%);
  max-width: 720px;
  margin: 0;
  text-align: left;
}

.tr-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: var(--accent-glow);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-accent);
  margin-bottom: 20px;
}

.tr-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--text-primary);
}

.tr-title em {
  font-style: normal;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tr-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 540px;
  margin: 0;
}

@media (max-width: 768px) {
  .tr-hero {
    padding: 132px 0 56px;
  }

  .tr-hero__content {
    width: 100%;
  }

  .tr-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .tr-barrier__ripples {
    left: 72%;
  }

  .tr-barrier__ripples i {
    width: 140px;
    height: 140px;
  }

  .tr-grid__floor {
    width: 220%;
    height: 62%;
  }

  .tr-grid__floor > div {
    background-size: 56px 56px;
  }

  .tr-grid__glow {
    left: 22%;
    right: 22%;
    top: 36%;
    height: 100px;
  }

  .tr-gw__orbits {
    right: -18%;
  }

  .tr-gw__core {
    right: -18%;
    width: 120px;
    height: 120px;
  }

  .tr-gw__orbits i:nth-child(1) { width: 180px; height: 180px; }
  .tr-gw__orbits i:nth-child(2) { width: 250px; height: 250px; }
  .tr-gw__orbits i:nth-child(3) { width: 320px; height: 320px; }
  .tr-gw__orbits i:nth-child(4) { width: 390px; height: 390px; }
  .tr-gw__orbits i:nth-child(5) { width: 460px; height: 460px; }
  .tr-gw__orbits i:nth-child(6) { width: 530px; height: 530px; }

  .approach-header {
    margin-bottom: 40px;
  }

  .services-header {
    margin-bottom: 40px;
  }

  .about-header {
    margin-bottom: 40px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .cta-slot {
    padding: 28px 24px;
    min-height: 300px;
  }

  .cta-slot__orbits {
    right: -18%;
  }

  .cta-slot__glow {
    right: -18%;
    width: 120px;
    height: 120px;
  }

  .cta-slot__orbits i:nth-child(1) { width: 180px; height: 180px; }
  .cta-slot__orbits i:nth-child(2) { width: 250px; height: 250px; }
  .cta-slot__orbits i:nth-child(3) { width: 320px; height: 320px; }
  .cta-slot__orbits i:nth-child(4) { width: 390px; height: 390px; }
  .cta-slot__orbits i:nth-child(5) { width: 460px; height: 460px; }
  .cta-slot__orbits i:nth-child(6) { width: 530px; height: 530px; }

  .cta-slot__title {
    font-size: 22px;
  }

  .approach-step {
    flex-direction: column;
    padding: 24px;
  }

  .step-number {
    width: 52px;
    height: 52px;
  }

  .step-connector {
    left: 50px;
    top: calc(100% - 10px);
    height: 34px;
  }

  .phase-card {
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px;
  }

  .phase-card__number {
    font-size: 2.2rem;
  }

  .expect-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .principles-grid {
    gap: 18px;
  }

  .principle-card {
    padding: 24px;
  }

  .value {
    padding: 20px;
  }

  .visual-card {
    padding: 30px 24px;
  }

  .audience-card {
    padding: 28px 24px;
  }

  .cta-card {
    padding: 36px 24px;
  }
}
