/* Premium Home Page Styles (pairs with shell.css) */

.home-page .scroll-progress {
  display: none;
}

.home-hero {
  position: relative;
  padding: 88px 0 64px;
  min-height: calc(100vh - (var(--banner-height) + var(--header-height)));
  display: flex;
  align-items: center;
  overflow: clip;
}

.home-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  z-index: 2;
}

.home-hero__copy {
  max-width: 720px;
}

.home-hero__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.home-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-glow);
  background: rgba(0, 64, 255, 0.05);
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.home-hero__pill i { opacity: 0.9; }

.home-hero__title {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.home-hero__title-accent {
  display: inline-block;
  margin-left: 6px;
  background: linear-gradient(90deg, var(--color-lightest-blue), var(--color-accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="light"] .home-hero__title-accent {
  background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-primary-navy));
  -webkit-background-clip: text;
  background-clip: text;
}

.home-hero__lead {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 56ch;
}

.home-hero__summary {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 68ch;
}

.home-hero__lead--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.home-meta {
  display: flex;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 64, 255, 0.10);
  background: rgba(0, 64, 255, 0.03);
}

[data-theme="light"] .home-meta {
  background: rgba(0, 12, 138, 0.03);
  border-color: rgba(0, 12, 138, 0.08);
}

.home-meta__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 64, 255, 0.05);
  flex: 0 0 auto;
}

.home-meta__icon i { opacity: 0.9; }

.home-meta__title { font-weight: 700; font-size: 0.92rem; line-height: 1.1; }
.home-meta__desc { color: var(--text-muted); font-size: 0.82rem; line-height: 1.3; margin-top: 2px; }

/* Hero visual */
.home-hero__visual {
  position: relative;
  min-height: 460px;
}

.home-hero__device {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(0, 64, 255, 0.16);
  background: rgba(0, 1, 31, 0.50);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 64, 255, 0.08) inset;
  overflow: hidden;
  transform: translateZ(0);
}

[data-theme="light"] .home-hero__device {
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 24px 64px rgba(0, 12, 138, 0.12),
    0 0 0 1px rgba(0, 12, 138, 0.06) inset;
}

.home-hero__device-top {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 64, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .home-hero__device-top { background: rgba(0, 12, 138, 0.04); }

.home-hero__device-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(0, 64, 255, 0.12);
}

.home-hero__device-body {
  position: relative;
  padding: 22px;
  height: 420px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
}

.home-hero__spark {
  position: absolute;
  inset: -40px -40px auto auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 204, 253, 0.30), transparent 62%);
  filter: blur(2px);
  opacity: 0.85;
  animation: homeFloat 6s ease-in-out infinite;
}

.home-hero__stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  z-index: 2;
}

.home-hero__stack-card {
  padding: 16px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.home-hero__stack-card::after {
  content: '';
  position: absolute;
  inset: -40% -40%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 204, 253, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.home-hero__stack-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 204, 253, 0.28);
  background: rgba(0, 64, 255, 0.05);
}

.home-hero__stack-card:hover::after { opacity: 1; }

[data-theme="light"] .home-hero__stack-card {
  background: rgba(0, 12, 138, 0.03);
  border-color: rgba(0, 12, 138, 0.08);
}

.home-hero__stack-head {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
}

.home-hero__stack-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--border-glow);
  background: rgba(0, 64, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.home-hero__stack-icon i { opacity: 0.9; }

.home-hero__stack-title {
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.home-hero__stack-line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 204, 253, 0.18), rgba(0, 64, 255, 0.12));
  border: 1px solid rgba(0, 64, 255, 0.10);
  position: relative;
  z-index: 2;
}
.home-hero__stack-line--short { width: 72%; margin-top: 8px; }

/* Typed status block */
.home-hero__typed {
  position: relative;
  z-index: 2;
  border-radius: 14px;
  border: 1px solid rgba(0, 64, 255, 0.14);
  background:
    radial-gradient(700px 220px at 20% 20%, rgba(0, 204, 253, 0.10), transparent 60%),
    rgba(0, 64, 255, 0.03);
  overflow: hidden;
}

