

:root {
  --opna-navy: #061C4A;
  --opna-blue: #2979FF;
  --slate: #8FA0BC;
  --steel: #5C6F91;
  --cloud: #F5F7FA;
  --white: #FFFFFF;
  --success: #18B87A;
  --warning: #F4A261;

  --violet: #9B87F5;
  --violet-deep: #6D5BD0;
  --violet-soft: rgba(155, 135, 245, 0.14);
  --violet-glow: rgba(155, 135, 245, 0.30);

  --magenta: #FF007B;
  --magenta-deep: #C4005F;
  --magenta-soft: rgba(255, 0, 123, 0.14);
  --magenta-glow: rgba(255, 0, 123, 0.32);

  --bg-0: #050B17;
  --bg-1: #070F22;
  --bg-2: #0A1630;
  --bg-3: #101E42;
  --border-soft: rgba(143, 160, 188, 0.16);
  --border-strong: rgba(143, 160, 188, 0.32);
  --text-high: #F5F8FF;
  --text-mid: #C4CEE0;
  --text-low: #8395B4;

  --accent: var(--opna-blue);
  --accent-soft: rgba(41, 121, 255, 0.14);
  --accent-glow: rgba(41, 121, 255, 0.28);

  --font-heading: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.2rem;
  --text-2xl: clamp(1.375rem, 1.25rem + 0.6vw, 1.625rem);
  --text-3xl: clamp(1.625rem, 1.4rem + 1.1vw, 2.125rem);
  --text-4xl: clamp(1.875rem, 1.55rem + 1.6vw, 2.5rem);
  --text-5xl: clamp(2.25rem, 1.75rem + 2.6vw, 3.375rem);

  --text-body-copy: clamp(0.9375rem, 0.89rem + 0.24vw, 1.125rem);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --section-space-desktop: 120px;
  --section-space-tablet: 84px;
  --section-space-mobile: 60px;
  --max-width: 1220px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
input, textarea, select { font: inherit; }

body {
  background: var(--bg-0);
  color: var(--text-mid);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: default;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-high);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.mono { font-family: var(--font-mono); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) { .container { padding-inline: 40px; } }

.text-accent { color: var(--opna-blue); }

.hero-sub,
.section-sub,
.problem-lead,
.capability-card p,
.work-desc,
.pillar-body p,
.team-values p,
.value-row p,
.contact-copy .section-sub {
  font-size: var(--text-body-copy);
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--opna-blue); color: #fff;
  padding: 12px 20px; border-radius: 0 0 8px 0; z-index: 999; font-weight: 600;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--opna-blue); outline-offset: 3px; border-radius: 4px; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--opna-blue), var(--violet), var(--magenta));
  z-index: 200;
  transition: width 0.1s linear;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  padding: 13px 22px;
  border: 1.5px solid transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  color: inherit;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 15px 26px; font-size: var(--text-base); }
.btn-sm { padding: 10px 18px; font-size: var(--text-xs); }
.btn-block { width: 100%; }

.btn-secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-high);
}
.btn-secondary:hover {
  border-color: var(--opna-blue);
  color: var(--opna-blue);
  background: var(--accent-soft);
}

