@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg: #0b1d14;
  --bg-deep: #071310;
  --bg-card: #102318;
  --bg-card2: #0d1f16;
  --border: rgba(181,226,26,0.12);
  --border-hi: rgba(181,226,26,0.35);
  --lime: #b5e21a;
  --lime-dim: #8ab214;
  --magenta: #d42ea0;
  --purple: #7c2fcb;
  --text: #dff0d0;
  --text-dim: #7a9e6e;
  --text-muted: #4a6e40;
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
}

a { color: var(--lime); text-decoration: none; }
a:hover { color: #d0f060; }

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

/* ── HEADER ── */
.site-header {
  background: rgba(7,19,16,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.main-nav a {
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--lime);
  background: rgba(181,226,26,0.08);
}

.header-cta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-left: auto;
}

.btn-outline {
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--border-hi);
  border-radius: var(--radius-sm);
  color: var(--lime);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: rgba(181,226,26,0.1);
  border-color: var(--lime);
  color: var(--lime);
}

.btn-primary {
  padding: 0.45rem 1.2rem;
  background: var(--lime);
  border-radius: var(--radius-sm);
  color: #071310;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-primary:hover {
  background: #d0f060;
  color: #071310;
}

/* ── BURGER MENU ── */
#burger-toggle { display: none; }
.burger-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.burger-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── MAIN ── */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* ── HERO ── */
.page-hero {
  padding: 2.5rem 0 0;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.page-hero .lead {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 700px;
  line-height: 1.7;
}

/* ── HERO SPLIT (текст слева + баннер справа) ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0 2.5rem;
  min-height: 280px;
}

.hero-split-text {
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.hero-split-text h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

.hero-split-text p {
  font-size: 0.93rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
}

.hero-split-text .play-btn {
  display: block;
  background: var(--lime);
  color: #071310;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
  max-width: 320px;
}
.hero-split-text .play-btn:hover {
  background: #d0f060;
  color: #071310;
  transform: translateY(-1px);
}

.hero-split-img {
  display: block;
  overflow: hidden;
}
.hero-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}
.hero-split-img:hover img {
  transform: scale(1.03);
}

/* ── BANNERS ── */
.banner-hero {
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  max-height: 460px;
}
.banner-hero a { display: block; }
.banner-hero img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.banner-hero img:hover { transform: scale(1.02); }

.banners-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 1.5rem 0;
}
.banners-row a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.banners-row img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.banners-row a:hover img { transform: scale(1.03); }

.banner-inline {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 2rem;
  align-items: center;
  margin: 1.5rem 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 0;
}
.banner-inline-text {
  padding: 2rem;
}
.banner-inline a {
  display: block;
  overflow: hidden;
}
.banner-inline img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.banner-inline a:hover img { transform: scale(1.03); }

/* ── SECTIONS ── */
.content-section {
  margin: 2rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lime);
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}

h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--lime);
  margin: 1.5rem 0 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text);
}

ul, ol {
  margin: 0.75rem 0 1rem 1.5rem;
  color: var(--text);
}
li { margin-bottom: 0.4rem; }

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
}
.card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.card h3 {
  margin-top: 0;
  font-size: 1rem;
  color: #fff;
}
.card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
}

/* ── TABLE ── */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
th {
  background: var(--bg-card);
  color: var(--lime);
  font-weight: 600;
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-hi);
  white-space: nowrap;
}
td {
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(181,226,26,0.03); }

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: linear-gradient(135deg, rgba(181,226,26,0.08) 0%, rgba(124,47,203,0.08) 100%);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.highlight-box h3 {
  color: #fff;
  margin-top: 0;
  font-size: 1.15rem;
}

/* ── STEPS ── */
.steps-list {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  counter-reset: steps;
}
.steps-list li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  background: var(--lime);
  color: #071310;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── FAQ ── */
.faq-list {
  margin: 1rem 0;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
  overflow: hidden;
  background: var(--bg-card2);
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  user-select: none;
  transition: background 0.2s;
}
.faq-label:hover { background: rgba(181,226,26,0.05); }

.faq-label::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--lime);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item input:checked ~ .faq-label::after {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item input:checked ~ .faq-body {
  max-height: 600px;
}

.faq-body-inner {
  padding: 0.75rem 1.25rem 1.25rem;
  color: var(--text-dim);
  font-size: 0.93rem;
  line-height: 1.7;
}
.faq-body-inner p { margin-bottom: 0.5rem; color: var(--text-dim); }

/* ── ANCHOR LINKS ── */
.anchor-link {
  color: #4caf50 !important;
  text-decoration: underline;
  font-weight: 700;
}
.anchor-link:hover {
  color: #7bc67e !important;
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, #0d2b1a 0%, #1a0d2e 100%);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 2rem 0;
}
.cta-section h2 {
  margin-bottom: 0.75rem;
}
.cta-section p {
  color: var(--text-dim);
  margin-bottom: 1.75rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btn {
  display: inline-block;
  background: var(--lime);
  color: #071310;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 2.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.cta-btn:hover {
  background: #d0f060;
  color: #071310;
  transform: translateY(-2px);
}
.cta-btn-secondary {
  display: inline-block;
  border: 1.5px solid var(--border-hi);
  color: var(--lime);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  margin-left: 1rem;
  transition: all 0.2s;
}
.cta-btn-secondary:hover {
  background: rgba(181,226,26,0.1);
  color: var(--lime);
}

/* ── RATING ── */
.rating-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}
.stars { color: var(--lime); font-size: 1.2rem; letter-spacing: 2px; }
.rating-num { font-size: 1.5rem; font-weight: 800; color: #fff; }
.rating-label { font-size: 0.85rem; color: var(--text-muted); }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem 1.75rem;
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-logo img { height: 34px; margin-bottom: 0.6rem; }
.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 100%;
}
.footer-bottom {
  max-width: 1200px;
  margin: 1.25rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-split-text { padding: 1.75rem 1.25rem; }
  .hero-split-text .play-btn { max-width: 100%; }
  .hero-split-img { min-height: 200px; }
  .hero-split-img img { height: 200px; }
  .burger-label { display: flex; }

  .header-inner { flex-wrap: wrap; height: auto; padding: 0.85rem 1rem; gap: 0; }
  .logo-link { flex: 1; }
  .burger-label { order: 2; }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    order: 3;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid var(--border);
    margin-top: 0.75rem;
    gap: 0.15rem;
  }
  #burger-toggle:checked ~ .header-inner .main-nav { display: flex; }
  .main-nav a { padding: 0.7rem 0.5rem; font-size: 0.95rem; }

  .header-cta {
    display: none;
    width: 100%;
    order: 4;
    padding-bottom: 0.5rem;
  }
  #burger-toggle:checked ~ .header-inner .header-cta { display: flex; }

  .page-hero { padding: 2rem 0 1.5rem; }

  .banner-hero { max-height: 240px; }
  .banner-hero img { height: 240px; }

  .banners-row { grid-template-columns: 1fr; }
  .banners-row img { height: 220px; }

  .banner-inline { grid-template-columns: 1fr; }
  .banner-inline img { height: 220px; }
  .banner-inline-text { padding: 1.25rem; }

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

  .cta-section { padding: 2rem 1.25rem; }
  .cta-btn-secondary { margin-left: 0; margin-top: 0.75rem; }

  .footer-inner { flex-direction: column; }
  .footer-nav { margin-left: 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
