@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0f0f13;
    --bg2: #16161d;
    --bg3: #1e1e28;
    --accent: #f5a623;
    --accent2: #ff6b35;
    --text: #ffffff;
    --text2: #a0a0b0;
    --turbo: #ff4757;
    --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding-top: 70px;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
}
.btn--main {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    box-shadow: 0 4px 20px rgba(245,166,35,0.4);
}
.btn--main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245,166,35,0.5);
}
.btn--turbo {
    background: linear-gradient(135deg, var(--turbo), #ff6b6b);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255,71,87,0.4);
    animation: pulse 2s infinite;
}
.btn--turbo:hover { transform: translateY(-2px); }
.btn--outline {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(255,255,255,0.2);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--small {
    padding: 8px 20px;
    font-size: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
}
.btn--small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245,166,35,0.5);
    color: #fff !important;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(255,71,87,0.4); }
    50%       { box-shadow: 0 4px 35px rgba(255,71,87,0.7); }
}

/* ===== ЗАГОЛОВКИ ===== */
.section__title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
}

/* ===== ЛОГОТИП ===== */
.logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text);
}
.logo span { color: var(--accent); }

/* ===== ХЕДЕР ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(15,15,19,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 16px;
}
.header__tagline {
    font-size: 13px;
    color: var(--text2);
    white-space: nowrap;
}

/* Навигация десктоп */
.header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.header__nav a {
    color: var(--text2);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}
.header__nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.07);
}
.header__nav a:last-child {
    color: var(--accent);
    border: 1px solid var(--accent);
}
.header__nav a:last-child:hover {
    background: var(--accent);
    color: #fff;
}

/* Бургер */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}
.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}
.burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(15,15,19,0.98);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 8px 0 16px;
}
.mobile-menu.active {
    display: flex;
}
.mobile-menu__item {
    color: var(--text2);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s, background 0.2s;
}
.mobile-menu__item:last-child {
    border-bottom: none;
    color: var(--accent);
}
.mobile-menu__item:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

/* ===== HERO ===== */
.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}
.hero__video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.hero__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero__video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 19, 0.75);
    z-index: 1;
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero__badge {
    display: inline-block;
    background: rgba(245,166,35,0.15);
    border: 1px solid rgba(245,166,35,0.3);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
}
.hero__title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}
.hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text2);
    margin-bottom: 40px;
    line-height: 1.7;
}
.hero__subtitle strong { color: var(--accent); }
.hero__note { font-size: 14px; color: var(--text2); margin-top: 16px; }
.hero__stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.hero__stat {
    font-size: 14px;
    color: var(--text2);
    background: var(--bg2);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.07);
}

/* ===== БОЛЬ ===== */
.pain { padding: 80px 0; background: var(--bg2); }
.pain__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 640px;
    margin: 0 auto 40px;
}
.pain__item {
    background: var(--bg3);
    padding: 16px 24px;
    border-radius: var(--radius);
    font-size: 16px;
    border-left: 3px solid var(--turbo);
}
.pain__solution {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    padding: 24px;
    background: rgba(245,166,35,0.1);
    border-radius: var(--radius);
    max-width: 500px;
    margin: 0 auto;
}

