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

:root {
  --bg: #12112a;
  --card: #1a1935;
  --border: #2a2650;
  --accent: #6c63ff;
  --accent-light: #a78bfa;
  --text: #f0eeff;
  --text-secondary: #9b97b8;
  --success: #34d399;
}

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

a {
  color: var(--accent-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */

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

/* Header */

header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

header nav {
  display: flex;
  gap: 24px;
}

header nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

header nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* Hero */

.hero {
  text-align: center;
  padding: 80px 0 64px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 28px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.2s;
}

.store-button:hover {
  border-color: var(--accent);
  text-decoration: none;
}

/* Features */

.features {
  padding: 64px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}

.feature-card .icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Footer */

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 64px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .copyright {
  font-size: 13px;
  color: var(--text-secondary);
}

footer nav {
  display: flex;
  gap: 24px;
}

footer nav a {
  font-size: 13px;
  color: var(--text-secondary);
}

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

/* Legal pages */

.legal {
  padding: 64px 0;
}

.legal h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal .last-updated {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal p,
.legal ul {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal ul {
  padding-left: 24px;
}

.legal li {
  margin-bottom: 8px;
}

.legal a {
  color: var(--accent-light);
}

/* Responsive */

@media (max-width: 640px) {
  .hero {
    padding: 48px 0 40px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  footer .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
