/* ============================================================
   JAVIR — Upgraded Landing Page Styles
   Brand-consistent (deep navy + cyan + Inter) with refined
   glass morphism, 3D depth, and scroll-aware UI.
============================================================ */

:root {
  --bg-deepest: #03070f;
  --bg-deep:    #050b18;
  --bg:         #07111f;
  --bg-2:       #0b1830;
  --panel:        rgba(10, 22, 41, 0.55);
  --panel-strong: rgba(10, 22, 41, 0.82);
  --panel-light:  rgba(255, 255, 255, 0.04);
  --white: #f7fbff;
  --text:  #d8e6fb;
  --muted: #8ea7c9;
  --muted-2: #6c84a6;
  --line:    rgba(139, 197, 255, 0.16);
  --line-hi: rgba(139, 197, 255, 0.28);

  --cyan-50:  #e6fbff;
  --cyan-200: #bcf7ff;
  --cyan-300: #75efff;
  --cyan-400: #67e8f9;
  --cyan-500: #38bdf8;
  --blue-400: #60a5fa;
  --blue-500: #37b7ff;
  --blue-600: #29a6ff;

  --red:    #ff5d73;
  --red-soft: rgba(255, 93, 115, 0.12);
  --green:  #59ffa3;
  --gold:   #f0bf5e;

  --shadow-sm: 0 8px 24px rgba(0,0,0,.25);
  --shadow:    0 20px 80px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 36px 120px rgba(0, 0, 0, 0.55);
  --glow-cyan: 0 0 60px rgba(55,183,255,.22);
  --glow-cyan-strong: 0 0 100px rgba(55,183,255,.32);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1280px;

  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.25,.85,.4,1.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg-deepest);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============ AMBIENT BACKGROUND (multi-layer parallax) ============ */
.bg-fixed {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  overflow: hidden;
}

.bg-grad {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 12% -10%, rgba(55,183,255,.18), transparent 60%),
    radial-gradient(900px 700px at 88% 10%, rgba(117,239,255,.12), transparent 55%),
    radial-gradient(800px 600px at 50% 110%, rgba(80,140,255,.14), transparent 55%),
    linear-gradient(180deg, #04091a 0%, #06101e 40%, #050d1c 100%);
}

.bg-grid {
  position: absolute;
  inset: -200px;
  background-image:
    linear-gradient(rgba(120,200,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,200,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at center, black, transparent 80%);
  opacity: .55;
  transform: translate3d(0, var(--scrollY, 0px), 0);
  will-change: transform;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: .7;
  will-change: transform;
}

.bg-orb.o1 { width: 540px; height: 540px; top: 8%;  left: -180px;
  background: radial-gradient(circle, rgba(55,183,255,.55), rgba(55,183,255,0) 70%); }
.bg-orb.o2 { width: 460px; height: 460px; top: 38%; right: -160px;
  background: radial-gradient(circle, rgba(117,239,255,.45), rgba(117,239,255,0) 70%); }
.bg-orb.o3 { width: 380px; height: 380px; top: 78%; left: 30%;
  background: radial-gradient(circle, rgba(110,90,255,.32), rgba(110,90,255,0) 70%); }

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============ SCROLL PROGRESS BAR ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #67e8f9, #38bdf8);
  background-size: 200% 100%;
  z-index: 100;
  box-shadow: 0 0 20px rgba(103,232,249,.6);
  transition: width .08s linear;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { to { background-position: 200% 0; } }

/* ============ CONTAINER ============ */
.container {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  position: relative;
}

.section {
  position: relative;
  padding: 120px 0;
}

@media (max-width: 720px) {
  .section { padding: 84px 0; }
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 14px 0 18px;
  color: var(--white);
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.06rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 760px;
  margin: 0;
}

.gradient-text {
  background: linear-gradient(120deg, #f7fbff 0%, #bcf7ff 40%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(117,239,255,.22);
  background: rgba(11,24,48,.5);
  color: #dff5ff;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 24px rgba(0,0,0,.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(89,255,163,.6); }
  50% { box-shadow: 0 0 0 8px rgba(89,255,163,0); }
}

/* ============ NAV ============ */
header.navbar-wrap {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 0 18px;
  margin: 16px auto 0;
}

.navbar {
  width: min(calc(100% - 24px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(117,239,255,.14);
  background: rgba(7, 17, 31, 0.6);
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  transition: transform .35s var(--ease-out), border-color .35s, background .35s;
}

.navbar.scrolled {
  border-color: rgba(117,239,255,.28);
  background: rgba(5, 12, 24, 0.78);
  box-shadow: 0 30px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
}

.logo { display: flex; align-items: center; gap: 14px; min-width: 0; }
.logo-mark {
  width: 56px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  perspective: 600px;
  transition: transform .4s var(--ease-out);
}
.logo:hover .logo-mark { transform: scale(1.06); }
.logo-image {
  width: 100%; height: 100%; object-fit: contain; display: block;
  filter:
    drop-shadow(0 6px 12px rgba(180, 60, 220, .35))
    drop-shadow(0 0 18px rgba(55,183,255,.45));
  transform: rotateX(8deg) rotateY(-4deg);
  animation: logo-float 4.5s ease-in-out infinite;
  transition: transform .4s var(--ease-out);
}
.logo:hover .logo-image { transform: rotateX(0deg) rotateY(0deg) scale(1.04); }
@keyframes logo-float {
  0%,100% { transform: rotateX(8deg) rotateY(-4deg) translateY(0); }
  50%     { transform: rotateX(8deg) rotateY(4deg) translateY(-3px); }
}
.logo small {
  display: block; color: var(--muted); font-size: .68rem;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 2px;
}
.logo strong { display: block; color: var(--white); font-size: .98rem; letter-spacing: -.02em; white-space: nowrap; }
.logo strong .accent { color: var(--cyan-300); font-weight: 500; font-size: .9em; }

.nav-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center; }
.nav-links a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  transition: color .22s ease;
  padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-300), transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform .26s var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.btn-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 10px;
  border: 0;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: .94rem;
  border-radius: 14px;
  padding: 13px 18px;
  cursor: pointer;
  transition: transform .26s var(--ease-spring), box-shadow .3s, border-color .3s, background .3s;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease-out);
  z-index: -1;
}
.btn:hover::before { transform: translateX(120%); }

