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

:root {
  --gray-950: #030712;
  --gray-900: #0a0f1e;
  --gray-800: #111827;
  --gray-700: #1f2937;
  --gray-600: #374151;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --indigo-500: #6366f1;
  --indigo-400: #818cf8;
  --indigo-600: #4f46e5;
  --emerald-400: #34d399;
  --red-400: #f87171;
  --blue-400: #60a5fa;
  --purple-400: #a78bfa;
  --font-sans: 'DM Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--gray-950);
  color: var(--gray-300);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

[data-mono] { font-family: var(--font-mono); }

/* ── Accent line ──────────────────────────────────────────── */
.accent-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--indigo-500), var(--indigo-400), var(--indigo-500), transparent);
}

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

.container-narrow { max-width: 560px; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 41, 55, 0.5);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.brand-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.25);
  font-size: 13px;
  font-weight: 700;
  color: var(--indigo-400);
}

.brand-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-100);
  letter-spacing: -0.02em;
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-100);
  background: var(--indigo-600);
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--indigo-500); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  padding: 14px 28px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--indigo-600);
  color: white;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
  background: var(--indigo-500);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 100px 24px 80px;
  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, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--indigo-400);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--gray-100);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-400);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

.hero-note {
  font-size: 13px;
  color: var(--gray-500);
}

/* ── Waitlist form ───────────────────────────────────────── */
.waitlist-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  width: 100%;
}

.waitlist-form-full { max-width: 100%; }

.waitlist-input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--gray-100);
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: 10px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-input::placeholder { color: var(--gray-500); }

.waitlist-input:focus { border-color: var(--indigo-500); }

.waitlist-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.waitlist-success {
  font-size: 15px;
  font-weight: 500;
  color: var(--emerald-400);
  padding: 14px 0;
}

@media (max-width: 480px) {
  .waitlist-form { flex-direction: column; }
  .waitlist-btn { width: 100%; justify-content: center; }
}

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 100px 24px; }

.section-dark {
  background: var(--gray-900);
  border-top: 1px solid rgba(31, 41, 55, 0.5);
  border-bottom: 1px solid rgba(31, 41, 55, 0.5);
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo-400);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--gray-100);
  margin-bottom: 48px;
}

/* ── Steps ────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.step-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--indigo-400);
  margin-bottom: 16px;
}

.step-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.15);
  color: var(--indigo-400);
  margin-bottom: 20px;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-100);
  margin-bottom: 10px;
  line-height: 1.35;
}

.step-desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ── Problem ──────────────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.problem-card {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: 16px;
  padding: 36px 32px;
}

.problem-card-accent {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.08), var(--gray-800));
  border-color: rgba(248, 113, 113, 0.2);
}

.problem-stat {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--red-400);
  line-height: 1;
  margin-bottom: 16px;
}

.problem-text {
  font-size: 16px;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ── Features ─────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-list { display: flex; flex-direction: column; gap: 28px; }

.feature-item { display: flex; gap: 16px; align-items: flex-start; }

.feature-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.feature-dot-green { background: var(--emerald-400); box-shadow: 0 0 8px rgba(52, 211, 153, 0.3); }
.feature-dot-red { background: var(--red-400); box-shadow: 0 0 8px rgba(248, 113, 113, 0.3); }
.feature-dot-blue { background: var(--blue-400); box-shadow: 0 0 8px rgba(96, 165, 250, 0.3); }
.feature-dot-purple { background: var(--purple-400); box-shadow: 0 0 8px rgba(167, 139, 250, 0.3); }

.feature-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-100);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Dashboard preview */
.dashboard-preview { perspective: 1000px; }

.preview-window {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: 12px;
  overflow: hidden;
  transform: rotateY(-2deg) rotateX(1deg);
  transition: transform 0.4s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.preview-window:hover { transform: rotateY(0) rotateX(0); }

.preview-dots {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-700);
}

.preview-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-600);
}

.preview-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-card {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo-600), var(--indigo-400), var(--indigo-600));
}

.pricing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo-400);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.pricing-amount {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 8px;
}

.pricing-period {
  font-size: 20px;
  font-weight: 400;
  color: var(--gray-500);
}

.pricing-plus {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.pricing-divider {
  height: 1px;
  background: var(--gray-700);
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  text-align: left;
}

.pricing-features li {
  font-size: 14px;
  color: var(--gray-300);
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(31, 41, 55, 0.5);
  padding: 48px 24px 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 10px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(31, 41, 55, 0.3);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-partner {
  font-size: 12px;
  color: var(--gray-600);
}

.footer-copy {
  font-size: 12px;
  color: var(--gray-600);
}

/* ── Fade-in animation ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 64px 24px 56px; }

  .steps-grid { grid-template-columns: 1fr; }

  .problem-grid { grid-template-columns: 1fr; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dashboard-preview { order: -1; }

  .preview-window { transform: none; }

  .footer-inner { flex-direction: column; gap: 24px; }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .pricing-card { padding: 36px 24px; }

  .pricing-amount { font-size: 44px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .section-title { font-size: 26px; }
  .problem-stat { font-size: 36px; }
}
