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

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --text: #1e293b;
  --muted: #64748b;
  --bg: #f8fafc;
  --surface: #fff;
  --border: #e2e8f0;
}

body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); }

/* NAV */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.nav-brand { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.nav-links { display: flex; gap: 12px; align-items: center; }
.btn-ghost {
  padding: 8px 18px; border-radius: 8px; font-size: 0.9rem;
  font-weight: 500; color: var(--primary); text-decoration: none;
  border: 1.5px solid var(--primary); transition: background 0.2s;
}
.btn-ghost:hover { background: #eef2ff; }
.btn-solid {
  padding: 8px 18px; border-radius: 8px; font-size: 0.9rem;
  font-weight: 600; color: #fff; background: var(--primary);
  text-decoration: none; transition: background 0.2s;
}
.btn-solid:hover { background: var(--primary-dark); }

/* HERO */
.hero {
  max-width: 1100px; margin: 0 auto;
  padding: 80px 24px 60px;
  display: flex; align-items: center; gap: 60px;
}
.hero-content { flex: 1; }
.badge {
  display: inline-block; background: #eef2ff; color: var(--primary);
  font-size: 0.8rem; font-weight: 600; padding: 5px 14px;
  border-radius: 20px; margin-bottom: 20px;
}
.hero-content h1 {
  font-size: 3rem; font-weight: 800; line-height: 1.15;
  letter-spacing: -1px; margin-bottom: 20px; color: var(--text);
}
.hero-content h1 span { color: var(--primary); }
.hero-content p { font-size: 1.05rem; color: var(--muted); margin-bottom: 32px; line-height: 1.7; max-width: 480px; }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-hero-primary {
  padding: 13px 28px; background: var(--primary); color: #fff;
  border-radius: 10px; font-size: 1rem; font-weight: 600;
  text-decoration: none; transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(79,70,229,0.3);
}
.btn-hero-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-hero-ghost {
  padding: 13px 24px; color: var(--primary); font-size: 1rem;
  font-weight: 600; text-decoration: none; border-radius: 10px;
  border: 1.5px solid var(--border); transition: border-color 0.2s;
}
.btn-hero-ghost:hover { border-color: var(--primary); }

.hero-stats { display: flex; align-items: center; gap: 20px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.stat span { font-size: 0.78rem; color: var(--muted); }
.stat-divider { width: 1px; height: 32px; background: var(--border); }

/* MOCK CARD */
.hero-visual { flex: 1; display: flex; justify-content: center; }
.mock-card {
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: 0 8px 40px rgba(79,70,229,0.12);
  border: 1px solid var(--border); width: 100%; max-width: 340px;
}
.mock-header { font-weight: 700; font-size: 1rem; margin-bottom: 16px; color: var(--text); }
.mock-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.mock-badge {
  background: #eef2ff; color: var(--primary);
  font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 20px;
}
.mock-green { color: #059669; font-weight: 700; }
.mock-red { color: #dc2626; font-weight: 700; }
.mock-footer { margin-top: 14px; font-size: 0.8rem; color: var(--muted); text-align: center; }

/* FEATURES */
.features { background: #fff; padding: 80px 24px; text-align: center; }
.features h2 { font-size: 2rem; font-weight: 800; margin-bottom: 48px; color: var(--text); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1000px; margin: 0 auto;
}
.feature-card {
  background: var(--bg); border-radius: 14px; padding: 28px 24px;
  border: 1px solid var(--border); text-align: left;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: 0 4px 20px rgba(79,70,229,0.1); transform: translateY(-2px); }
.feature-card span { font-size: 2rem; display: block; margin-bottom: 14px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  padding: 80px 24px; text-align: center; color: #fff;
}
.cta h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta p { font-size: 1rem; opacity: 0.85; margin-bottom: 32px; }
.cta .btn-hero-primary { background: #fff; color: var(--primary); box-shadow: none; }
.cta .btn-hero-primary:hover { background: #eef2ff; }

/* FOOTER */
.footer {
  text-align: center; padding: 24px;
  font-size: 0.85rem; color: var(--muted);
  border-top: 1px solid var(--border);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 48px 20px 40px; gap: 40px; }
  .hero-content h1 { font-size: 2.2rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { width: 100%; }
}
@media (max-width: 600px) {
  .nav { padding: 0 16px; }
  .hero-content h1 { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 12px; }
}
