/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f7f5fb;
  color: #302b3d;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.night-theme {
  background: #080b18;
  color: #f5f2ff;
}
.night-sky {
  position: fixed;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity .7s ease, visibility .7s ease;
}
body.night-theme .night-sky {
  visibility: visible;
  opacity: .82;
}
.night-sky::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -14%;
  width: 110px;
  height: 2px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95));
  box-shadow: 0 0 12px rgba(209,199,255,.85);
  opacity: 0;
  transform: rotate(24deg);
}
body.night-theme .night-sky::before { animation: shooting-star 12s ease-in-out infinite; }
.night-sky span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 9px 2px rgba(209,199,255,.7);
  animation: star-twinkle 2.4s ease-in-out infinite alternate;
}
.night-sky span:nth-child(1) { top: 9%; left: 12%; animation-delay: -.6s; }
.night-sky span:nth-child(2) { top: 18%; left: 33%; width: 2px; height: 2px; animation-delay: -1.7s; }
.night-sky span:nth-child(3) { top: 12%; left: 71%; animation-delay: -.3s; }
.night-sky span:nth-child(4) { top: 27%; left: 91%; width: 2px; height: 2px; animation-delay: -1.2s; }
.night-sky span:nth-child(5) { top: 36%; left: 8%; width: 2px; height: 2px; animation-delay: -.9s; }
.night-sky span:nth-child(6) { top: 42%; left: 26%; animation-delay: -1.9s; }
.night-sky span:nth-child(7) { top: 33%; left: 57%; width: 2px; height: 2px; animation-delay: -.4s; }
.night-sky span:nth-child(8) { top: 48%; left: 84%; animation-delay: -1.5s; }
.night-sky span:nth-child(9) { top: 59%; left: 17%; width: 2px; height: 2px; animation-delay: -.8s; }
.night-sky span:nth-child(10) { top: 68%; left: 43%; animation-delay: -1.4s; }
.night-sky span:nth-child(11) { top: 61%; left: 76%; width: 2px; height: 2px; animation-delay: -.2s; }
.night-sky span:nth-child(12) { top: 78%; left: 94%; animation-delay: -1.8s; }
.night-sky span:nth-child(13) { top: 88%; left: 21%; animation-delay: -.7s; }
.night-sky span:nth-child(14) { top: 83%; left: 63%; width: 2px; height: 2px; animation-delay: -1.1s; }
.night-sky span:nth-child(15) { top: 5%; left: 49%; width: 2px; height: 2px; animation-delay: -1.6s; }
.night-sky span:nth-child(16) { top: 95%; left: 48%; animation-delay: -.5s; }
.night-sky span:nth-child(17) { top: 23%; left: 19%; animation-delay: -1.3s; }
.night-sky span:nth-child(18) { top: 29%; left: 44%; width: 2px; height: 2px; animation-delay: -.2s; }
.night-sky span:nth-child(19) { top: 18%; left: 82%; animation-delay: -1.1s; }
.night-sky span:nth-child(20) { top: 53%; left: 35%; width: 2px; height: 2px; animation-delay: -1.6s; }
.night-sky span:nth-child(21) { top: 48%; left: 68%; animation-delay: -.7s; }
.night-sky span:nth-child(22) { top: 73%; left: 9%; width: 2px; height: 2px; animation-delay: -1.8s; }
.night-sky span:nth-child(23) { top: 76%; left: 54%; animation-delay: -.4s; }
.night-sky span:nth-child(24) { top: 91%; left: 79%; width: 2px; height: 2px; animation-delay: -1.4s; }
@keyframes shooting-star {
  0%, 62% { opacity: 0; transform: translate3d(0, 0, 0) rotate(24deg); }
  65% { opacity: 1; }
  74%, 100% { opacity: 0; transform: translate3d(140vw, 52vh, 0) rotate(24deg); }
}
@keyframes star-twinkle {
  from { opacity: .2; transform: scale(.65); }
  to { opacity: 1; transform: scale(1.35); }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-privacy-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.15; }

/* ═══════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════ */
:root {
  --bg-primary: #f7f5fb;
  --bg-card: rgba(255,255,255,0.78);
  --bg-card-hover: #fff;
  --border-subtle: rgba(48,43,61,0.12);
  --border-hover: rgba(48,43,61,0.24);
  --text-primary: #302b3d;
  --text-secondary: #625c6e;
  --text-muted: #80798b;
  --accent-blue: #79b8d0;
  --accent-violet: #9b83b9;
  --accent-cyan: #eea17b;
  --accent-gradient: linear-gradient(135deg, #79b8d0 0%, #aa98c9 52%, #eea17b 100%);
  --accent-gradient-text: linear-gradient(135deg, #639fba, #967ab6 58%, #e89570);
  --glow-blue: 0 0 60px rgba(121,184,208,0.18);
  --glow-violet: 0 0 60px rgba(155,131,185,0.16);
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}
.gradient-text {
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 16px;
  display: inline-block;
}
.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-gradient);
  color: #302b3d;
  box-shadow: 0 4px 30px rgba(89,80,115,0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(89,80,115,0.24);
}
.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 32px;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(247,245,251,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}
.navbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 24px !important;
  font-size: 13px !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0; bottom: 0;
  background: rgba(247,245,251,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 40px 32px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--text-primary); padding-left: 12px; }

