/* ─── ПЕРЕМЕННЫЕ ─── */
:root {
  --bg:        #0A0F0D;
  --bg-card:   #111A15;
  --accent:    #00C896;
  --accent-dim:#00C89620;
  --text:      #F0F4F2;
  --text-muted:#7A9085;
  --border:    #1E2E25;
  --font:      'Manrope', sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.85; }
img { max-width: 100%; display: block; }

/* ─── КОНТЕЙНЕР ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── КНОПКИ ─── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #0A0F0D;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px #00C89640;
  opacity: 1;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
  opacity: 1;
}

/* ─── ШАПКА ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0A0F0Dcc;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
}
.header__logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.header__logo span { color: var(--accent); }
.header__nav {
  display: flex;
  gap: 32px;
  list-style: none;
}
.header__nav a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.header__nav a:hover { color: var(--text); }

/* ─── HERO ─── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}
.hero__badge {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid #00C89640;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero__title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero__title span { color: var(--accent); }
.hero__sub {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__trial {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ─── СЕКЦИИ ─── */
.section { padding: 80px 0; }
.section__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section__sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
}

/* ─── КАРТОЧКИ ФИЧЕЙ ─── */
.features { background: var(--bg); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.feature-card__icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.feature-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── ТАРИФЫ ─── */
.pricing { background: var(--bg-card); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
  max-width: 720px;
}
.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
}
.price-card--featured {
  border-color: var(--accent);
  background: var(--bg-card);
}
.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0A0F0D;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-card__label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.price-card__price {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.price-card__price span {
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 500;
}
.price-card__total {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.price-card__features {
  list-style: none;
  margin-bottom: 28px;
}
.price-card__features li {
  font-size: 15px;
  padding: 6px 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-card__features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

/* ─── FAQ ─── */
.faq__list {
  margin-top: 48px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item__q {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item__q::after {
  content: '+';
  color: var(--accent);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item.open .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 24px;
}
.faq-item.open .faq-item__a {
  max-height: 200px;
  padding: 0 24px 20px;
}

/* ─── CTA ─── */
.cta {
  text-align: center;
  padding: 100px 0;
}
.cta__title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta__sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* ─── ФУТЕР ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copy {
  font-size: 14px;
  color: var(--text-muted);
}
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--text); }

/* ─── АДАПТИВ ─── */
@media (max-width: 768px) {
  .hero__title { font-size: 36px; }
  .hero__sub { font-size: 17px; }
  .features__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .header__nav { display: none; }
  .section__title { font-size: 28px; }
  .cta__title { font-size: 30px; }
  .footer__inner { flex-direction: column; text-align: center; }
}
