:root {
  --accent: #6366F1;
  --accent-dark: #4F46E5;
  --accent-light: #EEF2FF;
  --success: #34C759;
  --text: #111827;
  --text-secondary: #6B7280;
  --border: #E5E7EB;
  --bg: #F9FAFB;
  --card: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
}

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

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

/* NAV */
nav {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), #7C3AED);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.nav-brand span {
  font-weight: 700;
  font-size: 15px;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* MAIN CONTAINER */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #0D0F1E 0%, #1E1B4B 50%, #312E81 100%);
  color: white;
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero::before {
  width: 400px;
  height: 400px;
  background: rgba(99,102,241,0.2);
  top: -100px;
  right: -80px;
}

.hero::after {
  width: 300px;
  height: 300px;
  background: rgba(124,58,237,0.15);
  bottom: -60px;
  left: -60px;
}

.hero-inner {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.app-icon {
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, var(--accent), #7C3AED);
  border-radius: 22px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  box-shadow: 0 20px 60px rgba(99,102,241,0.4);
}

.hero h1 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  line-height: 1.5;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--text);
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}

@media (max-width: 540px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 28px; }
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

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

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

/* LEGAL PAGES */
.page-header {
  padding: 48px 0 32px;
}

.page-header h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.page-header .meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.legal-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.legal-body h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--text);
}

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

.legal-body p,
.legal-body li {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-body ul, .legal-body ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-body a {
  color: var(--accent);
  text-decoration: none;
}

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

.highlight-box {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin: 16px 0;
}

.highlight-box p {
  color: var(--accent-dark) !important;
  font-weight: 500;
  margin: 0;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
}

footer .footer-inner {
  max-width: 760px;
  margin: 0 auto;
}

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

footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