.navbar.scrolled { border-bottom-color: rgba(48,43,61,0.12); }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  padding: 76px 0 0;
  overflow: hidden;
  background: linear-gradient(130deg, #b9dbe8 0%, #eee8f5 56%, #f5c2a5 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.48), transparent 55%);
  pointer-events: none;
}
.hero-content {
  width: 100%;
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}
.theme-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(80,79,105,.2);
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  color: #604d62;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(73,61,89,.14);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
}
.theme-toggle:hover {
  transform: translateY(-3px) rotate(12deg);
  box-shadow: 0 12px 32px rgba(73,61,89,.24);
}
.theme-toggle:focus-visible { outline: 3px solid #9b83b9; outline-offset: 4px; }
.theme-toggle svg { width: 22px; height: 22px; }
.theme-icon-moon { display: none; }
body.night-theme .theme-toggle {
  border-color: rgba(244,239,255,.32);
  background: rgba(25,27,48,.85);
  color: #f8edb4;
  box-shadow: 0 0 24px rgba(195,177,255,.2);
}
body.night-theme .theme-icon-sun { display: none; }
body.night-theme .theme-icon-moon { display: block; }
.hero-copy { position: relative; z-index: 2; width: min(620px, 56%); text-align: left; }
.hero-art {
  position: relative;
  z-index: 1;
  width: min(42vw, 440px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  perspective: 900px;
  transform-style: preserve-3d;
  animation: sculpture-arrive 1.1s cubic-bezier(.2,.8,.2,1) both;
}
.hero-art::before,
.hero-art::after {
  content: '';
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255,255,255,.12), 0 0 70px rgba(255,255,255,.36);
  transform: rotateX(68deg) rotateZ(-24deg);
  animation: orbit-drift 18s linear infinite;
}
.hero-art::after {
  inset: 4%;
  border-color: rgba(113,91,138,.2);
  box-shadow: none;
  transform: rotateY(68deg) rotateZ(25deg);
  animation-direction: reverse;
  animation-duration: 24s;
}
.hero-orb {
  position: relative;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 42% 58% 63% 37% / 39% 39% 61% 61%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.98), transparent 16%),
    radial-gradient(circle at 34% 30%, #fff8f1 0%, #d7eaf0 20%, #baa6cb 58%, #e8a88d 100%);
  box-shadow: inset -20px -26px 48px rgba(97,74,112,.18), inset 12px 14px 28px rgba(255,255,255,.62), 0 36px 68px rgba(106,91,125,.22);
  transform: translateZ(42px);
  animation: orb-breathe 7s ease-in-out infinite;
}
.hero-orb::before,
.hero-orb::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.hero-orb::before {
  width: 19%;
  height: 19%;
  top: 16%;
  right: 13%;
  background: #d7f45b;
  box-shadow: 0 0 30px rgba(215,244,91,.56);
}
.hero-orb::after {
  width: 10%;
  height: 10%;
  bottom: 17%;
  left: 18%;
  background: #fffaf3;
  box-shadow: 0 0 24px rgba(255,255,255,.9);
}
.hero-orbit-dot {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ee9870;
  box-shadow: 0 0 18px rgba(238,152,112,.65);
}
.hero-orbit-dot:nth-child(1) { bottom: 13%; left: 47%; width: 10px; height: 10px; background: #79b8d0; }
.hero-orbit-dot:nth-child(2) { top: 15%; left: 28%; }
.hero-orbit-dot:nth-child(3) { right: 13%; top: 40%; width: 8px; height: 8px; background: #9b83b9; }
@keyframes orb-breathe {
  0%,100% { border-radius: 42% 58% 63% 37% / 39% 39% 61% 61%; transform: translateZ(42px) rotate(0); }
  50% { border-radius: 58% 42% 38% 62% / 54% 60% 40% 46%; transform: translateZ(66px) rotate(8deg); }
}
@keyframes orbit-drift { to { rotate: 360deg; } }
@keyframes sculpture-arrive {
  from { opacity: 0; transform: translate3d(35px, 18px, -100px) rotateY(-22deg) scale(.8); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotateY(0) scale(1); }
}
.hero-art-label {
  position: absolute;
  right: -3%;
  bottom: 12%;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 30px;
  background: rgba(255,255,255,.55);
  color: #554d68;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(106,91,125,.1);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(80,79,105,.16);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #554d68;
  margin-bottom: 28px;
  animation: fadeInUp .7s ease;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ee9870;
  box-shadow: 0 0 12px rgba(238,152,112,.48);
}
.hero h1 {
  font-size: clamp(46px, 5.7vw, 76px);
  font-weight: 700;
  letter-spacing: -3.5px;
  line-height: 1.04;
  margin-bottom: 24px;
  animation: fadeInUp .7s ease .08s both;
}
.hero h1 .line-accent {
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: #4f4b5c;
  max-width: 680px;
  margin: 0 0 32px;
  line-height: 1.8;
  animation: fadeInUp .7s ease .16s both;
}
.hero-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp .7s ease .24s both;
}
.hero-buttons .btn { padding: 13px 22px; font-size: 14px; }
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 112px 0 0; }
  .hero-content { min-height: auto; padding: 56px 32px 76px; }
  .hero-copy { max-width: 720px; width: 62%; }
  .hero-art { width: 34vw; margin-right: -12px; }
}
@media (max-width: 540px) {
  .hero { min-height: 100vh; min-height: 100svh; padding: 104px 0 0; }
  .hero-content { min-height: calc(100vh - 104px); min-height: calc(100svh - 104px); padding: 32px 22px 56px; }
  .hero-copy { width: 100%; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-art { position: absolute; right: -25%; bottom: -5%; width: 72vw; opacity: .28; pointer-events: none; }
  .hero-art::before { box-shadow: 0 0 0 14px rgba(255,255,255,.1), 0 0 60px rgba(255,255,255,.28); }
  .hero-art-label { display: none; }
  .theme-toggle { width: 40px; height: 40px; }
  .theme-toggle svg { width: 22px; height: 22px; }
  .hero h1 { font-size: clamp(36px, 10.2vw, 48px); letter-spacing: -1.8px; }
  .hero-buttons { align-items: center; }
}

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

/* ═══════════════════════════════════════════
   LOGOS / TRUSTED BY (placeholder-safe)
   ═══════════════════════════════════════════ */
.trust-bar {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  position: relative;
  z-index: 1;
}
.trust-bar p {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.trust-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}
.trust-stat h3 {
  font-size: 36px;
  font-weight: 700;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-stat span {
  font-size: 14px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   PROBLEM SECTION
   ═══════════════════════════════════════════ */
.section { position: relative; z-index: 1; padding: 112px 0; }
.section .container { position: relative; z-index: 1; }
.section-label { letter-spacing: 2px; }
.section-title { margin-bottom: 16px; }
.reveal { transform: translateY(24px); }
.chapter-visual {
  position: absolute;
  z-index: 0;
  width: min(clamp(260px, 34vw, 420px), calc(100% - 40px));
  aspect-ratio: 1;
  pointer-events: none;
  opacity: .24;
  transform: translate3d(0, var(--scene-shift, 0px), 0);
  transition: opacity .65s ease;
  will-change: transform;
}
.chapter-visual.scene-visible { opacity: .66; }
.chapter-visual::before,
.chapter-visual::after {
  content: '';
  position: absolute;
  inset: 12%;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.chapter-visual.scene-active::before {
  animation: chapter-ring-orbit 10s linear infinite;
}
.chapter-visual::after {
  inset: 0;
  border-style: dashed;
  opacity: .72;
  transform: rotateX(68deg) rotateZ(-24deg);
}
.chapter-visual.scene-active::after {
  animation: chapter-ring-orbit-reverse 14s linear infinite;
}
.chapter-core {
  position: absolute;
  inset: 28%;
  border-radius: 42% 58% 63% 37% / 39% 39% 61% 61%;
  background: currentColor;
  opacity: .34;
  box-shadow: 0 0 58px currentColor, inset -12px -18px 26px rgba(20,18,30,.16), inset 10px 12px 22px rgba(255,255,255,.42);
}
.chapter-visual.scene-active .chapter-core {
  animation: chapter-core-drift 3.6s ease-in-out infinite;
}
.chapter-visual.scene-active { opacity: .78; }
.chapter-spark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor, 0 0 28px currentColor;
  opacity: 0;
  pointer-events: none;
}
.chapter-visual.scene-active .chapter-spark {
  opacity: 1;
  animation: chapter-spark-orbit 8s linear infinite;
}
.chapter-visual.scene-active .chapter-spark::after {
  content: '';
  position: absolute;
  inset: -7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .55;
}
@keyframes chapter-spark-orbit {
  from { transform: translate(-50%, -50%) rotate(0) translateX(var(--spark-radius, clamp(90px, 13vw, 165px))); }
  to { transform: translate(-50%, -50%) rotate(360deg) translateX(var(--spark-radius, clamp(90px, 13vw, 165px))); }
}
@keyframes chapter-ring-orbit {
  from { transform: rotateX(68deg) rotateZ(-24deg); }
  to { transform: rotateX(68deg) rotateZ(336deg); }
}
@keyframes chapter-ring-orbit-reverse {
  from { transform: rotateX(68deg) rotateZ(-24deg); }
  to { transform: rotateX(68deg) rotateZ(-384deg); }
}
@keyframes chapter-core-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0) scale(1); border-radius: 42% 58% 63% 37% / 39% 39% 61% 61%; }
  50% { transform: translate3d(0, -13px, 30px) rotate(9deg) scale(1.06); border-radius: 58% 42% 38% 62% / 54% 60% 40% 46%; }
}
.scene-about { top: 9%; right: 15%; width: min(310px, calc(100% - 40px)); color: #d7f45b; }
.scene-products { top: 3%; right: 5%; color: #9b83b9; }
.scene-vision { top: 50%; left: 50%; width: min(clamp(300px, 34vw, 400px), calc(100% - 40px)); color: #eea17b; --spark-radius: 35%; transform: translate(-50%, -50%); }
.scene-careers { top: 10%; right: 5%; color: #d7b6cf; }
.scene-contact { top: 4%; right: 5%; color: #fff8f1; }
.chapter-visual.scene-vision::before { inset: 9%; }
.chapter-visual.scene-vision::after { inset: 0; }
.scene-vision .chapter-core { inset: 26%; opacity: .18; }

@keyframes card-arrive {
  from { opacity: 0; transform: translateY(32px) rotateY(10deg) scale(.96); }
  to { opacity: 1; transform: translateY(0) rotateY(0) scale(1); }
}
#about .problem-cards.visible .problem-card,
#products .products-grid.visible .product-card,
#careers .careers-grid.visible .career-card {
  animation: card-arrive .72s cubic-bezier(.2,.8,.2,1) backwards;
}
#about .problem-card:nth-child(2),
#products .product-card:nth-child(2),
#careers .career-card:nth-child(2) { animation-delay: .12s; }
#about .problem-card:nth-child(3),
#products .product-card:nth-child(3) { animation-delay: .24s; }
#products .product-card:nth-child(4) { animation-delay: .36s; }

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition);
}
.problem-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 24px 44px rgba(2,22,25,.24);
}
.problem-card:hover::before { opacity: 1; }
.problem-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(79,143,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.problem-icon svg { width: 24px; height: 24px; stroke: var(--accent-blue); fill: none; stroke-width: 1.5; }
.problem-card:hover .problem-icon { transform: translateZ(12px) rotate(-8deg) scale(1.06); }
.problem-icon { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.problem-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.problem-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   APPROACH SECTION
   ═══════════════════════════════════════════ */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  position: relative;
}
.approach-grid::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(500px, 70vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255,246,233,.28);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(68deg);
  box-shadow: 0 0 0 34px rgba(255,246,233,.035), 0 0 0 70px rgba(255,246,233,.025);
}
.approach-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  position: relative;
  min-height: 250px;
  padding: 28px;
  background: #fff6e9;
  border: 1px solid rgba(81,44,34,.16);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(73,37,29,.2), inset 0 1px 0 rgba(255,255,255,.8);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.approach-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 38px 84px rgba(73,37,29,.28), inset 0 1px 0 rgba(255,255,255,.9);
}
.story-ready .approach-grid {
  display: block;
  height: min(390px, 46vh);
  min-height: 300px;
  margin-top: 22px;
  perspective: 1300px;
  transform-style: preserve-3d;
  isolation: isolate;
}
.story-ready .approach-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(700px, calc(100vw - 100px));
  min-height: 270px;
  padding: clamp(26px, 5vw, 56px);
  transform: translate(-50%, -50%) translate3d(var(--step-x, 0px), 0, var(--step-z, 0px)) rotateY(var(--step-rotation, 0deg)) scale(var(--step-scale, 1));
  transform-style: preserve-3d;
  opacity: var(--step-opacity, 0);
  visibility: var(--step-visibility, hidden);
  transition: opacity .22s ease, box-shadow .3s ease, background .3s ease;
  will-change: transform, opacity;
}
.story-ready .approach-item:hover {
  transform: translate(-50%, -50%) translate3d(var(--step-x, 0px), -5px, var(--step-z, 0px)) rotateY(var(--step-rotation, 0deg)) scale(var(--step-scale, 1));
}
.approach-num {
  font-family: 'Space Grotesk', sans-serif;
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  font-size: 17px;
  font-weight: 700;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1;
  border: 1px solid rgba(81,44,34,.18);
  border-radius: 50%;
  background: #f4e3d2;
  color: #512c22;
  -webkit-text-fill-color: #512c22;
  box-shadow: 0 0 0 8px rgba(223,113,61,.1);
}
.approach-num::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -46px 0 0 46px;
  border-radius: 50%;
  background: #d7f45b;
  box-shadow: 0 0 18px rgba(215,244,91,.58);
}
.approach-item h3 {
  max-width: 520px;
  font-size: clamp(27px, 4.2vw, 48px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.08;
  color: #462d2a;
  margin: 0;
}
.approach-item p {
  max-width: 440px;
  margin: 0;
  color: #6f5750;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
}
/* ═══════════════════════════════════════════
   PRODUCTS SECTION
   ═══════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.product-card {
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(68,58,77,.12);
  border-radius: 22px;
  padding: 28px 22px;
  min-height: 242px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline: none;
}
.product-card::after {
  content: '';
  position: absolute;
  right: -48px;
  bottom: -64px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--product-glow, rgba(121,184,208,.18));
  filter: blur(2px);
  transition: transform .45s ease;
  pointer-events: none;
}
.product-card:hover {
  background: #fff;
  border-color: rgba(68,58,77,.24);
  transform: translateY(-10px) rotateX(3deg) rotate(-.5deg);
  box-shadow: 0 24px 48px rgba(51,42,59,.13);
}
.product-card:focus-visible { box-shadow: 0 0 0 3px #9b83b9, 0 24px 48px rgba(51,42,59,.13); }
.product-card:hover::after,
.product-card:focus-visible::after { transform: scale(1.35); }
.product-card:nth-child(1) { --product-glow: rgba(121,184,208,.28); }
.product-card:nth-child(2) { --product-glow: rgba(155,131,185,.24); }
.product-card:nth-child(3) { --product-glow: rgba(238,161,123,.25); }
.product-card:nth-child(4) { --product-glow: rgba(215,244,91,.28); }
.product-card .product-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-violet);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.product-status svg circle { fill: #9b83b9; }
.product-card .product-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.product-card:nth-child(1) .product-icon { background: rgba(79,143,255,0.1); }
.product-card:nth-child(2) .product-icon { background: rgba(139,92,246,0.1); }
.product-card:nth-child(3) .product-icon { background: rgba(6,182,212,0.1); }
.product-card:nth-child(4) .product-icon { background: rgba(245,158,11,0.1); }
.product-card .product-icon svg { width: 28px; height: 28px; fill: none; stroke-width: 1.5; }
.product-card .product-icon { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.product-card:hover .product-icon,
.product-card:focus-visible .product-icon { transform: translateZ(14px) rotate(-8deg) scale(1.08); }
.product-card:nth-child(1) .product-icon svg { stroke: var(--accent-blue); }
.product-card:nth-child(2) .product-icon svg { stroke: var(--accent-violet); }
.product-card:nth-child(3) .product-icon svg { stroke: var(--accent-cyan); }
.product-card:nth-child(4) .product-icon svg { stroke: #f59e0b; }
.product-card h3 {
  position: relative;
  z-index: 1;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.product-card p {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height .35s ease, opacity .25s ease, transform .35s ease, margin .35s ease;
}
.product-card:hover p,
.product-card:focus-visible p {
  max-height: 64px;
  margin-top: 10px;
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   VISION / CTA SECTION
   ═══════════════════════════════════════════ */
.vision,
#products,
#careers,
#contact {
  overflow-x: clip;
}
.vision {
  text-align: center;
  position: relative;
  padding: 66px 0 100px;
}
.vision .container { z-index: 1; }
.vision-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 50px 40px;
  background: transparent;
  border: 0;
  position: relative;
  overflow: hidden;
}
.vision-inner::before { content: none; }
.vision blockquote {
  font-size: clamp(34px, 6vw, 68px);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
}