.btn-primary {
  background: linear-gradient(135deg, #29a6ff, #68d9ff);
  color: #051220;
  box-shadow: 0 14px 40px rgba(55,183,255,.4), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(55,183,255,.55), inset 0 1px 0 rgba(255,255,255,.5);
}

.btn-secondary {
  background: rgba(10,22,41,.6);
  border: 1px solid rgba(117,239,255,.18);
  color: var(--white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(117,239,255,.4);
  background: rgba(20,40,68,.65);
  box-shadow: 0 14px 36px rgba(0,0,0,.32);
}

.btn-arrow { transition: transform .3s var(--ease-spring); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.mobile-menu {
  display: none;
  background: transparent;
  border: 1px solid rgba(117,239,255,.18);
  color: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 120px 0 80px;
  perspective: 2000px;
  perspective-origin: 50% 30%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  position: relative;
  transform-style: preserve-3d;
}

.hero-title {
  margin: 18px 0 14px;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: .96;
  letter-spacing: -0.058em;
  color: var(--white);
  font-weight: 800;
}

.hero-title .line { display: block; }

.hero-sub {
  display: block;
  font-size: clamp(.95rem, 1.4vw, 1.05rem);
  color: #bce9ff;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 580px;
  margin: 0 0 28px;
}
.hero-lead strong { color: var(--white); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(117,239,255,.16);
  color: #dff6ff;
  font-size: .82rem;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-pill::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan-300);
  box-shadow: 0 0 8px var(--cyan-300);
}

/* === Hero 3D Visual === */
.hero-visual {
  position: relative;
  height: 580px;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  perspective: 1400px;
}

.orb-stage {
  position: relative;
  width: 460px;
  max-width: 100%;
  height: 460px;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(117,239,255,.18);
  background: conic-gradient(from 0deg,
    rgba(117,239,255,0) 0deg,
    rgba(117,239,255,.4) 80deg,
    rgba(55,183,255,0) 180deg,
    rgba(117,239,255,.25) 270deg,
    rgba(117,239,255,0) 360deg);
  mask-image: radial-gradient(circle, transparent 56%, black 57%);
  -webkit-mask-image: radial-gradient(circle, transparent 56%, black 57%);
  animation: spin-cw 14s linear infinite;
}
.orb-ring.r2 {
  inset: -50px;
  opacity: .5;
  animation-duration: 22s;
  animation-direction: reverse;
}
.orb-ring.r3 {
  inset: -110px;
  border-color: rgba(117,239,255,.08);
  opacity: .45;
  animation-duration: 30s;
}

@keyframes spin-cw { to { transform: rotate(360deg); } }

.orb-core {
  position: relative;
  width: 360px; height: 360px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(180,240,255,.35), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(190, 90, 230, .35), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(20, 30, 70, .85), rgba(8, 14, 38, .9) 75%);
  border: 1px solid rgba(117,239,255,.35);
  box-shadow:
    0 0 120px rgba(55,183,255,.45),
    0 0 80px rgba(190, 90, 230, .35),
    inset 0 4px 30px rgba(255,255,255,.08),
    inset 0 -10px 30px rgba(0,0,0,.4);
  display: grid; place-items: center;
  transform: translateZ(40px);
  animation: orb-float 6s ease-in-out infinite;
}
.orb-core::before, .orb-core::after { border-radius: 50%; }

@keyframes orb-float {
  0%,100% { transform: translateZ(40px) translateY(0); }
  50%     { transform: translateZ(40px) translateY(-14px); }
}

.orb-core::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg,
      rgba(117,239,255,.18),
      rgba(55,183,255,.28),
      rgba(190,90,230,.22),
      rgba(255,80,180,.18),
      rgba(190,90,230,.22),
      rgba(55,183,255,.28),
      rgba(117,239,255,.18));
  filter: blur(14px);
  animation: spin-cw 22s linear infinite;
  opacity: .75;
}

.orb-core::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.14), transparent 60%);
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%,100% { opacity: .55; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.06); }
}

