@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --background: #08090c;
  --surface: #101217;
  --surface-hover: #161920;
  --border: #242832;
  --text: #f5f7fa;
  --muted: #9298a5;
  --accent: #7c5cff;
  --accent-hover: #9176ff;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(124, 92, 255, 0.14),
      transparent 40%
    ),
    var(--background);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.7;
}

/* NAVBAR */

.navbar {
  width: 100%;
  height: 72px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
}

.navbar nav {
  display: flex;
  gap: 28px;
}

.navbar nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s ease;
}

.navbar nav a:hover {
  color: var(--text);
}

/* HERO */

.hero {
  max-width: 900px;
  min-height: calc(100vh - 140px);
  margin: auto;
  padding: 150px 25px 100px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.badge {
  display: inline-flex;
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.hero h1 {
  margin-top: 25px;
  font-size: clamp(52px, 10vw, 100px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -5px;
}

.subtitle {
  margin-top: 20px;
  font-size: 20px;
  color: var(--muted);
}

.description {
  max-width: 650px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 15px;
}

.buttons {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.button {
  display: inline-flex;
  padding: 13px 22px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

.button.primary {
  color: white;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
}

.button.secondary:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
}

/* LEGAL */

.legal {
  width: min(900px, calc(100% - 40px));
  margin: auto;
  padding: 90px 0 120px;
}

.legal-header {
  padding-bottom: 45px;
  margin-bottom: 45px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  margin-top: 20px;
  font-size: clamp(38px, 7vw, 62px);
  letter-spacing: -2px;
  line-height: 1.1;
}

.legal-header p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 13px;
}

section {
  margin-bottom: 45px;
}

section h2 {
  margin-bottom: 14px;
  font-size: 22px;
  letter-spacing: -0.5px;
}

section p {
  margin-bottom: 15px;
  color: #b7bbc5;
  font-size: 15px;
}

section ul {
  margin: 15px 0 15px 25px;
  color: #b7bbc5;
}

section li {
  margin-bottom: 8px;
}

.back {
  padding-top: 25px;
  border-top: 1px solid var(--border);
}

.back a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.back a:hover {
  color: var(--text);
}

/* FOOTER */

footer {
  border-top: 1px solid var(--border);
  padding: 30px 20px;
  text-align: center;
  color: #666c78;
  font-size: 12px;
}

footer p + p {
  margin-top: 5px;
}

/* MOBILE */

@media (max-width: 600px) {

  .navbar {
    padding: 0 20px;
  }

  .navbar nav {
    gap: 15px;
  }

  .navbar nav a {
    font-size: 13px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero h1 {
    letter-spacing: -3px;
  }

  .subtitle {
    font-size: 17px;
  }

  .legal {
    width: min(100% - 30px, 900px);
    padding-top: 60px;
  }

  .legal-header {
    padding-bottom: 30px;
    margin-bottom: 35px;
  }

  section h2 {
    font-size: 20px;
  }

  section p,
  section li {
    font-size: 14px;
  }

  .buttons {
    width: 100%;
    flex-direction: column;
  }

  .button {
    justify-content: center;
    width: 100%;
  }
}
