/* ═══════════════════════════════════════════════════════════════
   VibePass — Landing Page Styles
   Dark premium theme with purple accents
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #0a0a12;
  --bg-secondary: #12121f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --accent: #9b6dff;
  --accent-light: #b794ff;
  --accent-dark: #7c4dff;
  --accent-glow: rgba(155, 109, 255, 0.25);
  --text-primary: #f0eef6;
  --text-secondary: #9e9bb0;
  --text-muted: #6b6880;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: #d4bfff; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.nav-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text-primary); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.8rem;
  color: var(--accent-light);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(155, 109, 255, 0.35);
  color: white;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  color: var(--text-primary);
}

/* ── Features ─────────────────────────────────────────────── */
.features {
  padding: 100px 24px;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(155, 109, 255, 0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  background: rgba(155, 109, 255, 0.1);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Screenshots ──────────────────────────────────────────── */
.screenshots {
  padding: 100px 24px;
  overflow: hidden;
}

.phone-showcase {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.phone-frame {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: 32px;
  padding: 12px;
  transition: transform 0.4s ease;
}

.phone-frame:hover { transform: translateY(-8px); }

.phone-screen {
  background: #1a1a2e;
  border-radius: 22px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 100%;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111122;
}

.phone-notch-pill {
  width: 80px;
  height: 5px;
  background: #222;
  border-radius: 100px;
}

/* ── Mock UI inside phones ────────────────────────────────── */
.mock-content { padding: 16px; flex: 1; display: flex; flex-direction: column; }

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mock-header h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mock-header-icons { display: flex; gap: 12px; color: var(--text-muted); font-size: 0.75rem; }

.mock-search {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.mock-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(155, 109, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.mock-card-text { flex: 1; }
.mock-card-title { font-size: 0.75rem; font-weight: 600; color: var(--text-primary); }
.mock-card-sub { font-size: 0.6rem; color: var(--text-muted); margin-top: 2px; }
.mock-card-arrow { color: var(--text-muted); font-size: 0.7rem; }

.mock-field {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
}

.mock-field-label { font-size: 0.55rem; color: var(--accent-light); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.mock-field-value { font-size: 0.75rem; color: var(--text-primary); font-weight: 500; }
.mock-field-value.masked { letter-spacing: 3px; }

.mock-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: auto;
}

.mock-lock-icon {
  width: 64px;
  height: 64px;
  margin: 40px auto 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 32px var(--accent-glow);
}

.mock-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mock-subtitle {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.mock-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.mock-folder {
  background: rgba(155, 109, 255, 0.08);
  border: 1px solid rgba(155, 109, 255, 0.12);
}

.phone-label {
  text-align: center;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── Privacy CTA ──────────────────────────────────────────── */
.privacy-cta {
  padding: 80px 24px;
  text-align: center;
}

.privacy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 40px;
  max-width: 700px;
  margin: 0 auto;
}

.privacy-card h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.privacy-card p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

footer .footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }
.fade-in:nth-child(6) { animation-delay: 0.6s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .phone-showcase { gap: 20px; }
  .phone-frame { width: 220px; }
  .phone-screen { min-height: 380px; }
  .privacy-card { padding: 36px 24px; }
}

/* ── Privacy Page Specific ────────────────────────────────── */
.privacy-page {
  padding: 120px 24px 80px;
  max-width: 720px;
  margin: 0 auto;
}

.privacy-page h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.privacy-page .last-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
}

.privacy-page h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--accent-light);
}

.privacy-page p,
.privacy-page ul {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.privacy-page ul { padding-left: 24px; }
.privacy-page li { margin-bottom: 8px; }

.privacy-page strong { color: var(--text-primary); }