/* ===== ТАРИФЫ ===== */
.tariffs { padding: 100px 0; background: var(--bg); }
.tariffs__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.tariff {
    background: var(--bg2);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.07);
    position: relative;
    transition: transform 0.3s;
}
.tariff:hover { transform: translateY(-6px); }
.tariff--featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(245,166,35,0.2);
    transform: scale(1.05);
}
.tariff--featured:hover { transform: scale(1.05) translateY(-6px); }
.tariff--turbo {
    border-color: var(--turbo);
    box-shadow: 0 0 40px rgba(255,71,87,0.2);
}
.tariff__badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
    white-space: nowrap;
}
.tariff__badge--hot { background: var(--turbo); color: #fff; }
.tariff__icon { font-size: 40px; margin-bottom: 12px; }
.tariff__name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text2);
    margin-bottom: 16px;
}
.tariff__price {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -2px;
}
.tariff__price span { font-size: 18px; font-weight: 500; color: var(--text2); }
.tariff__term { font-size: 22px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.tariff--turbo .tariff__term { color: var(--turbo); }
.tariff__blocks { font-size: 14px; color: var(--text2); margin-bottom: 8px; }
.tariff__for { font-size: 14px; font-weight: 600; margin-bottom: 28px; }

/* ===== ПРОЦЕСС ===== */
.process { padding: 100px 0; background: var(--bg2); }
.process__grid {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.process__step {
    background: var(--bg3);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    border: 1px solid rgba(255,255,255,0.07);
}
.process__num {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 12px;
}
.process__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.process__desc { font-size: 13px; color: var(--text2); line-height: 1.5; }
.process__arrow {
    font-size: 28px;
    color: var(--accent);
    align-self: center;
    padding-bottom: 20px;
    flex-shrink: 0;
}

/* ===== ДЛЯ КОГО ===== */
.forwhom { padding: 100px 0; background: var(--bg); }
.forwhom__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}
.forwhom__item {
    background: var(--bg2);
    padding: 20px 24px;
    border-radius: var(--radius);
    font-size: 16px;
    border: 1px solid rgba(255,255,255,0.07);
    transition: border-color 0.3s;
}
.forwhom__item:hover { border-color: var(--accent); }
.forwhom__not {
    text-align: center;
    color: var(--text2);
    font-size: 15px;
    padding: 20px;
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: var(--radius);
    max-width: 600px;
    margin: 0 auto;
}
.forwhom__not strong { color: var(--turbo); display: block; margin-bottom: 6px; }

/* ===== ПОРТФОЛИО ===== */
.portfolio { padding: 100px 0; background: var(--bg2); }
.portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio__item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg3);
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.3s;
}
.portfolio__item:hover { transform: translateY(-6px); }
.portfolio__img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.portfolio__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.portfolio__item:hover .portfolio__img img { transform: scale(1.05); }
.portfolio__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
}
.portfolio__item:hover .portfolio__overlay { opacity: 1; }
.portfolio__info { padding: 20px; }
.portfolio__niche { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.portfolio__time { font-size: 13px; color: var(--accent); font-weight: 600; }

/* ===== ОТЗЫВЫ ===== */
.reviews { padding: 100px 0; background: var(--bg); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reviews__item {
    background: var(--bg2);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.07);
    transition: border-color 0.3s;
}
.reviews__item:hover { border-color: var(--accent); }
.reviews__stars { font-size: 20px; margin-bottom: 16px; }
.reviews__text {
    font-size: 15px;
    color: var(--text2);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.reviews__author { font-size: 14px; font-weight: 700; color: var(--accent); }

/* ===== FAQ ===== */
.faq { padding: 100px 0; background: var(--bg2); }
.faq__list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq__item {
    background: var(--bg3);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    cursor: pointer;
}
.faq__question {
    padding: 22px 28px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.faq__question::after {
    content: '+';
    font-size: 24px;
    color: var(--accent);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq__item.open .faq__question::after { transform: rotate(45deg); }
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    font-size: 15px;
    color: var(--text2);
    line-height: 1.7;
    padding: 0 28px;
}
.faq__item.open .faq__answer { max-height: 200px; padding: 0 28px 22px; }

/* ===== ОФФЕР ===== */
.offer { padding: 100px 0; background: linear-gradient(135deg, #1a0a00, #0f0f13); }
.offer__inner { text-align: center; max-width: 600px; margin: 0 auto; }
.offer__fire { font-size: 60px; margin-bottom: 16px; }
.offer__title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin-bottom: 16px; }
.offer__subtitle { font-size: 18px; color: var(--text2); margin-bottom: 32px; }
.offer__subtitle strong { color: var(--accent); }
.offer__list { list-style: none; text-align: left; display: inline-block; margin-bottom: 40px; }
.offer__list li { font-size: 16px; padding: 8px 0; }
.offer__slots { margin-top: 40px; }
.offer__slots-text { font-size: 14px; color: var(--text2); margin-bottom: 10px; }
.offer__slots-bar {
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    height: 10px;
    max-width: 300px;
    margin: 0 auto 10px;
    overflow: hidden;
}
.offer__slots-fill { background: var(--accent); height: 100%; width: 60%; border-radius: 50px; }
.offer__slots-count { font-size: 14px; color: var(--accent); font-weight: 700; }

/* ===== ДОП УСЛУГИ ===== */
.extras { padding: 80px 0; background: var(--bg2); }
.extras__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.extras__item {
    background: var(--bg3);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.07);
    transition: border-color 0.3s, transform 0.3s;
}
.extras__item:hover { border-color: var(--accent); transform: translateY(-4px); }
.extras__name { font-size: 14px; color: var(--text2); margin-bottom: 10px; }
.extras__price { font-size: 24px; font-weight: 800; color: var(--accent); }
.extras__price span { font-size: 14px; font-weight: 400; color: var(--text2); }

/* ===== КОНТАКТЫ ===== */
.contacts { padding: 100px 0; background: var(--bg); }
.contacts__sub {
    text-align: center;
    color: var(--text2);
    font-size: 18px;
    margin-top: -32px;
    margin-bottom: 48px;
}
.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
    align-items: start;
}
.contacts__form { display: flex; flex-direction: column; gap: 16px; }
.form__input {
    background: var(--bg2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 16px 20px;
    color: var(--text);
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
    width: 100%;
}
.form__input:focus { border-color: var(--accent); }
.form__input::placeholder { color: var(--text2); }
.form__input.error { border-color: var(--turbo); }
.form__error { font-size: 13px; color: var(--turbo); min-height: 18px; }
.contacts__info { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.contacts__link {
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    padding: 14px 20px;
    background: var(--bg2);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.07);
    transition: border-color 0.3s, color 0.3s;
}
.contacts__link:hover { border-color: var(--accent); color: var(--accent); }
.contacts__hours { font-size: 13px; color: var(--text2); line-height: 1.7; padding: 14px 20px; }

/* ===== ФУТЕР ===== */
.footer { padding: 32px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer__copy { font-size: 13px; color: var(--text2); }
.footer__legal {
    text-align: center;
    font-size: 12px;
    color: var(--text2);
    padding: 12px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 12px;
}
.footer__legal a { color: var(--accent); text-decoration: none; }
.footer__legal a:hover { text-decoration: underline; }

/* ===== МОБИЛЬНАЯ КНОПКА ===== */
.mobile__cta {
    display: none;
    position: fixed;
    bottom: 20px; left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: #229ED9;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(34,158,217,0.5);
    white-space: nowrap;
}

/* ===== УВЕДОМЛЕНИЕ ===== */
.notification {
    position: fixed;
    bottom: 30px; left: 20px;
    z-index: 998;
    background: var(--bg2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 14px 20px;
    font-size: 14px;
    max-width: 280px;
    opacity: 0;
    transform: translateX(-120%);
    transition: all 0.5s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.notification.show { opacity: 1; transform: translateX(0); }

/* ===== АНИМАЦИЯ ПОЯВЛЕНИЯ ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== КНОПКА НАВЕРХ ===== */
.scroll-top {
    position: fixed;
    bottom: 32px; right: 32px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(245,166,35,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(245,166,35,0.6);
}
.scroll-top:active { transform: translateY(0); }

/* ===== АДАПТИВ 900px ===== */
@media (max-width: 900px) {
    .tariffs__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .tariff--featured { transform: none; }
    .tariff--featured:hover { transform: translateY(-6px); }
    .reviews__grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .portfolio__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .forwhom__grid { grid-template-columns: 1fr; }
    .contacts__inner { grid-template-columns: 1fr; }
    .process__arrow { display: none; }
    .header__tagline { display: none; }
    .mobile__cta { display: block; }
    .notification { display: none; }
    .scroll-top { display: none; }
    .header__nav { display: none; }
    .burger { display: flex; }
}

/* ===== АДАПТИВ 600px ===== */
@media (max-width: 600px) {
    .hero { padding: 60px 0; }
    .hero__stats { gap: 12px; }
    section { padding: 60px 0 !important; }
    .tariffs__grid, .reviews__grid, .portfolio__grid { max-width: 100%; }
}
