:root {
  --background: #0f172a;
  --surface: rgba(15, 23, 42, 0.85);
  --accent: #38bdf8;
  --accent-dark: #0ea5e9;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5f5;
  --border: rgba(148, 163, 184, 0.25);
  --card-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
  --radius-lg: 20px;
  --transition: all 200ms ease;
}

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

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #020817 0%, #0b1120 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-image {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.12);
  padding: 10px;
  box-shadow: 0 12px 24px rgba(56, 189, 248, 0.25);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-weight: 600;
  font-size: 1.35rem;
}

.brand-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--card-shadow);
  margin-bottom: 48px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.2rem);
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-logo {
  width: clamp(160px, 22vw, 220px);
  display: block;
  margin-bottom: 32px;
  filter:
    drop-shadow(0 12px 24px rgba(56, 189, 248, 0.35))
    drop-shadow(0 0 24px rgba(14, 165, 233, 0.25));
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  padding: 12px 22px;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.55);
  box-shadow: 0 10px 24px rgba(8, 47, 73, 0.25);
  color: var(--text-primary);
  font-weight: 600;
  transition: var(--transition);
  text-transform: none;
}

.store-button.apple {
  background: linear-gradient(135deg, #1f2937, #111827);
  border-color: rgba(148, 163, 184, 0.3);
}

.store-button.google {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(14, 165, 233, 0.15));
  border-color: rgba(56, 189, 248, 0.35);
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(8, 47, 73, 0.35);
  border-color: var(--accent);
}

.store-icon {
  width: 28px;
  height: 28px;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-small {
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-large {
  font-size: 1.05rem;
  font-weight: 600;
}

.button-primary {
  background: var(--accent);
  color: var(--background);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  transition: var(--transition);
}

.button-primary:hover {
  background: #7dd3fc;
  transform: translateY(-1px);
}

.button-secondary {
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 600;
  transition: var(--transition);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.section {
  margin-bottom: 56px;
}

.section h2 {
  font-size: 1.9rem;
  margin-bottom: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

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

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-secondary);
}

.list {
  display: grid;
  gap: 12px;
  color: var(--text-secondary);
}

.list li {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}

.support-cta {
  margin-top: 32px;
  font-weight: 600;
}

footer {
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  color: var(--text-secondary);
}

footer ul {
  list-style: none;
  display: flex;
  gap: 16px;
}

.legal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  margin-top: 32px;
}

.legal h2 {
  margin-bottom: 18px;
}

.legal h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal p,
.legal li {
  color: var(--text-secondary);
}

@media (max-width: 720px) {
  header {
    flex-direction: column;
    gap: 20px;
  }

  .brand {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero {
    padding: 36px 28px;
  }

  .hero-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-actions a {
    width: 100%;
    text-align: center;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
