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

:root {
  --bg:        #0d1f1a;
  --bg2:       #122019;
  --bg3:       #163022;
  --card:      #172a20;
  --border:    #1e3d2a;
  --green:     #1db954;
  --green-d:   #179944;
  --lime:      #b5f03a;
  --lime-d:    #9dd430;
  --purple:    #8c2be3;
  --purple-d:  #7320c0;
  --text:      #d6ede0;
  --text-muted:#7aaa8a;
  --white:     #ffffff;
  --gold:      #f5c542;
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.65; min-height: 100vh; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ===== ANCHOR LINKS ===== */
.anchor-link { color: var(--green) !important; text-decoration: underline !important; font-weight: 700; }
.anchor-link:hover { color: var(--lime) !important; }

/* ===== HEADER ===== */
header { background: #091510; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
.header-top { background: #091510; border-bottom: 1px solid #0e2319; }
.header-top-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 32px; width: auto; }
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn-login { color: var(--text); border: 1px solid var(--border); padding: 7px 18px; border-radius: 6px; font-size: 14px; font-weight: 600; transition: all .2s; }
.btn-login:hover { border-color: var(--lime); color: var(--lime); text-decoration: none; }
.btn-register { background: var(--purple); color: #fff; padding: 8px 20px; border-radius: 6px; font-size: 14px; font-weight: 700; letter-spacing: .3px; transition: opacity .2s; }
.btn-register:hover { opacity: .88; text-decoration: none; }

/* NAV BAR */
.nav-bar { background: var(--bg2); border-top: 1px solid var(--border); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; height: 44px; gap: 4px; }
nav.main-nav { display: flex; align-items: center; gap: 2px; }
nav.main-nav a { color: var(--text-muted); padding: 6px 16px; border-radius: 5px; font-size: 14px; font-weight: 600; transition: all .2s; white-space: nowrap; }
nav.main-nav a:hover { color: var(--white); background: var(--bg3); text-decoration: none; }
nav.main-nav a.active { color: var(--white); background: var(--bg3); border-bottom: 2px solid var(--lime); }

/* BURGER */
.burger-toggle { display: none; }
.burger-label { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger-label span { display: block; width: 22px; height: 2px; background: var(--text); transition: all .3s; }
.mobile-nav { display: none; background: #091510; border-top: 1px solid var(--border); padding: 12px 20px; }
.mobile-nav a { display: block; color: var(--text); padding: 10px 0; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--lime); text-decoration: none; }

/* ===== HERO — text left, image right ===== */
.hero { background: var(--bg2); border-bottom: 1px solid var(--border); }
.hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 260px; gap: 0; }
.hero-body { padding: 36px 40px 36px 0; }
.hero-body h1 { font-size: clamp(20px, 2.8vw, 34px); font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: 12px; }
.hero-body p { color: #9ab8a0; font-size: 14px; margin-bottom: 22px; line-height: 1.65; max-width: 480px; }
.btn-wide { display: block; background: var(--purple); color: #fff; font-weight: 800; font-size: 14px; padding: 15px 24px; border-radius: 6px; letter-spacing: .8px; text-transform: uppercase; text-align: center; transition: opacity .2s; max-width: 400px; }
.btn-wide:hover { opacity: .88; text-decoration: none; color: #fff; }
.hero-img { overflow: hidden; height: 100%; min-height: 260px; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-img { min-height: 200px; order: -1; }
  .hero-body { padding: 20px 0; }
  .btn-wide { max-width: 100%; }
}

/* ===== BUTTONS ===== */
.btn-cta { display: inline-block; background: var(--lime); color: #111; font-weight: 800; font-size: 14px; padding: 12px 36px; border-radius: 6px; letter-spacing: .5px; text-transform: uppercase; transition: opacity .2s; }
.btn-cta:hover { opacity: .88; text-decoration: none; color: #111; }
.btn-green { display: inline-block; background: var(--green); color: #fff; font-weight: 700; font-size: 14px; padding: 11px 30px; border-radius: 6px; transition: opacity .2s; }
.btn-green:hover { opacity: .88; text-decoration: none; color: #fff; }
.btn-outline { display: inline-block; border: 2px solid var(--lime); color: var(--lime); font-weight: 700; font-size: 14px; padding: 10px 28px; border-radius: 6px; transition: all .2s; }
.btn-outline:hover { background: var(--lime); color: #111; text-decoration: none; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 10px 0; color: var(--text-muted); font-size: 13px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb span { margin: 0 6px; }

/* ===== CONTAINER ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
main { padding: 36px 0 60px; }

/* ===== PAGE HEADER ===== */
.page-header { background: linear-gradient(135deg, var(--bg2), #0a1a10); border-bottom: 1px solid var(--border); padding: 28px 0 20px; margin-bottom: 32px; }
.page-header h1 { font-size: clamp(20px, 3.5vw, 32px); font-weight: 800; color: var(--white); margin-bottom: 8px; }
.page-header .meta-desc { color: var(--text-muted); font-size: 15px; max-width: 720px; }

/* ===== TWO-COL ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-bottom: 36px; }

/* ===== CONTENT BLOCKS ===== */
.content-block { margin-bottom: 32px; }
.content-block h2 { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--green); }
.content-block h3 { font-size: 17px; font-weight: 600; color: var(--lime); margin: 18px 0 9px; }
.content-block p { color: var(--text); margin-bottom: 12px; line-height: 1.7; }
.content-block ul, .content-block ol { padding-left: 22px; margin-bottom: 12px; }
.content-block li { margin-bottom: 6px; color: var(--text); }

/* ===== TABLE OF CONTENTS ===== */
.toc-box { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--green); border-radius: 8px; padding: 18px 22px; margin-bottom: 28px; }
.toc-box .toc-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); margin-bottom: 10px; font-size: 15px; }
.toc-box ul { list-style: none; padding: 0; }
.toc-box li { padding: 3px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.toc-box li:last-child { border-bottom: none; }
.toc-box a { color: var(--text-muted); }
.toc-box a:hover { color: var(--lime); }

/* ===== TABLE ===== */
.tbl-wrap { overflow-x: auto; margin-bottom: 20px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { background: var(--bg3); color: var(--lime); padding: 10px 14px; text-align: left; border: 1px solid var(--border); font-weight: 700; }
td { padding: 9px 14px; border: 1px solid var(--border); color: var(--text); vertical-align: top; }
tr:nth-child(even) td { background: rgba(255,255,255,.025); }

/* ===== BANNER IMG ===== */
.banner-img { border-radius: 10px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,.5); }
.banner-img img { width: 100%; border-radius: 10px; }
.banner-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }

/* ===== FEATURE CARDS ===== */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-top: 3px solid var(--green); border-radius: 10px; padding: 22px 18px; text-align: center; }
.feature-card .icon { font-size: 30px; margin-bottom: 10px; }
.feature-card h3 { font-size: 15px; color: var(--lime); margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-muted); }

/* ===== STEPS ===== */
.steps { margin-bottom: 18px; }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { background: var(--green); color: #fff; width: 28px; height: 28px; border-radius: 50%; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-text { color: var(--text); line-height: 1.6; }

/* ===== FAQ ===== */
.faq { margin-bottom: 32px; }
.faq h2 { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--green); }
.faq-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 7px; overflow: hidden; }
.faq-item input[type="checkbox"] { display: none; }
.faq-label { display: flex; justify-content: space-between; align-items: center; padding: 13px 18px; cursor: pointer; background: var(--card); font-weight: 600; color: var(--text); user-select: none; transition: background .2s; }
.faq-label:hover { background: var(--bg3); }
.faq-label::after { content: '+'; font-size: 20px; color: var(--lime); flex-shrink: 0; margin-left: 12px; }
.faq-item input:checked ~ .faq-label::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; background: var(--bg2); transition: max-height .3s ease, padding .3s; padding: 0 18px; color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.faq-item input:checked ~ .faq-answer { max-height: 400px; padding: 13px 18px; }

/* ===== CTA STRIP ===== */
.cta-strip { background: linear-gradient(135deg, var(--bg3), #0d2015); border: 1px solid var(--green); border-radius: 10px; padding: 28px 32px; text-align: center; margin: 32px 0; }
.cta-strip h2 { font-size: 21px; color: #fff; margin-bottom: 8px; }
.cta-strip p { color: var(--text-muted); margin-bottom: 18px; }

/* ===== INFO BOX ===== */
.info-box { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--lime); border-radius: 8px; padding: 16px 20px; margin-bottom: 20px; }
.info-box p { color: var(--text); margin: 0; font-size: 14px; }

/* ===== FOOTER ===== */
footer { background: #060f0b; border-top: 1px solid var(--border); padding: 16px 0; }
.footer-simple { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.footer-simple p { color: var(--text-muted); font-size: 13px; margin-bottom: 4px; line-height: 1.6; }
.footer-simple .cookie-notice { font-size: 12px; }
.footer-simple a { color: var(--text-muted); text-decoration: underline; }
.footer-simple a:hover { color: var(--lime); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav.main-nav { display: none; }
  .burger-label { display: flex; }
  .burger-toggle:checked ~ .mobile-nav { display: block; }

  .hero-overlay { padding: 18px 20px; }
  .hero-text h1 { font-size: 19px; }
  .hero { max-height: none; }
  .hero img { max-height: 280px; }

  .two-col { grid-template-columns: 1fr; }
  .banner-row { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .cta-strip { padding: 20px 16px; }
  .page-header { padding: 18px 0 14px; }
}
