/* ─── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:    #0D9488;
  --teal-d:  #0F766E;
  --teal-l:  #CCFBF1;
  --dark:    #111827;
  --grey:    #6B7280;
  --light:   #F9FAFB;
  --white:   #FFFFFF;
  --radius:  8px;
  --max-w:   1120px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ─── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .1s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary   { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-d); text-decoration: none; }

.btn-secondary { background: var(--light); color: var(--dark); border: 1px solid #D1D5DB; }
.btn-secondary:hover { background: #F3F4F6; text-decoration: none; }

/* ─── Nav ──────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.nav-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo img { width: 32px; height: 32px; }
.nav-logo:hover { text-decoration: none; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--grey); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--dark); text-decoration: none; }

.nav-cta {
  padding: 10px 24px;
  font-size: 14px;
}

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--teal); }
.hero p {
  font-size: 20px;
  color: var(--grey);
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-l);
  color: var(--teal-d);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

/* ─── Features ─────────────────────────────────────────────────── */
.features {
  padding: 80px 0;
  background: var(--light);
}
.features h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}
.features > .container > p {
  text-align: center;
  color: var(--grey);
  font-size: 18px;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-l);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--grey);
  font-size: 15px;
}

/* ─── How It Works ─────────────────────────────────────────────── */
.how-it-works {
  padding: 80px 0;
}
.how-it-works h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 48px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
}
.step {
  text-align: center;
  counter-increment: step;
}
.step-num {
  width: 48px;
  height: 48px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  color: var(--grey);
  font-size: 15px;
}

/* ─── Pricing ──────────────────────────────────────────────────── */
.pricing {
  padding: 80px 0;
  background: var(--light);
}
.pricing h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}
.pricing > .container > p {
  text-align: center;
  color: var(--grey);
  font-size: 18px;
  margin-bottom: 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--teal);
  box-shadow: 0 4px 24px rgba(13, 148, 136, .12);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 12px;
  white-space: nowrap;
}
.price-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.price-amount {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 4px;
}
.price-amount span { font-size: 16px; font-weight: 400; color: var(--grey); }
.price-period {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 24px;
}
.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}
.price-features li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--dark);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.price-features li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}
.price-features li.disabled {
  color: var(--grey);
  text-decoration: line-through;
}
.price-features li.disabled::before {
  content: "✗";
  color: #D1D5DB;
}

.price-card .btn { width: 100%; text-align: center; }

/* ─── CTA ──────────────────────────────────────────────────────── */
.cta {
  padding: 80px 0;
  text-align: center;
}
.cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta p {
  color: var(--grey);
  font-size: 18px;
  margin-bottom: 32px;
}

/* ─── Footer ───────────────────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid #E5E7EB;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--grey); font-size: 14px; }
.footer-links a:hover { color: var(--dark); }
.footer-copy { color: var(--grey); font-size: 14px; }

/* ─── Page Header (for sub-pages) ──────────────────────────────── */
.page-header {
  padding: 48px 0 32px;
  text-align: center;
  background: var(--light);
  border-bottom: 1px solid #E5E7EB;
}
.page-header h1 {
  font-size: 36px;
  font-weight: 700;
}

/* ─── Content (for sub-pages) ──────────────────────────────────── */
.content {
  padding: 48px 0 80px;
  max-width: 760px;
  margin: 0 auto;
}
.content h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 12px;
}
.content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 8px;
}
.content p, .content li {
  color: #374151;
  font-size: 16px;
  margin-bottom: 12px;
}
.content ul, .content ol {
  padding-left: 24px;
}
.content a { font-weight: 500; }

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid #E5E7EB;
  padding: 16px 0;
}
.faq-q {
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--grey);
  transition: transform .2s;
}
.faq-item.open .faq-q::after {
  content: "−";
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.open .faq-a {
  max-height: 500px;
}
.faq-a p {
  padding-top: 12px;
}

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 17px; }

  .features-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    z-index: 100;
  }

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