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

:root {
  --brand: #6C63FF;
  --brand-dark: #4F46E5;
  --brand-light: #A5B4FC;
  --text: #0F172A;
  --text-muted: #64748B;
  --surface: #F8FAFC;
  --border: #E2E8F0;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.5px;
}
.logo span { color: var(--brand); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-sm { padding: 8px 18px; font-size: 0.875rem; }

.btn-primary {
  background: var(--brand);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(108,99,255,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* --- Hero --- */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 24px 120px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(108,99,255,0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner { position: relative; z-index: 1; }

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(108,99,255,0.1);
  color: var(--brand);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand) 0%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

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

/* --- Section shared --- */
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 60px;
}

/* --- Features --- */
.features {
  padding: 100px 0;
  background: var(--surface);
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- How it works --- */
.how { padding: 100px 0; }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 0 32px;
  text-align: center;
}

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand);
  opacity: 0.25;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-divider {
  width: 1px;
  height: 120px;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 24px;
}

/* --- CTA --- */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.05rem;
  opacity: 0.75;
  margin-bottom: 40px;
}

.cta-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-form input {
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  width: 300px;
  outline: none;
}

.cta-form input:focus {
  box-shadow: 0 0 0 3px rgba(108,99,255,0.5);
}

.cta-note {
  margin-top: 16px;
  font-size: 0.8rem;
  opacity: 0.5;
  margin-bottom: 0;
}

/* --- Footer --- */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links a:not(.btn) { display: none; }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .step-divider {
    width: 60px;
    height: 1px;
    margin-top: 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
