:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fb;
  --color-text: #16182b;
  --color-text-muted: #5c5f77;
  --color-border: #e5e7f0;
  --color-primary: #5b5fef;
  --color-primary-dark: #4548c9;
  --color-accent-bg: #eef0ff;
  --color-danger: #e05252;
  --radius: 12px;
  --max-width: 1080px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
}

a {
  color: inherit;
}

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

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.nav__logo {
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav__links a:not(.btn) {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.nav__links a:not(.btn):hover {
  color: var(--color-text);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

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

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Hero */
.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  max-width: 780px;
  margin: 0 auto 20px;
}

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

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

.hero__note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Sections */
section {
  padding: 64px 0;
}

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

h2 {
  font-size: 1.9rem;
  text-align: center;
  margin: 0 0 12px;
}

.section-lead {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
}

/* Problem */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.problem-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}

.problem-card__stat {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-danger);
  margin-bottom: 8px;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.step {
  text-align: center;
}

.step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent-bg);
  color: var(--color-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

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

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

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.price-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.price-card--highlight {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(91, 95, 239, 0.12);
}

.price-card__tier {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.price-card__badge {
  display: inline-block;
  background: var(--color-accent-bg);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 12px;
  width: fit-content;
}

.price-card__price {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.price-card__price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.price-card__limit {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

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

.price-card li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}

.price-card li:first-child {
  border-top: none;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

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

.faq-item p {
  margin: 0;
  color: var(--color-text-muted);
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-text);
}

@media (max-width: 640px) {
  .nav__links {
    gap: 14px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
