:root {
  --bg: #0E1120;
  --bg-alt: #131831;
  --card: #1A1F33;
  --accent: #7C6CF0;
  --accent-2: #9B8CFF;
  --gold: #FFD54F;
  --text: #E8ECF8;
  --muted: #9AA3C7;
  --border: #262D49;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #fff; }

img { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 17, 32, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.brand img { border-radius: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.nav-links a:not(.btn) { color: var(--muted); }
.nav-links a:not(.btn):hover { color: #fff; }

.lang-select {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
}

.lang-select:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}

.btn:hover { transform: translateY(-1px); color: #fff; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5A4BD1);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 108, 240, 0.35);
}

.btn-primary:hover { box-shadow: 0 12px 30px rgba(124, 108, 240, 0.5); }

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover { border-color: var(--accent-2); }

.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 18px; }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url("../images/hero.png") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(14, 17, 32, 0.92) 0%,
    rgba(14, 17, 32, 0.72) 45%,
    rgba(14, 17, 32, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 96px 24px;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero-sub {
  color: #C7CEEC;
  font-size: 18px;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }

.hero-note { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
  text-align: center;
}

.section-sub {
  color: var(--muted);
  text-align: center;
  margin-bottom: 48px;
  font-size: 17px;
}

.grid {
  display: grid;
  gap: 22px;
}

.features { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover { transform: translateY(-4px); border-color: var(--accent); }

.card-icon { font-size: 34px; margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; font-size: 19px; }
.card p { color: var(--muted); font-size: 15px; }

.artwork { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.screenshots { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.video-wrap {
  max-width: 420px;
  margin: 0 auto 2rem;
}
.video-wrap video {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  display: block;
}
.video-wrap figcaption {
  text-align: center;
  margin-top: 0.5rem;
  color: var(--muted, #666);
  font-size: 0.95rem;
}

figure {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.cta { text-align: center; }
.cta-actions { justify-content: center; }

.test-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  text-align: left;
}

.test-qr img {
  display: block;
  width: 260px;
  height: 260px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.test-copy { max-width: 480px; }
.test-copy .btn { margin-top: 8px; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Privacy prose */
.prose { max-width: 760px; }
.prose h1 { font-size: 38px; margin-bottom: 8px; }
.prose h2 { font-size: 22px; text-align: left; margin: 32px 0 10px; }
.prose p { color: #C7CEEC; margin-bottom: 14px; }
.prose ul { color: #C7CEEC; margin: 0 0 14px 22px; }
.prose li { margin-bottom: 6px; }

@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { min-height: 80vh; }
  .test-wrap { flex-direction: column; text-align: center; }
}
