/* ==========================================================================
   NISHKA — дизайн-апгрейд v2 (двуязычный сайт, анимации, мобильное меню)
   ========================================================================== */

/* Переключатель языка */
.nk-lang {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
    margin-left: 6px;
}
.nk-lang:hover { background: var(--teal); border-color: var(--teal); }

/* Бургер-меню (мобильное) */
.nk-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nk-burger span { display: block; width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: all .3s; }

@media (max-width: 900px) {
    .nk-burger { display: flex; }
    .nk-nav {
        position: fixed;
        top: 64px; right: -280px;
        width: 260px; height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: var(--navy);
        padding: 24px 20px;
        transition: right .3s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,.3);
        z-index: 90;
    }
    .nk-nav.open { right: 0; }
    .nk-nav a { padding: 10px 0; width: 100%; }
    .nk-lang { margin-left: 0; margin-top: 12px; }
}

/* Заголовки с градиентом */
.h1-grad {
    background: linear-gradient(90deg, var(--teal), #5eead4, var(--amber));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Рамка героя */
.hero-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(13,148,136,.25);
    transform: rotate(1.5deg);
    transition: transform .4s ease;
}
.hero-frame:hover { transform: rotate(0deg) scale(1.02); }
.hero-frame img { display: block; width: 100%; height: auto; }

/* Появление при скролле */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Белая секция */
.nk-white { background: #fff; }

/* Таймер: подпись */
.t-label {
    color: #94a3b8;
    font-size: 14px;
    margin-right: 10px;
    display: block;
    width: 100%;
    margin-bottom: 8px;
    text-align: center;
}

/* Карточки: hover-подъём */
.nk-card {
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid var(--glass-border, #e2e8f0);
}
.nk-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(13,148,136,.14);
}
.nk-card .icon { font-size: 34px; }

/* Планы: акцент на популярный */
.nk-plan { position: relative; transition: transform .3s ease; }
.nk-plan:hover { transform: translateY(-6px); }
.nk-plan.hot::after {
    content: "🔥";
    position: absolute;
    top: -14px; right: 18px;
    font-size: 26px;
}

/* Кнопки: мягкое свечение */
.btn-primary {
    box-shadow: 0 10px 24px rgba(13,148,136,.35);
    transition: transform .25s ease, box-shadow .25s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(13,148,136,.45);
}

/* FAQ плавность */
.nk-faq-a { overflow: hidden; max-height: 0; transition: max-height .4s ease; }

/* Финальный CTA: градиентная рамка */
.nk-final {
    background:
        radial-gradient(1200px 300px at 50% -10%, rgba(13,148,136,.35), transparent),
        var(--navy);
}

/* Шапка: липкая с блюром */
.nk-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(15,23,42,.82);
}

/* Мелкие правки типографики */
.nk-section h2 em { font-style: normal; }
.nk-stats { gap: 10px; }
@media (max-width: 700px) {
    .nk-stats { flex-direction: column; }
    .nk-hero-inner { grid-template-columns: 1fr; gap: 30px; }
    .nk-days, .nk-plans { grid-template-columns: 1fr; }
}

/* Годовая цена в тарифе */
.price-annual {
    display: inline-block;
    margin: 8px 0 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(13,148,136,.1);
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
}

/* Шаги «Как это работает» */
.nk-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1000px;
    margin: 0 auto;
}
.nk-step {
    background: var(--bg, #f8fafc);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px 22px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}
.nk-step:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(13,148,136,.12); }
.nk-step .num {
    width: 46px; height: 46px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), #5eead4);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 18px rgba(13,148,136,.3);
}
.nk-step h4 { margin-bottom: 8px; font-size: 16px; }

/* Таблица сравнения */
.nk-compare {
    max-width: 920px;
    margin: 0 auto;
    overflow-x: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15,23,42,.08);
}
.nk-compare table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nk-compare td, .nk-compare th {
    padding: 13px 14px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}
.nk-compare th { background: var(--navy); color: #fff; font-size: 13px; }
.nk-compare td:first-child { font-weight: 700; color: var(--navy); width: 38%; }
.nk-compare tr:last-child td { border-bottom: none; }
.nk-compare tr td:last-child { color: var(--teal); }

@media (max-width: 700px) {
    .nk-steps { grid-template-columns: 1fr; }
}

/* Блок доверия */
.nk-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 26px;
}
.nk-trust span {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
}

/* Лид-форма */
.nk-lead {
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--navy), #1e293b);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    padding: 40px 30px;
    text-align: center;
    color: #fff;
}
.nk-lead h2 em { font-style: normal; color: #5eead4; }
.nk-lead p { color: #cbd5e1; margin: 10px 0 22px; }
.nk-lead-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.nk-lead-form input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 15px;
}
.nk-lead-form input::placeholder { color: #94a3b8; }
.nk-lead-ok { font-size: 16px; font-weight: 700; color: #5eead4; margin-top: 6px; }
@media (max-width: 520px) {
    .nk-lead-form { flex-direction: column; }
}

/* Разовый экзамен */
.nk-exam {
    max-width: 1100px;
    margin: 40px auto 0;
    background: linear-gradient(135deg, rgba(13,148,136,.08), rgba(245,158,11,.06));
    border: 1px solid rgba(13,148,136,.2);
    border-radius: 24px;
    padding: 34px 28px;
}
.nk-exam-head { text-align: center; margin-bottom: 24px; }
.nk-exam-head h3 { font-size: 22px; color: var(--navy); }
.nk-exam-head p { color: var(--muted, #64748b); margin-top: 8px; }
.nk-exam-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    max-width: 860px;
    margin: 0 auto;
}
.nk-exam-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 22px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(15,23,42,.08);
    transition: transform .3s ease, box-shadow .3s ease;
}
.nk-exam-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(13,148,136,.14); }
.nk-exam-card h4 { font-size: 16px; margin-bottom: 8px; }
.nk-exam-card ul { list-style: none; margin: 14px 0 18px; padding: 0; text-align: left; }
.nk-exam-card li { font-size: 13.5px; color: var(--muted, #64748b); padding: 5px 0 5px 20px; position: relative; }
.nk-exam-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
@media (max-width: 700px) {
    .nk-exam-plans { grid-template-columns: 1fr; }
}