/* ═══════════════════════════════════════════
   CAREERS
   ═══════════════════════════════════════════ */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.career-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  outline: none;
}
.career-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-8px) rotateX(2deg);
}
.career-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.career-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.career-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 50px;
}
.career-meta svg { width: 14px; height: 14px; stroke: var(--accent-blue); fill: none; stroke-width: 1.5; }
.career-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
  flex: 1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height .35s ease, opacity .25s ease, transform .35s ease, margin .35s ease;
}
.career-card:hover p,
.career-card:focus-visible p {
  max-height: 100px;
  margin-bottom: 24px;
  opacity: 1;
  transform: translateY(0);
}
.career-card:focus-visible { box-shadow: 0 0 0 3px #d7b6cf, 0 18px 34px rgba(30,10,26,.22); }
.career-card .btn {
  align-self: flex-start;
}
.problem-card,
.product-card,
.career-card,
.contact-form {
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
  align-items: start;
}
.contact-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.contact-info p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-detail-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(79,143,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; stroke: var(--accent-blue); fill: none; stroke-width: 1.5; }
.contact-detail span {
  font-size: 15px;
  color: var(--text-secondary);
}
.contact-detail a {
  color: var(--accent-blue);
  transition: var(--transition);
}
.contact-detail a:hover { color: var(--accent-violet); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(79,143,255,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-success {
  display: none;
  padding: 16px;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.2);
  border-radius: var(--radius-sm);
  color: #34d399;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  margin-top: 16px;
}
.form-success.show { display: block; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--text-primary); transform: translateX(4px); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--text-primary); }