.btn-cta {
  background: var(--opna-blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.btn-cta:hover,
.btn-cta:focus-visible {
  background: #3d87ff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(41, 121, 255, 0.45);
}
.btn-cta:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.btn-cta.btn-block { padding: 17px 26px; font-size: 1rem; border-radius: var(--radius-lg); }

.btn-arrow { display: inline-flex; transition: transform 0.3s var(--ease); }
.btn-arrow svg { width: 15px; height: 15px; }
.btn-cta:hover .btn-arrow, .btn-cta:focus-visible .btn-arrow { transform: translateX(3px); }

.btn-cta:disabled, .btn-cta[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; pointer-events: none; }

@media (hover: none), (pointer: coarse) {
  .btn-cta:active { transform: scale(0.97); }
}


.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-block: 20px;
  transition: padding 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(5, 11, 23, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 24px; width: auto; display: block; }

.main-nav ul { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: var(--text-sm); font-weight: 500; color: var(--text-mid);
  position: relative; padding-block: 4px; transition: color 0.2s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--opna-blue); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover { color: var(--text-high); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--text-high); }
.main-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: transparent; border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle-bar {
  display: block; width: 18px; height: 1.5px; margin-inline: auto; background: var(--text-high);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: rgba(5, 9, 20, 0.98); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav nav { width: 100%; max-width: 360px; padding: 24px; text-align: center; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.mobile-nav a {
  display: block; font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 600;
  color: var(--text-high); padding: 10px 0;
}
.mobile-nav a:hover { color: var(--opna-blue); }

@media (max-width: 900px) {
  .main-nav, .header-actions .btn-sm { display: none; }
  .nav-toggle { display: flex; }
}


.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--border-strong); color: var(--text-high);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { border-color: var(--opna-blue); background: var(--bg-3); }
.back-to-top svg { width: 18px; height: 18px; }


.ambient-drift {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.ambient-field {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  will-change: transform;
}
.ambient-field--blue {
  width: 42vw; height: 42vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, rgba(41, 121, 255, 0.5), transparent 70%);
  animation: driftA 24s ease-in-out infinite alternate;
}
.ambient-field--violet {
  width: 32vw; height: 32vw; max-width: 480px; max-height: 480px;
  background: radial-gradient(circle, rgba(109, 91, 208, 0.42), transparent 70%);
  animation: driftB 28s ease-in-out infinite alternate;
}
@keyframes driftA {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-4%, 3%) scale(1.08); }
}
@keyframes driftB {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(3%, -4%) scale(1.05); }
}
.ambient-field--pos-hero-a { top: -10%; right: -8%; }
.ambient-field--pos-hero-b { bottom: -14%; left: -6%; }


.section-glow {
  position: absolute; z-index: 0; pointer-events: none; border-radius: 50%;
  filter: blur(75px); opacity: 0.4;
}
.glow-blue    { background: radial-gradient(circle, rgba(41, 121, 255, 0.55), transparent 70%); }
.glow-violet  { background: radial-gradient(circle, rgba(155, 135, 245, 0.5), transparent 70%); }
.glow-magenta { background: radial-gradient(circle, rgba(255, 0, 123, 0.45), transparent 70%); }

.glow-tr { top: -18%; right: -12%; width: 55%; height: 65%; }
.glow-tl { top: -14%; left: -12%; width: 48%; height: 58%; }
.glow-br { bottom: -18%; right: -12%; width: 50%; height: 60%; }
.glow-bl { bottom: -16%; left: -14%; width: 50%; height: 60%; }
.glow-c  { top: 15%; left: 28%; width: 46%; height: 62%; }


.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-glow {
  position: absolute; top: -20%; right: -10%; width: 60%; height: 70%;
  --gx: 0px; --gy: 0px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(40px); opacity: 0.5;
  transform: translate3d(var(--gx), var(--gy), 0);
  transition: transform 0.6s var(--ease);
}
.hero-glow-magenta {
  position: absolute; bottom: -15%; left: -12%; width: 45%; height: 55%;
  background: radial-gradient(circle, var(--magenta-glow) 0%, transparent 70%);
  filter: blur(50px); opacity: 0.4;
}

.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 22px;
}
.eyebrow-index {
  color: var(--opna-blue); border: 1px solid var(--border-strong); border-radius: 100px;
  padding: 3px 9px; font-size: 0.7rem;
}
.hero-title { font-size: var(--text-5xl); font-weight: 600; color: var(--text-high); margin-bottom: 24px; }
.hero-sub { color: var(--text-mid); max-width: 48ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 42px; }
.hero-proof {
  display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--border-soft);
  padding-top: 24px; max-width: 48ch;
}
.hero-proof li { position: relative; padding-left: 22px; font-size: var(--text-sm); color: var(--text-low); }
.hero-proof li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px;
  border-radius: 50%; border: 1.5px solid var(--opna-blue);
}

