/* font unify */
:root, html, body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6,
.iv-hero-h1, .iv-hero-sub, .iv-hero-body, .iv-hero-kicker, .iv-hero-mark,
.iv-btn-primary, .iv-btn-ghost {
  font-family: "Figtree", system-ui, -apple-system, sans-serif !important;
}

:root {
  --font: "Figtree", system-ui, -apple-system, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, sans-serif;
  --serif: "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, sans-serif;
  --font-heading: "Figtree", system-ui, sans-serif;
}
html, body, button, input, select, textarea {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-family: var(--serif); }

.iv-atmosphere {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(177,201,239,.55), transparent 62%),
    radial-gradient(700px 480px at 100% 0%, rgba(205,218,242,.5), transparent 58%);
}

/* ===== HERO: senior composition ===== */
.iv-hero {
  position: relative;
  margin-top: 18px;
  border-radius: 36px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  background: #0e1a36;
}
.iv-hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.iv-hero-bg .mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(55% 50% at 18% 22%, rgba(90,140,230,.55), transparent 60%),
    radial-gradient(45% 40% at 82% 18%, rgba(177,201,239,.35), transparent 55%),
    radial-gradient(60% 55% at 55% 88%, rgba(42,90,180,.45), transparent 60%),
    linear-gradient(160deg, #1a3a7a 0%, #152a55 38%, #0c1730 100%);
  animation: iv-mesh-drift 18s ease-in-out infinite alternate;
}
.iv-hero-bg .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(75% 70% at 50% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(75% 70% at 50% 35%, #000 20%, transparent 75%);
}
.iv-hero-bg .beam {
  position: absolute;
  width: 140%; height: 42%;
  left: -20%; top: -8%;
  background: linear-gradient(105deg, transparent 20%, rgba(177,201,239,.22) 48%, transparent 72%);
  transform: rotate(-8deg);
  animation: iv-beam 10s ease-in-out infinite alternate;
}
.iv-hero-bg .ring {
  position: absolute;
  border: 1px solid rgba(177,201,239,.18);
  border-radius: 50%;
  animation: iv-ring 14s linear infinite;
}
.iv-hero-bg .ring-a { width: 520px; height: 520px; right: -120px; top: -160px; }
.iv-hero-bg .ring-b { width: 340px; height: 340px; left: -80px; bottom: 12%; animation-direction: reverse; animation-duration: 18s; }
.iv-hero-bg .noise {
  position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.iv-hero-bg .vignette {
  position: absolute; inset: 0;
  background: radial-gradient(90% 80% at 50% 40%, transparent 35%, rgba(8,14,28,.55) 100%);
}


.iv-hero-mark {
  position: absolute; right: -2%; bottom: -6%;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(96px, 18vw, 220px); line-height: .85;
  letter-spacing: -.06em; color: rgba(255,255,255,.045);
  pointer-events: none; user-select: none; z-index: 0;
  white-space: nowrap;
}

.iv-hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(36px, 5vw, 72px) clamp(22px, 4vw, 64px) clamp(32px, 4vw, 56px);
}

.iv-hero-copy { text-align: left; max-width: 36rem; }
.iv-hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #c5d6f5; margin-bottom: 22px;
}
.iv-hero-kicker::before {
  content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, #9ec2f5, transparent);
}
.iv-hero-h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: .98;
  letter-spacing: -.035em;
  margin: 0 0 18px;
  color: #fff;
}
.iv-hero-h1 .line { display: block; }
.iv-hero-h1 .accent {
  display: block;
  background: linear-gradient(100deg, #ffffff 10%, #b1c9ef 55%, #7eb0ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.iv-hero-sub {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.28;
  color: #dce7fb;
  margin: 0 0 16px;
  max-width: 28ch;
}
.iv-hero-body {
  font-family: var(--sans);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.65;
  color: rgba(232,238,252,.82);
  margin: 0 0 28px;
  max-width: 48ch;
}
.iv-hero-ctas {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px;
}
.iv-btn-primary {
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: #142244;
  font-family: var(--sans); font-weight: 700;
  font-size: 15px; letter-spacing: -.01em;
  padding: 14px 22px; border-radius: 14px;
  transition: transform .2s ease, background .2s ease;
}
.iv-btn-primary:hover { background: #eef3ff; transform: translateY(-1px); color: #142244; }
.iv-btn-primary .arrow {
  width: 28px; height: 28px; border-radius: 9px;
  background: #1f4db8; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.iv-btn-ghost {
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff;
  font-family: var(--sans); font-weight: 700;
  font-size: 15px; letter-spacing: -.01em;
  padding: 14px 22px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.iv-btn-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.14);
  transform: translateY(-1px);
}

/* Product stage */
.iv-hero-stage {
  position: relative;
  min-height: 340px;
}
.iv-hero-stage::before {
  content: "";
  position: absolute; left: 8%; right: 8%; bottom: 6%;
  height: 48px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(0,0,0,.45), transparent 70%);
  filter: blur(8px);
  z-index: 0;
}
.iv-stage-rail {
  position: absolute;
  top: 46%; left: 8%; right: 8%; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(177,201,239,.55), transparent);
}
.iv-stage-rail::after {
  content: "";
  position: absolute; top: -1px; left: 0; height: 3px; width: 28%;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: iv-pulse-line 3.2s ease-in-out infinite;
}
.iv-stage-cards {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .95fr .95fr;
  gap: 12px;
  align-items: stretch;
}
.iv-stage-card {
  border-radius: 20px;
  padding: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  box-shadow: 0 20px 50px -28px rgba(0,0,0,.75);
  transform: translateY(0);
  transition: transform .25s ease, border-color .25s ease;
  animation: iv-rise .9s cubic-bezier(.2,.8,.2,1) both;
}
.iv-stage-card:nth-child(1) { animation-delay: .05s; }
.iv-stage-light { background: rgba(255,255,255,.96); color: var(--ink); border-color: rgba(255,255,255,.7); }
.iv-stage-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.4); }
.iv-stage-light:hover { border-color: #b1c9ef; }
.iv-stage-label {
  font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 10px;
}
.iv-stage-card:nth-child(1) .iv-stage-label { color: #c9d8f5; }
.iv-stage-light .iv-stage-label { color: var(--muted); }
.iv-stage-video {
  border-radius: 14px; overflow: hidden; line-height: 0;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.iv-copy-rise {
  animation: iv-rise 0.85s cubic-bezier(.2,.8,.2,1) both;
}
.iv-copy-rise.d1 { animation-delay: .04s; }
.iv-copy-rise.d2 { animation-delay: .12s; }
.iv-copy-rise.d3 { animation-delay: .2s; }
.iv-copy-rise.d4 { animation-delay: .28s; }
.iv-copy-rise.d5 { animation-delay: .36s; }

@keyframes iv-mesh-drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1.02); }
  to { transform: translate3d(1.5%, 1.5%, 0) scale(1.06); }
}
@keyframes iv-beam {
  from { transform: rotate(-8deg) translateX(-4%); opacity: .7; }
  to { transform: rotate(-6deg) translateX(6%); opacity: 1; }
}
@keyframes iv-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes iv-pulse-line {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 72%; opacity: 0; }
}
@keyframes iv-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Nav polish */
.iv-topnav {
  position: sticky; top: 14px; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(211,224,245,.95);
  border-radius: 20px;
  padding: 12px clamp(16px,2vw,26px);
  box-shadow: 0 12px 40px -24px rgba(20,34,68,.55);
}

