:root {
    --bg-dark: #0A0D14;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent-orange: #FF8A00;
    --accent-hover: #e07900;
    --accent-red: #FF4B2B;
    --text-main: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.6);
    --card-border: rgba(255, 255, 255, 0.1);
    --btn-radius: 14px;
    --card-radius: 28px;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
    --section-gap: 8px; /* Выставил комфортный зазор между карточками */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ─── Общие стили секций ─── */
section {
    padding: var(--section-gap) 0; /* Применяем единый отступ для всех секций */
}

.section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem); /* Увеличил для доминирования в иерархии */
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px; /* Добавил воздуха вокруг заголовка */
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-description {
    font-size: 0.85rem; /* Уменьшил с 1rem */
    color: var(--text-muted);
    text-align: center;
    max-width: 700px;
    margin: -20px auto 40px auto;
}

/* ─── Section Framing (Option 3) ─── */
.section-frame {
    max-width: 1240px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 48px;
    padding: 60px 0;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.section-frame:hover {
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 1280px) {
    .section-frame {
        max-width: calc(100% - 30px);
        margin: var(--section-gap) auto; /* Стандартизировал отступы */
        border-radius: 32px;
    }
}

.cta-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 48px;
}

.cta-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
    opacity: 0.8;
}

/* ─── Блок 1: ГЕРОЙ ─── */
.screen-hero {
    display: flex;
    flex-direction: column;
    padding: var(--section-gap) 0;
    background: transparent; 
}

.screen-hero .section-frame {
    padding-top: 20px; /* Уменьшил сверху, чтобы компенсировать шапку */
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 32px;
}

.hero-cta-wrapper .cta-hint {
    margin-top: 8px;
    text-align: left;
}

.site-header {
    padding: 12px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image-cropped {
    height: 32px;
    width: 120px;
    background-image: url('./logo.png');
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
}

.login-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    transition: var(--transition);
}

.login-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-content {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
    padding-bottom: 80px;
}

.hero-label {
    color: var(--accent-orange);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.main-title {
    font-size: clamp(1.7rem, 4.5vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 32px;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 540px;
}

.hero-pain {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent-orange);
    padding: 24px;
    border-radius: 4px 16px 16px 4px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-pain p {
    font-size: 1.1rem; /* Вернул (было 1rem) */
    color: var(--text-muted);
}

.hero-pain .accent-text {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.3rem; /* Вернул (было 1.2rem) */
    margin-top: 4px;
    display: block;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--card-border);
    background-image: url('./hero_ceiling_viz.png');
    background-size: cover;
    background-position: center;
}

/* ─── Блок 2: Карусель ─── */
.screen-carousel {
    background: transparent;
}

.carousel-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 1/1;
    max-width: 650px;
    margin-inline: auto;
}

.carousel-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    width: 25%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    font-size: 0.95rem; /* Уменьшил с 1.2rem */
    font-weight: 700;
    text-align: center;
}

.swipe-hint {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
    animation: swipeArrow 1.5s infinite;
    cursor: pointer;
}

.swipe-hint-prev {
    right: auto;
    left: 20px;
    animation: swipeArrowBack 1.5s infinite;
}

@keyframes swipeArrowBack {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50%       { transform: translateY(-50%) translateX(-8px); }
}

@keyframes swipeArrow {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(10px);
    }
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
}

.dot.active {
    background: var(--accent-orange);
    transform: scale(1.2);
}

/* ─── Блок 3: Проблемы ─── */
.screen-problems {
    background: transparent;
}

.problems-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto 32px;
    padding: 0 20px;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.problem-x {
    color: #ff4444;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.problem-text {
    color: var(--text-main);
    font-size: 1.1rem;
    line-height: 1.5;
}

.problem-footer {
    text-align: center;
    font-weight: 700;
    font-size: 1rem; /* Уменьшил с 1.15rem */
    color: var(--text-main);
    max-width: 700px;
    margin: 30px auto 0;
    line-height: 1.4;
    opacity: 0.9;
}

/* ─── Блок 4: Решение / До-После ─── */
.screen-solution {
    background: transparent;
}

