@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #09090b;
  --bg-card: #141419;
  --bg-elevated: #1c1c24;
  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --accent-glow: rgba(139, 92, 246, 0.15);
  --success: #22c55e;
  --text: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border: rgba(255,255,255,0.06);
  --gradient-1: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
  --gradient-2: linear-gradient(135deg, rgba(139,92,246,0.12) 0%, rgba(99,102,241,0.06) 100%);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

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

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(9,9,11,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex; justify-content: space-between; align-items: center;
  height: 72px;
}

.nav-logo {
  font-size: 20px; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 10px;
  letter-spacing: -0.02em;
}

.nav-logo .logo-icon {
  width: 32px; height: 32px;
  background: var(--gradient-1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav-logo .logo-icon svg { width: 18px; height: 18px; }

.nav-logo span { 
  background: var(--gradient-1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* Burger icon - hidden on desktop */
.burger { display: none; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer; border: none; transition: all 0.2s;
}

.btn-primary {
  background: var(--gradient-1); color: white;
  box-shadow: 0 4px 20px rgba(139,92,246,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139,92,246,0.4);
}

.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent);
}

.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 12px; }

/* HERO */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 50px;
  background: var(--accent-glow);
  border: 1px solid rgba(139,92,246,0.2);
  color: var(--accent-light); font-size: 13px; font-weight: 500;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero h1 .gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px; color: var(--text-secondary);
  max-width: 560px; margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-visual {
  margin-top: 80px; position: relative;
}

.hero-screenshot {
  width: 100%; max-width: 900px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(139,92,246,0.08);
  background: var(--bg-card);
  padding: 40px;
  margin: 0 auto;
  display: block;
}

/* FEATURES */
.features { padding: 120px 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-light); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--text-secondary); font-size: 17px;
  max-width: 560px; margin-bottom: 60px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(139,92,246,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px; font-weight: 600;
  margin-bottom: 10px;
}

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

/* HOW IT WORKS */
.how-it-works { padding: 120px 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.step {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}

.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: white; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}

.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--text-secondary); font-size: 14px; }

/* DOWNLOAD */
.download {
  padding: 120px 0;
  text-align: center;
}

.download-card {
  background: var(--gradient-2);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 24px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.download-card h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700; margin-bottom: 16px;
}

.download-card p {
  color: var(--text-secondary); font-size: 17px;
  max-width: 480px; margin: 0 auto 40px;
}

.download-buttons {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}

.download-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-size: 15px; font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.download-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.download-btn svg { width: 28px; height: 28px; }

.download-btn .dl-label { font-size: 11px; color: var(--text-muted); }
.download-btn .dl-platform { font-size: 16px; font-weight: 600; }

.coming-soon {
  display: inline-block;
  padding: 4px 12px; border-radius: 6px;
  background: rgba(234,179,8,0.1);
  color: #eab308; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-left: 8px;
}
.dl-size {
  display: inline-block;
  padding: 4px 12px; border-radius: 6px;
  background: rgba(139,92,246,0.1);
  color: #a78bfa; font-size: 11px; font-weight: 500;
  margin-left: 8px;
}
.install-help {
  margin-top: 24px;
  text-align: center;
}
.install-help p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.install-help a {
  color: #8b5cf6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-secondary); font-size: 14px;
  margin-top: 12px; max-width: 320px; line-height: 1.7;
}

.footer-col h4 {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); margin-bottom: 20px;
}

.footer-col a {
  display: block; color: var(--text-secondary);
  font-size: 14px; padding: 6px 0;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-muted); font-size: 13px;
}

/* LEGAL PAGES */
.legal { padding: 140px 0 80px; }

.legal h1 {
  font-size: 36px; font-weight: 700;
  margin-bottom: 8px;
}

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

.legal h2 {
  font-size: 22px; font-weight: 600;
  margin-top: 48px; margin-bottom: 16px;
  color: var(--text);
}

.legal h3 {
  font-size: 17px; font-weight: 600;
  margin-top: 32px; margin-bottom: 12px;
  color: var(--text-secondary);
}

.legal p, .legal li {
  color: var(--text-secondary);
  font-size: 15px; line-height: 1.8;
  margin-bottom: 16px;
}

.legal ul, .legal ol {
  padding-left: 24px; margin-bottom: 16px;
}

.legal li { margin-bottom: 8px; }

.legal a { color: var(--accent-light); }

/* RESPONSIVE */

/* Tablet and mobile - burger menu */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero h1 { font-size: 44px; }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 300;
    padding: 4px;
    -webkit-tap-highlight-color: transparent;
  }
  .burger div {
    width: 24px; height: 2px;
    background: #fafafa;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .burger.active div:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .burger.active div:nth-child(2) { opacity: 0; }
  .burger.active div:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .nav-links {
    display: none;
    position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(9,9,11,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    z-index: 200;
  }
  .nav-links.active { display: flex; }
  .nav-links a {
    padding: 14px 0; font-size: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:last-child { border-bottom: none; margin-top: 8px; }
  .nav-links .btn { justify-content: center; }
  nav .container { height: 64px; position: relative; }
}

/* Mobile specific */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .nav-logo { font-size: 18px; }

  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; margin-bottom: 28px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; justify-content: center; }
  .hero-visual { margin-top: 48px; }
  .hero-screenshot { padding: 16px; border-radius: 12px; }

  .features, .how-it-works, .download { padding: 64px 0; }
  .section-title { font-size: 26px; }
  .section-subtitle { font-size: 15px; margin-bottom: 40px; }

  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 24px; }
  .feature-card h3 { font-size: 16px; }

  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step { padding: 28px 20px; }
  .step-number { width: 44px; height: 44px; font-size: 17px; }

  .download-card { padding: 40px 20px; border-radius: 16px; }
  .download-card h2 { font-size: 24px; }
  .download-card p { font-size: 15px; }
  .download-buttons { flex-direction: column; align-items: center; }
  .download-btn { width: 100%; max-width: 300px; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .legal { padding: 100px 0 60px; }
  .legal h1 { font-size: 28px; }
  .legal h2 { font-size: 20px; margin-top: 36px; }
  .legal p, .legal li { font-size: 14px; }
}

/* Small mobile */
@media (max-width: 400px) {
  .hero h1 { font-size: 26px; }
  .hero-badge { font-size: 11px; padding: 6px 12px; }
  .section-title { font-size: 22px; }
  .download-card h2 { font-size: 20px; }
  .nav-logo { font-size: 16px; }
  .nav-logo svg { width: 22px; height: 22px; }
}
