:root {
  --bg: #000000;
  --card-bg: #0b0b0d;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(255, 255, 255, 0.16);
  --title: #f2f3f5;
  --heading: #ffffff;
  --subtitle: #b6bac2;
  --muted: #8b93a7;
  --feature: #9aa1b0;
  --btn-bg: #f5f6f7;
  --btn-text: #0b0b0d;
}

::selection {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--subtitle);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "SF Pro Display", "SF Pro Text", "Segoe UI", "Helvetica Neue", Helvetica,
    Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 140px 0 40px;
}

/* Soft glow behind the hero so the black page has some depth */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100vw);
  height: 420px;
  background: radial-gradient(
    ellipse at center top,
    rgba(120, 140, 190, 0.14),
    transparent 70%
  );
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero h1 {
  font-size: 84px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--title);
  background: linear-gradient(180deg, #ffffff 30%, #a9aeba 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .tagline {
  font-size: 24px;
  color: var(--subtitle);
  margin-top: 20px;
  font-weight: 400;
}

.hero .description {
  max-width: 760px;
  margin: 26px auto 0;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Sections ---------- */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px 26px;
  font-size: 17px;
  color: var(--feature);
  transition: border-color 0.25s ease, background 0.25s ease,
    transform 0.25s ease;
}

.feature-card:hover {
  border-color: var(--card-border-hover);
  background: #101013;
  transform: translateY(-2px);
}

/* ---------- Info cards (Need Help / Privacy) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 40px 0 80px;
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 34px 36px;
  transition: border-color 0.25s ease;
}

.info-card:hover {
  border-color: var(--card-border-hover);
}

.info-card h2 {
  font-size: 26px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.info-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-box {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 15px;
  color: var(--muted);
}

.contact-box a {
  display: block;
  margin-top: 6px;
  color: #d8dbe2;
  text-decoration: none;
  font-size: 16px;
}

.contact-box a:hover {
  text-decoration: underline;
}

.privacy-btn {
  display: inline-block;
  margin-top: 22px;
  width: 100%;
  text-align: center;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.privacy-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.privacy-btn:focus-visible,
.lang-btn:focus-visible,
.back-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 28px 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: var(--muted);
}

.footer-copy {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
}

.footer > span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* ---------- Language selector ---------- */
.lang-buttons {
  display: inline-flex;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  color: var(--subtitle);
}

.lang-btn.active {
  background: var(--btn-bg);
  color: var(--btn-text);
}

/* ---------- Privacy policy page ---------- */
.back-link {
  display: inline-block;
  padding: 40px 0 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
}

.back-link:hover {
  color: var(--subtitle);
}

.policy-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 52px 56px;
  margin: 16px 0 60px;
}

.policy-card h1 {
  font-size: 40px;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -0.01em;
}

.policy-updated {
  color: var(--muted);
  font-size: 16px;
  margin-top: 8px;
}

.policy-section {
  margin-top: 40px;
}

.policy-section h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 12px;
}

.policy-section p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
}

.policy-email {
  display: inline-block;
  margin-top: 12px;
  color: #d8dbe2;
  font-size: 16px;
  text-decoration: none;
}

.policy-email:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .hero {
    padding: 90px 0 20px;
  }
  .hero h1 {
    font-size: 56px;
  }
  .hero .tagline {
    font-size: 20px;
  }
  .features-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
  .policy-card {
    padding: 32px 24px;
  }
  .policy-card h1 {
    font-size: 30px;
  }
  .footer {
    flex-direction: column;
    gap: 8px;
  }
}
