:root {
  --brand: #40E0D0;
  --brand-dark: #2bb8a8;
  --brand-glow: rgba(64, 224, 208, 0.15);
  --bg: #0a0c0f;
  --bg2: #111418;
  --bg3: #1a1f26;
  --border: rgba(64, 224, 208, 0.2);
  --text: #e8eaed;
  --text-muted: #8b949e;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

/* HERO */
.hero {
  padding: 7rem 2rem 5rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-glow);
  border: 1px solid var(--border);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero h1 span { color: var(--brand); }

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

/* SECTION */
section {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* APP CARD */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.app-card:hover {
  border-color: var(--brand);
  box-shadow: 0 0 24px var(--brand-glow);
  transform: translateY(-2px);
}

.app-card-icon {
  width: 52px;
  height: 52px;
  background: var(--brand-glow);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.app-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.app-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.app-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.tag-live { background: rgba(64, 224, 208, 0.12); color: var(--brand); border: 1px solid rgba(64,224,208,0.3); }
.tag-soon { background: rgba(255, 184, 0, 0.1); color: #fbb040; border: 1px solid rgba(255,184,0,0.25); }

/* STORE BUTTONS */
.store-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}

.store-btn:hover { border-color: var(--brand); background: var(--brand-glow); color: #fff; }
.store-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* DIVIDER */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  max-width: 960px;
  margin: 0 auto;
}

/* FOOTER */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  max-width: 260px;
}

.footer-links-group h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-group a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links-group a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

/* LEGAL PAGES */
.legal-hero {
  padding: 4rem 2rem 2rem;
  max-width: 760px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.legal-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.5rem;
}

.legal-hero p { color: var(--text-muted); font-size: 0.9rem; }

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal-content ul, .legal-content ol {
  color: var(--text-muted);
  font-size: 0.92rem;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal-content a {
  color: var(--brand);
  text-decoration: none;
}

.legal-content a:hover { text-decoration: underline; }

.legal-highlight {
  background: var(--brand-glow);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0 1.5rem;
}

.legal-highlight p { margin: 0; color: var(--text); }

/* RESPONSIVE */
@media (max-width: 640px) {
  nav { padding: 0 1.25rem; }
  .nav-links { gap: 1.25rem; }
  .hero { padding: 5rem 1.25rem 3rem; }
  section { padding: 3rem 1.25rem; }
  .footer-top { flex-direction: column; }
  .legal-hero, .legal-content { padding-left: 1.25rem; padding-right: 1.25rem; }
}