/* The infinity logo — full 3D treatment inside the orb */
.orb-logo {
  position: relative;
  display: block;
  width: 75%;
  max-width: 280px;
  height: auto;
  z-index: 2;
  filter:
    drop-shadow(0 12px 24px rgba(190, 60, 220, .55))
    drop-shadow(0 6px 12px rgba(55, 183, 255, .55))
    drop-shadow(0 0 28px rgba(255, 255, 255, .15));
  animation: logo-3d 8s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes logo-3d {
  0%, 100% { transform: rotateY(-12deg) rotateX(6deg) translateY(0); }
  25%      { transform: rotateY(-3deg)  rotateX(2deg) translateY(-6px); }
  50%      { transform: rotateY(12deg)  rotateX(-2deg) translateY(0); }
  75%      { transform: rotateY(3deg)   rotateX(2deg) translateY(-6px); }
}
/* Subtle highlight glint across the logo */
.orb-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  z-index: 2;
}
.orb-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse at 30% 35%, rgba(255,255,255,.18), transparent 50%);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: glint 6s ease-in-out infinite;
}
@keyframes glint {
  0%,100% { opacity: .35; transform: translateX(-8%); }
  50%     { opacity: .8;  transform: translateX(8%); }
}

/* Legacy glyph kept for fallback */
.orb-glyph {
  position: relative;
  font-size: 8.5rem;
  font-weight: 800;
  letter-spacing: -.06em;
  background: linear-gradient(180deg, #ffffff 0%, #bcf7ff 60%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 60px rgba(117,239,255,.5);
  z-index: 2;
  line-height: 1;
}

/* Floating chips around the orb */
.orb-chip {
  position: absolute;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.78);
  border: 1px solid rgba(117,239,255,.26);
  color: #dff5ff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
  display: inline-flex; align-items: center; gap: 8px;
  z-index: 4;
  animation: chip-float 5s ease-in-out infinite;
  white-space: nowrap;
}
.orb-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-300); box-shadow: 0 0 10px var(--cyan-300); }
.orb-chip.green .dot { background: var(--green); box-shadow: 0 0 10px var(--green); }

.orb-chip.c1 { top: 4%; left: -6%; animation-delay: 0s; }
.orb-chip.c2 { top: 20%; right: -10%; animation-delay: 1.2s; }
.orb-chip.c3 { bottom: 24%; left: -10%; animation-delay: .6s; }
.orb-chip.c4 { bottom: 6%; right: 6%; animation-delay: 1.8s; }

@keyframes chip-float {
  0%,100% { transform: translate3d(0,0,0); }
  50%     { transform: translate3d(0,-10px,0); }
}

.orb-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb-particles .p {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan-300);
  box-shadow: 0 0 10px var(--cyan-300);
  opacity: .7;
  animation: particle 6s linear infinite;
}
.orb-particles .p:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.orb-particles .p:nth-child(2) { top: 70%; left: 88%; animation-delay: 1s; }
.orb-particles .p:nth-child(3) { top: 30%; left: 92%; animation-delay: 2s; }
.orb-particles .p:nth-child(4) { top: 80%; left: 12%; animation-delay: 3s; }
.orb-particles .p:nth-child(5) { top: 12%; left: 60%; animation-delay: 4s; }
.orb-particles .p:nth-child(6) { top: 88%; left: 50%; animation-delay: 5s; }

@keyframes particle {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(-50px) scale(.4); opacity: 0; }
}

/* ============ STATS STRIP ============ */
.stats-strip {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  padding: 24px 8px;
  border-radius: 24px;
  border: 1px solid rgba(117,239,255,.14);
  background:
    linear-gradient(180deg, rgba(11,24,48,.65), rgba(11,24,48,.4));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.05);
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 80px at 50% 0%, rgba(117,239,255,.18), transparent 70%);
  pointer-events: none;
}

.stats-item {
  display: flex; flex-direction: column;
  gap: 4px; text-align: left;
  padding: 6px 22px;
  border-right: 1px solid rgba(117,239,255,.1);
  position: relative;
}
.stats-item:last-child { border-right: none; }

