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

:root {
  --color-bg: #0a0a0f;
  --color-bg-2: #111118;
  --color-bg-3: #1a1a24;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #e8e8f0;
  --color-text-muted: #888899;
  --color-accent: #6c63ff;
  --color-accent-2: #a855f7;
  --color-cta: #6c63ff;
  --color-cta-hover: #5850ec;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-screenshot: 0 32px 80px rgba(0, 0, 0, 0.6);
}

html { scroll-behavior: smooth; }

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

.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }

/* Typography */
h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
  text-align: center;
}
h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--color-cta); color: #fff; }
.btn-primary:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.2); color: var(--color-text); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  text-decoration: none;
}
.nav-logo img { border-radius: 6px; }

/* Hero */
.hero {
  padding: 80px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(108, 99, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.badge {
  display: inline-block;
  background: rgba(108, 99, 255, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.hero-note { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 3rem; }
.hero-screenshot {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-bottom: none;
  box-shadow: var(--shadow-screenshot);
}
.hero-screenshot img { width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

/* Problem */
.problem {
  background: var(--color-bg-2);
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}
.problem h2 { margin-bottom: 2.5rem; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 2.5rem;
}
.problem-card {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}
.problem-icon { font-size: 1.75rem; display: block; margin-bottom: 0.75rem; }
.problem-card p { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.65; }
.problem-conclusion { text-align: center; font-size: 1.05rem; color: var(--color-text-muted); line-height: 1.7; }
.problem-conclusion strong { color: var(--color-text); }

/* Features */
.features { padding: 80px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 2.5rem;
}
.feature-card {
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { border-color: rgba(108, 99, 255, 0.4); transform: translateY(-2px); }
.feature-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.feature-card p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.65; }

/* How it works */
.how-it-works {
  background: var(--color-bg-2);
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 2.5rem 0 3rem;
  flex-wrap: wrap;
  justify-content: center;
}
.step { flex: 1; min-width: 200px; max-width: 260px; text-align: center; }
.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.5;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.step p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.65; }
.step-arrow { font-size: 1.5rem; color: var(--color-text-muted); padding-top: 20px; flex-shrink: 0; }
.how-screenshot {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

/* Early Access */
.early-access { padding: 100px 0; text-align: center; }
.early-access h2 { margin-bottom: 1rem; }
.early-access > .container > p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.waitlist-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.form-note { font-size: 0.8rem; color: var(--color-text-muted); }

/* Footer */
.footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; }
.footer-brand img { border-radius: 4px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--color-text-muted); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--color-text); }
.footer-copy { font-size: 0.8rem; color: var(--color-text-muted); }

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 640px) {
  .hero { padding: 60px 0 0; }
  .hero-cta { flex-direction: column; align-items: center; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
  .waitlist-cta { flex-direction: column; align-items: center; }
}
