@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-deep: #05081a;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.06);
  --text: #f0eef5;
  --text-muted: rgba(240,238,245,0.55);
  --text-secondary: rgba(240,238,245,0.7);
  --teal: #5ac8c8;
  --pink: #e87da0;
  --orange: #e8a35a;
  --mint: #6dd5b0;
  --purple: #9b7dd8;
  --blue: #6ba3d6;
  --radius: 20px;
  --radius-sm: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Nav */
nav {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,8,26,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

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

.nav-brand img {
  width: 34px;
  height: 34px;
  border-radius: 22%;
  overflow: hidden;
}

.nav-brand span {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 10px;
  transition: all 0.2s;
}

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

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

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91,68,160,0.15) 0%, rgba(91,68,160,0.05) 40%, transparent 70%);
  pointer-events: none;
}

.hero-icon-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

.hero-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 40px;
  background: radial-gradient(circle, rgba(155,125,216,0.2), transparent 70%);
  filter: blur(20px);
}

.hero-icon {
  width: 100px;
  height: 100px;
  border-radius: 22%;
  position: relative;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 60px rgba(155,125,216,0.15);
  overflow: hidden;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #f0eef5 0%, rgba(155,125,216,0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.dot-green { background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.dot-purple { background: var(--purple); box-shadow: 0 0 8px var(--purple); }
.dot-teal { background: var(--teal); box-shadow: 0 0 8px var(--teal); }

.app-store-btn {
  display: inline-block;
  margin-top: 36px;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0.95;
}

.app-store-btn:hover {
  transform: translateY(-2px);
  opacity: 1;
}

/* Features */
.features {
  padding: 40px 0 80px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.fi-teal { background: rgba(90,200,200,0.12); }
.fi-purple { background: rgba(155,125,216,0.12); }
.fi-mint { background: rgba(109,213,176,0.12); }
.fi-orange { background: rgba(232,163,90,0.12); }
.fi-pink { background: rgba(232,125,160,0.12); }
.fi-blue { background: rgba(107,163,214,0.12); }

.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

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

/* Privacy section */
.privacy-banner {
  margin: 0 0 80px;
  padding: 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(109,213,176,0.08), rgba(90,200,200,0.04));
  border: 1px solid rgba(109,213,176,0.1);
  text-align: center;
}

.privacy-banner .shield {
  font-size: 40px;
  margin-bottom: 16px;
}

.privacy-banner h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.privacy-banner p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Page content (privacy, support) */
.page-header {
  padding: 80px 0 24px;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(91,68,160,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  position: relative;
}

.page-header .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
  position: relative;
}

.page-content {
  padding: 24px 0 80px;
}

.page-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 48px 0 12px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-content h2:first-child {
  margin-top: 16px;
}

.page-content p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.page-content strong {
  color: var(--text);
  font-weight: 600;
}

.page-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
  list-style: none;
}

.page-content li {
  color: var(--text-muted);
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
  position: relative;
  padding-left: 16px;
}

.page-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.6;
}

.page-content a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
}

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

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}

.page-content th, .page-content td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.page-content th {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-content td {
  color: var(--text-muted);
}

/* Support page */
.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.support-card::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(155,125,216,0.1), transparent 70%);
  pointer-events: none;
}

.support-card .icon {
  font-size: 36px;
  margin-bottom: 20px;
  position: relative;
}

.support-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
}

.support-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 15px;
  position: relative;
}

.support-card a.email-link {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--purple), rgba(155,125,216,0.8));
  color: white;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  position: relative;
  box-shadow: 0 4px 16px rgba(155,125,216,0.3);
}

.support-card a.email-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(155,125,216,0.4);
}

.faq {
  margin-top: 16px;
}

.faq h2 {
  margin-bottom: 24px !important;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 12px;
  background: var(--bg-card);
}

.faq-item h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.faq-item a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
}

/* Footer */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

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

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 640px) {
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 36px; }
  .hero .subtitle { font-size: 16px; }
  .hero-icon { width: 80px; height: 80px; border-radius: 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links a { padding: 8px 12px; font-size: 13px; }
  .section-title { font-size: 26px; }
  .privacy-banner { padding: 28px 20px; }
  .page-header h1 { font-size: 32px; }
}