.stats-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--white);
  background: linear-gradient(180deg, #ffffff 0%, #bcf7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.stats-label { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }

/* ============ SCROLL-REVEAL UTILS ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(.98);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out);
  will-change: transform, opacity;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

.reveal-x {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-x.right { transform: translateX(40px); }
.reveal-x.in { opacity: 1; transform: translateX(0); }

/* ============ CARD BASE ============ */
.card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(117,239,255,.12);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 40%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* Tilt hover surface */
.tilt {
  transform-style: preserve-3d;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
  will-change: transform;
}
.tilt:hover {
  border-color: rgba(117,239,255,.28);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(55,183,255,.15);
}

/* ============ COMPARE SECTION ============ */
.compare-header { text-align: center; margin-bottom: 56px; }
.compare-header h1 {
  margin: 18px auto 16px;
  max-width: 1080px;
  color: var(--white);
  font-size: clamp(2.3rem, 5.2vw, 4.6rem);
  line-height: .98;
  letter-spacing: -0.05em;
  font-weight: 800;
}
.compare-header p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.85;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.compare-card {
  padding: 32px;
  min-height: 620px;
  isolation: isolate;
  position: relative;
  overflow: hidden;
}

.compare-card.human {
  background:
    linear-gradient(180deg, rgba(20,12,18,.58), rgba(11,8,14,.6)),
    radial-gradient(circle at 10% 10%, rgba(255,93,115,.12), transparent 40%);
}
.compare-card.ai {
  background:
    linear-gradient(180deg, rgba(11,24,48,.62), rgba(8,18,38,.6)),
    radial-gradient(circle at 80% 14%, rgba(117,239,255,.16), transparent 38%);
}

.compare-card.ai::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(117,239,255,.4), transparent 30%, transparent 70%, rgba(55,183,255,.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  opacity: .8;
}

.panel-top {
  display: flex;
  align-items: center; justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid rgba(255,255,255,.08);
  text-transform: uppercase;
}
.human .status-badge {
  background: var(--red-soft);
  color: #ffd8dd;
  border-color: rgba(255,93,115,.25);
}
.ai .status-badge {
  background: rgba(55,183,255,.14);
  color: #dff8ff;
  border-color: rgba(117,239,255,.3);
  box-shadow: 0 0 22px rgba(55,183,255,.18);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.panel-title {
  margin: 8px 0 0;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: -.03em;
  font-weight: 700;
}

.panel-desc {
  margin: 14px 0 24px;
  color: var(--muted);
  line-height: 1.85;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.metric {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
  transition: border-color .26s, background .26s;
}
.metric:hover { border-color: rgba(117,239,255,.22); background: rgba(117,239,255,.04); }

.metric .label {
  display: block; color: var(--muted);
  font-size: .76rem; margin-bottom: 8px;
  letter-spacing: .04em; text-transform: uppercase;
}
.metric .value {
  font-size: 1.18rem; font-weight: 800;
  letter-spacing: -.02em; color: var(--white);
}
.human .metric .value.negative { color: #ff9eab; }
.ai .metric .value.positive { color: #bcf7ff; }

.bar {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
  margin-top: 10px;
}
.bar span { display: block; height: 100%; border-radius: inherit; }
.human .bar span {
  width: 48%;
  background: linear-gradient(90deg, #ff7587, #ff4b67);
  animation: pulseBarHuman 4s ease-in-out infinite;
}
.ai .bar span {
  width: 96%;
  background: linear-gradient(90deg, #38bdf8, #67e8f9);
  box-shadow: 0 0 18px rgba(55,183,255,.55);
  animation: pulseBarAi 2.6s ease-in-out infinite;
}
@keyframes pulseBarHuman { 0%,100% { width: 46%; } 50% { width: 61%; } }
@keyframes pulseBarAi    { 0%,100% { width: 92%; } 50% { width: 98%; } }

.point-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.point-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.025);
  line-height: 1.6;
  color: #dfe8f6;
  font-size: .94rem;
  transition: transform .22s, background .22s;
}
.point-list li:hover { transform: translateX(4px); background: rgba(255,255,255,.04); }

.point-list li .icon {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%; font-size: .9rem; font-weight: 800;
}
.human .point-list li .icon { background: rgba(255,93,115,.16); color: #ffb7c1; }
.ai    .point-list li .icon { background: rgba(55,183,255,.16); color: #c7f8ff; box-shadow: 0 0 16px rgba(55,183,255,.18); }

.micro-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
}

.chat-race {
  display: grid; gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.bubble-row { display: flex; gap: 8px; align-items: flex-start; }
.bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .86rem;
  line-height: 1.55;
  border: 1px solid rgba(255,255,255,.06);
}
.bubble.user { background: rgba(255,255,255,.06); color: var(--white); }
.bubble.agent {
  margin-left: auto;
  background: rgba(55,183,255,.1);
  color: #dff9ff;
  border-color: rgba(117,239,255,.18);
}
.human .bubble.agent {
  background: rgba(255,93,115,.08);
  border-color: rgba(255,93,115,.18);
  animation: delayedReply 4s ease-in-out infinite;
}
.ai .bubble.agent { animation: instantReply 2.2s ease-in-out infinite; }
@keyframes delayedReply { 0%, 22% { opacity: .1; transform: translateY(8px); } 38%,100% { opacity: 1; transform: translateY(0); } }
@keyframes instantReply { 0%,10% { opacity: .35; transform: translateY(5px); } 18%,100% { opacity: 1; transform: translateY(0); } }

.compare-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; margin-top: 32px;
}

/* ============ MEET JAVIRA SECTION ============ */
.javira-shell {
  padding: 56px;
  border-radius: 36px;
  border: 1px solid rgba(117,239,255,.16);
  background:
    linear-gradient(180deg, rgba(9,19,36,.92), rgba(9,19,36,.78)),
    radial-gradient(circle at 20% 20%, rgba(55,183,255,.18), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(117,239,255,.16), transparent 44%);
  box-shadow: var(--shadow-lg), 0 0 100px rgba(55,183,255,.1);
  position: relative;
  overflow: hidden;
}

.javira-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(117,239,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117,239,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
  opacity: .55;
  pointer-events: none;
}

.javira-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.javira-name {
  margin: 14px 0 8px;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  letter-spacing: -0.05em;
  line-height: .98;
  font-weight: 800;
}

.javira-role {
  display: inline-block;
  color: #bcf7ff;
  font-size: .92rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.javira-lead {
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.85;
  margin: 0 0 28px;
}
.javira-lead strong { color: var(--white); font-weight: 600; }

.javira-traits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.javira-trait {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(117,239,255,.14);
  background: rgba(255,255,255,.025);
  display: flex; align-items: center; gap: 12px;
  transition: transform .26s var(--ease-spring), border-color .26s, background .26s;
}
.javira-trait:hover {
  border-color: rgba(117,239,255,.34);
  background: rgba(117,239,255,.06);
  transform: translateY(-3px);
}

.javira-trait-icon {
  width: 38px; height: 38px; min-width: 38px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(55,183,255,.26), rgba(117,239,255,.14));
  border: 1px solid rgba(117,239,255,.26);
  color: #dcf8ff;
  font-size: 1rem;
  box-shadow: 0 0 18px rgba(55,183,255,.2);
}

.javira-trait-text { font-size: .92rem; color: #e3effb; line-height: 1.45; }
.javira-trait-text strong { color: var(--white); display: block; font-size: .88rem; margin-bottom: 2px; font-weight: 700; }
.javira-trait-text span { color: var(--muted); font-size: .8rem; }

.javira-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============ FEATURE LAYOUT ============ */
.feature-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: stretch;
  margin-top: 40px;
}

.content-card,
.mockup-card,
.train-panel,
.step-card,
.contact-card,
.footer-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(117,239,255,.12);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  position: relative;
}

.content-card h3,
.train-panel h3,
.contact-card h3,
.value-card h3,
.step-card h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1.28rem;
  letter-spacing: -.02em;
  font-weight: 700;
}

.content-card p,
.train-panel p,
.contact-card p,
.footer-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}
.content-card p strong,
.train-panel p strong,
.contact-card p strong,
.footer-card p strong { color: var(--white); font-weight: 600; }

.feature-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}

.feature-points li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  align-items: start;
  color: #dce9f8;
  line-height: 1.7;
  font-size: .96rem;
}
.feature-points li strong { color: var(--white); font-weight: 600; }