.hero-visual-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero-visual { position: relative; }
.hero-visual-frame {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02);
  overflow: hidden;
  aspect-ratio: 3 / 2.2;
  background: #0A1630;
}
.hero-visual-svg { width: 100%; height: 100%; display: block; }
.hero-visual-tag {
  position: absolute; bottom: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(5, 11, 23, 0.72); backdrop-filter: blur(8px); border: 1px solid var(--border-soft);
  border-radius: 100px; padding: 8px 14px; font-size: var(--text-xs); color: var(--text-mid);
  z-index: 2;
}
.hero-visual-tag .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 3px rgba(24,184,122,0.2);
}


.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.stat-item { display: flex; flex-direction: column; }
.stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  background: linear-gradient(100deg, var(--text-high) 0%, var(--text-high) 55%, var(--violet) 80%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-number--solid {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--text-high);
  -webkit-text-fill-color: var(--text-high);
}
.stat-suffix {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-low);
  -webkit-text-fill-color: var(--text-low);
}
.stat-label {
  font-size: var(--text-xs);
  color: var(--text-low);
  margin-top: 6px;
}


.section { padding-block: var(--section-space-desktop); position: relative; overflow: hidden; }
.section-problem, .section-approach, .section-team { background: var(--bg-1); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 { font-size: var(--text-4xl); }
.section-sub { margin-top: 16px; color: var(--text-low); max-width: 60ch; }
.lg-only { display: inline; }

.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.problem-lead { color: var(--text-mid); line-height: 1.6; }


.spotlight { position: relative; --sx: 50%; --sy: 50%; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(320px circle at var(--sx) var(--sy), rgba(41, 121, 255, 0.14), transparent 65%);
  transition: opacity 0.4s var(--ease); pointer-events: none;
}
.spotlight:hover::before { opacity: 1; }
@media (hover: none), (pointer: coarse) { .spotlight::before { display: none; } }
.spotlight > * { position: relative; z-index: 1; }


.capability-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  overflow: hidden; position: relative; z-index: 1;
}
.capability-card { background: var(--bg-0); padding: 36px 28px; transition: background-color 0.3s var(--ease); position: relative; }
.capability-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--opna-blue), var(--violet), var(--magenta));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.capability-card:hover { background: var(--bg-2); }
.capability-card:hover::after { opacity: 1; }
.capability-icon {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  color: var(--opna-blue); background: var(--accent-soft); border-radius: var(--radius-md);
  margin-bottom: 22px; transition: transform 0.4s var(--ease), color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.capability-card:hover .capability-icon {
  transform: scale(1.08) rotate(-4deg);
  color: var(--violet);
  background: var(--violet-soft);
}
.capability-icon svg { width: 22px; height: 22px; }
.capability-card h3 { font-size: var(--text-lg); margin-bottom: 10px; }
.capability-card p { color: var(--text-low); }


.pillar-list { display: flex; flex-direction: column; position: relative; z-index: 1; }
.pillar {
  display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding-block: 30px;
  border-top: 1px solid var(--border-soft); transition: padding-left 0.35s var(--ease);
}
.pillar:last-child { border-bottom: 1px solid var(--border-soft); }
.pillar:hover { padding-left: 8px; }
.pillar-index { color: var(--opna-blue); font-size: var(--text-sm); padding-top: 6px; }
.pillar-body h3 { font-size: var(--text-xl); margin-bottom: 10px; }
.pillar-body p { max-width: 62ch; color: var(--text-low); }


.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; z-index: 1; }
.work-card {
  background: var(--bg-2); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.work-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 24px 48px -24px rgba(0,0,0,0.55); }
.work-media { aspect-ratio: 3/2; overflow: hidden; position: relative; background: #050B17; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-body { padding: 24px; }
.work-tag {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--opna-blue); margin-bottom: 12px;
}
.work-body h3 { font-size: var(--text-lg); margin-bottom: 14px; }
.work-desc { color: var(--text-low); margin-bottom: 8px; }
.work-desc strong { color: var(--text-mid); }


.work-visual-svg,
.hero-visual-svg,
.software-visual-svg { width: 100%; height: 100%; display: block; }

