:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --panel: #ffffff;
  --text: #111114;
  --muted: #5b6069;
  --line: rgba(17, 17, 20, 0.1);
  --line-strong: rgba(17, 17, 20, 0.16);
  --dark: #0c0d10;
  --dark-2: #15171c;
  --dark-3: #1a1d22;
  --dark-text: #f5f5f7;
  --dark-muted: #a3a7b0;
  --accent: #0f1114;
  --radius: 28px;
  --radius-md: 22px;
  --shadow: 0 24px 80px rgba(0,0,0,.10);
  --shadow-2: 0 18px 48px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; width: 100%; height: 100%; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.skip-link {
  position: absolute; left: -9999px; top: auto;
}
.skip-link:focus {
  left: 20px; top: 20px; z-index: 200;
  background: #fff; padding: 10px 14px; border: 1px solid #000; border-radius: 10px;
}

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(17,17,20,.06);
}
.nav-shell {
  min-height: 78px; display: flex; align-items: center; gap: 18px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 700; letter-spacing: -.02em;
}
.brand-text { white-space: nowrap; }
.brand strong { font-weight: 800; }
.nav {
  margin-left: auto; display: flex; align-items: center; gap: 32px;
}
.nav a {
  font-size: 14px; color: #3d434d; transition: color .2s ease;
}
.nav a:hover,
.nav a:focus-visible { color: #000; }
.nav-button,
.button {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; min-height: 46px; padding: 0 20px;
  font-size: 14px; font-weight: 650; letter-spacing: -.01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.nav-button {
  margin-left: 8px; background: var(--accent); color: #fff; box-shadow: 0 12px 30px rgba(17,17,20,.12);
}
.nav-button:hover,.button:hover { transform: translateY(-1px); }
.menu-toggle {
  display: none; margin-left: auto; border: 1px solid var(--line-strong); background: #fff;
  color: var(--text); border-radius: 999px; padding: 11px 16px; font: inherit; font-size: 14px;
}
.mobile-panel {
  display: none; padding: 0 24px 20px; background: rgba(255,255,255,.96); border-top: 1px solid rgba(17,17,20,.06);
}
.mobile-panel.open { display: grid; gap: 14px; }
.mobile-panel a { color: #3d434d; font-size: 15px; }

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(224,229,235,.55), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(234,236,240,.9), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: auto auto 0 -15%; width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(17,17,20,.035), transparent 58%);
  filter: blur(20px); pointer-events: none;
}
.hero-grid {
  min-height: 780px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 48px; align-items: center; padding: 34px 0 58px;
}
.overline {
  margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: #6d7480;
}
.overline-light { color: #9da4ae; }
.hero h1 {
  margin: 20px 0 22px;
  font-size: clamp(56px, 8vw, 108px);
  line-height: .92;
  letter-spacing: -.07em;
  max-width: 760px;
}
.hero h1 span {
  display: block;
  background: linear-gradient(180deg, #32353b 0%, #111114 55%, #666b74 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead {
  margin: 0; max-width: 680px; font-size: 20px; line-height: 1.75; color: var(--muted);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px;
}
.button-dark {
  background: #111114; color: #fff; box-shadow: 0 14px 35px rgba(17,17,20,.14);
}
.button-ghost {
  background: rgba(255,255,255,.72); color: var(--text); border: 1px solid rgba(17,17,20,.10);
}
.button-light {
  background: #fff; color: var(--text); box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.button-outline-light {
  border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.05);
}
.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; padding: 0; margin: 44px 0 0;
}
.hero-points li {
  padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.68);
  border: 1px solid rgba(17,17,20,.08); font-size: 12px; color: #464c56;
}
.hero-visual {
  position: relative; min-height: 590px;
}
.device-card {
  position: absolute; inset: 64px 0 40px 36px;
  border-radius: 34px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(17,17,20,.08);
  box-shadow: 0 32px 90px rgba(13, 15, 18, .14);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.device-topbar {
  display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 18px;
  border-bottom: 1px solid rgba(17,17,20,.08); color: #6f7680;
}
.device-topbar span {
  width: 9px; height: 9px; border-radius: 50%; background: #d4d8dd;
}
.device-topbar small { margin-left: 8px; font-size: 11px; }
.device-body {
  display: grid; grid-template-columns: 74px 1fr; min-height: calc(100% - 54px);
}
.device-sidebar {
  background: linear-gradient(180deg, #111318 0%, #171a1f 100%); padding: 18px 16px;
}
.device-sidebar i {
  display: block; width: 100%; height: 40px; border-radius: 14px; background: rgba(255,255,255,.07); margin-bottom: 12px;
}
.device-main { padding: 24px; background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,248,250,.95)); }
.kpi-row {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px;
}
.kpi {
  border: 1px solid rgba(17,17,20,.08); border-radius: 22px; background: rgba(255,255,255,.76); padding: 18px;
}
.kpi b { display: block; font-size: 15px; margin-bottom: 6px; }
.kpi span { display: block; font-size: 12px; line-height: 1.55; color: #68707b; }
.graph-card {
  height: 220px; margin-top: 16px; border-radius: 26px; border: 1px solid rgba(17,17,20,.08);
  background: linear-gradient(180deg, #fff 0%, #f5f6f8 100%); padding: 18px;
}
.gridline { stroke: rgba(17,17,20,.09); stroke-width: 1; }
.graph-line { fill: none; stroke: url(#lineGrad); stroke-width: 5; stroke-linecap: round; }
.mini-panels {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; margin-top: 14px;
}
.mini-panel {
  min-height: 92px; border-radius: 22px; border: 1px solid rgba(17,17,20,.08);
  background:
    linear-gradient(135deg, rgba(17,17,20,.02), rgba(17,17,20,.05)),
    #ffffff;
}
.floating-chip {
  position: absolute; display: grid; gap: 6px; padding: 16px 18px; min-width: 210px;
  border-radius: 22px; background: rgba(255,255,255,.84); border: 1px solid rgba(17,17,20,.08);
  box-shadow: var(--shadow-2); backdrop-filter: blur(12px);
}
.floating-chip strong { font-size: 15px; }
.floating-chip span { font-size: 12px; color: #66707a; }
.chip-left { left: 0; top: 28px; }
.chip-right { right: 0; bottom: 10px; }

.intro-band {
  padding: 100px 0 90px; background: #fff;
}
.intro-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: end;
}
.intro-grid h2,
.section-heading h2,
.split-copy h2,
.process-intro h2,
.company-copy h2,
.cta-card h2,
.legal-shell h1 {
  margin: 10px 0 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.055em;
}
.section-light { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-white { background: #fff; }
.section-dark {
  background: radial-gradient(circle at 70% 20%, rgba(80,85,95,.18), transparent 25%), linear-gradient(180deg, #0c0d10 0%, #111317 100%);
  color: var(--dark-text);
}
.solutions { padding: 110px 0 120px; }
.section-heading {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: end; margin-bottom: 42px;
}
.section-heading p:last-child,
.split-copy p:last-child,
.company-copy p,
.cta-card p,
.legal-shell p,
.legal-shell li { color: var(--muted); font-size: 16px; line-height: 1.8; }
.cards-3 {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px;
}
.feature-card {
  min-height: 360px; padding: 28px; border-radius: var(--radius);
  border: 1px solid rgba(17,17,20,.08); background: rgba(255,255,255,.82); box-shadow: 0 10px 28px rgba(17,17,20,.03);
}
.feature-index {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 50%; background: #111114; color: #fff; font-size: 12px; font-weight: 700;
}
.feature-card h3 { margin: 22px 0 14px; font-size: 28px; line-height: 1.15; letter-spacing: -.04em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.feature-card ul { margin: 22px 0 0; padding-left: 18px; color: #464c56; display: grid; gap: 10px; }
.feature-card li { font-size: 14px; }

.split-layout {
  display: grid; grid-template-columns: .94fr 1.06fr; gap: 60px; align-items: start; padding: 120px 0;
}
.split-copy p:last-child { color: var(--dark-muted); }
.stack-cards { display: grid; gap: 14px; }
.stack-card {
  padding: 30px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.stack-card h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.03em; }
.stack-card p { margin: 0; color: var(--dark-muted); font-size: 15px; line-height: 1.8; }

.process { padding: 110px 0; }
.process-grid {
  display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px;
}
.process-list { border-top: 1px solid var(--line); }
.process-item {
  display: grid; grid-template-columns: 68px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line);
}
.process-item span { color: #8b9098; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.process-item h3 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.03em; }
.process-item p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

.company { padding: 110px 0; }
.company-grid {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: start;
}
.info-card {
  border-radius: 34px; background: #fff; border: 1px solid rgba(17,17,20,.08); box-shadow: var(--shadow);
  padding: 30px;
}
.info-card h3 { margin: 0 0 18px; font-size: 28px; letter-spacing: -.04em; }
.info-card dl { margin: 0; }
.info-card dl div {
  display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(17,17,20,.07);
}
.info-card dl div:last-child { border-bottom: 0; }
.info-card dt {
  font-size: 12px; text-transform: uppercase; letter-spacing: .10em; color: #7c828a; font-weight: 700;
}
.info-card dd { margin: 0; font-size: 16px; line-height: 1.7; }
.info-card a { text-decoration: underline; text-underline-offset: 4px; }

.cta-section {
  padding: 0 0 88px; background: linear-gradient(180deg, #0d0f13 0%, #0b0d10 100%); color: #fff;
}
.cta-card {
  margin-top: 0; transform: translateY(-1px);
  display: flex; justify-content: space-between; align-items: end; gap: 36px;
  padding: 46px; border-radius: 34px; background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,.08), transparent 25%),
    linear-gradient(135deg, #1f232b 0%, #111318 65%, #0d0f13 100%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.cta-card p { color: var(--dark-muted); max-width: 760px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; padding-top: 38px;
}
.contact-grid > div {
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,.10);
}
.detail-label {
  display: inline-block; margin-bottom: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #89909b;
}
.contact-grid p { margin: 0; color: #d7dbe0; font-size: 16px; line-height: 1.8; }
.contact-grid a { text-decoration: underline; text-underline-offset: 4px; }

.footer {
  background: #08090b; color: #fff; border-top: 1px solid rgba(255,255,255,.08);
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr .8fr .9fr; gap: 40px; padding: 54px 0 34px;
}
.brand-footer { color: #fff; }
.footer-copy {
  margin: 18px 0 0; color: #96a0aa; font-size: 15px; line-height: 1.8; max-width: 520px;
}
.footer h3 { margin: 0 0 16px; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: #8e97a2; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links li { color: #d7dbe0; font-size: 15px; line-height: 1.6; }
.footer-links a { color: #d7dbe0; }
.footer-bottom {
  padding: 18px 0 26px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 20px; color: #87909a; font-size: 12px;
}
.footer-legal { background: #0a0b0d; }

.legal-header { position: sticky; }
.legal-page {
  min-height: calc(100vh - 160px);
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f9 100%);
  padding: 76px 0 100px;
}
.legal-shell {
  max-width: 880px;
}
.legal-updated {
  margin-top: 16px; color: #8a8f97 !important; font-size: 13px !important;
}
.legal-shell h2 {
  margin: 36px 0 12px; font-size: 26px; line-height: 1.2; letter-spacing: -.03em;
}
.legal-shell a { text-decoration: underline; text-underline-offset: 4px; }

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

@media (max-width: 1040px) {
  .hero-grid,
  .intro-grid,
  .section-heading,
  .split-layout,
  .process-grid,
  .company-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid { min-height: auto; padding: 38px 0 56px; }
  .hero-visual { min-height: 520px; }
  .cta-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  .nav, .nav-button { display: none; }
  .menu-toggle { display: inline-flex; }
  .cards-3,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .company-grid,
  .split-layout,
  .process-grid { gap: 42px; }
  .device-card { inset: 58px 0 26px 0; }
  .chip-left { left: 8px; }
  .chip-right { right: 8px; }
  .info-card dl div { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1200px); }
  .nav-shell { min-height: 70px; }
  .hero h1 { font-size: 50px; }
  .hero-lead { font-size: 17px; }
  .hero-visual { min-height: 420px; }
  .device-card { border-radius: 24px; }
  .device-body { grid-template-columns: 58px 1fr; }
  .device-main { padding: 14px; }
  .kpi-row { grid-template-columns: 1fr; }
  .graph-card { height: 170px; }
  .mini-panels { grid-template-columns: 1fr; }
  .floating-chip { min-width: 180px; padding: 12px 14px; }
  .chip-left { top: 10px; }
  .chip-right { bottom: -4px; }
  .intro-band,
  .solutions,
  .process,
  .company { padding-top: 78px; padding-bottom: 78px; }
  .split-layout { padding: 82px 0; }
  .feature-card { min-height: auto; }
  .feature-card h3, .stack-card h3, .process-item h3, .info-card h3 { font-size: 24px; }
  .cta-card { padding: 28px; border-radius: 24px; }
  .footer-bottom { flex-direction: column; }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(17,17,20,.08);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #4a505a;
  border-radius: 999px;
  padding: 8px 10px;
  min-width: 42px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.lang-btn.active {
  background: #111114;
  color: #fff;
}

@media (max-width: 900px) {
  .lang-switch {
    order: 2;
    margin-left: auto;
  }
}

@media (max-width: 680px) {
  .lang-btn {
    min-width: 38px;
    padding: 7px 8px;
  }
}
