:root {
  color-scheme: light dark;
  --bg: #f5f7fb;
  --bg-elevated: rgba(255,255,255,.78);
  --surface: #ffffff;
  --surface-2: #edf2f8;
  --text: #101722;
  --muted: #5e6b7c;
  --line: rgba(15, 31, 51, .10);
  --line-strong: rgba(15, 31, 51, .16);
  --brand: #006bff;
  --brand-2: #00b6d9;
  --brand-soft: rgba(0,107,255,.10);
  --shadow: 0 24px 80px rgba(22, 39, 61, .10);
  --shadow-sm: 0 12px 36px rgba(22, 39, 61, .07);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

[data-theme="dark"] {
  --bg: #080d14;
  --bg-elevated: rgba(12,19,29,.78);
  --surface: #0e1621;
  --surface-2: #111d2a;
  --text: #f2f6fb;
  --muted: #9aa8ba;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);
  --brand: #4b92ff;
  --brand-2: #34d2ef;
  --brand-soft: rgba(75,146,255,.12);
  --shadow: 0 24px 80px rgba(0,0,0,.32);
  --shadow-sm: 0 12px 36px rgba(0,0,0,.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 5%, rgba(0,107,255,.11), transparent 30rem),
    radial-gradient(circle at 8% 28%, rgba(0,182,217,.08), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--surface); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .02em; }
.brand-mark { width: 34px; height: 34px; position: relative; border-radius: 10px; background: linear-gradient(135deg,var(--brand),var(--brand-2)); box-shadow: 0 10px 26px rgba(0,107,255,.24); }
.brand-mark::before, .brand-mark::after { content:""; position:absolute; inset:8px; border:2px solid white; border-radius:5px 1px 5px 1px; transform: rotate(45deg); }
.brand-mark::after { inset:12px; opacity:.65; }
.brand-word { font-size: 18px; }
.brand-word span { color: var(--muted); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 650; padding: 10px 12px; border-radius: 10px; transition: .2s ease; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn, .lang-switch { height: 42px; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 12px; box-shadow: var(--shadow-sm); }
.icon-btn { width: 42px; display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 19px; height: 19px; }
.lang-switch { display: inline-flex; align-items: center; padding: 0 13px; font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.menu-btn { display:none; }

.hero { position: relative; overflow: hidden; padding: 100px 0 78px; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 58px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: var(--brand); font-size: 13px; line-height: 1; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow::before { content:""; width: 28px; height: 1px; background: currentColor; }
h1 { margin: 0 0 24px; max-width: 820px; font-size: clamp(43px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; }
.hero-lead { max-width: 690px; margin: 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display:flex; flex-wrap:wrap; gap: 12px; margin-top: 34px; }
.btn { min-height: 50px; display:inline-flex; align-items:center; justify-content:center; gap:9px; padding: 0 18px; border-radius: 13px; font-weight: 750; font-size: 14px; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg,var(--brand),#177cff); color:white; box-shadow: 0 14px 34px rgba(0,107,255,.23); }
.btn-secondary { border-color: var(--line-strong); background: var(--surface); }
.btn svg { width:18px; height:18px; }
.hero-meta { margin-top: 40px; display:flex; flex-wrap:wrap; gap: 12px 24px; color: var(--muted); font-size: 13px; }
.hero-meta span { display:flex; align-items:center; gap: 8px; }
.hero-meta i { width:6px; height:6px; border-radius:50%; background:var(--brand-2); box-shadow:0 0 0 5px rgba(0,182,217,.10); }

.tech-panel { position: relative; min-height: 520px; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(160deg, color-mix(in srgb,var(--surface) 94%,transparent), color-mix(in srgb,var(--surface-2) 92%,transparent)); box-shadow: var(--shadow); overflow:hidden; }
.tech-panel::before { content:""; position:absolute; inset:0; background-image: linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size:36px 36px; mask-image: linear-gradient(to bottom,black,transparent 78%); opacity:.7; }
.orbit { position:absolute; border:1px solid var(--line-strong); border-radius:50%; }
.orbit.one { width:310px; height:310px; left:50%; top:50%; transform:translate(-50%,-50%); }
.orbit.two { width:210px; height:210px; left:50%; top:50%; transform:translate(-50%,-50%); }
.orbit.three { width:110px; height:110px; left:50%; top:50%; transform:translate(-50%,-50%); background: radial-gradient(circle, rgba(0,107,255,.20), transparent 70%); }
.core { position:absolute; width:74px; height:74px; left:50%; top:50%; transform:translate(-50%,-50%); border-radius:22px; background:linear-gradient(145deg,var(--brand),var(--brand-2)); box-shadow:0 20px 44px rgba(0,107,255,.25); display:grid; place-items:center; color:white; }
.core svg { width:35px; height:35px; }
.node { position:absolute; min-width:118px; padding:12px 14px; border:1px solid var(--line); border-radius:14px; background:var(--bg-elevated); backdrop-filter:blur(12px); box-shadow:var(--shadow-sm); }
.node b { display:block; font-size:12px; line-height:1.25; }
.node small { color:var(--muted); font-size:10px; }
.node::before { content:""; position:absolute; width:8px; height:8px; border-radius:50%; background:var(--brand-2); top:15px; right:13px; box-shadow:0 0 0 5px rgba(0,182,217,.10); }
.n1 { left:9%; top:13%; }.n2{ right:7%; top:20%; }.n3{ left:6%; bottom:17%; }.n4{ right:9%; bottom:12%; }.n5{ left:50%; top:6%; transform:translateX(-50%); }
.panel-caption { position:absolute; left:26px; right:26px; bottom:24px; display:flex; align-items:flex-end; justify-content:space-between; gap:20px; }
.panel-caption div:first-child { max-width:245px; }
.panel-caption strong { font-size:14px; }.panel-caption p { margin:4px 0 0; color:var(--muted); font-size:12px; line-height:1.45; }
.status-pill { flex:0 0 auto; padding:8px 10px; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:var(--muted); font-size:11px; font-weight:700; }

.trust-strip { padding: 18px 0 84px; }
.trust-grid { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--surface); box-shadow:var(--shadow-sm); }
.trust-item { padding:27px 30px; }
.trust-item + .trust-item { border-left:1px solid var(--line); }
.trust-item strong { display:block; font-size:28px; line-height:1; letter-spacing:-.04em; }
.trust-item span { display:block; margin-top:9px; color:var(--muted); font-size:13px; }

.section { padding: 96px 0; }
.section.alt { background: color-mix(in srgb,var(--surface) 52%,transparent); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-head { display:grid; grid-template-columns:.72fr 1.28fr; gap: 48px; align-items:end; margin-bottom: 48px; }
.section-kicker { color:var(--brand); font-size:12px; font-weight:850; letter-spacing:.13em; text-transform:uppercase; }
h2 { margin:8px 0 0; font-size:clamp(34px,4vw,52px); line-height:1.05; letter-spacing:-.045em; }
.section-intro { margin:0; color:var(--muted); font-size:17px; max-width:670px; justify-self:end; }

.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.card { min-height:250px; padding:26px; border:1px solid var(--line); border-radius:20px; background:var(--surface); box-shadow:var(--shadow-sm); transition:transform .24s ease,border-color .24s ease; }
.card:hover { transform:translateY(-4px); border-color:var(--line-strong); }
.card-icon { width:46px; height:46px; border-radius:13px; display:grid; place-items:center; color:var(--brand); background:var(--brand-soft); margin-bottom:26px; }
.card-icon svg { width:23px; height:23px; }
.card h3 { margin:0 0 9px; font-size:19px; letter-spacing:-.02em; }
.card p { margin:0; color:var(--muted); font-size:14px; line-height:1.65; }

.expertise-grid { display:grid; grid-template-columns:1fr 1fr; gap:54px; align-items:start; }
.expertise-copy h2 { margin-top:8px; }
.expertise-copy > p { color:var(--muted); font-size:17px; }
.check-list { display:grid; gap:12px; margin-top:28px; }
.check { display:flex; gap:12px; align-items:flex-start; font-size:14px; font-weight:650; }
.check svg { flex:0 0 auto; width:20px; height:20px; color:var(--brand); margin-top:2px; }
.stack-card { border:1px solid var(--line); border-radius:26px; background:var(--surface); box-shadow:var(--shadow); padding:28px; }
.stack-title { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.stack-title strong { font-size:15px; }.stack-title span { color:var(--muted); font-size:12px; }
.stack { display:grid; gap:10px; }
.stack-row { display:grid; grid-template-columns: 40px 1fr auto; align-items:center; gap:12px; padding:12px 13px; background:var(--surface-2); border-radius:13px; }
.stack-row .num { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:var(--surface); font-size:11px; font-weight:850; color:var(--brand); }
.stack-row b { font-size:13px; }.stack-row small { color:var(--muted); font-size:11px; }

.process { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; counter-reset:step; }
.process-step { counter-increment:step; position:relative; padding:24px; border-top:2px solid var(--line-strong); }
.process-step::before { content:"0" counter(step); display:block; margin-bottom:34px; color:var(--brand); font-size:12px; font-weight:850; letter-spacing:.1em; }
.process-step h3 { margin:0 0 8px; font-size:18px; }.process-step p { margin:0; color:var(--muted); font-size:13px; }

.cta { padding: 96px 0 110px; }
.cta-box { position:relative; overflow:hidden; padding:56px; border-radius:32px; background:linear-gradient(135deg,#085de0,#008ba9); color:white; box-shadow:0 30px 90px rgba(0,93,224,.28); }
.cta-box::after { content:""; position:absolute; width:420px; height:420px; border:1px solid rgba(255,255,255,.18); border-radius:50%; right:-130px; top:-180px; box-shadow:0 0 0 70px rgba(255,255,255,.05),0 0 0 140px rgba(255,255,255,.025); }
.cta-inner { position:relative; z-index:1; display:grid; grid-template-columns:1.25fr .75fr; gap:40px; align-items:end; }
.cta h2 { max-width:760px; margin:0; }.cta p { margin:18px 0 0; color:rgba(255,255,255,.78); max-width:630px; }
.cta-actions { display:flex; flex-direction:column; gap:10px; align-items:stretch; }
.cta .btn { background:white; color:#0d315b; }
.cta .btn.ghost { background:transparent; color:white; border-color:rgba(255,255,255,.28); }

footer { border-top:1px solid var(--line); padding:42px 0 34px; background: color-mix(in srgb,var(--surface) 50%,transparent); }
.footer-grid { display:grid; grid-template-columns:1.1fr .9fr 1fr; gap:42px; }
.footer-brand p { margin:14px 0 0; max-width:370px; color:var(--muted); font-size:13px; }
.footer-col h4 { margin:0 0 12px; font-size:12px; text-transform:uppercase; letter-spacing:.10em; color:var(--muted); }
.footer-col p, .footer-col a { display:block; margin:4px 0; font-size:13px; }
.footer-col a:hover { color:var(--brand); }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:36px; padding-top:22px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; }

.reveal { opacity:0; transform:translateY(12px); transition:opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 960px) {
  .nav-links { position:absolute; left:20px; right:20px; top:86px; display:none; flex-direction:column; align-items:stretch; padding:10px; background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); }
  .nav-links.open { display:flex; }
  .menu-btn { display:grid; }
  .hero { padding-top:72px; }
  .hero-grid,.section-head,.expertise-grid,.cta-inner { grid-template-columns:1fr; }
  .tech-panel { min-height:450px; }
  .cards { grid-template-columns:repeat(2,1fr); }
  .section-intro { justify-self:start; }
  .process { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1.2fr 1fr; }
  .footer-brand { grid-column:1/-1; }
}

@media (max-width: 640px) {
  .container { width:min(calc(100% - 28px),var(--container)); }
  .nav { min-height:68px; gap:10px; }.brand-word { font-size:16px; }.nav-tools { margin-left:auto; gap:6px; }
  .lang-switch { padding:0 10px; height:40px; }.icon-btn { width:40px; height:40px; }
  .hero { padding:60px 0 54px; }.hero-grid { gap:38px; }.hero-actions { flex-direction:column; }.btn { width:100%; }
  .hero-meta { display:grid; gap:10px; }
  .tech-panel { min-height:390px; border-radius:24px; }.node { min-width:98px; padding:9px 10px; }.node small{display:none}.n1{left:4%}.n2{right:3%}.n3{left:4%}.n4{right:4%}.n5{top:5%}.panel-caption{left:18px;right:18px;bottom:16px}.status-pill{display:none}
  .orbit.one{width:250px;height:250px}.orbit.two{width:165px;height:165px}
  .trust-grid { grid-template-columns:1fr; }.trust-item + .trust-item { border-left:0; border-top:1px solid var(--line); }
  .section { padding:74px 0; }.section-head { gap:20px; margin-bottom:34px; }
  .cards,.process { grid-template-columns:1fr; }.card { min-height:0; }
  .stack-card { padding:20px; }.stack-row { grid-template-columns:36px 1fr; }.stack-row small { grid-column:2; }
  .cta { padding:74px 0 86px; }.cta-box { padding:34px 24px; border-radius:24px; }
  .footer-grid { grid-template-columns:1fr; }.footer-brand { grid-column:auto; }.footer-bottom { flex-direction:column; }
}

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