.wv-node-a { fill: #2979FF; }
.wv-node-b { fill: #9B87F5; }
.wv-core { fill: #F5F8FF; }
.wv-edge { fill: none; stroke-width: 1.5; }
.wv-edge-a { stroke: rgba(41,121,255,0.35); }
.wv-edge-b { stroke: rgba(155,135,245,0.35); }
.wv-pulse-line { stroke-dasharray: 8 14; }

.reveal.is-visible .wv-drift-slow { animation: wvDriftSlow 9s ease-in-out infinite; animation-play-state: running; }
.reveal.is-visible .wv-drift-slow-rev { animation: wvDriftSlowRev 11s ease-in-out infinite; animation-play-state: running; }
.reveal.is-visible .wv-flow { animation: wvFlow 3.4s linear infinite; animation-play-state: running; }
.reveal.is-visible .wv-flow-rev { animation: wvFlow 4.2s linear infinite reverse; animation-play-state: running; }
.reveal.is-visible .wv-breathe { animation: wvBreathe 4s ease-in-out infinite; animation-play-state: running; }
.reveal.is-visible .wv-breathe-delay { animation: wvBreathe 4s ease-in-out infinite; animation-delay: 1.2s; animation-play-state: running; }
.reveal.is-visible .wv-core-pulse { animation: wvCorePulse 3s ease-in-out infinite; transform-origin: 600px 400px; animation-play-state: running; }

@keyframes wvDriftSlow { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(6px,-8px); } }
@keyframes wvDriftSlowRev { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-7px,7px); } }
@keyframes wvFlow { to { stroke-dashoffset: -220; } }
@keyframes wvBreathe { 0%, 100% { opacity: 0.55; r: 5; } 50% { opacity: 1; r: 7; } }
@keyframes wvCorePulse { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.12); opacity: 1; } }