.before-after-container {
    max-width: 800px;
    margin: 0 auto;
}

.image-comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
}

.img-background,
.img-foreground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-foreground {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    z-index: 2;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: calc(50% - 20px);
    width: 40px;
    height: 40px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 0 20px rgba(255, 138, 0, 0.5);
}

.slider-label {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 5;
}

.label-after {
    left: 20px;
}

.label-before {
    right: 20px;
}

.slider-tip {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ─── Блок 5: Выгоды ─── */
.screen-benefits {
    background: transparent;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 24px 20px;
    border-radius: 20px;
    border: 1px solid rgba(0, 163, 255, 0.2);
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-orange);
    box-shadow: 0 15px 40px rgba(255, 138, 0, 0.15);
}

.benefit-metric {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.benefit-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.benefit-card p {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.75rem;
}

/* ─── Блок 6: Аудитория ─── */
.screen-audience {
    text-align: center;
}

.audience-text {
    font-size: 1rem; /* Уменьшил с 1.3rem */
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-main);
    font-weight: 500;
}

/* ─── Блок 7: Соцдоказательство ─── */
.screen-proof {
    background: transparent;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 163, 255, 0.15);
    transition: var(--transition);
    backdrop-filter: blur(15px);
}

.review-avatar {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.avatar-d {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.review-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-orange);
    box-shadow: 0 20px 50px rgba(255, 138, 0, 0.2);
}

.review-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.review-card:hover img {
    transform: scale(1.02);
}

.social-proof-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-proof-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
}

/* ─── Блок 8: Экономика ─── */
.economy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.economy-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 138, 0, 0.15);
    backdrop-filter: blur(15px);
    text-align: center; /* Центрируем всё */
    transition: var(--transition);
}

.economy-item:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 15px 35px rgba(255, 138, 0, 0.1);
}

.economy-item h3 {
    font-size: 0.95rem; /* Уменьшил с 1.1rem */
    margin-bottom: 16px;
    color: var(--accent-orange);
}

.item-compare {
    margin-bottom: 16px; /* Уменьшил с 24px */
}

.compare-row {
    padding: 8px 0;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.compare-row.old {
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.6;
}

.compare-row.new {
    color: var(--text-main);
    font-weight: 700;
    border-bottom: 1px solid var(--accent-orange);
    display: inline-block;
}

.item-benefit {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-orange);
    letter-spacing: 0.03em; /* Растянул важный текст */
    margin-top: 10px;
}

.economy-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* ─── Блок 9: Тарифы ─── */
.screen-pricing {
    background: #0A0D14;
}

.m-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.m-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid rgba(255, 255, 255, 0.4); /* Усиленная белая обводка */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 16px; /* Чуть меньше радиус для компактности */
    padding: 12px 16px; /* Уменьшил отступы */
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    position: relative;
    font-family: 'Outfit', sans-serif;
}

.m-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.m-title {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.85rem; /* Радикально уменьшил */
    letter-spacing: 0.03em;
    line-height: 1;
}

.m-card.master {
    background: rgba(255, 138, 0, 0.04);
    border: 2px solid var(--accent-orange); /* Оранжевый контур только здесь */
    box-shadow: 0 0 30px rgba(255, 138, 0, 0.15);
}

.m-card.master .m-title {
    color: var(--accent-orange);
}

.m-price {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1.4rem; /* Радикально уменьшил */
    line-height: 0.85;
    display: flex;
    align-items: baseline;
}

.m-currency {
    font-size: 0.65rem; /* Уменьшил */
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-left: 2px;
    letter-spacing: 0.01em;
    line-height: normal;
}

.m-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.m-gen {
    color: #FFFFFF;
    font-size: 0.85rem; /* Уменьшил */
    font-weight: 600;
}

.m-desc {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem; /* Радикально уменьшил */
    font-weight: 400;
    line-height: 1.3;
}

.m-badge {
    background: #FF8A00;
    color: white;
    font-size: 0.5rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    position: relative;
    top: -2px;
}