.badge-icon {
  width: 38px; height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(55,183,255,.18), rgba(117,239,255,.08));
  border: 1px solid rgba(117,239,255,.22);
  display: grid; place-items: center;
  color: #dff7ff;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(55,183,255,.15);
}

.mockup-card { overflow: hidden; padding: 26px; }
.mockup-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(55,183,255,.06), transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}

.browser-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; gap: 14px;
}
.browser-dots { display: flex; gap: 7px; }
.browser-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.14);
}
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27c93f; }

.address-bar {
  flex: 1; min-width: 0;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: .82rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.chat-mock {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 14px;
  min-height: 410px;
}

.chat-sidebar {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.025);
  padding: 12px;
  display: grid; gap: 10px;
  align-content: start;
}
.mini-thread {
  padding: 11px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: #d7ebff;
  font-size: .78rem;
  line-height: 1.4;
}
.mini-thread small { color: var(--muted); display: block; margin-top: 2px; font-size: .68rem; }
.mini-thread.active {
  background: rgba(55,183,255,.14);
  border-color: rgba(117,239,255,.26);
  box-shadow: 0 0 22px rgba(55,183,255,.18);
}

.chat-window {
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
}
.chat-window::after {
  content: "";
  position: absolute;
  inset: auto -10% -24% auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55,183,255,.22), transparent 60%);
  filter: blur(14px); pointer-events: none;
}

.operator-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.operator { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-weight: 800; color: #05202d;
  background: linear-gradient(135deg, #67e8f9, #38bdf8);
  box-shadow: 0 0 28px rgba(55,183,255,.28);
}
.operator strong { color: var(--white); display: block; font-size: .92rem; }
.operator span { color: var(--muted); font-size: .78rem; }

.tag-online {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(89,255,163,.14);
  color: #cbffe2;
  border: 1px solid rgba(89,255,163,.22);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.msg {
  display: inline-block;
  max-width: 80%;
  border-radius: 16px;
  padding: 11px 14px;
  font-size: .9rem;
  line-height: 1.6;
  border: 1px solid rgba(255,255,255,.06);
}
.msg.user { background: rgba(255,255,255,.05); color: #eff7ff; }
.msg.javir {
  margin-left: auto;
  background: rgba(55,183,255,.14);
  color: #dff8ff;
  border-color: rgba(117,239,255,.22);
}

.typing-row { display: flex; justify-content: flex-end; }
.typing {
  display: inline-flex; gap: 5px;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(55,183,255,.12);
  border: 1px solid rgba(117,239,255,.22);
}
.typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #bdf7ff;
  animation: bounce 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .45; }
  40% { transform: translateY(-5px); opacity: 1; }
}

/* ============ VALUES GRID ============ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 26px;
}

.value-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(117,239,255,.12);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-spring), border-color .3s, box-shadow .3s;
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(117,239,255,.3);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(55,183,255,.12);
}

.value-card .num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(55,183,255,.18), rgba(117,239,255,.08));
  border: 1px solid rgba(117,239,255,.22);
  color: #dff8ff;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 0 22px rgba(55,183,255,.16);
}

.value-card p { margin: 0; color: var(--muted); line-height: 1.8; font-size: .96rem; }

/* ============ TRAIN PANEL ============ */
.train-panel { margin-top: 24px; overflow: hidden; }
.train-panel::after {
  content: "";
  position: absolute;
  inset: auto auto -50px 70%;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55,183,255,.18), transparent 64%);
  filter: blur(12px); pointer-events: none;
}
.train-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 18px;
}
.train-tag {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(117,239,255,.16);
  color: #def4ff;
  font-size: .85rem;
  font-weight: 600;
  transition: transform .26s, border-color .26s;
}
.train-tag:hover { transform: translateY(-2px); border-color: rgba(117,239,255,.36); }

