
:root{
  --bg:#09111f;--panel:#101c31;--text:#eef4ff;--muted:#9aaac1;
  --accent:#4f8cff;--accent2:#73a3ff;--dark:#111827;--line:#e3e8f1;--soft:#f6f8fc;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--dark);background:#fff}
a{text-decoration:none;color:inherit}
button{font:inherit}
.container{width:min(1120px,calc(100% - 32px));margin:0 auto}
.topbar{position:sticky;top:0;z-index:30;background:rgba(9,17,31,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.06)}
.nav{height:68px;display:flex;align-items:center;justify-content:space-between;color:#fff}
.brand{font-weight:900;letter-spacing:.09em}
nav{display:flex;gap:22px;color:#c8d4e7;font-size:14px}
.hero{background:radial-gradient(circle at 76% 10%,#1a3975 0,#09111f 45%);color:var(--text);padding:76px 0 84px}
.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:52px;align-items:center}
.eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:900;color:#417fe8;margin-bottom:13px}
.hero-eyebrow{color:#8fb5ff}
h1{font-size:clamp(42px,6vw,72px);line-height:1.02;letter-spacing:-.045em;margin:0 0 20px}
h2{font-size:clamp(30px,4vw,46px);line-height:1.08;letter-spacing:-.035em;margin:0 0 18px}
h3{margin:0 0 8px}
.lead{font-size:20px;line-height:1.62;color:#c4cee0;max-width:760px}
.hero-pills{display:flex;gap:9px;flex-wrap:wrap;margin:24px 0 28px}
.hero-pills span{padding:8px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);font-size:13px;color:#dce6f7}
.course-card{background:rgba(16,28,49,.96);border:1px solid rgba(255,255,255,.1);border-radius:24px;padding:28px;box-shadow:0 30px 80px rgba(0,0,0,.24)}
.course-card h2{font-size:28px}
.badge{display:inline-block;background:rgba(79,140,255,.16);color:#aac6ff;padding:8px 11px;border-radius:999px;font-size:12px;font-weight:900;margin-bottom:17px}
.price{font-size:46px;font-weight:950;letter-spacing:-.05em}
.pay-type{font-size:13px;color:#91a0b8;margin-top:2px}
.course-card ul{padding-left:20px;color:#cad4e5;line-height:1.75;margin:20px 0 24px}
.btn{border:0;border-radius:12px;padding:14px 20px;font-weight:850;font-size:15px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.btn.primary{background:var(--accent);color:#fff}
.btn.ghost{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.12)}
.btn.full{width:100%}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.micro{font-size:12px;line-height:1.45;color:#8291aa;margin:13px 0 0}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.login-panel{margin-top:30px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.11);border-radius:18px;padding:20px;max-width:680px}
.login-panel h3{font-size:20px}
.login-panel p{margin:5px 0 15px;color:#b8c6da;line-height:1.55}
.telegram-widget{min-height:48px;display:flex;align-items:center}
.telegram-fallback{margin-top:12px;padding:12px 14px;border:1px solid rgba(255,255,255,.11);border-radius:12px;color:#c5d2e4}
.telegram-fallback span{display:block;font-size:13px;margin:4px 0 8px}
.link-button{background:none;border:0;color:#8db4ff;padding:0;cursor:pointer;font-weight:800}
.warning{color:#ffcf8b}
.login-ok{margin-top:28px;display:flex;flex-direction:column;gap:2px;padding:14px 16px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);border-radius:13px;max-width:520px}
.login-ok span{font-size:12px;color:#8ca0bd;text-transform:uppercase;letter-spacing:.08em}
.trustline{border-bottom:1px solid #edf0f5}
.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:24px 0}
.trust-grid>div{display:flex;flex-direction:column;gap:3px;padding:0 22px;border-right:1px solid #edf0f5}
.trust-grid>div:first-child{padding-left:0}
.trust-grid>div:last-child{border-right:0}
.trust-grid strong{font-size:18px}
.trust-grid span{font-size:13px;color:#718097}
.section{padding:84px 0}
.section.muted{background:var(--soft)}
.section-lead{font-size:18px;color:#65738a;line-height:1.7;max-width:820px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:34px}
.feature{border:1px solid var(--line);border-radius:18px;padding:24px;background:#fff}
.feature strong{color:var(--accent);font-size:13px}
.feature h3{margin-top:8px}
.feature p{color:#65738a;line-height:1.6}
.steps{list-style:none;padding:0;margin:36px 0 0;display:grid;gap:14px}
.steps li{display:flex;gap:18px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}
.steps li>span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#eaf1ff;color:#2f6edc;font-weight:900;flex:0 0 36px}
.steps p{margin:0;color:#66758e;line-height:1.55}
.price-box{display:flex;justify-content:space-between;gap:30px;align-items:center;border:1px solid #dfe6f1;border-radius:24px;padding:34px}
.price-box p{color:#65738a;line-height:1.65;max-width:700px}
.price-side{text-align:right;min-width:210px}
.faq details{border-bottom:1px solid #e4e9f1;padding:18px 0}
.faq summary{font-weight:850;cursor:pointer}
.faq details p{color:#64738b;line-height:1.65}
footer{background:#09111f;color:#94a4bd;padding:42px 0 22px}
.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.footer-grid p{color:#7f91ab}
.footer-links{display:grid;grid-template-columns:1fr 1fr;gap:10px 22px}
.footer-links a{color:#c2cee0;font-size:14px}
.copyright{border-top:1px solid rgba(255,255,255,.07);margin-top:28px;padding-top:18px;font-size:13px}
.account-page{background:#f6f8fc;min-height:100vh}
.account-wrap{max-width:900px}
.account-title{font-size:46px;color:#111827;margin-bottom:12px}
.account-sub{font-size:18px;color:#66758e}
.empty-card{margin-top:34px;border:1px solid #e0e7f2;border-radius:22px;background:#fff;padding:34px}
.empty-card h2{font-size:28px}
.empty-card p{color:#66758e;margin-bottom:24px}
.account-courses{display:grid;gap:16px;margin-top:32px}
.legal{max-width:880px}
.legal h1{font-size:42px;color:#111827}
.legal h2{font-size:24px;margin-top:32px}
.legal p,.legal li{line-height:1.75;color:#536176}
.legal-card{padding:20px;border:1px solid #e1e7f0;border-radius:16px;background:#fff;margin:18px 0}
@media(max-width:850px){
  nav{display:none}
  .hero-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr 1fr}
  .trust-grid{grid-template-columns:1fr}
  .trust-grid>div{border-right:0;border-bottom:1px solid #edf0f5;padding:14px 0}
  .price-box{align-items:flex-start;flex-direction:column}
  .price-side{text-align:left}
  .footer-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .hero{padding:52px 0 62px}
  .cards{grid-template-columns:1fr}
  .footer-links{grid-template-columns:1fr}
  .course-card{padding:22px}
}

.cookie-notice{position:fixed;left:16px;right:16px;bottom:16px;z-index:9999}
.cookie-notice__inner{max-width:1040px;margin:0 auto;background:#111b2e;color:#eef4ff;border:1px solid rgba(255,255,255,.12);box-shadow:0 18px 50px rgba(0,0,0,.28);border-radius:16px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.cookie-notice__text{display:grid;gap:4px;line-height:1.45}
.cookie-notice__text span{font-size:13px;color:#b8c5d8}
.cookie-notice__actions{display:flex;align-items:center;gap:12px;white-space:nowrap}
.cookie-notice__actions a{color:#9ec0ff;font-size:13px}
.cookie-notice__actions button{border:0;border-radius:9px;background:#4f8cff;color:#fff;padding:10px 14px;font-weight:800;cursor:pointer}
.consent-form{display:grid;gap:18px;margin-top:20px}
.check-row{display:flex;align-items:flex-start;gap:12px;line-height:1.55;color:#536176}
.check-row input{margin-top:4px;min-width:18px;min-height:18px}
.check-row a{text-decoration:underline;color:#2f6edc}
.legal-error{margin:16px 0;padding:12px 14px;border:1px solid #efb6b6;background:#fff1f1;color:#8d2a2a;border-radius:10px}
@media(max-width:680px){.cookie-notice__inner{align-items:flex-start;flex-direction:column}.cookie-notice__actions{width:100%;justify-content:space-between}}


.tg-login-btn{
    min-height:52px;
    padding:16px 28px;
    font-size:18px;
}

@media(max-width:600px){
    .container{
        width:calc(100% - 24px);
    }

    .account-title{
        font-size:32px;
        line-height:1.15;
    }

    .account-wrap form label{
        display:block;
        font-size:18px;
        line-height:1.5;
        margin-bottom:12px;
    }

    .account-wrap input[type="checkbox"]{
        width:40px;
        height:40px;
        vertical-align:middle;
    }

    .account-wrap .btn,
    .tg-login-btn{
        width:100%;
        min-height:56px;
        font-size:18px;
    }

    .empty-card{
        padding:24px;
        border-radius:18px;
    }
}

@media(max-width:600px){
.account-wrap input[type="checkbox"]{width:30px!important;height:30px!important;margin-right:10px;}
.account-wrap form label{display:flex!important;align-items:center;font-size:20px!important;}
}
/* Telegram auth mobile fix */
.consent-form {
    display:grid;
    gap:18px;
    margin-top:20px;
}

.consent-form .check-row {
    display:flex;
    align-items:center;
    gap:14px;
    font-size:30px;
    line-height:1.5;
    color:#536176;
    cursor:pointer;
}

/* Новый красивый чекбокс */
.consent-form input[type="checkbox"] {
    appearance:none;
    -webkit-appearance:none;

    width:34px;
    height:34px;

    border:2px solid #4f8cff;
    border-radius:7px;

    background:#fff;
    position:relative;
    flex-shrink:0;

    cursor:pointer;
}

/* Галочка */
.consent-form input[type="checkbox"]:checked {
    background:#4f8cff;
}

.consent-form input[type="checkbox"]:checked::after {
    content:"✓";
    position:absolute;

    color:white;
    font-size:26px;
    font-weight:900;

    left:5px;
    top:-3px;
}


.consent-form button {
    min-height:100px;
    width:100%;

    font-size:40px;
    border-radius:15px;

    margin-top:15px;
}


@media(max-width:600px){

    .consent-form .check-row {
        font-size:18px;
        gap:16px;
        min-height:50px;
    }


    .consent-form input[type="checkbox"] {
        width:100px;
        height:100px;
    }


    .consent-form input[type="checkbox"]:checked::after {
        font-size:30px;
        left:6px;
        top:-4px;
    }

}