.wv-far-node { fill: #9B87F5; }
.wv-near-node { fill: #2979FF; }
.wv-edge2 { stroke: rgba(41,121,255,0.28); stroke-width: 1.2; fill: none; }
.wv-edge2-far { stroke: rgba(155,135,245,0.22); }
.wv-ring { fill: none; stroke: #2979FF; stroke-width: 1.6; transform-origin: 260px 400px; }
.reveal.is-visible .wv-ring1 { animation: wvRingExpand 3.6s ease-out infinite; animation-play-state: running; }
.reveal.is-visible .wv-ring2 { animation: wvRingExpand 3.6s ease-out infinite; animation-delay: 1.2s; animation-play-state: running; }
.reveal.is-visible .wv-ring3 { animation: wvRingExpand 3.6s ease-out infinite; animation-delay: 2.4s; animation-play-state: running; }
.reveal.is-visible .wv-source-pulse { animation: wvSourcePulse 3.6s ease-in-out infinite; transform-origin: 260px 400px; animation-play-state: running; }
.wv-node-in { opacity: 0.15; }
.reveal.is-visible .wv-node-in.wv-n1 { animation: wvNodeFadeIn 6s ease-in-out infinite; animation-play-state: running; animation-delay: 0s; }
.reveal.is-visible .wv-node-in.wv-n2 { animation: wvNodeFadeIn 6s ease-in-out infinite; animation-play-state: running; animation-delay: 0.4s; }
.reveal.is-visible .wv-node-in.wv-n3 { animation: wvNodeFadeIn 6s ease-in-out infinite; animation-play-state: running; animation-delay: 0.8s; }
.reveal.is-visible .wv-node-in.wv-n4 { animation: wvNodeFadeIn 6s ease-in-out infinite; animation-play-state: running; animation-delay: 1.2s; }
.reveal.is-visible .wv-node-in.wv-n5 { animation: wvNodeFadeIn 6s ease-in-out infinite; animation-play-state: running; animation-delay: 1.6s; }
.reveal.is-visible .wv-node-in.wv-n6 { animation: wvNodeFadeIn 6s ease-in-out infinite; animation-play-state: running; animation-delay: 2.0s; }
.reveal.is-visible .wv-node-in.wv-n7 { animation: wvNodeFadeIn 6s ease-in-out infinite; animation-play-state: running; animation-delay: 2.4s; }
.reveal.is-visible .wv-node-in.wv-n8 { animation: wvNodeFadeIn 6s ease-in-out infinite; animation-play-state: running; animation-delay: 2.8s; }

@keyframes wvRingExpand { 0% { transform: scale(0.15); opacity: 0.9; } 100% { transform: scale(5.5); opacity: 0; } }
@keyframes wvSourcePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@keyframes wvNodeFadeIn { 0%, 100% { opacity: 0.15; } 15%, 60% { opacity: 1; } }


.wv-platform-line { stroke: rgba(143,160,188,0.28); stroke-width: 1; fill: none; }
.wv-platform-dot { fill: #2979FF; opacity: 0.7; }
.wv-ring-pulse { fill: none; stroke: #2979FF; stroke-width: 1.4; transform-origin: 600px 340px; }
.reveal.is-visible .wv-ring-pulse.wv-r1 { animation: wvShieldRing 3.6s ease-out infinite; animation-play-state: running; }
.reveal.is-visible .wv-ring-pulse.wv-r2 { animation: wvShieldRing 3.6s ease-out infinite; animation-delay: 1.8s; animation-play-state: running; }


.wv-shield-float { transform-box: fill-box; transform-origin: center; }
.reveal.is-visible .wv-shield-float {
  animation: wvShieldFloat 2.6s ease-in-out infinite alternate;
  animation-play-state: running;
}

.wv-check-draw { stroke-dasharray: 120; stroke-dashoffset: 120; }
.reveal.is-visible .wv-check-draw { animation: wvCheckDraw 1.4s ease-out 0.3s forwards; animation-play-state: running; }
.reveal.is-visible .wv-float-dot.wv-fd1 { animation: wvFloatDot 6s ease-in-out infinite; animation-play-state: running; animation-delay: 0s; }
.reveal.is-visible .wv-float-dot.wv-fd2 { animation: wvFloatDot 6s ease-in-out infinite; animation-play-state: running; animation-delay: 1.5s; }
.reveal.is-visible .wv-float-dot.wv-fd3 { animation: wvFloatDot 6s ease-in-out infinite; animation-play-state: running; animation-delay: 3s; }
.reveal.is-visible .wv-float-dot.wv-fd4 { animation: wvFloatDot 6s ease-in-out infinite; animation-play-state: running; animation-delay: 4.5s; }

@keyframes wvShieldRing { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes wvShieldFloat { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes wvCheckDraw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
@keyframes wvFloatDot { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-14px); opacity: 1; } }


.hero-stack-layer { }
.reveal.is-visible .hero-stack-l1 { animation: heroStackFloat 6s ease-in-out infinite; animation-play-state: running; }
.reveal.is-visible .hero-stack-l2 { animation: heroStackFloat 6s ease-in-out infinite; animation-delay: 0.4s; animation-play-state: running; }
.reveal.is-visible .hero-stack-l3 { animation: heroStackFloat 6s ease-in-out infinite; animation-delay: 0.8s; animation-play-state: running; }
.hero-stack-connector { stroke-dasharray: 4 6; }
.reveal.is-visible .hero-stack-connector { animation: heroStackFlow 2.4s linear infinite; animation-play-state: running; }
.hero-stack-node { fill: #F5F8FF; }
.hero-stack-node-blue { fill: #2979FF; }
.reveal.is-visible .hero-stack-node-pulse { animation: wvBreathe 4s ease-in-out infinite; animation-play-state: running; }

@keyframes heroStackFloat { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }
@keyframes heroStackFlow { to { stroke-dashoffset: -20; } }


.sw-panel { }
.reveal.is-visible .sw-panel-1 { animation: swPanelDrift 7s ease-in-out infinite; animation-play-state: running; }
.reveal.is-visible .sw-panel-2 { animation: swPanelDrift 7s ease-in-out infinite; animation-delay: 0.6s; animation-play-state: running; }
.reveal.is-visible .sw-panel-3 { animation: swPanelDrift 7s ease-in-out infinite; animation-delay: 1.2s; animation-play-state: running; }
.sw-bar { transform-box: fill-box; transform-origin: left center; }
.reveal.is-visible .sw-bar-1 { animation: swBarGrow 4s ease-in-out infinite; animation-play-state: running; }
.reveal.is-visible .sw-bar-2 { animation: swBarGrow 4s ease-in-out infinite; animation-delay: 0.5s; animation-play-state: running; }
.reveal.is-visible .sw-bar-3 { animation: swBarGrow 4s ease-in-out infinite; animation-delay: 1s; animation-play-state: running; }
.reveal.is-visible .sw-bar-4 { animation: swBarGrow 4s ease-in-out infinite; animation-delay: 1.5s; animation-play-state: running; }
.sw-cursor-dot { fill: #F5F8FF; }
.reveal.is-visible .sw-cursor { animation: swCursorMove 5s ease-in-out infinite; animation-play-state: running; }

@keyframes swPanelDrift { 0%,100%{ transform: translateY(0); opacity: 0.9; } 50%{ transform: translateY(-6px); opacity: 1; } }
@keyframes swBarGrow { 0%,100%{ transform: scaleX(0.6); } 50%{ transform: scaleX(1); } }
@keyframes swCursorMove {
  0%, 100% { transform: translate(0, 0); opacity: 0.7; }
  25% { transform: translate(40px, -10px); opacity: 1; }
  50% { transform: translate(20px, 20px); opacity: 0.8; }
  75% { transform: translate(-10px, 5px); opacity: 1; }
}


.section-software { background: var(--bg-1); }
.software-card {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: center; background: var(--bg-2); border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl); padding: 56px; overflow: hidden;
}
.software-card::before {
  content: ""; position: absolute; top: -30%; left: -10%; width: 50%; height: 90%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(50px); opacity: 0.35; pointer-events: none; z-index: 0;
}
.software-card::after {
  content: ""; position: absolute; bottom: -25%; right: -8%; width: 40%; height: 70%;
  background: radial-gradient(circle, var(--magenta-glow) 0%, transparent 70%);
  filter: blur(50px); opacity: 0.32; pointer-events: none; z-index: 0;
}
.software-copy, .software-visual { position: relative; z-index: 1; }
.software-copy h2 { font-size: var(--text-4xl); margin-bottom: 16px; }
.status-badge {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border-strong);
  border-radius: 100px; padding: 8px 16px; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-mid);
}
.status-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--warning);
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.2); animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(244, 162, 97, 0.08); }
}
.software-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.software-visual-frame {
  border-radius: var(--radius-lg); border: 1px solid var(--border-soft); box-shadow: 0 24px 60px -24px rgba(0,0,0,0.55);
  overflow: hidden; aspect-ratio: 3/2; background: #050B17;
}


.industry-grid { display: flex; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }
.industry-chip {
  font-family: var(--font-heading); font-size: var(--text-base); font-weight: 500; color: var(--text-mid);
  border: 1px solid var(--border-soft); border-radius: 100px; padding: 13px 26px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.industry-chip:hover {
  border-color: var(--magenta);
  color: var(--text-high);
  background: var(--magenta-soft);
  transform: translateY(-2px);
}


.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; position: relative; z-index: 1; }
.team-grid h2 { margin-bottom: 16px; }
.team-grid .btn { margin-top: 26px; }
.team-values { display: flex; flex-direction: column; gap: 30px; }
.value-row { display: grid; grid-template-columns: 40px 1fr; gap: 18px; }
.value-index { color: var(--opna-blue); font-size: var(--text-sm); padding-top: 4px; }
.value-row h3 { font-size: var(--text-base); margin-bottom: 6px; }
.value-row p { color: var(--text-low); }


.section-contact { background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%); }
.contact-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-copy h2 { font-size: var(--text-4xl); margin-bottom: 16px; }
.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.contact-details li { font-size: var(--text-base); color: var(--text-mid); }
.contact-details .mono {
  display: block; font-size: var(--text-xs); color: var(--text-low); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 2px;
}