/* ============ USE CASES ============ */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 36px;
}

.usecase-card {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(117,239,255,.14);
  background: linear-gradient(180deg, rgba(9,19,36,.78), rgba(9,19,36,.55));
  transition: transform .35s var(--ease-spring), border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.usecase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(117,239,255,.34);
  box-shadow: 0 30px 70px rgba(55,183,255,.16);
}
.usecase-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117,239,255,.18), transparent 68%);
  pointer-events: none;
}

.usecase-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(55,183,255,.24), rgba(117,239,255,.1));
  border: 1px solid rgba(117,239,255,.24);
  color: #dcf8ff;
  font-size: 1.3rem;
  margin-bottom: 16px;
  box-shadow: 0 0 24px rgba(55,183,255,.18);
}

.usecase-card h4 {
  margin: 0 0 10px;
  font-size: 1.14rem;
  color: var(--white);
  letter-spacing: -.02em;
  font-weight: 700;
}
.usecase-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
  font-size: .94rem;
}

.usecase-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.usecase-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(117,239,255,.08);
  border: 1px solid rgba(117,239,255,.18);
  color: #c7f2ff;
  font-size: .74rem;
  font-weight: 600;
}

/* ============ SIM SECTION ============ */
.sim-section { margin-top: 36px; display: grid; gap: 26px; }

.sim-card {
  padding: 36px;
  border-radius: 28px;
  border: 1px solid rgba(117,239,255,.14);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow: hidden;
  position: relative;
}
.sim-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 200px at 15% 20%, rgba(55,183,255,.1), transparent 60%),
    radial-gradient(500px 240px at 85% 80%, rgba(117,239,255,.1), transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}

.sim-title {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1.4rem;
  letter-spacing: -.02em;
  font-weight: 700;
}
.sim-desc { margin: 0; color: var(--muted); line-height: 1.85; }
.sim-desc strong { color: var(--white); font-weight: 600; }

.staff-vs-wrap {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  gap: 22px;
  margin-top: 32px;
  align-items: stretch;
}

.staff-box {
  padding: 30px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)),
    radial-gradient(circle at top right, rgba(55,183,255,.08), transparent 28%);
  position: relative; overflow: hidden;
  min-height: 300px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.staff-box.after-box {
  border-color: rgba(117,239,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 0 50px rgba(55,183,255,.1);
}

.staff-box h4 {
  margin: 0 0 8px;
  color: var(--white); font-size: 1.2rem;
  letter-spacing: -.02em; font-weight: 700;
}
.staff-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
  font-size: .94rem;
  max-width: 92%;
}

.staff-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px; margin-bottom: 22px;
  position: relative; z-index: 1;
}

.staff-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: #ecf6ff;
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.after-box .staff-badge {
  background: rgba(55,183,255,.12);
  border-color: rgba(117,239,255,.24);
  box-shadow: 0 0 22px rgba(55,183,255,.16);
}

.staff-big-number {
  display: flex; align-items: baseline; gap: 10px;
  margin: 18px 0 8px;
  position: relative; z-index: 1;
}
.staff-big-number strong {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: .92;
  letter-spacing: -.06em;
  color: var(--white);
  font-weight: 800;
}
.staff-big-number span {
  color: var(--muted);
  font-weight: 700;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.people-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; min-height: 88px;
  position: relative; z-index: 1;
  margin-top: 10px;
}

.person, .javir-core {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid; place-items: center;
  font-weight: 800; font-size: .88rem;
  border: 1px solid rgba(255,255,255,.1);
  position: relative; overflow: hidden;
}
.person::before, .javir-core::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 45%);
  pointer-events: none;
}
.person {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  color: #eff7ff;
  animation: bobHuman 3.2s ease-in-out infinite;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
@keyframes bobHuman {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-4px); }
}
.person:nth-child(2) { animation-delay: .12s; }
.person:nth-child(3) { animation-delay: .24s; }
.person:nth-child(4) { animation-delay: .36s; }
.person:nth-child(5) { animation-delay: .48s; }
.person:nth-child(6) { animation-delay: .6s; }

.javir-core {
  background: linear-gradient(135deg, rgba(55,183,255,.32), rgba(117,239,255,.18));
  color: #e7fbff;
  border-color: rgba(117,239,255,.3);
  box-shadow: 0 0 30px rgba(55,183,255,.24), inset 0 1px 0 rgba(255,255,255,.1);
  animation: pulseAi 2.2s ease-in-out infinite;
}
@keyframes pulseAi {
  0%,100% { box-shadow: 0 0 24px rgba(55,183,255,.22), inset 0 1px 0 rgba(255,255,255,.1); }
  50%     { box-shadow: 0 0 50px rgba(55,183,255,.44), inset 0 1px 0 rgba(255,255,255,.16); }
}

