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

:root {
  --bg: #0a0a0f;
  --surface: #13131a;
  --border: rgba(255,255,255,0.06);
  --text: #e8e8ed;
  --text-dim: #8888a0;
  --accent: #7c5cfc;
  --accent-glow: rgba(124,92,252,0.35);
  --accent2: #a855f7;
  --red: #ff4444;
  --radius: 16px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== Nav ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 2rem;
}
.nav-logo {
  font-weight: 700; font-size: 1.15rem; color: var(--text);
  text-decoration: none; display: flex; align-items: center; gap: 0.4rem;
}
.logo-icon { font-size: 1.3rem; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 0.5rem 1.2rem; border-radius: 999px; font-size: 0.85rem !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: #6b4ae0 !important; transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
  padding: 10rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}
.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(124,92,252,0.08);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 2rem;
  position: relative;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  position: relative;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2), #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  position: relative;
}
.hero-sub strong { color: var(--text); }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--accent); color: #fff;
  padding: 0.85rem 1.8rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 24px var(--accent-glow);
  transition: all 0.25s;
}
.btn-primary:hover {
  background: #6b4ae0;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-large { padding: 1rem 2.2rem; font-size: 1.1rem; }
.btn-ghost {
  color: var(--text-dim); text-decoration: none;
  font-size: 0.95rem; font-weight: 500;
  padding: 0.85rem 1.5rem;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; flex-wrap: wrap;
  position: relative;
}

/* ===== Demo Box ===== */
.demo-box {
  max-width: 620px; margin: 4rem auto 0;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
  position: relative;
}
.demo-browser {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.demo-url {
  flex: 1; text-align: center;
  font-size: 0.75rem; color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  padding: 0.25rem 1rem; border-radius: 6px;
}
.demo-content {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.5rem;
}
.demo-thumb { position: relative; flex-shrink: 0; }
.demo-thumb-img {
  width: 200px; height: 112px;
  background: linear-gradient(135deg, #1a1a2e, #2d1b4e);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.demo-play { font-size: 2rem; opacity: 0.4; }
.demo-badge-anim {
  position: absolute; bottom: 8px; left: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.demo-tooltip {
  flex: 1; background: rgba(255,255,255,0.97);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  color: #1a1a1a; font-size: 0.8rem;
}
.demo-tooltip-header {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: relative;
}
.demo-tt-bar {
  width: 3px; height: 18px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  flex-shrink: 0;
}
.demo-tooltip-header strong { flex: 1; font-size: 0.75rem; }
.demo-tt-x { color: rgba(0,0,0,0.3); font-size: 1rem; cursor: default; }
.demo-tooltip-body { padding: 0.6rem 0.75rem; }
.demo-bullet {
  font-size: 0.72rem; color: #444;
  margin-bottom: 0.35rem; line-height: 1.4;
}
.demo-tooltip-footer {
  padding: 0.35rem 0.75rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.65rem; color: #888;
  text-align: right;
}

/* ===== Proof Bar ===== */
.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.proof-inner {
  max-width: 700px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem 2rem;
  gap: 3rem;
}
.proof-stat { text-align: center; }
.proof-num {
  font-size: 2.2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.proof-label { font-size: 0.8rem; color: var(--text-dim); margin-top: 0.2rem; }
.proof-divider {
  width: 1px; height: 40px;
  background: var(--border);
}

/* ===== How Section ===== */
.how {
  padding: 6rem 2rem;
  text-align: center;
}
.how h2 {
  font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 4rem;
}
.how-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
  max-width: 1000px; margin: 0 auto;
}
.how-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  max-width: 260px; flex: 1; min-width: 220px;
  transition: border-color 0.3s, transform 0.3s;
}
.how-step:hover {
  border-color: rgba(124,92,252,0.3);
  transform: translateY(-4px);
}
.how-num {
  font-size: 0.75rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.how-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.how-step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.how-step p { font-size: 0.9rem; color: var(--text-dim); }
.how-step p strong { color: var(--text); }
.how-arrow {
  font-size: 1.5rem; color: var(--text-dim); opacity: 0.3;
}

/* ===== Why Section ===== */
.why {
  padding: 6rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.why h2 {
  text-align: center;
  font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px; margin: 0 auto;
}
.why-card {
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.3s, transform 0.3s;
}
.why-card:hover {
  border-color: rgba(124,92,252,0.25);
  transform: translateY(-3px);
}
.why-emoji { font-size: 1.8rem; margin-bottom: 0.75rem; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.why-card p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.5; }
.why-card kbd {
  background: rgba(124,92,252,0.15);
  border: 1px solid rgba(124,92,252,0.3);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-size: 0.8rem;
  font-family: inherit;
  color: var(--accent);
}

/* ===== Final CTA ===== */
.final-cta {
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  bottom: -40%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.4;
}
.final-cta-inner { position: relative; }
.final-cta h2 {
  font-size: 2.5rem; font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.final-cta p {
  font-size: 1.1rem; color: var(--text-dim);
  margin-bottom: 2.5rem;
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-left { display: flex; align-items: center; gap: 1.5rem; }
.footer-logo { font-weight: 700; font-size: 0.95rem; }
.footer-copy { color: var(--text-dim); font-size: 0.8rem; }
.footer-right { display: flex; gap: 1.5rem; }
.footer-right a {
  color: var(--text-dim); text-decoration: none; font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-right a:hover { color: var(--text); }
.footer-disclaimer {
  text-align: center; color: var(--text-dim); opacity: 0.4;
  font-size: 0.7rem; margin-top: 1.5rem;
}

/* ===== Privacy Page ===== */
.privacy-page {
  padding: 8rem 2rem 4rem;
  min-height: 100vh;
}
.privacy-content { max-width: 750px; margin: 0 auto; }
.privacy-content h1 {
  font-size: 2.2rem; font-weight: 800; margin-bottom: 0.5rem;
}
.last-updated { color: var(--text-dim); margin-bottom: 3rem; }
.privacy-content section { margin-bottom: 2.5rem; }
.privacy-content h2 {
  font-size: 1.3rem; margin-bottom: 0.75rem;
  color: var(--text);
}
.privacy-content p { margin-bottom: 0.75rem; color: var(--text-dim); }
.privacy-content ul { margin-left: 1.5rem; margin-bottom: 1rem; }
.privacy-content li { margin-bottom: 0.4rem; color: var(--text-dim); }
.privacy-content a { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero { padding: 7rem 1.5rem 3rem; }
  .hero h1 { font-size: 2.2rem; }
  .demo-content { flex-direction: column; }
  .demo-thumb-img { width: 100%; height: 140px; }
  .how-steps { flex-direction: column; align-items: center; }
  .how-arrow { transform: rotate(90deg); }
  .why-grid { grid-template-columns: 1fr; }
  .proof-inner { flex-direction: column; gap: 1.5rem; }
  .proof-divider { width: 40px; height: 1px; }
  .nav-links { gap: 1rem; }
  .nav-cta { display: none; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-left { flex-direction: column; gap: 0.5rem; }
  .final-cta h2 { font-size: 1.8rem; }
}
