:root {
  --bg: #0f1117;
  --bg-elevated: #171b26;
  --bg-card: #1d2230;
  --text: #eef1f7;
  --text-muted: #9aa3b5;
  --accent: #ff7a1a;
  --accent-2: #ffca3a;
  --border: #2a3040;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  background-image: radial-gradient(1200px 500px at 20% -10%, rgba(255, 122, 26, 0.12), transparent 60%),
    radial-gradient(900px 400px at 90% 0%, rgba(255, 202, 58, 0.08), transparent 55%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.4px;
}

.brand::first-letter,
.brand:first-letter {
  color: var(--accent);
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 600;
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  padding: 96px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 760px;
  margin: 0 auto 20px;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 36px;
}

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

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a1200;
  box-shadow: 0 8px 24px rgba(255, 122, 26, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(255, 122, 26, 0.45);
}

.btn-store {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  margin-top: 16px;
  font-size: 0.9rem;
}

.btn-store:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  box-shadow: 0 6px 18px rgba(255, 122, 26, 0.2);
}

/* Apps */
.apps-section {
  padding: 64px 0 96px;
}

.apps-section h2 {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
}

.section-note {
  color: var(--text-muted);
  text-align: center;
  margin: 8px 0 40px;
}

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

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 26, 0.5);
}

.app-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.app-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.app-tagline {
  color: var(--accent-2);
  font-weight: 600;
  margin: 4px 0 12px;
}

.app-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-2);
}

/* Privacy page */
.privacy-page {
  padding: 64px 0 96px;
  max-width: 760px;
}

.privacy-page h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.privacy-page .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.privacy-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--accent-2);
}

.privacy-page p,
.privacy-page li {
  color: var(--text-muted);
}

.privacy-page ul,
.privacy-page ol {
  padding-left: 22px;
  margin: 8px 0;
}

.privacy-page li {
  margin: 4px 0;
}

@media (max-width: 560px) {
  .hero {
    padding: 64px 0 56px;
  }

  .app-card {
    padding: 22px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}