:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #0d0d0d;
  --surface-2: #151515;
  --line: rgba(255,255,255,.13);
  --text: #f4f4f4;
  --muted: #929292;
  --accent: #f1f1f1;
  --accent-text: #090909;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 5%, rgba(255,255,255,.08), transparent 30%),
    radial-gradient(circle at 5% 80%, rgba(255,255,255,.045), transparent 34%),
    var(--bg);
  font-family: "Segoe UI", sans-serif;
  animation: page-in .45s ease both;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background-image: radial-gradient(rgba(255,255,255,.35) .55px, transparent .7px);
  background-size: 19px 19px;
}
a { color: inherit; }
.shell { position: relative; width: min(100% - 30px, 960px); margin: 0 auto; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; font-size: 16px; font-weight: 850; letter-spacing: -.03em; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 9px 12px; border-radius: 11px; color: var(--muted); text-decoration: none; font-size: 12px; transition: color .25s ease, background .25s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-links .language { min-width: 36px; border: 1px solid var(--line); color: var(--text); text-align: center; cursor: pointer; }
.nav-links .language:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.3); }
.hero { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); align-items: center; gap: clamp(34px, 7vw, 90px); min-height: calc(100vh - 145px); padding: 68px 0; }
.hero-copy { animation: hero-copy-in .6s cubic-bezier(.2,.8,.2,1) both; }
.eyebrow { margin: 0 0 16px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .22em; }
h1 { max-width: 700px; margin: 0; font-size: clamp(42px, 6.4vw, 72px); line-height: .98; letter-spacing: -.06em; }
.lead { max-width: 590px; margin: 28px 0 0; color: var(--muted); font-size: clamp(15px, 2.2vw, 18px); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { position: relative; padding: 13px 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); text-decoration: none; font-size: 13px; font-weight: 750; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, background .35s ease, box-shadow .35s ease, color .35s ease; }
.button.primary { color: var(--accent-text); border-color: var(--accent); background: var(--accent); }
.button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.3); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.button:active { transform: translateY(1px); transition-duration: .12s; }
.home-main { display: grid; place-items: center; min-height: calc(100vh - 159px); padding: 70px 0; }
.home-card { width: min(100%, 720px); padding: clamp(34px, 6vw, 58px); border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, rgba(17,17,17,.96), rgba(8,8,8,.98)); box-shadow: 0 28px 80px rgba(0,0,0,.3); text-align: center; animation: panel-in .6s cubic-bezier(.2,.8,.2,1) both; }
.home-card .eyebrow { margin: 22px 0 14px; }
.home-card h1 { max-width: 620px; margin: 0 auto; font-size: clamp(36px, 6vw, 58px); line-height: 1.04; letter-spacing: -.05em; }
.home-card .lead { max-width: 560px; margin: 22px auto 0; }
.home-card .actions { justify-content: center; }
.home-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto; }
.home-mark::before { content: ""; width: 27px; height: 27px; border-radius: 50%; box-shadow: -8px 0 0 0 var(--accent); transform: translateX(5px); filter: drop-shadow(0 8px 16px rgba(255,255,255,.14)); }
.service-strip { display: flex; justify-content: center; gap: 8px 18px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.service-strip span { display: inline-flex; align-items: center; gap: 7px; }
.service-strip i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(255,255,255,.35); }
.product-panel { position: relative; overflow: hidden; padding: 17px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(22,22,22,.96), rgba(8,8,8,.98)); box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: panel-in .65s .08s cubic-bezier(.2,.8,.2,1) both; }
.product-panel::before { content: ""; position: absolute; inset: -35% 25% 45% -20%; border-radius: 50%; background: rgba(255,255,255,.06); filter: blur(35px); }
.product-head, .product-foot { position: relative; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.product-head span { display: flex; align-items: center; gap: 7px; }
.product-head i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(255,255,255,.5); }
.method-mark { position: relative; display: grid; place-items: center; width: 92px; height: 92px; margin: 28px auto 25px; }
.method-mark div, .method-mark::before, .method-mark::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 50%; }
.method-mark::before { inset: 12px; border-style: dashed; animation: mark-spin 18s linear infinite; }
.method-mark::after { inset: 27px; background: var(--accent); }
.method-mark span { position: relative; z-index: 1; color: var(--accent-text); font-size: 20px; font-weight: 900; }
.workflow { position: relative; display: grid; gap: 7px; }
.workflow-row { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 13px; color: var(--muted); background: rgba(5,5,5,.65); transition: transform .3s ease, color .3s ease, border-color .3s ease, background .3s ease; }
.workflow-row:hover { transform: translateX(3px); color: var(--text); border-color: rgba(255,255,255,.23); }
.workflow-row.active { color: var(--text); background: rgba(255,255,255,.07); }
.workflow-row b { font-size: 9px; }.workflow-row span { font-size: 12px; font-weight: 750; }.workflow-row small { font-size: 9px; }
.product-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-bottom: 70px; }
.feature { min-height: 150px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(13,13,13,.88); animation: card-in .5s cubic-bezier(.2,.8,.2,1) both; transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.feature:nth-child(2) { animation-delay: .08s; }
.feature:nth-child(3) { animation-delay: .16s; }
.feature:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.22); background: rgba(18,18,18,.94); }
.feature span { color: var(--muted); font-size: 11px; }
.feature h2 { margin: 30px 0 7px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.document { width: min(100% - 30px, 780px); margin: 0 auto; padding: 60px 0 90px; }
.document-header { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.document h1 { font-size: clamp(34px, 7vw, 62px); }
.updated { display: block; margin-top: 16px; color: var(--muted); font-size: 11px; }
.section { padding: 25px 0; border-bottom: 1px solid var(--line); animation: section-in .45s ease both; }
.section:nth-of-type(2) { animation-delay: .03s; }
.section:nth-of-type(3) { animation-delay: .06s; }
.section:nth-of-type(4) { animation-delay: .09s; }
.section:nth-of-type(5) { animation-delay: .12s; }
.section h2 { margin: 0 0 12px; font-size: 17px; }
.section p, .section li { color: var(--muted); font-size: 13px; line-height: 1.65; }
.section p { margin: 0; }
.section ul { margin: 0; padding-left: 20px; }
.section strong { color: var(--text); }
.contact { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer div { display: flex; gap: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }
body { transition: opacity .2s ease; }
body.language-switching { opacity: .42; pointer-events: none; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes section-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes hero-copy-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes mark-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}
@media (max-width: 650px) {
  .nav { min-height: 66px; }
  .brand { font-size: 13px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 7px 6px; font-size: 10px; }
  .nav-links .language { min-width: 31px; }
  .home-main { min-height: calc(100vh - 140px); padding: 42px 0; }
  .home-card { border-radius: 21px; }
  .service-strip { flex-direction: column; align-items: center; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 70px 0 52px; }
  .product-panel { width: 100%; max-width: 420px; margin: 0 auto; border-radius: 20px; }
  .features { grid-template-columns: 1fr; }
  .feature { min-height: 120px; }
  .feature h2 { margin-top: 18px; }
  .footer { flex-direction: column; }
}