[data-theme="light"] .home-hero__typed {
  background: rgba(0, 12, 138, 0.03);
  border-color: rgba(0, 12, 138, 0.10);
}

.home-hero__typed::after {
  content: '';
  position: absolute;
  inset: -60% -60%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 204, 253, 0.18), transparent 45%);
  opacity: 0.35;
  animation: homeTypedGlow 6s ease-in-out infinite;
  pointer-events: none;
}

.home-hero__typed-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 0, 0, 0.14);
}

[data-theme="light"] .home-hero__typed-head { background: rgba(0, 12, 138, 0.04); }

.home-hero__typed-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(0, 64, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
}
.home-hero__typed-dot--a { background: rgba(255, 99, 99, 0.28); }
.home-hero__typed-dot--b { background: rgba(255, 214, 102, 0.24); }
.home-hero__typed-dot--c { background: rgba(125, 255, 171, 0.22); }

.home-hero__typed-title {
  margin-left: 6px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.home-hero__typed-body {
  padding: 12px 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text);
  position: relative;
  z-index: 2;
}

.home-hero__typed-prompt {
  color: rgba(0, 204, 253, 0.85);
  margin-right: 8px;
  white-space: nowrap;
}

[data-theme="light"] .home-hero__typed-prompt { color: rgba(0, 64, 255, 0.85); }

.home-hero__typed-text {
  color: var(--text);
}

.home-hero__typed-caret {
  display: inline-block;
  width: 10px;
  height: 1.1em;
  margin-left: 3px;
  vertical-align: -0.15em;
  background: rgba(0, 204, 253, 0.85);
  animation: homeCaretBlink 900ms steps(1) infinite;
}

[data-theme="light"] .home-hero__typed-caret { background: rgba(0, 64, 255, 0.85); }

@keyframes homeCaretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes homeTypedGlow { 0%, 100% { transform: translate(0,0); opacity: 0.26; } 50% { transform: translate(12px, 8px); opacity: 0.42; } }

.home-hero__glow {
  position: absolute;
  inset: auto -30px -30px auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 204, 253, 0.18), rgba(0, 64, 255, 0.12), transparent 60%);
  filter: blur(6px);
  opacity: 0.9;
  z-index: -1;
}

/* Hero background animation */
.home-hero__bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.home-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(0.9) contrast(1.05) brightness(0.9);
  transform: scale(1.02);
}

[data-theme="light"] .home-hero__video {
  opacity: 0.08;
  filter: saturate(0.9) contrast(1.05) brightness(1.05);
}

.home-hero__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 64, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 64, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 20% 10%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 45%, transparent 70%);
  opacity: 0.8;
}

.home-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.8;
  mix-blend-mode: screen;
  transform: translate3d(0,0,0);
}

.home-hero__orb--a {
  width: 520px; height: 520px;
  left: -200px; top: -180px;
  background: radial-gradient(circle, rgba(0, 204, 253, 0.22), transparent 62%);
  animation: homeOrbA 10s ease-in-out infinite;
}
.home-hero__orb--b {
  width: 560px; height: 560px;
  right: -220px; top: -120px;
  background: radial-gradient(circle, rgba(0, 64, 255, 0.22), transparent 62%);
  animation: homeOrbB 12s ease-in-out infinite;
}
.home-hero__orb--c {
  width: 620px; height: 620px;
  right: -260px; bottom: -260px;
  background: radial-gradient(circle, rgba(0, 204, 253, 0.16), transparent 64%);
  animation: homeOrbC 14s ease-in-out infinite;
}

.home-hero__beam {
  position: absolute;
  width: 860px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0, 204, 253, 0.22), rgba(0, 64, 255, 0.18), transparent);
  border-radius: 999px;
  opacity: 0.35;
  filter: blur(0.2px);
}
.home-hero__beam--1 { left: -180px; top: 24%; transform: rotate(12deg); animation: homeBeam 7s ease-in-out infinite; }
.home-hero__beam--2 { right: -260px; bottom: 26%; transform: rotate(-14deg); animation: homeBeam 8s ease-in-out infinite reverse; }

