:root{
    --bg:#f8f9fb; /* airy light */
    --card:#ffffff; /* clean card */
    --accent:#ffb52e; /* warm golden */
    --accent-2:#f46e42; /* coral */
    --text:#1a1c1f; /* main text */
    --muted:#6c757d; /* secondary text */
    --success:#1cb56f;
    --warning:#ffc107;
    --link:#0077cc;
    --radius:8px; /* keep it subtle */
    --shadow:0 4px 18px rgba(0,0,0,.08);
    --maxw:1160px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    background:
            radial-gradient(1200px 800px at 80% -10%,rgba(255,181,46,.12),transparent),
            radial-gradient(900px 600px at 10% 10%,rgba(244,110,66,.08),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}
a:hover{text-decoration:underline}
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(255,255,255,.85);
    backdrop-filter:saturate(180%) blur(12px);
    border-bottom:1px solid rgba(0,0,0,.05)
}
.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;color:var(--text)}
.nav a.cta{
    background:linear-gradient(135deg,var(--accent),var(--accent-2));
    color:#fff;
    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(255,255,255,.2),var(--bg));
    z-index:-1
}
.hero .wrap{padding:64px 0 36px}
.hero .badge{
    display:inline-flex;align-items:center;gap:8px;
    border:1px solid rgba(0,0,0,.08);
    background:rgba(255,255,255,.9);
    padding:6px 10px;border-radius:6px;font-weight:600;color:var(--text)
}
.hero h1{font:800 38px Poppins,Inter,sans-serif;margin:16px 0 10px;color:var(--text)}
.hero p{max-width:720px;margin:0 0 14px;color:var(--muted)}
.promocode{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 24px}
.code{
    display:inline-flex;align-items:center;gap:10px;
    background:#fff9f0;
    border:1px dashed rgba(0,0,0,.2);
    padding:10px 14px;border-radius:6px;
    font:700 16px Poppins;color:var(--text)
}
.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:#fff}
.btn-ghost{border:1px solid rgba(0,0,0,.1);background:#fff;color:var(--text)}

/* Sections */
section{padding:56px 0;border-top:1px solid rgba(0,0,0,.05)}
section:first-of-type{border-top:none}
h2.section-title{font:800 28px Poppins,Inter,sans-serif;margin:0 0 18px;color:var(--text)}
h3{font-weight:700;margin:16px 0 10px;color:var(--text)}
.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(0,0,0,.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(0,0,0,.08);border-radius:var(--radius);overflow:hidden
}
th,td{text-align:left;padding:12px;border-bottom:1px solid rgba(0,0,0,.06);color:var(--text)}
th{font-weight:700;background:rgba(0,0,0,.03)}
tr:last-child td{border-bottom:none}

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

/* 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:#f1f3f7;
    border:1px solid rgba(0,0,0,.08);
    border-radius:6px;overflow:hidden
}
.demo iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* Footer */
footer{
    padding:36px 0;
    background:#ffffff;
    border-top:1px solid rgba(0,0,0,.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(0,0,0,.12);
        background:#fff;
        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:#1a1c1f;
        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:#ffffff; border-left:1px solid rgba(0,0,0,.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,.12);
    }
    .mobile-menu.open{ transform:translateX(0); }
    .mobile-menu ul{ list-style:none; margin:0; padding:0; }
    .mobile-menu li{ border-bottom:1px solid rgba(0,0,0,.08); }
    .mobile-menu li.divider{ border-bottom:0; margin:8px 0; }
    .mobile-menu a{
        display:block; padding:14px 4px; color:var(--text); 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:#fff; text-align:center; border-radius:4px; padding:12px 10px; font-weight:800;
        text-transform:uppercase; letter-spacing:.4px;
    }

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