:root {
  --ink: #f3f8fb;
  --muted: #a8bbc6;
  --dim: #718895;
  --deep: #07131c;
  --ocean: #0a3a4b;
  --reef: #0f5f68;
  --panel: #102231;
  --panel-2: #173244;
  --line: rgba(126, 230, 238, 0.22);
  --gold: #f6b83f;
  --gold-2: #ffd166;
  --coral: #ff694d;
  --cyan: #7ee6ee;
  --green: #5ee0a1;
  --max: 1160px;
  --header-h: 72px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--deep);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 40px, var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  background: rgba(7, 19, 28, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(100% - 40px, var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}
.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--reef), var(--gold));
  color: #061018;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.main-nav a,
.lang-switch {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  padding: 9px 11px;
  border-radius: 8px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.main-nav a:hover,
.lang-switch:hover {
  color: var(--ink);
  background: rgba(126, 230, 238, 0.1);
}
.lang-switch {
  border: 1px solid var(--line);
  color: var(--cyan);
  flex-shrink: 0;
}
.burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 19px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #061018;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 24px rgba(246, 184, 63, .22);
}
.btn-secondary {
  color: var(--ink);
  background: rgba(126, 230, 238, .12);
  border: 1px solid var(--line);
}
.btn-coral {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #e24b35);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  padding: 70px 0 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 105, 77, .16), transparent 28%),
    radial-gradient(circle at 85% 5%, rgba(126, 230, 238, .22), transparent 30%),
    linear-gradient(140deg, #07131c 0%, #07364f 54%, #0e2530 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(126, 230, 238, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(126, 230, 238, .08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 44px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  color: var(--gold-2);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: .95;
  letter-spacing: 0;
  max-width: 720px;
}
.hero-copy {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(7, 19, 28, .38);
  font-size: .86rem;
}
.hero-media {
  position: relative;
  border: 1px solid rgba(126, 230, 238, .24);
  border-radius: 8px;
  overflow: hidden;
  background: #061018;
  box-shadow: 0 30px 90px rgba(0,0,0,.46);
}
.hero-media img {
  width: 100%;
  aspect-ratio: 1.58 / 1;
  object-fit: cover;
}
.quick-stats {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.quick-stats div {
  padding: 10px;
  border-radius: 8px;
  background: rgba(7, 19, 28, .78);
  border: 1px solid rgba(126, 230, 238, .18);
}
.quick-stats span {
  display: block;
  color: var(--dim);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}
.quick-stats strong {
  display: block;
  color: var(--gold-2);
  font-size: .98rem;
  line-height: 1.2;
}

section { padding: 74px 0; }
.band { background: #0a1b26; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: 0; }
.section-head p { margin-top: 12px; color: var(--muted); }

.demo-frame {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(246, 184, 63, .42);
  background: #03080d;
  box-shadow: 0 24px 70px rgba(0,0,0,.44);
  aspect-ratio: 16 / 9;
  min-height: 540px;
}
.demo-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #03080d;
}
.demo-actions { display: flex; justify-content: center; margin-top: 22px; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.fact-card,
.info-card,
.review-card,
.toc,
.author-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(23, 50, 68, .96), rgba(13, 29, 40, .96));
}
.fact-card {
  padding: 17px 14px;
  text-align: center;
}
.fact-card span {
  display: block;
  color: var(--dim);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.fact-card strong { color: var(--ink); font-size: 1rem; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.info-card { padding: 24px; }
.info-card .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  color: #061018;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  font-weight: 900;
}
.info-card h3 { margin-bottom: 8px; font-size: 1.12rem; }
.info-card p { color: var(--muted); }

.content-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 18px;
}
.toc strong { display: block; margin-bottom: 10px; }
.toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  border-top: 1px solid rgba(126, 230, 238, .1);
}
.toc a:hover { color: var(--cyan); }
.review-card { padding: 34px; }
.review-card h2,
.review-card h3 { margin: 26px 0 10px; }
.review-card h2:first-child { margin-top: 0; }
.review-card p { color: var(--muted); margin: 0 0 16px; }
.review-card ul { margin: 0 0 18px 20px; color: var(--muted); }
.review-card li { margin: 6px 0; }
.review-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  overflow: hidden;
  border-radius: 8px;
}
.review-card th,
.review-card td {
  padding: 12px 14px;
  border: 1px solid rgba(126, 230, 238, .15);
  text-align: left;
}
.review-card th {
  background: rgba(126, 230, 238, .1);
  color: var(--cyan);
}
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 105, 77, .18), rgba(246, 184, 63, .16));
  border: 1px solid rgba(246, 184, 63, .26);
}
.cta-strip p { margin: 0; color: var(--ink); font-weight: 750; }

.author-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px;
}
.author-avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #061018;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  font-size: 2rem;
  flex: 0 0 auto;
}
.author-card p { color: var(--muted); }

.site-footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  background: #061018;
}
.site-footer p { max-width: 940px; font-size: .9rem; }

.main-nav.nav-open {
  display: flex;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 16px 20px 24px;
  background: #07131c;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 1040px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .fact-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 760px) {
  .container,
  .header-inner { width: min(100% - 28px, var(--max)); }
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .lang-switch { margin-left: auto; }
  .burger { display: block; }
  .hero { min-height: auto; padding: 38px 0 44px; }
  .hero-actions .btn,
  .demo-actions .btn { width: 100%; }
  .quick-stats {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    padding: 12px;
    background: rgba(7,19,28,.85);
  }
  .demo-frame { min-height: 430px; aspect-ratio: 4 / 5; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-strip { align-items: stretch; flex-direction: column; }
  .cta-strip .btn { width: 100%; }
  .author-card { align-items: flex-start; }
}

@media (max-width: 440px) {
  h1 { font-size: 2.65rem; }
  section { padding: 54px 0; }
  .demo-frame { min-height: 360px; }
  .review-card { padding: 22px; }
  .review-card table { font-size: .86rem; }
  .review-card th,
  .review-card td { padding: 9px 8px; }
}