@keyframes homeOrbA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px, 18px) scale(1.05); } }
@keyframes homeOrbB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-26px, 22px) scale(1.04); } }
@keyframes homeOrbC { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-18px, -26px) scale(1.06); } }
@keyframes homeBeam { 0%,100% { opacity: 0.18; } 50% { opacity: 0.42; } }
@keyframes homeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* Sections */
.home-section { padding: 72px 0; }
.home-section--alt {
  background: radial-gradient(900px 360px at 10% 20%, rgba(0, 204, 253, 0.06), transparent 60%),
              radial-gradient(900px 360px at 90% 60%, rgba(0, 64, 255, 0.06), transparent 60%);
}

.home-overview {
  position: relative;
  padding: 84px 0 84px;
  background:
    radial-gradient(1100px 520px at 20% 20%, rgba(0, 204, 253, 0.09), transparent 62%),
    radial-gradient(1100px 520px at 80% 65%, rgba(0, 64, 255, 0.08), transparent 62%),
    rgba(0, 1, 31, 0.10);
}

[data-theme="light"] .home-overview {
  background:
    radial-gradient(1100px 520px at 20% 20%, rgba(0, 64, 255, 0.10), transparent 62%),
    radial-gradient(1100px 520px at 80% 65%, rgba(0, 204, 253, 0.09), transparent 62%),
    rgba(255, 255, 255, 0.60);
}

.home-overview::before,
.home-overview::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 204, 253, 0.22), rgba(0, 64, 255, 0.18), transparent);
  opacity: 0.9;
  pointer-events: none;
}

.home-overview::before { top: 0; }
.home-overview::after { bottom: 0; opacity: 0.55; }

.home-overview .home-section__header {
  padding: 22px 22px;
  border-radius: 18px;
  border: 1px solid rgba(0, 64, 255, 0.14);
  background: rgba(0, 64, 255, 0.02);
}

[data-theme="light"] .home-overview .home-section__header {
  border-color: rgba(0, 12, 138, 0.10);
  background: rgba(0, 12, 138, 0.02);
}

.home-overview .home-grid {
  margin-top: 18px;
}

/* The closer */
.home-closer {
  position: relative;
  padding: 86px 0 92px;
  margin-top: 18px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1200px 560px at 18% 20%, rgba(0, 204, 253, 0.07), transparent 62%),
    radial-gradient(1200px 560px at 82% 70%, rgba(0, 64, 255, 0.07), transparent 62%),
    rgba(0, 1, 31, 0.08);
}

[data-theme="light"] .home-closer {
  background:
    radial-gradient(1200px 560px at 18% 20%, rgba(0, 64, 255, 0.08), transparent 62%),
    radial-gradient(1200px 560px at 82% 70%, rgba(0, 204, 253, 0.06), transparent 62%),
    rgba(255, 255, 255, 0.55);
}

.home-closer::before,
.home-closer::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 204, 253, 0.22), rgba(0, 64, 255, 0.18), transparent);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.home-closer::before { top: 0; }
.home-closer::after { bottom: 0; opacity: 0.55; }

.home-closer__inner {
  position: relative;
  z-index: 1;
  isolation: isolate;
  border-radius: 22px;
  border: 1px solid rgba(0, 64, 255, 0.16);
  background:
    radial-gradient(1000px 420px at 20% 25%, rgba(0, 204, 253, 0.12), transparent 60%),
    radial-gradient(1000px 420px at 80% 65%, rgba(0, 64, 255, 0.12), transparent 60%),
    rgba(0, 1, 31, 0.38);
  box-shadow:
    0 28px 68px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 64, 255, 0.08) inset;
  overflow: hidden;
}

.home-closer__inner::before {
  content: '';
  position: absolute;
  inset: -40% -40%;
  background:
    radial-gradient(circle at 25% 35%, rgba(0, 204, 253, 0.18), transparent 46%),
    radial-gradient(circle at 75% 65%, rgba(0, 64, 255, 0.16), transparent 48%),
    linear-gradient(120deg, transparent, rgba(0, 204, 253, 0.10), transparent);
  opacity: 0.55;
  transform: translate3d(0, 0, 0);
  animation: homeCloserLighting 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

[data-theme="light"] .home-closer__inner {
  border-color: rgba(0, 12, 138, 0.10);
  background:
    radial-gradient(1000px 420px at 20% 25%, rgba(0, 64, 255, 0.12), transparent 60%),
    radial-gradient(1000px 420px at 80% 65%, rgba(0, 204, 253, 0.10), transparent 60%),
    rgba(255, 255, 255, 0.86);
  box-shadow:
    0 28px 68px rgba(0, 12, 138, 0.12),
    0 0 0 1px rgba(0, 12, 138, 0.06) inset;
}

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

.home-closer__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 64, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 64, 255, 0.08) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 25% 20%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 45%, transparent 70%);
  opacity: 0.55;
}

.home-closer__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.85;
  mix-blend-mode: screen;
}

.home-closer__orb--a {
  width: 640px; height: 640px;
  left: -260px; top: -280px;
  background: radial-gradient(circle, rgba(0, 204, 253, 0.22), transparent 62%);
  animation: homeCloserOrbA 12s ease-in-out infinite;
}

.home-closer__orb--b {
  width: 720px; height: 720px;
  right: -320px; bottom: -340px;
  background: radial-gradient(circle, rgba(0, 64, 255, 0.22), transparent 62%);
  animation: homeCloserOrbB 14s ease-in-out infinite;
}

.home-closer__beam {
  position: absolute;
  left: -200px;
  top: 38%;
  width: 1200px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0, 204, 253, 0.22), rgba(0, 64, 255, 0.18), transparent);
  opacity: 0.28;
  transform: rotate(10deg);
  animation: homeCloserBeam 8s ease-in-out infinite;
}

.home-closer__content {
  position: relative;
  z-index: 2;
  padding: 34px 34px;
  display: grid;
  gap: 6px;
  max-width: 980px;
}

.home-closer__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.home-closer__layout .home-closer__content {
  padding: 34px 0 34px 34px;
  max-width: none;
}

.home-closer__media {
  padding: 22px 22px 22px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-closer__media-inner {
  width: min(700px, 100%);
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  border: none;
  background: transparent;
  box-shadow: none;
  display: grid;
  place-items: center;
  position: relative;
  overflow: visible;
}

[data-theme="light"] .home-closer__media-inner {
  background: transparent;
  box-shadow: none;
}

.home-closer__media-inner::after {
  content: '';
  position: absolute;
  inset: -55% -55%;
  background:
    radial-gradient(circle at 35% 35%, rgba(0, 204, 253, 0.22), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(0, 64, 255, 0.18), transparent 58%);
  opacity: 0.45;
  transform: translate3d(0,0,0);
  animation: homeMediaShine 9s ease-in-out infinite;
  pointer-events: none;
}

.home-closer__image {
  width: 112%;
  height: 112%;
  object-fit: contain;
  filter:
    drop-shadow(0 22px 46px rgba(0, 0, 0, 0.40))
    drop-shadow(0 0 26px rgba(0, 204, 253, 0.16));
  transform: translateY(10px);
}

[data-theme="light"] .home-closer__image {
  filter:
    drop-shadow(0 22px 46px rgba(0, 12, 138, 0.18))
    drop-shadow(0 0 22px rgba(0, 64, 255, 0.12));
}

.home-closer__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 64, 255, 0.16);
  background: rgba(0, 64, 255, 0.04);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.home-closer__title {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.home-closer__subtitle {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1.02rem;
  max-width: 80ch;
}

.home-closer__pitch {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-closer__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 0;
}

.home-closer__btn {
  padding-left: 22px;
  padding-right: 22px;
  gap: 6px;
}

.home-closer__alt {
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  border-bottom: 1px solid rgba(0, 204, 253, 0.35);
  padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}

.home-closer__alt:hover {
  color: var(--color-lightest-blue);
  border-color: rgba(0, 204, 253, 0.70);
}

[data-theme="light"] .home-closer__alt:hover {
  color: var(--color-accent-cyan);
  border-color: rgba(0, 64, 255, 0.60);
}

.home-closer__note {
  margin-top: 2px;
  color: var(--text-muted);
  font-weight: 650;
  font-size: 0.96rem;
}

.home-closer__trust {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
  color: var(--text-muted);
  font-weight: 650;
  font-size: 0.92rem;
}

.home-closer__trust i {
  color: var(--color-lightest-blue);
  opacity: 0.9;
  margin-right: 6px;
}

[data-theme="light"] .home-closer__trust i {
  color: var(--color-accent-cyan);
}

@keyframes homeCloserOrbA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(26px, 16px) scale(1.04); } }
@keyframes homeCloserOrbB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-22px, -18px) scale(1.05); } }
@keyframes homeCloserBeam { 0%,100% { opacity: 0.18; } 50% { opacity: 0.38; } }
@keyframes homeCloserLighting {
  0%, 100% { transform: translate(-10px, -6px) scale(1); opacity: 0.42; }
  50% { transform: translate(22px, 14px) scale(1.06); opacity: 0.62; }
}
@keyframes homeMediaShine {
  0%, 100% { transform: translate(-10px, -8px); opacity: 0.22; }
  50% { transform: translate(18px, 12px); opacity: 0.45; }
}