@media (max-width: 480px) {
    .m-grid {
        max-width: 100%;
        padding: 0 15px;
    }
    .m-price {
        font-size: 1.6rem; /* Плотнее на мобилках */
    }
}

/* ─── Блок 10: FAQ ─── */
.faq-container {
    max-width: 800px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(0, 163, 255, 0.1);
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1rem; /* Немного уменьшил, чтобы заголовок раздела доминировал */
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-orange);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer p {
    padding: 0 30px 24px;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-item.active {
    border-color: var(--accent-blue);
    box-shadow: 0 0 30px rgba(0, 163, 255, 0.15);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 400px;
    /* Увеличил для более длинных текстов */
}

/* ─── Блок 11: Финал ─── */
.screen-final {
    background: linear-gradient(to top, rgba(255, 138, 0, 0.05) 0%, var(--bg-dark) 60%);
    text-align: center;
}

.final-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: var(--btn-radius);
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-orange);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 138, 0, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 138, 0, 0.4);
}

.btn-large {
    font-size: 1.1rem;
    padding: 20px 48px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-cta-wrapper {
        align-items: center;
    }

    .hero-cta-wrapper .cta-hint {
        text-align: center;
    }

    .hero-visual {
        height: 400px;
        order: -1;
    }

    .hero-pain {
        border-left: none;
        border-top: 4px solid var(--accent-orange);
        border-radius: 0 0 12px 12px;
    }
}

@media (max-width: 768px) {
    /* Стандартизированные отступы для мобильных */

    .problems-grid, .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px; /* Уменьшил зазоры */
    }
    
    .problem-card, .benefit-card {
        padding: 10px 8px; /* Максимальная плотность */
    }

    .problem-card {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }

    .problem-card p, .benefit-card p {
        font-size: 0.75rem; /* Очень мелкий, но читаемый шрифт */
    }

    .benefit-header {
        font-size: 1rem;
    }

    .hero-visual {
        height: 300px;
    }

    .hero-content {
        padding-bottom: 40px;
    }

    .economy-item {
        padding: 20px;
    }

    .economy-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .economy-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ─── Футер ─── */
.site-footer {
    background: #07090E;
    padding: 40px 0; /* Уменьшил вертикальные отступы для компактности */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: calc(var(--section-gap) * 4);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.footer-logo-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    padding: 14px 28px;
}

.footer-logo-badge-text {
    font-size: 1.45rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
    font-family: var(--font-main);
}

.footer-logo-i {
    color: #c87941;
}

.footer-logo-badge-tagline {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 7px;
    font-weight: 500;
    font-family: var(--font-main);
}

.footer-links-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 4px;
}

.footer-nav-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s;
    white-space: nowrap;
    padding: 0 4px;
}

.footer-nav-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-dot {
    color: rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    line-height: 1;
    user-select: none;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    margin-top: -8px;
}

@media (max-width: 600px) {
    .footer-dot {
        display: none;
    }

    .footer-links-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* Production polish pass, 2026-05-20.
   Keeps the original content and block order, but fixes mobile stability,
   hidden AOS content, and the overly separated card rhythm. */
:root {
    --bg-dark: #070A10;
    --bg-card: rgba(255, 255, 255, 0.035);
    --card-border: rgba(255, 255, 255, 0.11);
    --text-muted: rgba(255, 255, 255, 0.68);
    --accent-blue: #2684FF;
    --btn-radius: 12px;
    --card-radius: 20px;
    --container-width: 1120px;
    --section-gap: 18px;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background:
        linear-gradient(180deg, #080B12 0%, #05070B 48%, #08090D 100%);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

body,
.main-title,
.section-title,
.hero-label,
.benefit-label,
.item-benefit,
.footer-logo-badge-text,
.footer-logo-badge-tagline,
.m-title,
.m-currency {
    letter-spacing: 0;
}

[data-aos],
[data-aos][class*="aos-"] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

section {
    padding: var(--section-gap) 0;
}

.container {
    width: min(100%, var(--container-width));
    padding-inline: clamp(16px, 3vw, 28px);
}

.section-frame {
    width: min(1220px, calc(100% - 40px));
    max-width: none;
    margin: 0 auto;
    padding: clamp(46px, 6vw, 76px) 0;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022));
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.section-frame:hover {
    border-color: rgba(255, 255, 255, 0.13);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.026));
}

