:root{
    --bg:#0d0f13; /* deep slate */
    --card:#151922;
    --accent:#ff9f1a; /* warm tiger orange */
    --accent-2:#ff4d2d; /* coral */
    --text:#e6e8ef;
    --muted:#9aa3b2;
    --success:#15c27a;
    --warning:#ffd166;
    --link:#7cc0ff;
    --radius:8px; /* keep it subtle */
    --shadow:0 10px 25px rgba(0,0,0,.35);
    --maxw:1160px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(1200px 800px at 80% -10%,rgba(255,157,26,.15),transparent),
radial-gradient(900px 600px at 10% 10%,rgba(255,77,45,.12),transparent),var(--bg);
    color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.6}
a{color:var(--link);text-decoration:none}
img{max-width:100%;height:auto;border-radius:var(--radius)}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
header.site-header{position:sticky;top:0;z-index:50;background:rgba(13,15,19,.75);backdrop-filter:saturate(160%) blur(10px);border-bottom:1px solid rgba(255,255,255,.06)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{border-radius:6px}
.brand h2{font:700 18px Poppins,Inter,sans-serif;margin:0;letter-spacing:.3px}
.nav a.cta{background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#111;padding:10px 16px;border-radius:6px;font-weight:700;text-transform:uppercase;letter-spacing:.6px}
.nav a.cta:hover{filter:brightness(1.05)}
.nav ul{display:flex;gap:18px;list-style:none;margin:0;padding:0}
.nav ul a{color:var(--text);opacity:.9}
.nav ul a:hover{opacity:1}

/* Hero */
.hero{position:relative;isolation:isolate}
.hero .bg{position:absolute;inset:0;z-index:-1}
.hero .bg img{width:100%;height:100%;object-fit:cover;border-radius:0}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.55),rgba(13,15,19,.85));z-index:-1}
.hero .wrap{padding:64px 0 36px}
.hero .badge{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.06);padding:6px 10px;border-radius:6px;font-weight:600}
.hero h1{font:800 38px Poppins,Inter,sans-serif;margin:16px 0 10px}
.hero p{max-width:720px;margin:0 0 14px;color:#dfe3eb}
.promocode{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 24px}
.code{display:inline-flex;align-items:center;gap:10px;background:#141820;border:1px dashed rgba(255,255,255,.25);padding:10px 14px;border-radius:6px;font:700 16px Poppins;color:#fff}
.code b{color:var(--warning)}
.cta-row{display:flex;flex-wrap:wrap;gap:12px}
.btn{display:inline-block;padding:12px 18px;border-radius:6px;font-weight:800;text-transform:uppercase;letter-spacing:.6px}
.btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#111}
.btn-ghost{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07);color:#fff}

/* Sections */
section{padding:56px 0;border-top:1px solid rgba(255,255,255,.06)}
section:first-of-type{border-top:none}
h2.section-title{font:800 28px Poppins,Inter,sans-serif;margin:0 0 18px}
h3{font-weight:700;margin:16px 0 10px}
.grid{display:grid;grid-template-columns:1.1fr .9fr;gap:28px}
.grid.reverse{grid-template-columns:.9fr 1.1fr}
.card{background:var(--card);border:1px solid rgba(255,255,255,.08);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}
.muted{color:var(--muted)}

/* Table */
table{width:100%;border-collapse:collapse;background:var(--card);border:1px solid rgba(255,255,255,.08);border-radius:var(--radius);overflow:hidden}
th,td{text-align:left;padding:12px;border-bottom:1px solid rgba(255,255,255,.06)}
th{font-weight:700;background:rgba(255,255,255,.04)}
tr:last-child td{border-bottom:none}

/* FAQ */
.faq{display:grid;gap:12px}
details{background:var(--card);border:1px solid rgba(255,255,255,.08);border-radius:6px;padding:12px}
details[open]{outline:1px solid rgba(255,255,255,.12)}
summary{cursor:pointer;font-weight:600}

/* Breadcrumbs */
.breadcrumbs{font-size:14px;color:var(--muted);margin:8px 0 0}
.breadcrumbs a{color:var(--muted)}

/* Demo iframe */
.demo{position:relative;aspect-ratio:16/9;background:#0f131a;border:1px solid rgba(255,255,255,.08);border-radius:6px;overflow:hidden}
.demo iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* Footer */
footer{padding:36px 0;background:#0b0e13;border-top:1px solid rgba(255,255,255,.08)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:24px}
.legal{font-size:13px;color:var(--muted)}

/* Responsive */
@media (max-width: 980px){
    .grid,.grid.reverse,.footer-grid{grid-template-columns:1fr}
    .hero .wrap{padding:48px 0 24px}
    .hero h1{font-size:32px}
}



/* ===== Burger visibility ===== */
.burger{ display:none; }

@media (max-width: 980px){
    /* прячем десктоп-меню, показываем бургер */
    .nav ul{ display:none; }
    .nav a.cta{ display:none; }
    .burger{
        display:inline-flex;
        align-items:center; justify-content:center;
        width:44px; height:44px;
        border:1px solid rgba(255,255,255,.18);
        background:rgba(255,255,255,.06);
        border-radius:4px; /* аккуратно, не «пухло» */
        cursor:pointer;
    }
    .burger-box{ display:inline-block; width:20px; height:16px; position:relative; }
    .burger-line{
        position:absolute; left:0; right:0; height:2px; background:#e6e8ef;
        transform-origin:center; transition:transform .2s ease, opacity .2s ease, top .2s ease;
    }
    .burger-line:nth-child(1){ top:0; }
    .burger-line:nth-child(2){ top:7px; }
    .burger-line:nth-child(3){ top:14px; }

    /* состояние открыто */
    .burger[aria-expanded="true"] .burger-line:nth-child(1){ top:7px; transform:rotate(45deg); }
    .burger[aria-expanded="true"] .burger-line:nth-child(2){ opacity:0; }
    .burger[aria-expanded="true"] .burger-line:nth-child(3){ top:7px; transform:rotate(-45deg); }

    /* Backdrop */
    .mobile-backdrop{
        position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:90;
    }

    /* Drawer menu */
    .mobile-menu{
        position:fixed; top:0; right:0; height:100dvh; width:min(86vw, 340px);
        background:#0b0e13; border-left:1px solid rgba(255,255,255,.10);
        transform:translateX(100%); transition:transform .25s ease; z-index:99;
        padding:calc(env(safe-area-inset-top) + 10px) 16px 16px 16px;
        box-shadow:0 10px 30px rgba(0,0,0,.45);
    }
    .mobile-menu.open{ transform:translateX(0); }
    .mobile-menu ul{ list-style:none; margin:0; padding:0; }
    .mobile-menu li{ border-bottom:1px solid rgba(255,255,255,.08); }
    .mobile-menu li.divider{ border-bottom:0; margin:8px 0; }
    .mobile-menu a{
        display:block; padding:14px 4px; color:#e6e8ef; text-decoration:none;
        font-weight:600;
    }
    .mobile-menu a:hover{ opacity:.9; }
    .mobile-menu a.cta{
        margin-top:6px; background:linear-gradient(135deg, var(--accent), var(--accent-2));
        color:#111; text-align:center; border-radius:4px; padding:12px 10px; font-weight:800;
        text-transform:uppercase; letter-spacing:.4px;
    }

    /* блокируем скролл body при открытом меню */
    body.menu-open{ overflow:hidden; }
}