.home-section__header { max-width: 860px; margin-bottom: 22px; }
.home-section__title { margin: 0 0 10px; font-size: 2rem; letter-spacing: -0.02em; }
.home-section__subtitle { margin: 0; color: var(--text-muted); line-height: 1.55; }

.home-section__prose {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.home-section__prose p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.home-overview .home-section__header {
  max-width: none;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

[data-theme="light"] .home-card { background: rgba(0, 12, 138, 0.03); border-color: rgba(0, 12, 138, 0.08); }

.home-card::after {
  content: '';
  position: absolute;
  inset: -40% -40%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 204, 253, 0.20), transparent 45%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.home-card:hover { transform: translateY(-2px); border-color: rgba(0, 204, 253, 0.30); background: rgba(0, 64, 255, 0.05); }
.home-card:hover::after { opacity: 1; }

.home-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-glow);
  background: rgba(0, 64, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}
.home-card__icon i { opacity: 0.9; }

.home-card__body { position: relative; z-index: 2; }
.home-card__title { font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.home-card__desc { color: var(--text-muted); line-height: 1.45; margin-bottom: 10px; font-size: 0.92rem; }
.home-card__link { color: var(--color-lightest-blue); font-weight: 700; font-size: 0.92rem; }
[data-theme="light"] .home-card__link { color: var(--color-accent-cyan); }

/* Service deep-dive sections */
/* Service deep-dive sections */
.home-service__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.home-service__grid--flip {
  grid-template-columns: 0.95fr 1.05fr;
}

.home-service__grid--flip .home-service__copy {
  order: 2;
}

.home-service__grid--flip .home-service__panel {
  order: 1;
}

.home-service__copy {
  padding: 10px 0;
}

.home-service__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 64, 255, 0.14);
  background: rgba(0, 64, 255, 0.04);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

[data-theme="light"] .home-service__eyebrow {
  border-color: rgba(0, 12, 138, 0.10);
  background: rgba(0, 12, 138, 0.03);
}

.home-service__title {
  margin: 0 0 10px;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.home-service__lead {
  margin: 0 0 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 70ch;
}

.home-service__more {
  margin: 0 0 14px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 78ch;
}

.home-service__more--closing {
  margin-top: -4px;
}

.home-service__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
  max-width: 78ch;
}

.home-service__bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  opacity: 0.9;
  line-height: 1.5;
}

.home-service__bullets li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 6px;
  flex: 0 0 auto;
  background: radial-gradient(circle, rgba(0, 204, 253, 0.9), rgba(0, 64, 255, 0.6));
  box-shadow: 0 0 0 2px rgba(0, 64, 255, 0.14);
}

.home-service__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 64, 255, 0.14);
  background: rgba(0, 64, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

[data-theme="light"] .home-chip {
  border-color: rgba(0, 12, 138, 0.10);
  background: rgba(0, 12, 138, 0.02);
}

.home-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 204, 253, 0.28);
  background: rgba(0, 64, 255, 0.06);
  color: var(--color-lightest-blue);
}

