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

:root {
  --bg: #140C24;
  --bg2: #1a0f3a;
  --card: #251E3F;
  --card2: #2d2550;
  --header: #2C2448;
  --ac: #FECB3F;
  --ac-h: #ffd966;
  --ac-glow: rgba(254,203,63,0.35);
  --tx: #ffffff;
  --mu: rgba(255,255,255,0.65);
  --bd: rgba(255,255,255,0.08);
  --bd2: rgba(255,255,255,0.12);
  --rad: 14px;
  --rad-lg: 22px;
  --green: #4ade80;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: 'Onest', Arial, sans-serif; background: var(--bg); color: var(--tx); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* HEADER */
header { background: var(--header); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--bd); backdrop-filter: blur(16px); }
.hi { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-size: 20px; font-weight: 900; color: var(--ac); letter-spacing: -.01em; white-space: nowrap; }
nav.desk { display: flex; gap: 2px; align-items: center; }
nav.desk a { color: var(--mu); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 8px; transition: color .18s, background .18s; white-space: nowrap; }
nav.desk a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.hdr-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brg { display: none; background: rgba(255,255,255,0.06); border: 1px solid var(--bd); border-radius: 8px; color: var(--tx); cursor: pointer; padding: 8px 12px; font-size: 18px; transition: background .18s; }
.mob-menu { display: none; flex-direction: column; gap: 2px; background: var(--header); border-top: 1px solid var(--bd); padding: 10px 16px 14px; }
.mob-menu a { color: var(--mu); font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 9px; transition: background .18s, color .18s; }
.mob-menu a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.mob-bottom { display: flex; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--bd); }
.mob-menu .btn-cta { flex: 1; justify-content: center; }
.mob-menu.open { display: flex; }

/* BUTTONS */
.btn-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--ac); color: #000 !important; font-weight: 800; font-size: 14px; padding: 10px 22px; border-radius: 10px; transition: background .18s, transform .15s, box-shadow .2s; white-space: nowrap; box-shadow: 0 4px 16px var(--ac-glow); border: none; cursor: pointer; letter-spacing: .01em; }
.btn-cta:hover { background: var(--ac-h); transform: translateY(-1px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--bd2); color: var(--tx); font-weight: 600; font-size: 14px; padding: 10px 22px; border-radius: 10px; transition: border-color .2s, background .2s; white-space: nowrap; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }

/* SECTIONS */
.sec { max-width: 1200px; margin: 0 auto; padding: 72px 24px; }
.sec-label { display: inline-flex; align-items: center; gap: 8px; background: rgba(254,203,63,0.08); border: 1px solid rgba(254,203,63,0.2); color: var(--ac); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; margin-bottom: 14px; }
h2 { font-size: clamp(26px,3.5vw,42px); font-weight: 800; line-height: 1.2; margin-bottom: 12px; color: #ffffff; }
h2 em { font-style: normal; color: var(--ac); }
.sub { color: var(--mu); font-size: 16px; margin-top: 10px; max-width: 640px; }
.divider { border: none; border-top: 1px solid var(--bd); margin: 0; }

/* HERO */
.hero { position: relative; overflow: hidden; background-color: #140C24; }
.hero-character { position: absolute; right: 370px; bottom: 0; z-index: 1; width: 240px; pointer-events: none; }
.hero-character img { width: 100%; height: auto; display: block; }
@media (max-width: 1100px) { .hero-character { display: none; } }
.hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 80px 24px; display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: center; }
.hero-left { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mu); margin-bottom: 20px; flex-wrap: wrap; line-height: 1.6; }
.hero-badge span { background: rgba(74,222,128,0.15); border: 1px solid rgba(74,222,128,0.35); color: var(--green); border-radius: 100px; padding: 4px 12px; font-size: 12px; }
.hero h1 { font-size: clamp(32px,4.5vw,56px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; margin-bottom: 20px; color: #ffffff; }
.hero h1 em { font-style: normal; color: var(--ac); }
.hero-desc { color: var(--mu); font-size: 17px; line-height: 1.6; margin-bottom: 28px; max-width: 520px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hs { display: flex; flex-direction: column; gap: 2px; }
.hs-v { font-size: 22px; font-weight: 800; color: var(--ac); }
.hs-l { font-size: 12px; color: var(--mu); font-weight: 500; }

/* HERO CARD — поверх персонажа */
.hero-card { position: relative; z-index: 2; background: var(--card); border: 1px solid rgba(254,203,63,0.15); border-radius: var(--rad-lg); padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,0.7); }
.hc-title { font-size: 13px; font-weight: 700; color: var(--mu); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.hc-steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.hc-step { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.03); border: 1px solid var(--bd); border-radius: 10px; padding: 12px 14px; }
.hc-step-n { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(254,203,63,0.3); background: rgba(254,203,63,0.08); color: var(--ac); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hc-step-label { font-size: 11px; color: var(--mu); font-weight: 500; }
.hc-step-val { font-size: 14px; font-weight: 700; color: #ffffff; }
.hc-note { font-size: 11px; color: var(--mu); text-align: center; margin-top: 12px; }

/* FEATURES */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.feat-card { background: var(--card); border: 1px solid var(--bd); border-radius: var(--rad); padding: 24px; transition: border-color .2s, transform .2s; }
.feat-card:hover { border-color: rgba(254,203,63,0.25); transform: translateY(-2px); }
.feat-icon { font-size: 28px; margin-bottom: 12px; }
.feat-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #ffffff; }
.feat-desc { font-size: 14px; color: var(--mu); line-height: 1.6; }

/* CONTENT */
.content-body { max-width: 800px; }
.content-body h2 { margin-top: 40px; margin-bottom: 12px; }
.content-body h3 { font-size: 20px; font-weight: 700; margin-top: 28px; margin-bottom: 10px; color: #ffffff; }
.content-body p { color: var(--mu); font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.content-body ul, .content-body ol { color: var(--mu); font-size: 16px; line-height: 1.75; padding-left: 24px; margin-bottom: 16px; }
.content-body li { margin-bottom: 6px; }
.content-body strong { color: var(--tx); font-weight: 700; }
.content-body a { color: var(--ac); border-bottom: 1px solid rgba(254,203,63,0.3); }

/* FAQ */
.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--card); border: 1px solid var(--bd); border-radius: var(--rad); overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: rgba(254,203,63,0.2); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: transparent; border: none; cursor: pointer; text-align: left; color: #ffffff; font-size: 15px; font-weight: 600; font-family: 'Onest', Arial, sans-serif; transition: background .18s; }
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-icon { font-size: 20px; color: var(--ac); flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; padding: 0 20px; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 20px 18px; }
.faq-a p { color: var(--mu); font-size: 15px; line-height: 1.7; }

/* CTA */
.cta-sec { text-align: center; }
.cta-sec .sub { margin: 0 auto; }

/* FOOTER */
footer { background: var(--card); border-top: 1px solid var(--bd); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 40px 24px 32px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; color: var(--mu); transition: color .18s; }
.footer-nav a:hover { color: var(--tx); }
.footer-note { font-size: 13px; color: var(--mu); margin-top: 20px; line-height: 1.6; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 8px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  nav.desk { display: none; }
  .brg { display: flex; }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
