/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0d1117;
  --bg2:      #161b22;
  --bg3:      #1c2128;
  --border:   #30363d;
  --text:     #e6edf3;
  --text-muted: #8b949e;
  --red:    #FA2921;
  --pink:   #ED79B5;
  --yellow: #FFB400;
  --blue:   #1E83F7;
  --green:  #18C249;
  --indigo: #4251B0;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.logo-p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--red), var(--blue));
  border-radius: 8px;
  font-weight: 900;
  font-size: 18px;
  color: white;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
}

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

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 65px);
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-inner { flex: 1; max-width: 560px; }

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(30,131,247,0.15);
  border: 1px solid rgba(30,131,247,0.3);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
}

.badge-light {
  background: rgba(24,194,73,0.12);
  border-color: rgba(24,194,73,0.3);
  color: var(--green);
}

h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--red), var(--pink), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: white;
  color: #000;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: opacity 0.15s, transform 0.15s;
}

.btn-appstore:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  color: var(--text-muted);
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  color: var(--text);
  transform: translateY(-1px);
}

/* ── Phone mock ───────────────────────────────────────────────────────────── */
.hero-visual {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.phone-mock {
  width: 240px;
  height: 480px;
  background: var(--bg2);
  border-radius: 36px;
  border: 2px solid var(--border);
  padding: 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: var(--bg);
}

.mock-nav {
  display: flex;
  gap: 8px;
  padding: 12px 10px 8px;
}

.mock-pill {
  padding: 4px 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  font-size: 11px;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 2px;
}

.mock-cell {
  aspect-ratio: 1;
  background: var(--c, #333);
  border-radius: 2px;
  opacity: 0.85;
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.features {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.features h2 {
  text-align: center;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 60px;
  line-height: 1.2;
}

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

.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: #444;
  transform: translateY(-2px);
}

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

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

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

/* ── Privacy section ──────────────────────────────────────────────────────── */
.privacy-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}

.privacy-inner {
  display: flex;
  gap: 80px;
  align-items: center;
}

.privacy-text { flex: 1; }

.privacy-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 16px 0 20px;
}

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

.privacy-visual {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.shield {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(24,194,73,0.25);
}

.privacy-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 260px;
  justify-content: center;
}

.ppill {
  padding: 5px 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

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

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  width: 100%;
  text-align: center;
}

/* ── Legal (Privacy Policy page) ─────────────────────────────────────────── */
.legal-page {
  padding: 80px 0 100px;
}

.legal-inner {
  max-width: 720px;
}

.legal-inner h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.legal-date {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 48px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  color: var(--text);
}

.legal-section p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-section ul {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-section li { margin-bottom: 6px; }

.legal-section a {
  color: var(--blue);
  text-decoration: underline;
}

.legal-callout {
  background: rgba(24,194,73,0.08);
  border: 1px solid rgba(24,194,73,0.25);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--text);
  margin-top: 16px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links { gap: 16px; font-size: 13px; }

  .hero {
    flex-direction: column;
    padding: 60px 24px;
    min-height: auto;
    gap: 48px;
  }

  .hero-inner { max-width: 100%; }

  .phone-mock {
    width: 200px;
    height: 400px;
  }

  .privacy-inner {
    flex-direction: column;
    gap: 48px;
  }

  .privacy-visual { order: -1; }

  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }

  .features { padding: 60px 0; }
  .features h2 { margin-bottom: 36px; }
}