.contact-option-card {
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.contact-option-card::before {
  content: "";
  position: absolute;
  top: 16px; bottom: 16px; left: 0;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--opna-blue), var(--violet), var(--magenta));
}
.contact-option-card h3 {
  font-size: var(--text-xl);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-option-card p {
  font-size: var(--text-base);
  color: var(--text-low);
  margin-bottom: 22px;
}
.contact-option-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--success);
  border: 1px solid rgba(24, 184, 122, 0.35);
  background: rgba(24, 184, 122, 0.1);
  border-radius: 100px;
  padding: 3px 10px;
}
.contact-option-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--success);
}


.site-footer { background: var(--bg-1); border-top: 1px solid var(--border-soft); padding-top: 72px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { margin-top: 14px; color: var(--text-low); font-size: var(--text-sm); }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h3 {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-low);
  margin-bottom: 16px; font-weight: 600;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: var(--text-sm); color: var(--text-mid); transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: var(--opna-blue); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-block: 24px; border-top: 1px solid var(--border-soft); font-size: var(--text-xs); color: var(--text-low);
}


.legal-page { padding-top: 168px; padding-bottom: 90px; position: relative; z-index: 1; }
.legal-page h1 { font-size: var(--text-4xl); margin-bottom: 20px; }
.legal-page h2 { font-size: var(--text-lg); margin-top: 38px; margin-bottom: 12px; }
.legal-page p, .legal-page li { color: var(--text-mid); font-size: var(--text-base); line-height: 1.7; margin-bottom: 14px; max-width: 70ch; }
.legal-page ul { padding-left: 20px; list-style: disc; }
.legal-note {
  border: 1px solid var(--border-soft); background: var(--bg-2); border-radius: var(--radius-md);
  padding: 18px 22px; margin-bottom: 38px; font-size: var(--text-sm); color: var(--text-low);
}
.legal-tag {
  display: inline-block; border: 1px solid var(--border-strong); border-radius: 100px; padding: 4px 12px;
  color: var(--opna-blue); font-family: var(--font-mono); font-size: var(--text-xs); margin-bottom: 18px;
}


