:root {
  color-scheme: dark;
  --bg: #070812;
  --panel: #10142a;
  --panel-2: #172142;
  --line: #28345f;
  --text: #f6f8ff;
  --muted: #aeb8d8;
  --accent: #ef3f68;
  --accent-2: #3fb2ff;
  --ok: #22c55e;
  --warn: #f59e0b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at 20% 0%, #15204a 0, #070812 38%, #05060d 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(7, 8, 18, .88);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 210px; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 10px; background: linear-gradient(135deg, #113a72, #0d1023 55%, #ef3f68);
  color: white; font-weight: 900; font-size: 23px; box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset;
}
.brand small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.nav { display: flex; gap: 6px; flex: 1; justify-content: center; }
.nav a, .top-action, .btn, .language-switch button {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  color: #eef2ff;
  background: rgba(255,255,255,.04);
}
.nav a:hover, .top-action:hover, .btn:hover, .language-switch button:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); }
.top-action, .btn.primary { background: var(--accent); border-color: var(--accent); }
.language-switch { display: inline-flex; gap: 4px; }
.language-switch button { cursor: pointer; padding: 9px 10px; font-size: 12px; }
.language-switch button.active { background: #1d4ed8; border-color: #60a5fa; }
main { overflow: hidden; }
.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: clamp(26px, 5vw, 74px);
  padding: clamp(34px, 6vw, 82px) clamp(18px, 4vw, 56px) 42px;
}
.hero-copy { max-width: 640px; }
.eyebrow { color: #7dd3fc; text-transform: uppercase; letter-spacing: 0; font-size: 13px; font-weight: 800; }
h1 { font-size: clamp(56px, 8vw, 116px); line-height: .86; margin: 10px 0 20px; letter-spacing: 0; }
h2 { font-size: clamp(30px, 4vw, 54px); margin: 0 0 12px; letter-spacing: 0; }
h3 { margin: 0 0 8px; }
.lead, .section-head p { color: var(--muted); font-size: 18px; line-height: 1.55; }
.hero-kicker { margin: -8px 0 18px; color: #7dd3fc; font-size: clamp(20px, 2.2vw, 32px); font-weight: 900; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn.secondary { background: rgba(255,255,255,.07); }
.hero-media { min-height: 520px; display: grid; place-items: center; }
.hero-shot, .product-shot {
  margin: 0;
  background: #05060d;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,.45), 0 0 0 10px rgba(255,255,255,.03);
}
.hero-shot { width: min(100%, 880px); transform: perspective(1100px) rotateY(-6deg) rotateX(2deg); transform-origin: center; }
.hero-shot img, .product-shot img { display: block; width: 100%; height: auto; }
.section { padding: 78px clamp(18px, 4vw, 56px); }
.section-head { max-width: 780px; margin-bottom: 28px; }
.showcase-section, .contact-section { background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)); }
.showcase-feature {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(420px, 1.28fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}
.showcase-copy, .contact-card, .contact-form {
  background: linear-gradient(180deg, rgba(23,33,66,.96), rgba(12,16,36,.96));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 28px;
}
.showcase-copy p, .contact-card p { color: var(--muted); line-height: 1.58; }
.product-shot.large { border-radius: 12px; }
.showcase-grid, .contact-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.news-grid, .module-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shot-card, .card, .download-card, .feature-grid article {
  background: linear-gradient(180deg, rgba(23,33,66,.92), rgba(12,16,36,.94));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 22px;
}
.shot-card { padding: 16px; }
.shot-card .product-shot { margin-bottom: 16px; border-radius: 8px; box-shadow: none; }
.card time, .tag { color: #93c5fd; font-size: 13px; font-weight: 800; }
.card p, .download-card p, .feature-grid p { color: var(--muted); line-height: 1.55; }
.download-list { display: grid; gap: 14px; }
.download-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.version-line { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; color: var(--muted); }
.badge { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 999px; background: rgba(63,178,255,.14); color: #bfdbfe; font-size: 12px; font-weight: 800; }
.badge.ok { background: rgba(34,197,94,.15); color: #bbf7d0; }
.badge.warn { background: rgba(245,158,11,.16); color: #fde68a; }
.download-button { display: inline-flex; justify-content: center; min-width: 148px; padding: 12px 16px; border-radius: 8px; background: var(--accent); color: white; font-weight: 900; }
.download-button.disabled { background: #303752; color: #9aa6c8; pointer-events: none; }
.checksum { display: inline-block; margin-top: 10px; padding: 6px 8px; border-radius: 6px; background: rgba(255,255,255,.06); color: #bfdbfe; font-size: 12px; word-break: break-all; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; color: var(--muted); font-weight: 700; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid rgba(255,255,255,.12); border-radius: 8px;
  background: #0d1430; color: var(--text); padding: 12px 14px; font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(63,178,255,.35); border-color: #60a5fa; }
.contact-card a { color: #7dd3fc; font-weight: 900; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px clamp(18px, 4vw, 56px); border-top: 1px solid rgba(255,255,255,.08); color: var(--muted); }
.footer strong { color: var(--text); }
@media (max-width: 1120px) {
  .topbar { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
}
@media (max-width: 980px) {
  .hero, .showcase-feature, .showcase-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-media { min-height: 360px; order: -1; }
  .news-grid, .module-grid, .feature-grid { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { overflow-x: hidden; }
  .topbar { gap: 10px; padding: 10px 14px; }
  .brand { min-width: 0; gap: 10px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 9px; font-size: 21px; }
  .brand small { display: none; }
  .top-action { margin-left: auto; padding: 9px 12px; }
  .language-switch { order: 2; }
  .language-switch button { padding: 8px 9px; }
  .nav { gap: 4px; }
  .nav a { white-space: nowrap; padding: 9px 12px; }
  h1 { font-size: 54px; }
  .hero { padding: 26px 14px 38px; gap: 24px; }
  .hero-media { min-height: 250px; }
  .hero-shot { width: 100%; transform: none; border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.42), 0 0 0 6px rgba(255,255,255,.03); }
  .hero-actions .btn, .download-button, .contact-form .btn { width: 100%; justify-content: center; }
  .section { padding: 58px 14px; }
  .showcase-copy, .contact-card, .contact-form, .card, .download-card, .feature-grid article { padding: 18px; }
  .shot-card { padding: 12px; }
  .version-line { gap: 6px; }
  .checksum { max-width: 100%; }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .top-action { display: none; }
  .lead, .section-head p { font-size: 16px; }
  .hero-kicker { font-size: 20px; }
}
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 0%, #172554 0, #070812 45%, #05060d 100%);
}
.error-box {
  width: min(100%, 620px);
  text-align: center;
  background: linear-gradient(180deg, rgba(23,33,66,.96), rgba(12,16,36,.96));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 42px 26px;
  box-shadow: 0 28px 90px rgba(0,0,0,.45);
}
.error-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
  margin-bottom: 20px;
}
.error-brand img { width: 42px; height: 42px; border-radius: 10px; }
.error-label { color: #7dd3fc; text-transform: uppercase; font-weight: 900; margin: 0 0 8px; }
.error-box h1 { margin: 0 0 12px; font-size: clamp(34px, 6vw, 64px); }
.error-box p { color: var(--muted); margin-bottom: 24px; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }