/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #050811;
  --bg2:       #070d1a;
  --accent:    #7c6fff;
  --accent2:   #a78bfa;
  --gold:      #f0c040;
  --text:      #e8eaf6;
  --muted:     #8892b0;
  --card-bg:   rgba(255,255,255,0.04);
  --border:    rgba(255,255,255,0.08);
  --glow:      rgba(124,111,255,0.25);
}

html { scroll-behavior: smooth; }

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

/* ===== STAR FIELD ===== */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: 0.7;
  animation: twinkle ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 0.2; transform: scale(0.6); }
}

/* ===== LAYOUT ===== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5,8,17,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

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

.nav-links {
  display: flex;
  gap: 28px;
}

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

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(124,111,255,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.app-icon-wrap {
  margin-bottom: 28px;
}

.app-icon {
  font-size: 5rem;
  display: inline-block;
  filter: drop-shadow(0 0 24px rgba(124,111,255,0.6));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, var(--accent2) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--accent2);
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== APP STORE BUTTON ===== */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 12px 24px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.app-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,111,255,0.35);
  border-color: var(--accent);
}

.apple-logo {
  width: 28px;
  height: 28px;
  fill: #fff;
  flex-shrink: 0;
}

.app-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.app-store-small {
  font-size: 0.7rem;
  opacity: 0.8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.app-store-big {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-platform {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 60px;
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,111,255,0.4);
  box-shadow: 0 8px 32px rgba(124,111,255,0.12);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(167,139,250,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-brand {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: var(--text);
}

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

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

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

.footer-copy {
  color: var(--muted);
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ===== INNER PAGES (Privacy, Terms, Support) ===== */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.page-hero .meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 100px;
  position: relative;
  z-index: 1;
}

.page-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent2);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

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

.page-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.page-content ul, .page-content ol {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 10px 0 14px 20px;
}

.page-content li { margin-bottom: 6px; }

.page-content a {
  color: var(--accent2);
  text-decoration: none;
}

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

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

/* Support FAQ */
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

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

.faq-item p {
  margin-bottom: 0;
}

.contact-card {
  background: linear-gradient(135deg, rgba(124,111,255,0.12) 0%, rgba(167,139,250,0.06) 100%);
  border: 1px solid rgba(124,111,255,0.3);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  margin: 32px 0;
}

.contact-card p { color: var(--muted); margin-bottom: 12px; }
.contact-card a {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}
.contact-card a:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.82rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 20px 60px; }
  .features, .cta-section { padding: 70px 0; }
}
