@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-0: #061226;
  --bg-1: #0b1f3f;
  --bg-2: #0a2f57;
  --panel: rgba(15, 38, 71, 0.72);
  --panel-strong: rgba(12, 33, 62, 0.9);
  --border: rgba(125, 185, 255, 0.32);
  --text: #eaf4ff;
  --muted: #98b5d6;
  --accent: #38c7ff;
  --accent-2: #4df2be;
  --accent-warm: #ffb35c;
  --shadow: 0 20px 70px rgba(0, 11, 30, 0.55);
  --radius-xl: 24px;
  --radius-l: 18px;
  --radius-m: 14px;
  --container: min(1180px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  background:
    radial-gradient(1200px 800px at -5% -10%, #1f4e82 0%, transparent 58%),
    radial-gradient(900px 700px at 105% 0%, #0f5271 0%, transparent 56%),
    linear-gradient(145deg, var(--bg-0), var(--bg-1) 44%, var(--bg-2));
  overflow-x: hidden;
}

.site-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.5;
}

.orb-a {
  width: 420px;
  height: 420px;
  left: -140px;
  top: 14%;
  background: radial-gradient(circle, rgba(53, 181, 255, 0.46), rgba(53, 181, 255, 0));
  animation: driftA 14s ease-in-out infinite;
}

.orb-b {
  width: 340px;
  height: 340px;
  right: -90px;
  top: 52%;
  background: radial-gradient(circle, rgba(77, 242, 190, 0.35), rgba(77, 242, 190, 0));
  animation: driftB 16s ease-in-out infinite;
}

.orb-c {
  width: 280px;
  height: 280px;
  left: 44%;
  top: -120px;
  background: radial-gradient(circle, rgba(255, 179, 92, 0.25), rgba(255, 179, 92, 0));
  animation: driftC 18s ease-in-out infinite;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(117, 170, 220, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 170, 220, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 26%, transparent 90%);
}

@keyframes driftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(42px, -26px) scale(1.08); }
}

@keyframes driftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-34px, 34px) scale(1.1); }
}

@keyframes driftC {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, 40px); }
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 50;
  margin: 14px auto 0;
  width: var(--container);
}

.topbar-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  backdrop-filter: blur(20px);
  background: rgba(6, 20, 42, 0.68);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 22px rgba(56, 199, 255, 0.8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 8px 12px;
  border-radius: 10px;
  transition: 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  background: rgba(53, 147, 224, 0.2);
}

.lang-switch {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.lang-btn {
  color: var(--muted);
  background: rgba(20, 49, 88, 0.6);
  border: 0;
  min-width: 44px;
  padding: 8px 10px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: 180ms ease;
}

.lang-btn:hover {
  color: white;
}

.lang-btn.active {
  color: #031326;
  background: linear-gradient(120deg, var(--accent), #7fd6ff);
}

main {
  padding: 44px 0 70px;
}

.hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 24px;
  align-items: stretch;
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #cff0ff;
  background: rgba(52, 132, 204, 0.24);
  border: 1px solid rgba(132, 205, 255, 0.34);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  line-height: 1.1;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2rem, 5.2vw, 3.5rem);
}

.lead {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  padding: 11px 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,0.35), transparent 85%);
  transform: translateX(-140%);
  transition: transform 450ms ease;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
}