[data-theme="light"] .home-chip:hover {
  border-color: rgba(0, 64, 255, 0.22);
  color: var(--color-accent-cyan);
}

.home-service__panel {
  --float-y: 0px;
  --float-r: 0deg;
  border-radius: 18px;
  border: 1px solid rgba(0, 64, 255, 0.14);
  background:
    radial-gradient(900px 360px at 15% 20%, rgba(0, 204, 253, 0.10), transparent 60%),
    radial-gradient(900px 360px at 85% 70%, rgba(0, 64, 255, 0.10), transparent 60%),
    rgba(0, 1, 31, 0.28);
  overflow: hidden;
  position: relative;
  transform: translateY(var(--float-y)) rotate(var(--float-r));
  transition: transform 260ms ease;
}

[data-theme="light"] .home-service__panel {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 12, 138, 0.10);
}

.home-service__panel::after {
  content: '';
  position: absolute;
  inset: -50% -50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 204, 253, 0.14), transparent 45%);
  opacity: 0.55;
  animation: homePanelGlow 7s ease-in-out infinite;
  pointer-events: none;
}

.home-service__panel-inner {
  position: relative;
  z-index: 2;
  padding: 18px;
  height: 100%;
  display: grid;
  gap: 14px;
  align-content: start;
}

.home-service__panel-inner--split {
  grid-template-columns: 1fr 0.9fr;
  gap: 16px;
  align-items: stretch;
}

.home-service__panel-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  align-content: start;
  min-width: 0;
}

.home-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
}

[data-theme="light"] .home-panel__header {
  border-color: rgba(0, 12, 138, 0.10);
  background: rgba(0, 12, 138, 0.02);
}

.home-panel__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border-glow);
  background: rgba(0, 64, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.home-panel__icon i { opacity: 0.9; }

.home-panel__kicker {
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 800;
}

.home-panel__headline {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 2px;
}

.home-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  flex: 1;
  align-content: stretch;
  grid-auto-rows: 1fr;
}

.home-panel__grid--tight {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-panel__grid--support {
  grid-template-columns: 1fr;
}

.home-panel__subcard {
  margin-top: auto;
  display: flex;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background:
    radial-gradient(700px 240px at 20% 20%, rgba(0, 204, 253, 0.10), transparent 60%),
    rgba(0, 64, 255, 0.03);
}

[data-theme="light"] .home-panel__subcard {
  border-color: rgba(0, 12, 138, 0.10);
  background: rgba(0, 12, 138, 0.02);
}

.home-panel__subcard-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(0, 64, 255, 0.14);
  background: rgba(0, 64, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--color-lightest-blue);
}

[data-theme="light"] .home-panel__subcard-icon { color: var(--color-accent-cyan); }

.home-panel__subcard-title {
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.home-panel__subcard-desc {
  margin-top: 4px;
  color: var(--text-muted);
  line-height: 1.4;
  font-size: 0.9rem;
}

.home-panel__item {
  display: flex;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
  height: 100%;
}

[data-theme="light"] .home-panel__item {
  border-color: rgba(0, 12, 138, 0.10);
  background: rgba(0, 12, 138, 0.02);
}

.home-panel__item:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 204, 253, 0.26);
  background: rgba(0, 64, 255, 0.05);
}

.home-panel__item-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  border: 1px solid rgba(0, 64, 255, 0.14);
  background: rgba(0, 64, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--color-lightest-blue);
}

[data-theme="light"] .home-panel__item-icon { color: var(--color-accent-cyan); }

.home-panel__item-title {
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.home-panel__item-desc {
  margin-top: 4px;
  color: var(--text-muted);
  line-height: 1.35;
  font-size: 0.88rem;
}

.home-service__panel-media {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background:
    radial-gradient(700px 260px at 20% 20%, rgba(0, 204, 253, 0.10), transparent 60%),
    radial-gradient(700px 260px at 80% 70%, rgba(0, 64, 255, 0.10), transparent 60%),
    rgba(0, 1, 31, 0.18);
  overflow: hidden;
  display: grid;
  place-items: center;
}

[data-theme="light"] .home-service__panel-media {
  border-color: rgba(0, 12, 138, 0.10);
  background: rgba(255, 255, 255, 0.72);
}

.home-service__panel-media::after {
  content: '';
  position: absolute;
  inset: -40% -40%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 204, 253, 0.14), transparent 52%);
  opacity: 0.55;
  animation: homePanelGlow 7s ease-in-out infinite;
  pointer-events: none;
}

.home-service__panel-image {
  width: 108%;
  height: 108%;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 38px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 22px rgba(0, 204, 253, 0.10));
  transform: translateY(8px);
  opacity: 0.95;
}

[data-theme="light"] .home-service__panel-image {
  filter:
    drop-shadow(0 18px 38px rgba(0, 12, 138, 0.16))
    drop-shadow(0 0 18px rgba(0, 64, 255, 0.08));
}

.home-service__panel-title {
  font-weight: 850;
  letter-spacing: -0.01em;
  color: var(--text);
}

.home-service__panel-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 204, 253, 0.16), rgba(0, 64, 255, 0.12));
  border: 1px solid rgba(0, 64, 255, 0.10);
  margin-top: 10px;
}

.home-service__panel-lines span:nth-child(2) { width: 84%; }
.home-service__panel-lines span:nth-child(3) { width: 72%; }
.home-service__panel-lines span:nth-child(4) { width: 62%; }

.home-service__panel-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.home-service__panel-badges span {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 64, 255, 0.14);
  background: rgba(0, 64, 255, 0.03);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.82rem;
}

.home-service__panel-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-node {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
}

.home-service__panel-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-service__panel-steps div {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
  font-weight: 800;
}

.home-service__panel-steps span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  border: 1px solid rgba(0, 64, 255, 0.16);
  background: rgba(0, 64, 255, 0.05);
  color: var(--color-lightest-blue);
  font-weight: 900;
  font-size: 0.85rem;
}

.home-service__panel-sla {
  display: grid;
  gap: 10px;
}

.home-sla {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
}