.vs-connector {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.vs-line {
  width: 100%; height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(117,239,255,.55), rgba(255,255,255,.08));
  position: absolute; top: 50%;
  transform: translateY(-50%);
}
.vs-chip {
  position: relative; z-index: 2;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white); font-weight: 800;
  font-size: .92rem; letter-spacing: .08em;
  background: linear-gradient(135deg, rgba(10,22,41,.95), rgba(19,38,67,.92));
  border: 1px solid rgba(117,239,255,.22);
  box-shadow: 0 0 32px rgba(55,183,255,.18);
}

.mini-impact {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #e6f4ff;
  font-size: .9rem; font-weight: 600;
  position: relative; z-index: 1;
}
.mini-impact strong { color: var(--white); }

.flow-schema { margin-top: 30px; display: grid; gap: 18px; }
.flow-top-note {
  text-align: center;
  color: var(--white); font-weight: 700;
  font-size: 1rem;
}

.flow-box {
  padding: 20px 22px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  color: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(117,239,255,.16);
  background: rgba(255,255,255,.03);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.flow-box strong { display: block; font-size: 1.06rem; margin-bottom: 6px; font-weight: 700; }
.flow-box span { color: var(--muted); font-size: .9rem; }

.flow-arrow {
  width: 2px; height: 36px;
  background: linear-gradient(180deg, rgba(117,239,255,.1), rgba(117,239,255,.55), rgba(117,239,255,.1));
  margin: 0 auto;
  position: relative;
}
.flow-arrow::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid rgba(117,239,255,.8);
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  align-items: stretch;
}

.branch-card {
  padding: 22px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: transform .3s var(--ease-spring);
}
.branch-card:hover { transform: translateY(-4px); }

.branch-card.green { border-color: rgba(89,255,163,.24); background: rgba(89,255,163,.06); }
.branch-card.gold  { border-color: rgba(240,191,94,.26); background: rgba(240,191,94,.06); }
.branch-card.red   { border-color: rgba(255,93,115,.24); background: rgba(255,93,115,.06); }

.branch-percent {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--white);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.branch-card h4 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.06rem;
  font-weight: 700;
}
.branch-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: .92rem; }

.dashboard-card {
  margin-top: 8px;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid rgba(117,239,255,.16);
  background: rgba(255,255,255,.025);
}
.dashboard-card h4 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 1.06rem;
  text-align: center;
  font-weight: 700;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  align-items: start;
}
.dashboard-side { display: grid; gap: 12px; }
.lane-item {
  padding: 14px;
  color: var(--white);
  font-size: .9rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.lane-item.ai-lane    { background: rgba(89,255,163,.08); border-color: rgba(89,255,163,.2); }
.lane-item.staff-lane { background: rgba(255,93,115,.06); border-color: rgba(255,93,115,.18); }

.dashboard-main { display: grid; gap: 12px; }

.ticket {
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--white);
  font-size: .9rem;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  animation: slideTicket 3.6s ease-in-out infinite;
}
.ticket:nth-child(2) { animation-delay: .24s; }
.ticket:nth-child(3) { animation-delay: .48s; }
.ticket.ai-ticket       { border-color: rgba(89,255,163,.22); background: rgba(89,255,163,.07); }
.ticket.review-ticket   { border-color: rgba(240,191,94,.26); background: rgba(240,191,94,.07); }
.ticket.transfer-ticket { border-color: rgba(255,93,115,.22); background: rgba(255,93,115,.06); }
@keyframes slideTicket {
  0%,100% { transform: translateX(0); }
  50%     { transform: translateX(8px); }
}

/* ============ WORKFLOW ============ */
.workflow-visual {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  align-items: stretch;
}

.workflow-step {
  position: relative;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  min-height: 250px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .35s var(--ease-spring), border-color .3s, background .3s;
}
.workflow-step:hover {
  transform: translateY(-6px);
  border-color: rgba(117,239,255,.28);
}

.workflow-step.active-step {
  border-color: rgba(117,239,255,.26);
  background: linear-gradient(180deg, rgba(55,183,255,.11), rgba(255,255,255,.025));
  box-shadow: 0 0 36px rgba(55,183,255,.14), inset 0 1px 0 rgba(255,255,255,.06);
}

.workflow-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.08rem;
  color: var(--white);
  background: linear-gradient(135deg, rgba(55,183,255,.18), rgba(117,239,255,.1));
  border: 1px solid rgba(117,239,255,.22);
  box-shadow: 0 0 26px rgba(55,183,255,.14);
  margin-bottom: 18px;
}

.workflow-body h4 {
  margin: 0 0 10px;
  color: var(--white); font-size: 1.04rem;
  line-height: 1.4; letter-spacing: -.02em; font-weight: 700;
}
.workflow-body p { margin: 0; color: var(--muted); line-height: 1.75; font-size: .92rem; }

.workflow-impact-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.impact-box {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  transition: border-color .3s, transform .3s var(--ease-spring);
}
.impact-box:hover { border-color: rgba(117,239,255,.3); transform: translateY(-3px); }
.impact-box strong { display: block; color: var(--white); margin-bottom: 8px; font-size: 1rem; }
.impact-box span   { color: var(--muted); line-height: 1.7; font-size: .92rem; }

/* ============ FAQ ============ */
.faq-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 120px 24px;
}
.faq-section h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  color: #ffffff;
  margin: 18px 0 14px;
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 800;
}
.faq-section .faq-subtitle {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.04rem;
  margin-bottom: 48px;
  line-height: 1.7;
  max-width: 640px;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid rgba(117,239,255,.1); }