.btn:hover::after {
  transform: translateX(140%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #05203a;
  background: linear-gradient(115deg, var(--accent), #91ddff);
  box-shadow: 0 10px 30px rgba(56, 199, 255, 0.35);
}

.btn-ghost {
  color: #d8ecff;
  border-color: rgba(131, 197, 255, 0.4);
  background: rgba(14, 42, 80, 0.64);
}

.hero-visual {
  padding: 20px;
  display: grid;
  gap: 14px;
  align-content: center;
}

.stat-card {
  border-radius: var(--radius-l);
  border: 1px solid rgba(133, 203, 255, 0.35);
  background: linear-gradient(130deg, rgba(16, 48, 86, 0.95), rgba(7, 27, 55, 0.95));
  padding: 18px;
  display: grid;
  gap: 9px;
  transition: transform 220ms ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-top {
  color: var(--muted);
  font-size: 0.85rem;
}

.stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
}

.cards {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 20px;
  border-radius: var(--radius-l);
  border: 1px solid rgba(125, 186, 255, 0.3);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(158, 216, 255, 0.58);
}

.card h3 {
  font-size: 1.14rem;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  margin-top: 38px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 16px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.kpi {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(131, 194, 255, 0.3);
  background: rgba(10, 31, 58, 0.78);
}

.kpi strong {
  display: block;
  font-size: 1.6rem;
  font-family: 'Sora', sans-serif;
}

.kpi span {
  color: var(--muted);
  font-size: 0.88rem;
}

.download-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.download-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(125, 186, 255, 0.3);
  background: var(--panel-strong);
  display: grid;
  gap: 12px;
}

.download-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.platform {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
}

.chip {
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(132, 202, 255, 0.36);
  background: rgba(26, 66, 113, 0.44);
  color: #caecff;
}

.chip.soon {
  color: #ffe1b6;
  border-color: rgba(255, 179, 92, 0.45);
  background: rgba(108, 62, 8, 0.45);
}

.download-meta {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(133, 201, 255, 0.28);
  background: rgba(11, 33, 63, 0.76);
}

.faq h3 {
  font-size: 1.05rem;
}

.faq p {
  margin: 9px 0 0;
  color: var(--muted);
}

.faq-nav-wrap {
  padding: 22px;
}

.faq-nav-wrap h2 {
  font-size: 1.15rem;
}

.faq-nav {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-search-wrap {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.faq-search-input {
  width: 100%;
  border: 1px solid rgba(132, 203, 255, 0.38);
  background: rgba(8, 30, 57, 0.92);
  color: var(--text);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.faq-search-input::placeholder {
  color: #84a9d2;
}

.faq-search-input:focus {
  border-color: rgba(168, 222, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(56, 199, 255, 0.14);
}

.faq-search-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.faq-jump {
  text-decoration: none;
  color: #d5eaff;
  border: 1px solid rgba(132, 203, 255, 0.38);
  background: rgba(14, 42, 80, 0.64);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1;
  padding: 10px 14px;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.faq-jump:hover {
  transform: translateY(-2px);
  border-color: rgba(166, 224, 255, 0.62);
  color: #ffffff;
}

.faq-root {
  display: grid;
  gap: 16px;
}

.faq-section {
  padding: 22px;
}

.faq-section h2 {
  font-size: 1.26rem;
}

.faq-items {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid rgba(133, 201, 255, 0.28);
  background: rgba(11, 33, 63, 0.76);
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease;
}

.faq-item[open] {
  border-color: rgba(168, 222, 255, 0.58);
  background: rgba(14, 40, 74, 0.9);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  padding: 14px 46px 14px 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8bcfff;
  font-size: 1.2rem;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 0;
  padding: 0 16px 14px;
  color: var(--muted);
  line-height: 1.6;
}

.faq-empty {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(133, 201, 255, 0.28);
  background: rgba(11, 33, 63, 0.76);
  color: var(--muted);
}

.legal-updated {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-root {
  display: grid;
  gap: 14px;
}

.legal-section {
  padding: 22px;
}

.legal-section h2 {
  font-size: 1.24rem;
}

.legal-section p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.legal-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

footer {
  margin: 44px 0 22px;
}

.footer-shell {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(124, 186, 255, 0.28);
  background: rgba(9, 29, 56, 0.7);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  align-items: center;
  column-gap: 16px;
  row-gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-shell > :first-child {
  min-width: 0;
}

.footer-shell > :nth-child(2) {
  white-space: nowrap;
  justify-self: center;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  justify-self: end;
}

.footer-links a {
  color: #cae5ff;
  text-decoration: none;
  border: 1px solid rgba(124, 186, 255, 0.3);
  background: rgba(14, 40, 74, 0.68);
  border-radius: 999px;
  padding: 6px 10px;
  line-height: 1;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
  color: #ffffff;
  border-color: rgba(166, 224, 255, 0.62);
  transform: translateY(-1px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

body.is-loaded .hero .reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .cards,
  .download-grid {
    grid-template-columns: 1fr 1fr;
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .topbar {
    top: 8px;
    margin-top: 8px;
  }

  .footer-shell {
    grid-template-columns: 1fr auto;
  }

  .footer-shell > :first-child {
    grid-column: 1 / -1;
  }

  .footer-shell > :nth-child(2) {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .topbar-shell {
    flex-wrap: wrap;
  }

  .cards,
  .download-grid,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-visual,
  .card,
  .download-card {
    padding: 16px;
  }

  .faq-nav-wrap,
  .faq-section,
  .legal-section {
    padding: 16px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-shell > :first-child,
  .footer-shell > :nth-child(2),
  .footer-links {
    grid-column: 1;
    justify-self: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(1.72rem, 10vw, 2.3rem);
  }
}