.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }


@media (max-width: 1024px) {
  :root { --section-space-desktop: var(--section-space-tablet); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; text-align: left; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
  .problem-grid { grid-template-columns: 1fr; }
  .software-card { grid-template-columns: 1fr; padding: 40px; }
  .software-visual { order: -1; }
  .contact-single { grid-template-columns: 1fr; gap: 36px; }
}


@media (max-width: 768px) {
  :root { --section-space-desktop: var(--section-space-mobile); }
  .lg-only { display: none; }

  .hero { min-height: auto; padding-top: 104px; padding-bottom: 48px; }
  .hero-visual { display: none; }
  .hero-title { font-size: var(--text-4xl); }
  .hero-inner { gap: 0; }

  .hero-sub { margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 32px; }
  .hero-actions .btn { width: 100%; }
  .btn { padding: 11px 18px; font-size: var(--text-sm); }
  .btn-lg { padding: 12px 20px; font-size: var(--text-sm); }
  .btn-cta.btn-block { padding: 15px 22px; font-size: 0.9375rem; }

  .hero-visual-col { gap: 0; }
  .stats-row { margin-top: 36px; }

  .capability-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .pillar { grid-template-columns: 56px 1fr; }
  .section-head h2 { font-size: var(--text-3xl); }
  .software-card { padding: 28px; border-radius: var(--radius-lg); }
  .software-actions { flex-direction: column; align-items: stretch; }
  .software-actions .btn { width: 100%; text-align: center; }
  .legal-page { padding-top: 132px; }
  .back-to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .hero-title { font-size: var(--text-3xl); }
  .btn { padding: 10px 16px; font-size: 0.8125rem; }
  .btn-lg { padding: 11px 18px; font-size: 0.8125rem; }
  .btn-cta.btn-block { padding: 13px 18px; font-size: 0.875rem; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}