/* ═══════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .chapter-visual,
  .hero-art,
  .hero-orb,
  .chapter-core { animation: none !important; }
  .chapter-visual { --scene-shift: 0px; }
}

/* Navigation page palettes */
.hero {
  color: #302c3f;
  background: linear-gradient(130deg, #b9dbe8 0%, #eee8f5 56%, #f5c2a5 100%);
}
.hero .hero-badge { background: rgba(255,255,255,.62); color: #554d68; }
.hero .hero-sub { color: #4f4b5c; }
.hero .btn-secondary { background: rgba(255,255,255,.56); color: #393449; border-color: rgba(57,52,73,.18); }
.hero .btn-secondary:hover { background: rgba(255,255,255,.84); }

.trust-bar {
  background: #10363a;
  color: #f4f1e9;
}
#about {
  background: #10363a;
  color: #f4f1e9;
}
.trust-bar { padding: 28px 0 34px; border: 0; }
.trust-bar p { color: #fff3e7; margin-bottom: 14px; letter-spacing: 1.5px; }
.trust-stats { gap: clamp(24px, 6vw, 88px); }
.trust-stat h3 { font-size: 19px; background: none; color: #d7f45b; -webkit-text-fill-color: #d7f45b; }
.trust-stat span { display: none; }
#about .section-label { color: #d7f45b; }
#about .section-title,
#about .section-subtitle { color: #f4f1e9; }
#about .problem-card {
  background: #e8dcc5;
  border-color: rgba(232,220,197,.45);
}
#about .problem-card:hover { background: #f4f1e9; }
#about .problem-card::before { background: #742d49; }
#about .problem-card h3 { color: #10363a; }
#about .problem-card p { color: #455354; }
#about .problem-icon { background: rgba(215,244,91,.3); }
#about .problem-icon svg { stroke: #10363a; }
#about .problem-icon { margin-bottom: 18px; }
#about .problem-card h3 { margin-bottom: 0; }

#solutions {
  background: #df713d;
  color: #fff6e9;
  overflow-x: clip;
}
.story-ready #solutions {
  min-height: 285svh;
  padding: 0;
}
.story-ready #solutions > .container {
  position: sticky;
  top: 76px;
  display: flex;
  min-height: calc(100svh - 76px);
  padding-top: 30px;
  padding-bottom: 30px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
#solutions .section-label,
#solutions .section-title,
#solutions .section-subtitle { color: #fff6e9; }
#solutions .section-label { color: #512c22; }
#solutions .section-title .gradient-text { background: none; color: #512c22; -webkit-text-fill-color: #512c22; }
#solutions .approach-item { background: #fff6e9; }
#solutions .approach-item h3 { color: #462d2a; }
#solutions .approach-item p { color: #6f5750; }
#solutions .approach-num { background: #f4e3d2; border-color: rgba(81,44,34,.22); box-shadow: 0 0 0 8px rgba(223,113,61,.1); }
#solutions .approach-num::after { background: #d7f45b; }

#products { background: #f7f5fb; }
#products .section-label { color: #8d709f; }
#products .product-status { background: #eee8f5; border-color: #d6cadf; color: #72577f; }
#products .product-icon { background: #eee8f5; }
#products .product-card:nth-child(2) .product-icon { background: #f5e8f0; }
#products .product-card:nth-child(3) .product-icon { background: #f8ece5; }
#products .product-card:nth-child(4) .product-icon { background: #f1f3dc; }
#products .product-card:nth-child(4) .product-icon svg { stroke: #78843c; }
#products .section-title .gradient-text { background: linear-gradient(110deg, #79aabd, #9b83b9 55%, #c77d72); -webkit-background-clip: text; background-clip: text; }

#careers {
  background: #5b2d53;
  color: #fff7ef;
}
#careers .section-label,
#careers .section-title,
#careers .section-subtitle { color: #fff7ef; }
#careers .section-title .gradient-text { background: none; color: #fff7ef; -webkit-text-fill-color: #fff7ef; }
#careers .career-card {
  background: #fff7ef;
  border-color: rgba(255,247,239,.75);
}
#careers .career-card h3 { color: #4a2d47; }
#careers .career-card p { color: #6c5a68; }
#careers .career-meta span { background: #f1e7ed; color: #594650; }
#careers .career-meta svg { stroke: #7d426b; }
#careers .career-card .btn-primary { background: #7d426b; color: #fff7ef; box-shadow: none; }
#careers .career-card .btn-secondary { background: #f3e8ef; color: #4a2d47; border-color: #dfc7d7; }
#careers .career-card .btn-secondary:hover { background: #ead9e4; }
#careers .career-card p { color: #6c5a68; }

