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

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --text: #111827;
  --text-2: #4b5563;
  --text-3: #9ca3af;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

body { font-family: 'Inter', sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.625rem 1.375rem; border-radius: 8px; font-size: 0.9rem;
  font-weight: 600; cursor: pointer; transition: all 0.2s; border: 2px solid transparent;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-light); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { color: var(--blue); }
.w-full { width: 100%; }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; height: 64px; display: flex; align-items: center; gap: 2rem; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; font-weight: 800; color: var(--text); flex-shrink: 0; }
.nav-links { display: flex; gap: 1.75rem; flex: 1; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-2); transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── Hero ── */
.hero { min-height: calc(100vh - 64px); display: flex; align-items: center; gap: 4rem; max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; }
.hero-inner { flex: 1; }
.hero-badge { display: inline-block; background: var(--blue-light); color: var(--blue); font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.875rem; border-radius: 20px; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem; color: var(--text); }
.hero h1 span { color: var(--blue); }
.hero p { font-size: 1.1rem; color: var(--text-2); max-width: 520px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.stat span { font-size: 0.78rem; color: var(--text-3); }
.stat-sep { width: 1px; height: 32px; background: var(--border); }

/* ── Mock browser ── */
.hero-visual { flex: 1; display: flex; justify-content: center; }
.mock-card { background: #f8fafc; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); width: 100%; max-width: 440px; overflow: hidden; }
.mock-header { background: #fff; padding: 0.75rem 1rem; display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid var(--border); font-size: 0.72rem; color: var(--text-3); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.red { background: #f87171; } .mock-dot.yellow { background: #fbbf24; } .mock-dot.green { background: #34d399; }
.mock-body { display: flex; height: 260px; }
.mock-sidebar { width: 48px; background: #fff; border-right: 1px solid var(--border); padding: 1rem 0.75rem; display: flex; flex-direction: column; gap: 0.625rem; }
.mock-item { height: 10px; border-radius: 4px; background: #e5e7eb; }
.mock-item.active { background: var(--blue); }
.mock-content { flex: 1; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mock-title { height: 14px; border-radius: 4px; background: #e5e7eb; width: 60%; }
.mock-row { height: 10px; border-radius: 4px; background: #e5e7eb; }
.mock-row.short { width: 40%; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; margin-top: auto; }
.mock-cell { height: 48px; border-radius: 8px; }
.mock-cell.blue { background: #dbeafe; } .mock-cell.green { background: #dcfce7; }
.mock-cell.yellow { background: #fef9c3; } .mock-cell.gray { background: #f3f4f6; }

/* ── Sections ── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: 0.75rem; }
.section-header p { color: var(--text-2); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ── Features ── */
.features { padding: 6rem 0; background: #f8fafc; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--border); transition: box-shadow 0.2s, transform 0.2s; }
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem; }
.feature-icon.blue { background: #dbeafe; } .feature-icon.green { background: #dcfce7; }
.feature-icon.orange { background: #ffedd5; } .feature-icon.purple { background: #ede9fe; }
.feature-icon.teal { background: #ccfbf1; } .feature-icon.red { background: #fee2e2; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-2); }

/* ── How it works ── */
.how-it-works { padding: 6rem 0; }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.step { max-width: 240px; text-align: center; }
.step-number { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: var(--text-2); }
.step code { background: var(--blue-light); color: var(--blue); padding: 2px 6px; border-radius: 4px; font-size: 0.78rem; }
.step-arrow { font-size: 1.5rem; color: var(--text-3); margin-top: 1rem; align-self: center; }

/* ── Plans ── */
.plans { padding: 6rem 0; background: #f8fafc; }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; align-items: start; }
.plan-card { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); position: relative; }
.plan-card.featured { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 12px; border-radius: 20px; white-space: nowrap; }
.plan-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.plan-price { font-size: 1.5rem; font-weight: 800; color: var(--blue); margin-bottom: 0.5rem; }
.plan-desc { font-size: 0.85rem; color: var(--text-2); margin-bottom: 1.5rem; }
.plan-features { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.75rem; }
.plan-features li { font-size: 0.875rem; color: var(--text-2); }

/* ── Contact ── */
.contact { padding: 6rem 0; }
.contact-box { background: var(--blue); border-radius: 20px; padding: 4rem 3rem; text-align: center; color: #fff; }
.contact-box h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.75rem; }
.contact-box p { font-size: 1.05rem; opacity: 0.85; margin-bottom: 2rem; }
.contact-actions { display: flex; justify-content: center; }
.contact-box .btn-primary { background: #fff; color: var(--blue); border-color: #fff; }
.contact-box .btn-primary:hover { background: var(--blue-light); }

/* ── Footer ── */
.footer { padding: 2rem 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-inner p { font-size: 0.85rem; color: var(--text-3); }
.footer-inner a { color: var(--blue); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { flex-direction: column; gap: 3rem; padding: 3rem 1.5rem; min-height: auto; }
  .hero-visual { width: 100%; }
  .nav-links { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0; }
  .contact-box { padding: 2.5rem 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
