:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --fg: #0f172a;
  --fg-muted: #5b6472;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --border: #e5e7eb;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.10);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-alt);
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  color: var(--fg-muted);
  padding: 10px 14px;
}

.btn-ghost:hover {
  color: var(--fg);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

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

.nav-links a {
  color: var(--fg-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 96px 0 64px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37, 99, 235, 0.10), transparent);
}

.hero-inner {
  text-align: center;
  max-width: 780px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  margin: 0 auto 32px;
  max-width: 620px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-visual {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Placeholder boxes */
.placeholder-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  color: var(--fg-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.placeholder-hero {
  height: 420px;
  box-shadow: var(--shadow-lg);
}

.placeholder-icon {
  font-size: 2.4rem;
}

/* Trust row */
.trust {
  padding: 32px 0 64px;
}

.trust-label {
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin: 0 0 20px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.logo-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

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

/* Grid & cards */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-compact {
  padding: 22px;
}

.card-icon {
  display: inline-block;
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

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

.step {
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.92rem;
}

/* Testimonials */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.testimonial p {
  margin: 0;
  font-size: 1rem;
  color: var(--fg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author div {
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
}

.testimonial-author span {
  color: var(--fg-muted);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

/* Pricing */
.pricing-grid {
  max-width: 720px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.price-card h3 {
  margin: 0 0 8px;
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 20px;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg-muted);
}

.price-card ul {
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card li {
  color: var(--fg-muted);
  font-size: 0.92rem;
  padding-left: 22px;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.price-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}

/* CTA banner */
.cta-banner {
  background: var(--fg);
  color: #fff;
  padding: 80px 0;
}

.cta-banner-inner {
  text-align: center;
  max-width: 560px;
}

.cta-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-banner p {
  color: #cbd5e1;
  margin: 0 0 28px;
}

/* Footer */
.footer {
  background: var(--bg-alt);
  padding: 56px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-cols h4 {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.footer-cols a {
  display: block;
  color: var(--fg);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.footer-cols a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 860px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }

  .nav.open .nav-actions {
    display: flex;
    position: absolute;
    top: calc(68px + 190px);
    left: 0;
    right: 0;
    background: #fff;
    padding: 0 24px 20px;
    gap: 10px;
    border-bottom: 1px solid var(--border);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .grid-3,
  .grid-2,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 72px 0 48px;
  }

  .placeholder-hero {
    height: 260px;
  }
}