#contact {
  background: #b52e48;
  color: #fff8f1;
}
#contact .section-label,
#contact .section-title,
#contact .section-subtitle,
#contact .contact-info h3 { color: #fff8f1; }
#contact .section-title .gradient-text { background: none; color: #fff8f1; -webkit-text-fill-color: #fff8f1; }
#contact .contact-info p,
#contact .contact-detail span { color: #f8e5e3; }
#contact .contact-detail a { color: #fff8f1; }
#contact .contact-detail-icon { background: rgba(255,248,241,.18); }
#contact .contact-detail-icon svg { stroke: #fff8f1; }
#contact .contact-form {
  background: #fff8f1;
  border-color: rgba(255,248,241,.8);
}
#contact .form-group label { color: #5b3038; }
#contact .form-group input,
#contact .form-group textarea,
#contact .form-group select {
  color: #382d31;
  background: #fff;
  border-color: rgba(91,48,56,.18);
}
#contact .form-group input::placeholder,
#contact .form-group textarea::placeholder { color: #8a7378; }
#contact .form-group input:focus,
#contact .form-group textarea:focus,
#contact .form-group select:focus { border-color: #b52e48; box-shadow: 0 0 0 3px rgba(181,46,72,.12); }
#contact .btn-primary { background: #8e243a; color: #fff8f1; box-shadow: none; }
#home .btn-primary { color: #302b3d; }
.footer { background: #f7f5fb; }
.footer .logo { background-image: linear-gradient(135deg, #639fba, #967ab6 58%, #e89570); }

body.night-theme .navbar.scrolled,
body.night-theme .mobile-menu {
  background: rgba(10,12,27,.92);
  border-color: rgba(220,214,255,.14);
}
body.night-theme .hero,
body.night-theme .section,
body.night-theme .trust-bar,
body.night-theme .footer {
  z-index: 3;
}
body.night-theme .nav-links a,
body.night-theme .mobile-menu a { color: #d7d1e8; }
body.night-theme .navbar .hamburger span { background: #f5f2ff; }
body.night-theme .hero {
  z-index: 1;
  background: radial-gradient(ellipse at 75% 45%, rgba(80,67,124,.24), transparent 44%), linear-gradient(135deg, #101426, #090b18 70%);
  color: #f5f2ff;
}
body.night-theme .hero::before { background: radial-gradient(ellipse at 50% 100%, rgba(146,130,195,.12), transparent 58%); }
body.night-theme .hero .hero-badge { background: rgba(255,255,255,.08); border-color: rgba(231,225,255,.2); color: #e4ddf0; }
body.night-theme .hero .hero-sub { color: #d0cadd; }
body.night-theme .hero .btn-secondary { background: rgba(255,255,255,.08); color: #f5f2ff; border-color: rgba(231,225,255,.22); }
body.night-theme .hero-orb {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.95), transparent 16%),
    radial-gradient(circle at 34% 30%, #f5f0ff 0%, #c9c4df 32%, #77738f 72%, #383951 100%);
  box-shadow: inset -20px -26px 48px rgba(20,18,42,.4), inset 12px 14px 28px rgba(255,255,255,.5), 0 36px 68px rgba(3,4,14,.48);
}
body.night-theme .hero-orb::before { background: #b6b0ca; box-shadow: 0 0 12px rgba(255,255,255,.2); }
body.night-theme .hero-orb::after { background: #858198; box-shadow: 0 0 10px rgba(255,255,255,.22); }
body.night-theme .hero-art::before { border-color: rgba(233,224,255,.52); box-shadow: 0 0 0 22px rgba(233,224,255,.06), 0 0 70px rgba(184,167,255,.18); }
body.night-theme .hero-art::after { border-color: rgba(233,224,255,.22); }
body.night-theme .hero-art-label { background: rgba(19,21,41,.78); border-color: rgba(233,224,255,.22); color: #ece5f8; }
body.night-theme .trust-bar,
body.night-theme #about,
body.night-theme #solutions,
body.night-theme #products,
body.night-theme .vision,
body.night-theme #careers,
body.night-theme #contact,
body.night-theme .footer {
  background: transparent;
  color: #f5f2ff;
}
body.night-theme #about .section-title,
body.night-theme #about .section-subtitle,
body.night-theme #solutions .section-title,
body.night-theme #solutions .section-subtitle,
body.night-theme #products .section-title,
body.night-theme #careers .section-title,
body.night-theme #careers .section-subtitle,
body.night-theme #contact .section-title,
body.night-theme #contact .section-subtitle,
body.night-theme #contact .contact-info h3,
body.night-theme .vision blockquote { color: #f5f2ff; }
body.night-theme #about .problem-card,
body.night-theme #solutions .approach-item,
body.night-theme #products .product-card,
body.night-theme #careers .career-card,
body.night-theme #contact .contact-form {
  background: rgba(24,26,45,.88);
  border-color: rgba(224,218,255,.16);
  box-shadow: 0 20px 55px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.04);
}
body.night-theme #about .problem-card h3,
body.night-theme #solutions .approach-item h3,
body.night-theme #products .product-card h3,
body.night-theme #careers .career-card h3,
body.night-theme #contact .form-group label { color: #f5f2ff; }
body.night-theme #about .problem-card p,
body.night-theme #solutions .approach-item p,
body.night-theme #products .product-card p,
body.night-theme #careers .career-card p,
body.night-theme #contact .contact-info p,
body.night-theme #contact .contact-detail span { color: #c6c1d5; }
body.night-theme #about .problem-icon,
body.night-theme #products .product-icon,
body.night-theme #contact .contact-detail-icon { background: rgba(208,195,255,.12); }
body.night-theme #about .problem-icon svg,
body.night-theme #contact .contact-detail-icon svg { stroke: #d7caff; }
body.night-theme #products .product-status { background: rgba(182,156,235,.14); border-color: rgba(211,194,255,.22); color: #d6c6ff; }
body.night-theme #products .product-status svg circle { fill: #d6c6ff; }
body.night-theme #products .product-icon svg { stroke: #d7caff; }
body.night-theme #products .product-card:nth-child(4) .product-icon svg { stroke: #d7f45b; }
body.night-theme #solutions .section-label { color: #f3b59b; }
body.night-theme #solutions .section-title .gradient-text { background: var(--accent-gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
body.night-theme #solutions .approach-num { background: rgba(208,195,255,.12); border-color: rgba(224,218,255,.24); color: #f3dfaf; -webkit-text-fill-color: #f3dfaf; }
body.night-theme #careers .career-meta span { background: rgba(208,195,255,.1); color: #ded8eb; }
body.night-theme #careers .career-meta svg { stroke: #d6c6ff; }
body.night-theme #careers .career-card .btn-secondary { background: rgba(208,195,255,.1); color: #f5f2ff; border-color: rgba(224,218,255,.22); }
body.night-theme #contact .contact-detail a { color: #f3b7c9; }
body.night-theme #contact .contact-form { background: rgba(24,26,45,.94); }
body.night-theme #contact .form-group input,
body.night-theme #contact .form-group textarea,
body.night-theme #contact .form-group select {
  background: rgba(8,10,24,.82);
  border-color: rgba(224,218,255,.2);
  color: #f5f2ff;
}
body.night-theme #contact .form-group input::placeholder,
body.night-theme #contact .form-group textarea::placeholder { color: #a7a0bb; }
body.night-theme #contact .btn-primary { background: #d14d6b; color: #fff; }
body.night-theme .footer { border-color: rgba(224,218,255,.14); }
body.night-theme .footer-brand p,
body.night-theme .footer-col a,
body.night-theme .footer-bottom p,
body.night-theme .footer-bottom-links a { color: #b8b2c8; }
body.night-theme .footer-col h4 { color: #f5f2ff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 76px 0; }
  .chapter-visual { width: min(clamp(230px, 42vw, 360px), calc(100% - 40px)); }
  .scene-vision { width: min(clamp(240px, 42vw, 300px), calc(100% - 40px)); }
  .story-ready #solutions { min-height: 250svh; }
  .story-ready #solutions > .container { min-height: calc(100svh - 76px); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .problem-cards,
  .careers-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; gap: 14px; }
  .approach-grid::before { display: none; }
  .approach-item { min-height: 0; padding: 24px; border-radius: 22px; }
  .story-ready .approach-grid { display: block; height: min(370px, 48vh); min-height: 290px; margin-top: 8px; }
  .story-ready .approach-item { width: calc(100vw - 64px); min-height: 250px; padding: 28px; }
  .approach-item h3 { font-size: clamp(27px, 8vw, 38px); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { min-height: 220px; }
  .product-card p { max-height: 64px; margin-top: 10px; opacity: 1; transform: none; }
  .career-card p { max-height: 100px; margin-bottom: 24px; opacity: 1; transform: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .hero h1 { letter-spacing: -1.8px; }
  .trust-stats { gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .chapter-visual { width: min(220px, calc(100% - 40px)); }
  .chapter-visual.scene-active { opacity: .52; }
  .scene-about { top: 10%; right: 8%; width: min(195px, calc(100% - 40px)); }
  .scene-about.scene-active { opacity: .3; }
  .scene-vision { width: min(230px, calc(100% - 40px)); }
  .chapter-spark { width: 12px; height: 12px; }
  .chapter-visual:not(.scene-vision) { --spark-radius: 37%; }
  .scene-vision { --spark-radius: 35%; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
  .trust-stats { gap: 16px 26px; }
  .trust-stat h3 { font-size: 16px; }
  .vision-inner { padding: 36px 10px; }
  .story-ready #solutions { min-height: 250svh; }
  .story-ready #solutions > .container { padding-left: 20px; padding-right: 20px; }
  #solutions .section-title { font-size: clamp(30px, 9vw, 40px); }
}