section:not(:first-child) .section-frame::before {
    content: "";
    position: absolute;
    top: -28px;
    left: 50%;
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, transparent, rgba(255, 138, 0, 0.55));
}

.section-title {
    font-size: clamp(1.75rem, 3.1vw, 2.75rem);
    line-height: 1.08;
    margin-bottom: clamp(28px, 4vw, 48px);
    text-wrap: balance;
}

.section-description,
.hero-description,
.final-text {
    color: var(--text-muted);
}

.screen-hero .section-frame {
    padding-top: 24px;
}

.site-header {
    padding: 0 0 28px;
}

.login-link,
.btn {
    text-decoration: none;
}

.login-link {
    padding: 9px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
}

.hero-content {
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
    gap: clamp(40px, 6vw, 86px);
    min-height: min(620px, calc(100vh - 120px));
    padding-bottom: 34px;
}

.hero-text,
.hero-visual,
.carousel-wrapper,
.before-after-container,
.benefits-grid,
.reviews-grid,
.economy-grid,
.m-grid,
.faq-accordion {
    min-width: 0;
}

.main-title {
    max-width: 680px;
    font-size: clamp(2.25rem, 4.1vw, 4.25rem);
    line-height: 1.02;
    margin-bottom: 24px;
    text-wrap: balance;
}

.hero-description {
    max-width: 610px;
    font-size: clamp(1rem, 1.35vw, 1.14rem);
    margin-bottom: 30px;
}

.hero-visual {
    height: auto;
    aspect-ratio: 1.05 / 1;
    max-height: 520px;
}

.hero-image-placeholder,
.carousel-container,
.image-comparison-slider,
.review-card {
    border-radius: var(--card-radius);
}

.hero-image-placeholder {
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 16px 28px;
    text-align: center;
    line-height: 1.1;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-large {
    min-height: 62px;
    padding: 18px 40px;
}

.carousel-wrapper {
    width: min(100%, 760px);
}

.carousel-container {
    width: min(100%, 620px);
    max-width: 620px;
    contain: paint;
}

.slide-caption {
    padding: 54px 18px 28px;
    font-size: 1rem;
    line-height: 1.25;
    text-wrap: balance;
}

.problems-list {
    max-width: 720px;
    padding-inline: 0;
}

.problem-item {
    align-items: center;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.problem-text,
.compare-row,
.m-desc,
.faq-question,
.faq-answer p,
.footer-nav-link {
    overflow-wrap: anywhere;
}

.image-comparison-slider {
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
}

.benefits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.benefit-card,
.economy-item,
.faq-item,
.m-card {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.10);
}

.benefit-card,
.economy-item {
    border-radius: 18px;
}

.benefit-metric {
    font-size: clamp(1.75rem, 2.4vw, 2.55rem);
}

.reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.review-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.economy-grid {
    gap: 22px;
}

.economy-item {
    padding: clamp(26px, 3.2vw, 40px);
}

.compare-row.new {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}

.screen-pricing {
    background: transparent;
}

.m-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
    gap: 16px;
}

.m-card {
    min-height: 170px;
    padding: 22px 20px;
    border-radius: 18px;
}

.m-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
}

.m-title {
    font-size: 0.95rem;
}

.m-price {
    font-size: clamp(1.55rem, 2.3vw, 2rem);
    flex-wrap: wrap;
}

.m-gen {
    font-size: 0.95rem;
}

.m-desc {
    font-size: 0.82rem;
}

.faq-item {
    border-radius: 16px;
}

.faq-question {
    gap: 18px;
    line-height: 1.25;
}

.faq-question::after {
    flex: 0 0 auto;
}

.screen-final {
    padding: clamp(58px, 8vw, 96px) 0;
    background:
        linear-gradient(180deg, transparent 0%, rgba(255, 138, 0, 0.055) 100%);
}