/* Mobile */
.iv-nav-toggle {
  display: none;
  border: 1px solid var(--line, #d3e0f5);
  background: #fff; border-radius: 12px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer; padding: 0; flex-shrink: 0;
}
.iv-nav-toggle span,
.iv-nav-toggle span::before,
.iv-nav-toggle span::after {
  display: block; width: 16px; height: 2px; background: #16233f; border-radius: 2px; position: relative;
}
.iv-nav-toggle span::before,
.iv-nav-toggle span::after { content: ""; position: absolute; left: 0; }
.iv-nav-toggle span::before { top: -5px; }
.iv-nav-toggle span::after { top: 5px; }

img, video, canvas { max-width: 100%; }

@media (max-width: 980px) {
  .iv-hero-inner { grid-template-columns: 1fr; }
  .iv-hero-copy { text-align: center; max-width: none; margin: 0 auto; }
  .iv-hero-kicker { justify-content: center; }
  .iv-hero-sub, .iv-hero-body { margin-left: auto; margin-right: auto; }
  .iv-hero-ctas { justify-content: center; }
  .iv-hero-h1 { font-size: clamp(40px, 9vw, 64px); }
  .iv-stage-cards { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .iv-stage-rail { display: none; }
}
@media (max-width: 760px) {
  html { font-size: 15px; }
  .iv-nav-links {
    display: none !important;
    position: fixed; top: 80px; left: 12px; right: 12px;
    flex-direction: column !important; align-items: stretch !important; gap: 4px !important;
    background: rgba(255,255,255,.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line, #d3e0f5); border-radius: 16px; padding: 10px;
    box-shadow: 0 20px 48px -12px rgba(20,34,68,.28);
    z-index: 9999; max-height: calc(100vh - 96px); overflow-y: auto;
  }
  .iv-nav-links a { padding: 12px 14px; border-radius: 12px; }
  .iv-nav-links a:hover { background: #e8eefc; }
  .iv-nav-links .iv-dd-btn { width:100%; justify-content:flex-start; padding:12px 14px; border-radius:12px; color:var(--ink,#16233f); font-size:15px; }
  .iv-nav-links .iv-dd-btn:hover { background:#e8eefc; }
  .iv-nav-links .iv-nav-link { display:block; padding:12px 14px; border-radius:12px; color:var(--ink,#16233f); font-size:15px; }
  .iv-nav-links .iv-nav-link:hover { background:#e8eefc; }
  .iv-nav-links .iv-dd-panel { z-index:auto; }
  .iv-nav-toggle { display: inline-flex; }
  .iv-hero { border-radius: 24px; }
  .iv-hero-h1 { font-size: clamp(36px, 10vw, 48px) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .iv-hero-bg .mesh, .iv-hero-bg .beam, .iv-hero-bg .ring,
  .iv-hero-bg .fx-orb, .iv-hero-bg .fx-scan, .iv-hero-bg .fx-orbit,
  .iv-stage-rail::after, .iv-stage-card, .iv-copy-rise, .iv-stat-card {
    animation: none !important;
  }
}

/* restored layout: copy+stats on top, pipeline below */
.iv-hero-inner {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(36px, 5vw, 72px) clamp(32px, 5vw, 96px) clamp(32px, 4vw, 56px);
}
.iv-hero-top {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1.2fr) minmax(200px, 280px);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.iv-hero-copy { text-align: left; max-width: 40rem; }
.iv-hero-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.iv-stat-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 16px;
  padding: 16px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: iv-rise .85s cubic-bezier(.2,.8,.2,1) both;
}
.iv-stat-card:nth-child(1) { animation-delay: .1s; }
.iv-stat-card:nth-child(2) { animation-delay: .18s; }
.iv-stat-card:nth-child(3) { animation-delay: .26s; }
.iv-stat-card strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 2px;
  color: #fff;
}
.iv-stat-card span {
  font-size: .84rem;
  color: #c7d7f5;
  font-weight: 500;
  line-height: 1.35;
}
.iv-hero-stage {
  position: relative;
  width: 100%;
  min-height: 0;
}
.iv-hero-stage::before {
  content: "";
  position: absolute; left: 10%; right: 10%; top: -8%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(147,197,253,.2), transparent 70%);
  pointer-events: none; z-index: 0;
}
.iv-stage-rail {
  position: absolute;
  top: 48%; left: 10%; right: 10%; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(177,201,239,.55), transparent);
}
.iv-stage-rail::after {
  content: "";
  position: absolute; top: -1px; left: 0; height: 3px; width: 28%;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: iv-pulse-line 3.2s ease-in-out infinite;
}
.iv-stage-cards {
  position: relative; z-index: 2;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(10px, 1.5vw, 18px);
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
}
.iv-stage-card {
  flex: 1 1 230px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  box-shadow: 0 20px 50px -28px rgba(0,0,0,.75);
  transition: transform .25s ease, border-color .25s ease;
  animation: iv-rise .9s cubic-bezier(.2,.8,.2,1) both;
}
.iv-stage-card:nth-child(1) { animation-delay: .12s; max-width: 310px; }
.iv-stage-light {
  animation-delay: .22s;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-color: rgba(255,255,255,.7);
  max-width: 280px;
}
.iv-stage-card:hover { transform: translateY(-4px); }
.iv-hero-arrow {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; color: #cbd9f5; align-self: center;
  margin-top: 14px;
}
.iv-stage-video video {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}
@media (max-width: 900px) {
  .iv-stage-video video { height: 280px; }
}
@media (max-width: 480px) {
  .iv-stage-video video { height: 240px; }
}
@media (max-width: 900px) {
  .iv-hero-top { grid-template-columns: 1fr; }
  .iv-hero-copy { text-align: center; max-width: none; margin: 0 auto; }
  .iv-hero-kicker { justify-content: center; }
  .iv-hero-sub, .iv-hero-body { margin-left: auto; margin-right: auto; }
  .iv-hero-ctas { justify-content: center; }
  .iv-hero-aside { max-width: 420px; margin: 0 auto; width: 100%; }
  .iv-stage-cards { justify-content: center; margin: 0 auto; }
  .iv-stage-light { max-width: 100%; }
  .iv-hero-arrow { display: none; }
  .iv-stage-rail { display: none; }
}


/* ===== moving graphics (restored) ===== */
.iv-hero-bg .fx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: iv-floaty 8s ease-in-out infinite;
  will-change: transform;
}
.iv-hero-bg .fx-orb-a {
  width: 280px; height: 280px;
  top: -80px; right: -40px;
  background: radial-gradient(circle, rgba(147,197,253,.5), transparent 68%);
}
.iv-hero-bg .fx-orb-b {
  width: 220px; height: 220px;
  bottom: 10%; left: -60px;
  background: radial-gradient(circle, rgba(59,130,246,.4), transparent 70%);
  animation-delay: -2.5s;
}
.iv-hero-bg .fx-scan {
  position: absolute;
  left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(147,197,253,.14), transparent);
  animation: iv-scanY 7s ease-in-out infinite;
  mix-blend-mode: screen;
  will-change: top, opacity;
}
.iv-hero-bg .fx-orbit {
  position: absolute;
  right: clamp(16px, 2.5vw, 48px);
  top: clamp(24px, 4%, 40px);
  width: min(150px, 13vw);
  opacity: .7;
  animation: iv-spinSlow 28s linear infinite;
  will-change: transform;
  z-index: 1;
}
.iv-hero-bg .mesh {
  animation: iv-mesh-drift 18s ease-in-out infinite alternate !important;
}
.iv-hero-bg .beam {
  animation: iv-beam 10s ease-in-out infinite alternate !important;
}
.iv-hero-bg .ring {
  animation: iv-ring 14s linear infinite !important;
}
.iv-hero-bg .ring-b {
  animation-direction: reverse !important;
  animation-duration: 18s !important;
}
.iv-stage-rail::after {
  animation: iv-pulse-line 3.2s ease-in-out infinite !important;
}
@keyframes iv-floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(18px); }
}
@keyframes iv-spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes iv-scanY {
  0%, 100% { top: 8%; opacity: 0; }
  15% { opacity: 1; }
  50% { top: 70%; opacity: .7; }
  85% { opacity: 0; }
}
@media (max-width: 760px) {
  .iv-hero-bg .fx-orbit { width: min(280px, 70vw); top: auto; bottom: 4%; opacity: .35; }
}