.home-sla__k {
  color: var(--text-muted);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.home-sla__v {
  font-weight: 900;
  letter-spacing: -0.01em;
}

/* Responsive */
@media (max-width: 1100px) {
  .home-hero__inner { grid-template-columns: 1fr; }
  .home-hero__visual { min-height: 360px; }
  .home-hero__meta { grid-template-columns: 1fr; }
  .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-service__grid,
  .home-service__grid--flip {
    grid-template-columns: 1fr;
  }
  .home-service__grid--flip .home-service__copy { order: 1; }
  .home-service__grid--flip .home-service__panel { order: 2; }
  .home-service__panel-inner--split {
    grid-template-columns: 1fr;
  }
  .home-panel__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-hero { padding: 64px 0 48px; }
  .home-grid { grid-template-columns: 1fr; }
  .home-closer__layout {
    grid-template-columns: 1fr;
  }
  .home-closer__layout .home-closer__content {
    padding: 26px 22px 10px;
  }
  .home-closer__media {
    padding: 10px 22px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__orb,
  .home-hero__beam,
  .home-hero__spark {
    animation: none !important;
  }
  .home-hero__video {
    display: none;
  }
  .home-hero__typed::after {
    animation: none !important;
  }
  .home-hero__typed-caret {
    animation: none !important;
  }
  .home-service__panel::after {
    animation: none !important;
  }
  .home-service__panel-media::after {
    animation: none !important;
  }
  .home-service__panel {
    transition: none !important;
    transform: none !important;
  }
  .home-closer__orb,
  .home-closer__beam {
    animation: none !important;
  }
  .home-closer__inner::before {
    animation: none !important;
  }
  .home-closer__media-inner::after {
    animation: none !important;
  }
  [data-reveal],
  .home-grid[data-reveal] .home-card,
  .home-service__grid[data-reveal] > .home-service__copy,
  .home-service__grid[data-reveal] > .home-service__panel .home-service__panel-inner,
  .home-closer__layout[data-reveal] > .home-closer__content,
  .home-closer__layout[data-reveal] > .home-closer__media {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
  }
}

@keyframes homePanelGlow {
  0%, 100% { transform: translate(0,0); opacity: 0.45; }
  50% { transform: translate(18px, 12px); opacity: 0.70; }
}

/* Scroll reveals (slide + fade into view; no blur — blur on ancestor would muddy nested text) */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 820ms cubic-bezier(0.2, 0.85, 0.2, 1),
    transform 820ms cubic-bezier(0.2, 0.85, 0.2, 1);
  will-change: opacity, transform;
}

[data-reveal].is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.home-page .home-hero__visual[data-reveal] {
  transition-delay: 120ms;
}

/* Services overview cards: cascade after the grid enters */
.home-grid[data-reveal].is-inview .home-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.home-grid[data-reveal]:not(.is-inview) .home-card {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.home-grid[data-reveal] .home-card {
  transition:
    opacity 720ms cubic-bezier(0.2, 0.85, 0.2, 1),
    transform 720ms cubic-bezier(0.2, 0.85, 0.2, 1);
  will-change: opacity, transform;
}

.home-grid[data-reveal].is-inview .home-card:nth-child(1) {
  transition-delay: 70ms;
}
.home-grid[data-reveal].is-inview .home-card:nth-child(2) {
  transition-delay: 150ms;
}
.home-grid[data-reveal].is-inview .home-card:nth-child(3) {
  transition-delay: 230ms;
}
.home-grid[data-reveal].is-inview .home-card:nth-child(4) {
  transition-delay: 310ms;
}

/* Service deep-dives: copy + panel glide from opposite sides; inner only so panel float transform stays intact */
.home-service__grid[data-reveal].is-inview > .home-service__copy,
.home-service__grid[data-reveal].is-inview > .home-service__panel .home-service__panel-inner {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.home-service__grid[data-reveal]:not(.is-inview) > .home-service__copy {
  opacity: 0;
  transform: translate3d(-34px, 22px, 0);
}

.home-service__grid[data-reveal]:not(.is-inview) > .home-service__panel .home-service__panel-inner {
  opacity: 0;
  transform: translate3d(34px, 22px, 0);
}

.home-service__grid--flip[data-reveal]:not(.is-inview) > .home-service__panel .home-service__panel-inner {
  transform: translate3d(-34px, 22px, 0);
}

.home-service__grid--flip[data-reveal]:not(.is-inview) > .home-service__copy {
  transform: translate3d(34px, 22px, 0);
}

.home-service__grid[data-reveal] > .home-service__copy,
.home-service__grid[data-reveal] > .home-service__panel .home-service__panel-inner {
  transition:
    opacity 860ms cubic-bezier(0.2, 0.85, 0.2, 1),
    transform 860ms cubic-bezier(0.2, 0.85, 0.2, 1);
  will-change: opacity, transform;
}

.home-service__grid[data-reveal].is-inview > .home-service__panel .home-service__panel-inner {
  transition-delay: 110ms;
}

/* Closer columns only (layout has data-reveal; card chrome stays painted) */
.home-closer__layout[data-reveal] {
  opacity: 1;
  transform: none;
}

.home-closer__layout[data-reveal].is-inview > .home-closer__content,
.home-closer__layout[data-reveal].is-inview > .home-closer__media {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.home-closer__layout[data-reveal]:not(.is-inview) > .home-closer__content {
  opacity: 0;
  transform: translate3d(-28px, 18px, 0);
}

.home-closer__layout[data-reveal]:not(.is-inview) > .home-closer__media {
  opacity: 0;
  transform: translate3d(28px, 18px, 0);
}

.home-closer__layout[data-reveal] > .home-closer__content,
.home-closer__layout[data-reveal] > .home-closer__media {
  transition:
    opacity 840ms cubic-bezier(0.2, 0.85, 0.2, 1),
    transform 840ms cubic-bezier(0.2, 0.85, 0.2, 1);
  will-change: opacity, transform;
}

.home-closer__layout[data-reveal].is-inview > .home-closer__media {
  transition-delay: 120ms;
}

