/* ===== CSS Variables ===== */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --bg-card-hover: #22222f;
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b0;
  --text-muted: #666680;
  --accent: #4f8cff;
  --accent-light: #6ba3ff;
  --accent-dark: #3a6fd4;
  --gradient-start: #4f8cff;
  --gradient-end: #a855f7;
  --border-color: #2a2a3a;
  --success: #22c55e;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
}

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-light); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Gradient Text ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--radius); font-weight: 600;
  font-size: 16px; cursor: pointer; transition: all 0.3s; border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff; box-shadow: 0 4px 20px rgba(79,140,255,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(79,140,255,0.4); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 17px; border-radius: 14px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ===== Navigation ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,15,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--text-primary); }
.nav-logo:hover { color: var(--text-primary); }
.nav-logo-img { width: 36px; height: 36px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-secondary); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text-primary); }
.mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 24px; cursor: pointer; }
.mobile-menu { display: none; flex-direction: column; gap: 16px; padding: 20px 24px; background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); }
.mobile-menu a { color: var(--text-secondary); font-size: 16px; font-weight: 500; }
.mobile-menu.active { display: flex; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(79,140,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(168,85,247,0.06) 0%, transparent 50%);
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; background: rgba(79,140,255,0.12); color: var(--accent);
  padding: 8px 16px; border-radius: 30px; font-size: 13px; font-weight: 600;
  margin-bottom: 20px; border: 1px solid rgba(79,140,255,0.2);
}
.hero h1 { font-size: 52px; font-weight: 900; line-height: 1.15; margin-bottom: 24px; }
.hero-subtitle { font-size: 18px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 800; color: var(--text-primary); }
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border-color); }

/* Phone Mockup */
.hero-image { display: flex; justify-content: center; }
.phone-mockup {
  width: 280px; height: 560px; background: #1a1a25; border-radius: 40px;
  padding: 12px; border: 3px solid #333; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
}
.phone-mockup::before {
  content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 6px; background: #333; border-radius: 10px;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, #0f0f18, #1a1a28);
  display: flex; align-items: center; justify-content: center;
}
.app-preview { width: 140px; height: 140px; border-radius: 28px; }

/* ===== Section Headers ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; background: rgba(79,140,255,0.1); color: var(--accent);
  padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
  margin-bottom: 16px; border: 1px solid rgba(79,140,255,0.15);
}
.section-header h2 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
.section-header p { font-size: 18px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* ===== Features ===== */
.features { padding: 100px 0; background: var(--bg-secondary); }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 32px 24px;
  transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px); border-color: rgba(79,140,255,0.3);
  box-shadow: 0 12px 40px rgba(79,140,255,0.1);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(79,140,255,0.15), rgba(168,85,247,0.15));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--accent); margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== How It Works ===== */
.how-it-works { padding: 100px 0; }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; }
.step {
  text-align: center; flex: 1; max-width: 300px; padding: 0 20px;
}
.step-number {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff; font-size: 26px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.step-connector {
  width: 80px; height: 2px; background: var(--border-color); margin-top: 32px; flex-shrink: 0;
}

/* ===== Screenshots ===== */
.screenshots { padding: 100px 0; background: var(--bg-secondary); }
.screenshots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.screenshot-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s;
}
.screenshot-card:hover { transform: translateY(-4px); border-color: rgba(79,140,255,0.3); }
.screenshot-label {
  padding: 12px 16px; font-size: 13px; font-weight: 600;
  color: var(--accent); background: rgba(79,140,255,0.05);
  border-bottom: 1px solid var(--border-color);
}
.screenshot-placeholder {
  height: 320px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  color: var(--text-muted); font-size: 14px;
}
.screenshot-placeholder i { font-size: 48px; opacity: 0.3; }

/* ===== CTA ===== */
.cta { padding: 100px 0; }
.cta-content {
  text-align: center; max-width: 700px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(79,140,255,0.08), rgba(168,85,247,0.08));
  border: 1px solid rgba(79,140,255,0.15); border-radius: 24px;
  padding: 60px 40px;
}
.cta-content h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.cta-content p { font-size: 18px; color: var(--text-secondary); margin-bottom: 32px; }

/* ===== Contact ===== */
.contact { padding: 80px 0; background: var(--bg-secondary); }
.contact-content { max-width: 600px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex; align-items: center; gap: 20px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 24px;
}
.contact-item i { font-size: 24px; color: var(--accent); width: 32px; text-align: center; }
.contact-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 14px; color: var(--text-secondary); }

/* ===== Footer ===== */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.footer-logo-img { width: 32px; height: 32px; border-radius: 8px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.footer-links h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.footer-links a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ===== Legal Pages ===== */
.legal-page { padding: 120px 0 80px; }
.legal-content {
  max-width: 800px; margin: 0 auto;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 48px;
}
.legal-content h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.legal-content .last-updated { font-size: 14px; color: var(--text-muted); font-style: italic; margin-bottom: 32px; }
.legal-content h2 { font-size: 20px; font-weight: 700; margin-top: 32px; margin-bottom: 12px; color: var(--text-primary); }
.legal-content h3 { font-size: 16px; font-weight: 600; margin-top: 20px; margin-bottom: 8px; }
.legal-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.legal-content ul { padding-left: 24px; margin-bottom: 12px; }
.legal-content li { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 4px; }
.legal-content a { color: var(--accent); }
.legal-content hr { border: none; border-top: 1px solid var(--border-color); margin: 28px 0; }

/* Delete Account */
.delete-box {
  background: rgba(255,59,48,0.08); border: 1px solid rgba(255,59,48,0.2);
  border-radius: var(--radius); padding: 24px; margin-top: 24px;
}
.delete-box h3 { color: #ff3b30; margin-bottom: 12px; }
.delete-box p { color: var(--text-secondary); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { margin-top: 40px; }
  .hero h1 { font-size: 34px; }
  .section-header h2 { font-size: 30px; }
  .features-grid { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; align-items: center; gap: 24px; }
  .step-connector { width: 2px; height: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-content { padding: 40px 24px; }
  .cta-content h2 { font-size: 28px; }
  .legal-content { padding: 32px 20px; }
  .legal-content h1 { font-size: 26px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero-stats { flex-wrap: wrap; }
  .screenshots-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 14px 28px; font-size: 15px; }
}

/* ========== Data Safety / Compliance Banner ========== */
.data-safety {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.compliance-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 20px;
  padding: 32px;
  color: #fff;
  box-shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.3);
}

.compliance-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.compliance-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.compliance-item strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  font-weight: 600;
}

.compliance-item span {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

@media (max-width: 768px) {
  .compliance-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .compliance-item span {
    font-size: 0.95rem;
  }
}

}