.screen-final .section-title {
    max-width: 850px;
    margin-inline: auto;
}

.site-footer {
    margin-top: 0;
}

@media (max-width: 1100px) {
    .hero-content {
        grid-template-columns: 1fr;
        min-height: 0;
        text-align: center;
    }

    .hero-text {
        max-width: 720px;
        margin-inline: auto;
    }

    .hero-cta-wrapper {
        align-items: center;
    }

    .hero-cta-wrapper .cta-hint {
        text-align: center;
    }

    .hero-visual {
        order: -1;
        width: min(100%, 620px);
        margin-inline: auto;
    }

    .benefits-grid,
    .reviews-grid,
    .m-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --section-gap: 12px;
        --card-radius: 18px;
    }

    body {
        line-height: 1.5;
    }

    .section-frame {
        width: calc(100% - 22px);
        padding: 40px 0;
        border-radius: 22px;
    }

    section:not(:first-child) .section-frame::before {
        top: -22px;
        height: 22px;
    }

    .screen-hero .section-frame {
        padding-top: 22px;
    }

    .site-header {
        padding-bottom: 18px;
    }

    .logo-image-cropped {
        width: 118px;
        height: 31px;
    }

    .hero-content {
        gap: 28px;
        padding-bottom: 22px;
    }

    .hero-visual {
        aspect-ratio: 1 / 0.92;
        height: auto;
        max-height: 340px;
    }

    .main-title {
        font-size: clamp(2rem, 9vw, 2.75rem);
        margin-bottom: 20px;
    }

    .hero-label {
        font-size: 0.78rem;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-cta-wrapper,
    .cta-center {
        width: 100%;
    }

    .btn {
        width: min(100%, 320px);
        min-height: 56px;
        padding-inline: 18px;
    }

    .section-title {
        font-size: clamp(1.62rem, 7.2vw, 2.2rem);
        margin-bottom: 26px;
    }

    .carousel-container {
        width: 100%;
    }

    .swipe-hint {
        right: 12px;
        width: 44px;
        height: 44px;
    }

    .swipe-hint-prev {
        left: 12px;
    }

    .carousel-dots {
        bottom: 18px;
    }

    .problems-list {
        gap: 12px;
    }

    .problem-item {
        align-items: flex-start;
        padding: 14px;
    }

    .problem-text {
        font-size: 1rem;
    }

    .image-comparison-slider {
        aspect-ratio: 1 / 0.88;
    }

    .slider-label {
        top: 12px;
        padding: 7px 11px;
        font-size: 0.72rem;
    }

    .label-after {
        left: 12px;
    }

    .label-before {
        right: 12px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .benefit-card {
        padding: 18px 12px;
        min-height: 132px;
    }

    .benefit-label {
        font-size: 0.75rem;
    }

    .benefit-card p {
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .reviews-grid,
    .economy-grid,
    .m-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .review-card {
        max-width: 430px;
        margin-inline: auto;
    }

    .economy-item {
        padding: 22px 16px;
    }

    .compare-row {
        font-size: 0.88rem;
    }

    .item-benefit {
        font-size: 0.96rem;
    }

    .m-grid {
        padding: 0;
    }

    .m-card {
        min-height: 0;
        padding: 18px 16px;
    }

    .m-header {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
    }

    .m-price {
        justify-content: flex-end;
        text-align: right;
        font-size: 1.45rem;
    }

    .faq-question {
        padding: 20px 18px;
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding: 0 18px 20px;
    }

    .screen-final {
        padding: 54px 0;
    }

    .final-text {
        font-size: 1.05rem;
        margin-bottom: 34px;
    }

    .footer-logo-badge {
        max-width: 100%;
        padding-inline: 20px;
    }

    .footer-nav-link {
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .container {
        padding-inline: 14px;
    }

    .header-container {
        gap: 12px;
    }

    .login-link {
        padding: 8px 12px;
    }

    .main-title {
        font-size: 1.9rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .m-header {
        grid-template-columns: 1fr;
    }

    .m-price {
        justify-content: flex-start;
        text-align: left;
    }
}