.faq-item:first-child { border-top: 1px solid rgba(117,239,255,.1); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  cursor: pointer;
  gap: 18px;
  transition: color .2s ease;
}
.faq-question h3 {
  font-size: 1.04rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  line-height: 1.5;
  transition: color .2s ease;
}
.faq-question:hover h3 { color: var(--cyan-300); }

.faq-icon {
  width: 32px; height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 1px solid rgba(117,239,255,.2);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px; line-height: 1;
}
.faq-item.active .faq-icon {
  background: rgba(103,232,249,.16);
  border-color: rgba(103,232,249,.4);
  color: var(--cyan-300);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0;
}
.faq-item.active .faq-answer { max-height: 600px; padding: 0 0 26px 0; }

.faq-answer p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
  padding-right: 48px;
}
.faq-answer p strong { color: rgba(255, 255, 255, 0.94); font-weight: 600; }

.faq-cta-box {
  margin-top: 56px;
  padding: 30px 36px;
  background:
    linear-gradient(135deg, rgba(55,183,255,.1), rgba(103,232,249,.06));
  border: 1px solid rgba(103,232,249,.22);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  box-shadow: 0 20px 60px rgba(55,183,255,.1);
}
.faq-cta-box p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem; margin: 0; line-height: 1.6;
}
.faq-cta-box p strong { color: #ffffff; display: block; font-size: 1.1rem; margin-bottom: 4px; }

/* ============ CONTACT ============ */
.cta-shell {
  padding: 56px;
  border-radius: 36px;
  border: 1px solid rgba(117,239,255,.18);
  background:
    linear-gradient(180deg, rgba(9,19,36,.92), rgba(9,19,36,.78)),
    radial-gradient(circle at 25% 20%, rgba(55,183,255,.18), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(117,239,255,.14), transparent 44%);
  box-shadow: var(--shadow-lg), 0 0 100px rgba(55,183,255,.1);
  position: relative; overflow: hidden;
}
.cta-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(117,239,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117,239,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
  opacity: .55;
  pointer-events: none;
}
.cta-head { max-width: 760px; margin-bottom: 32px; position: relative; z-index: 1; }
.cta-head .section-title { margin: 14px 0 14px; }

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

.contact-card {
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-spring), border-color .3s, box-shadow .3s;
}
.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(117,239,255,.34);
  box-shadow: var(--shadow-lg), 0 0 70px rgba(55,183,255,.16);
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: auto auto -50px 70%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117,239,255,.18), transparent 60%);
  pointer-events: none;
}

.contact-label {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(117,239,255,.18);
  color: #dff8ff;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.contact-value {
  display: block;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 14px;
  text-decoration: none;
  word-break: break-word;
  background: linear-gradient(120deg, #ffffff 0%, #bcf7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-card {
  margin-top: 22px;
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.footer-card strong { color: var(--white); font-size: 1.04rem; font-weight: 700; }
.footer-card .small-note { color: var(--muted); font-size: .9rem; line-height: 1.7; margin: 4px 0 0; max-width: 720px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .hero-content,
  .javira-layout,
  .compare-grid,
  .feature-layout,
  .value-grid,
  .workflow-visual,
  .workflow-impact-grid,
  .contact-grid,
  .branch-grid,
  .dashboard-grid,
  .staff-vs-wrap {
    grid-template-columns: 1fr;
  }
  .compare-card { min-height: unset; }
  .chat-mock { grid-template-columns: 1fr; }
  .chat-sidebar { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .javira-shell, .cta-shell { padding: 36px; }
  .hero-visual { height: 420px; }
  .orb-stage { width: 360px; height: 360px; }
  .orb-core { width: 240px; height: 240px; }
  .orb-glyph { font-size: 6rem; }
  .orb-logo { max-width: 200px; }

  .vs-connector { min-height: 80px; }
  .vs-line {
    width: 2px; height: 100%; top: 0; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(117,239,255,.55), rgba(255,255,255,.08));
  }
}

@media (max-width: 860px) {
  .navbar { align-items: center; flex-wrap: wrap; }
  .mobile-menu { display: inline-flex; }
  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 12px;
  }
  .nav-links.open { display: flex; }
  .btn-group.nav-actions { width: 100%; }
  .stats-strip { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .stats-item { border-right: none; border-bottom: 1px solid rgba(117,239,255,.08); padding: 12px; }
  .stats-item:nth-last-child(-n+2) { border-bottom: none; }
  .usecase-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .compare-header h1 { font-size: clamp(2rem, 9vw, 3.2rem); }
  .hero-title { font-size: clamp(2.2rem, 11vw, 3.6rem); }
  .btn { width: 100%; }
  .javira-shell, .cta-shell { padding: 26px; border-radius: 26px; }
  .javira-traits { grid-template-columns: 1fr; }
  .chat-sidebar { grid-template-columns: 1fr; }
  .compare-card, .sim-card, .content-card, .mockup-card, .train-panel, .footer-card { padding: 24px; }
  .metric-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .faq-cta-box { flex-direction: column; text-align: center; padding: 24px; }
  .faq-answer p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-x { opacity: 1 !important; transform: none !important; }
}
