:root {
  --primary: #29abe2;
  --primary-dark: #1a8ec7;
  --primary-surface: #e5f6fd;
  --bg: #f0f2f7;
  --surface: #ffffff;
  --border: #e5e8f0;
  --text-primary: #1a1d2e;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --success: #10b981;
  --success-surface: #ecfdf5;
  --warning: #f59e0b;
  --warning-surface: #fffbeb;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 2px 10px rgba(26, 29, 46, 0.06);
  --shadow-lifted: 0 12px 30px rgba(26, 29, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.5;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 72px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(41, 171, 226, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: var(--surface);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-block {
  width: 100%;
}

/* Nav */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 242, 247, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-secondary);
}

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

.nav-cta {
  display: flex;
  align-items: center;
}

.nav-mobile-toggle {
  display: none;
}

/* Hero */
.hero {
  padding: 64px 0 40px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-surface);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
}

.hero h1 span {
  color: var(--primary);
}

.hero p.lead {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, var(--primary-surface) 0%, rgba(229, 246, 253, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lifted);
  padding: 28px;
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.hero-card img {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
}

.hero-card .stat-row {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.hero-card .stat-row div span {
  display: block;
}

.hero-card .stat-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-card .stat-value {
  font-size: 15px;
  font-weight: 800;
  margin-top: 2px;
}

/* Section heading */
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.eyebrow {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 16px;
  margin: 0;
}

/* Problem section */
.problems {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.problem-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}

.problem-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--warning-surface);
  color: var(--warning);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
}

.problem-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}

.problem-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
}

.feature-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-surface);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* How it works */
.steps {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
}

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 15px;
}

.step h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}

.step p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lifted);
  transform: translateY(-8px);
}

.price-card .ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

.price-card .plan-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.price-card .plan-price {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 2px;
}

.price-card .plan-price small {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.price-card .plan-yearly {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex: 1;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
  padding: 7px 0;
}

.price-card li .check {
  color: var(--success);
  font-weight: 800;
  flex-shrink: 0;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 12px;
}

.cta-banner p {
  font-size: 15.5px;
  opacity: 0.92;
  margin: 0 0 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn-primary:hover {
  background: #f5fbff;
}

.cta-note {
  margin-top: 16px;
  font-size: 12.5px;
  opacity: 0.85;
}

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

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 13.5px;
  max-width: 280px;
  margin: 10px 0 0;
}

.footer-contact {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.footer-contact a {
  color: var(--primary-dark);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
}

/* Legal document pages */
.legal-hero {
  padding: 48px 0 8px;
  text-align: center;
}

.legal-hero .eyebrow {
  display: inline-block;
}

.legal-hero h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.legal-hero p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0;
}

.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.legal-doc .legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.legal-doc h2 {
  font-size: 19px;
  font-weight: 800;
  margin: 32px 0 12px;
  padding-top: 4px;
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin: 20px 0 8px;
}

.legal-doc p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.legal-doc ul,
.legal-doc ol {
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal-doc li {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.legal-doc li strong {
  color: var(--text-primary);
}

.legal-doc a {
  color: var(--primary-dark);
  font-weight: 600;
}

.legal-doc a:hover {
  text-decoration: underline;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 13.5px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
}

.legal-table th {
  background: var(--bg);
  font-weight: 700;
  color: var(--text-primary);
}

.legal-table td {
  color: var(--text-secondary);
}

.legal-note {
  background: var(--primary-surface);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--text-primary);
  margin: 0 0 16px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero h1 {
    font-size: 34px;
  }

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

  .price-card.featured {
    transform: none;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 560px) {
  section {
    padding: 52px 0;
  }

  .hero {
    padding: 40px 0 24px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .problem-grid,
  .feature-grid,
  .step-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 40px 22px;
  }

  .footer-top {
    flex-direction: column;
  }

  .legal-doc .legal-card {
    padding: 24px 20px;
  }

  .legal-hero h1 {
    font-size: 25px;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
