:root {
  --green: #16a34a;
  --green-dark: #15803d;
  --green-light: #dcfce7;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #dbeafe;
  --bg: #f8fafc;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.text-accent-green {
  color: var(--green);
}

.text-accent-blue {
  color: var(--blue);
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.95rem;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

.btn--primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4);
}

.btn--secondary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn--secondary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn--large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ---------------- Scroll fade-in ---------------- */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
}

/* ---------------- Header ---------------- */

.header {
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.logo__subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav a {
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

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

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------------- Hero ---------------- */

.hero {
  padding: 96px 0 64px;
  text-align: center;
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.hero__subtitle {
  max-width: 680px;
  margin: 28px auto 0;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero__cta {
  margin-top: 36px;
}

/* ---------------- Hero visual: browser mockup ---------------- */

.hero__visual {
  margin-top: 72px;
  display: flex;
  justify-content: center;
}

.browser-mock {
  width: 100%;
  max-width: 920px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.browser-mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #eef1f5;
  border-bottom: 1px solid var(--border);
}

.browser-mock__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d1d5db;
}

.browser-mock__dot:nth-child(1) { background: #f87171; }
.browser-mock__dot:nth-child(2) { background: #fbbf24; }
.browser-mock__dot:nth-child(3) { background: #34d399; }

.browser-mock__url {
  margin-left: 12px;
  background: var(--white);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex: 1;
  max-width: 360px;
}

.browser-mock__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------------- Use cases ---------------- */

.use-cases {
  padding: 16px 0 64px;
}

.use-cases__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.use-case-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.use-case-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.use-cases__icon {
  font-size: 1.1rem;
}

/* ---------------- Pricing cards ---------------- */

.pricing {
  padding: 48px 0 80px;
}

.pricing .container {
  max-width: 1360px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 16px;
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

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

.card--highlight {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 60%);
  border-color: #bbf7d0;
}

.card__ribbon {
  position: absolute;
  top: 24px;
  left: 36px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
}

.card__image {
  margin-top: 36px;
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}

.card__image--green {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}

.card__image--blue {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.card__image--photo {
  height: 260px;
  padding: 0;
  margin-left: -36px;
  margin-right: -36px;
  border-radius: 0;
  background: var(--white);
}

.card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 0;
}

.card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.card__price-amount {
  font-size: 2.2rem;
  font-weight: 800;
}

.card__price-note {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex: 1;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.97rem;
  color: var(--text);
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.check--green {
  background: var(--green-light);
  color: var(--green-dark);
}

.check--blue {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.card__footnote {
  text-align: center;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------------- Comparison table ---------------- */

.comparison {
  margin-top: 56px;
}

.comparison__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison__table th,
.comparison__table td {
  padding: 16px 20px;
  text-align: center;
  font-size: 0.92rem;
}

.comparison__table th:first-child,
.comparison__table td:first-child {
  text-align: left;
  font-weight: 600;
}

.comparison__table thead th {
  background: #f8fafc;
  font-size: 0.95rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.comparison__table tbody tr:not(:last-child) td {
  border-bottom: 1px solid var(--border);
}

.comparison__table tbody tr:hover {
  background: #f8fafc;
}

.comparison__yes {
  color: var(--green);
  font-weight: 800;
}

.comparison__no {
  color: var(--text-muted);
  font-weight: 800;
}

/* ---------------- Features ---------------- */

.features {
  padding: 24px 0 80px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  box-shadow: var(--shadow-sm);
}

.feature {
  text-align: left;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 18px;
}

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

.feature p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------------- Plans (steps reused) ---------------- */

.how-it-works {
  padding: 24px 0 80px;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step__number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 44px;
  height: 44px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 14px 0 8px;
}

.step h3 small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------------- Trust cards ---------------- */

.trust {
  padding: 8px 0 64px;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.trust__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.trust__icon {
  font-size: 1.7rem;
}

/* ---------------- FAQ ---------------- */

.faq {
  padding: 24px 0 80px;
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq__item:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  padding: 18px 22px;
  cursor: pointer;
}

.faq__icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--green);
  transition: transform 0.25s ease;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer p {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------------- CTA ---------------- */

.cta {
  padding-bottom: 96px;
}

.cta__box {
  background: var(--green-light);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 56px 40px;
}

.cta__box h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta__box p {
  max-width: 600px;
  margin: 0 auto 28px;
  color: #166534;
  font-size: 1.02rem;
}

/* ---------------- Footer ---------------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__links {
  display: flex;
  gap: 28px;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--green);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 960px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison__table th,
  .comparison__table td {
    padding: 12px 10px;
    font-size: 0.82rem;
  }
}

@media (max-width: 860px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 2.3rem;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header__inner .btn--small {
    display: none;
  }

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

  .hero__title {
    font-size: 2rem;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 32px 24px 28px;
  }

  .card__image--photo {
    height: 200px;
    margin-left: -24px;
    margin-right: -24px;
  }

  .browser-mock__url {
    display: none;
  }

  .comparison__table {
    font-size: 0.75rem;
  }
}
