/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --night: #0a0f1e;
    --deep: #0d1a2e;
    --accent: #f5c518;
    --accent2: #ff8c00;
    --green: #00e676;
    --green-dark: #00b359;
    --white: #ffffff;
    --text: #d0dce8;
    --card-bg: rgba(255,255,255,0.05);
    --card-border: rgba(245,197,24,0.2);
    --radius: 16px;
    --font-head: 'Unbounded', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

html { background: var(--night); scroll-behavior: smooth; }

body {
    max-width: 480px;
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    background: var(--night);
    color: var(--text);
    overflow-x: hidden;
}

img { max-width: 100%; width: 100%; display: block; }
a { text-decoration: none; }

/* ===== STARS BACKGROUND ===== */
.stars-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 15%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 45%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 25%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 20% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 75%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 40%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 90% 70%, rgba(245,197,24,0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 15% 50%, rgba(245,197,24,0.3) 0%, transparent 100%);
}

/* ===== URGENCY BAR ===== */
.urgency-bar {
    background: linear-gradient(90deg, var(--accent2), var(--accent));
    color: var(--night);
    text-align: center;
    padding: 10px 15px;
    font-family: var(--font-head);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    position: relative;
    z-index: 10;
    animation: pulse-bar 2s ease-in-out infinite;
}
@keyframes pulse-bar {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 630px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 40px;
    overflow: hidden;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: none;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: var(--night);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,15,30,0) 0%,
        rgba(10,15,30,0) 70%,
        rgba(10,15,30,0.7) 80%,
        var(--night) 100%
    );
    z-index: 1;
}

.hero-glow {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245,197,24,0.15) 0%, transparent 70%);
    z-index: 1;
    animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    50% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    width: 100%;
}

.hero-badge {
    background: rgba(245,197,24,0.15);
    border: 1px solid rgba(245,197,24,0.4);
    color: var(--accent);
    font-family: var(--font-head);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    display: block;
    width: fit-content;
    margin: 0 auto 16px;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero h1 span {
    color: var(--accent);
    display: block;
}

.hero-sub {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ===== PRICE BLOCK ===== */
.price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.price-old {
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: #888;
    text-decoration: line-through;
    position: relative;
}

.price-new {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.price-new sup { font-size: 1rem; vertical-align: super; }

.sale-badge {
    background: var(--accent2);
    color: white;
    font-family: var(--font-head);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}

/* ===== PRICE UNDER HERO ===== */
.price-under-hero {
    background: var(--night);
    padding: 24px 20px;
    text-align: center;
}

/* ===== CTA BUTTON ===== */
.btn-cta {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--accent2) 0%, var(--accent) 100%);
    color: var(--night);
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(245,197,24,0.4), 0 4px 20px rgba(0,0,0,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: btn-breathe 2.5s ease-in-out infinite;
}
@keyframes btn-breathe {
    0%, 100% { box-shadow: 0 0 30px rgba(245,197,24,0.4), 0 4px 20px rgba(0,0,0,0.4); }
    50% { box-shadow: 0 0 50px rgba(245,197,24,0.7), 0 8px 30px rgba(0,0,0,0.5); }
}
.btn-cta:active { transform: scale(0.97); }
.btn-cta::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 40%; height: 200%;
    background: rgba(255,255,255,0.25);
    transform: skewX(-20deg);
    animation: btn-shine 3s ease-in-out infinite 1s;
}
@keyframes btn-shine {
    0% { left: -60%; }
    100% { left: 140%; }
}

.btn-note {
    font-size: 0.75rem;
    color: #7a8fa8;
    margin-top: 10px;
    text-align: center;
}

/* ===== SECTION BASE ===== */
section {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}

.section-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    text-align: center;
    margin-bottom: 8px;
}

.section-title span { color: var(--accent); }

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent2), var(--accent));
    border-radius: 2px;
    margin: 0 auto 36px;
}

/* ===== PROBLEM SECTION ===== */
.section-problem {
    background: linear-gradient(180deg, var(--night) 0%, var(--deep) 100%);
    padding-top: 50px;
}

.problem-text {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
}

.problem-text strong { color: var(--white); }

/* ===== ADVANTAGES ===== */
.section-advantages {
    background: var(--deep);
    padding: 0;
}

.adv-card {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 2px;
    background: var(--card-bg);
    border-left: 3px solid var(--accent);
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.adv-card.visible { opacity: 1; transform: translateX(0); }
.adv-card:nth-child(even) {
    flex-direction: row-reverse;
    border-left: none;
    border-right: 3px solid var(--green);
    transform: translateX(30px);
}
.adv-card:nth-child(even).visible { transform: translateX(0); }

.adv-card .adv-img { flex: 0 0 50%; max-width: 50%; }
.adv-card .adv-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    margin: 0;
}

.adv-card .adv-body { flex: 0 0 50%; padding: 16px; }

.adv-icon { font-size: 1.8rem; margin-bottom: 6px; display: block; }

.adv-title {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 6px;
    line-height: 1.3;
}
.adv-card:nth-child(even) .adv-title { color: var(--green); }

.adv-desc { font-size: 0.8rem; color: var(--text); line-height: 1.5; }

/* ===== USE CASES ===== */
.section-uses { background: var(--night); }

.use-grid { display: flex; flex-direction: column; gap: 12px; }

.use-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.use-card.visible { opacity: 1; transform: translateY(0); }

.use-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    transition: transform 0.4s;
}
.use-card:active img { transform: scale(1.04); }

.use-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,15,30,0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.use-card-label {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.use-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px var(--accent);
}

/* ===== GALLERY SLIDER ===== */
.section-gallery { background: var(--deep); padding: 60px 0; }

.section-gallery .section-title,
.section-gallery .section-line { margin-left: 20px; margin-right: 20px; }

.swiper-container { position: relative; overflow: hidden; }

.swiper-slide img { height: 480px; object-fit: cover; margin: 0; }

.swiper-pagination-bullet { background: var(--accent) !important; opacity: 0.5; }
.swiper-pagination-bullet-active { opacity: 1 !important; }

/* ===== SPECS ===== */
.section-specs { background: var(--night); }

.specs-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(10px);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.88rem;
}
.spec-row:last-child { border-bottom: none; }

.spec-label { color: #7a8fa8; font-weight: 600; }
.spec-value { color: var(--white); font-weight: 700; text-align: right; }
.spec-value.highlight { color: var(--accent); }

/* ===== RESULTS SLIDER ===== */
.section-results { background: var(--deep); padding: 60px 0; }

.section-results .section-title,
.section-results .section-line { margin-left: 20px; margin-right: 20px; }

/* ===== FAQ ===== */
.section-faq { background: var(--night); }

.faq-item {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--card-bg);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--white);
    cursor: pointer;
    gap: 12px;
}

.faq-arrow {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(245,197,24,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    transition: transform 0.3s;
}

.faq-item.open .faq-arrow { transform: rotate(45deg); }

.faq-a {
    display: none;
    padding: 14px 20px 16px;
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.65;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.faq-item.open .faq-a { display: block; }

/* ===== HOW TO ORDER ===== */
.section-how { background: var(--deep); }

.steps { display: flex; flex-direction: column; gap: 0; position: relative; }

.steps::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--green));
    opacity: 0.3;
}

.step { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; }

.step-num {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    color: var(--night);
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(245,197,24,0.3);
}

.step-title {
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.step-desc { font-size: 0.85rem; color: var(--text); }

/* ===== ORDER FORM ===== */
.section-order {
    background: linear-gradient(180deg, var(--night) 0%, var(--deep) 100%);
    position: relative;
    overflow: hidden;
}

.section-order::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245,197,24,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.order-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 28px 20px;
    backdrop-filter: blur(20px);
}

.order-card-img {
    position: relative;
    margin: -28px -20px 20px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.order-card-img img {
    width: 100%;
    display: block;
    margin: 0;
    height: 520px;
    object-fit: cover;
}

.order-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,15,30,0) 0%,
        rgba(10,15,30,0) 0%,
        rgba(10,15,30,0) 100%,
        rgba(10,15,30,0.6) 100%,
        rgba(10,15,30,0.8) 100%
    );
}

.order-card-img-label {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
}

.order-card-img-label span {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.85;
}

.order-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.form-field {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 12px;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}
.form-field:focus {
    border-color: var(--accent);
    background: rgba(245,197,24,0.05);
}
.form-field option { background: var(--deep); color: var(--white); }
.form-field::placeholder { color: #5a6a7d; }

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.78rem;
    color: #7a8fa8;
}

.checkbox-row input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    margin-top: 1px;
    cursor: pointer;
}

.checkbox-row a { color: var(--accent); }

.btn-submit {
    display: block;
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--accent2) 0%, var(--accent) 100%);
    color: var(--night);
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(245,197,24,0.35), 0 4px 20px rgba(0,0,0,0.4);
    transition: transform 0.2s;
    animation: btn-breathe 2.5s ease-in-out infinite;
}
.btn-submit:active { transform: scale(0.97); }
.btn-submit:disabled {
    background: #444;
    color: #888;
    box-shadow: none;
    animation: none;
}

.img-loading { display: none; width: 40px; margin: 0 auto 12px; }

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.trust-badge { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: #5a6a7d; }
.trust-badge .ico { font-size: 1rem; }

/* ===== FOOTER ===== */
.footer {
    background: #000000;
    padding: 40px 20px 30px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-logo img { width: 100%; max-width: 320px; margin: 0 auto 20px; opacity: 0.8; }
.footer-fb img { width: 220px; margin: 0 auto 20px; }
.footer-pay img { width: 180px; margin: 0 auto 20px; opacity: 0.7; }

.footer-links { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.footer-links a { color: var(--accent); font-size: 0.82rem; opacity: 0.8; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; }

.footer-copy { font-size: 0.72rem; color: #3a4a5a; }

/* ===== SCROLL ANIMATIONS ===== */
.anim-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-fade.visible { opacity: 1; transform: translateY(0); }

/* ===== BTN WRAPPER ===== */
.btn-wrap { padding: 0 20px; margin-top: 24px; padding-bottom: 25px; }

/* ===== SWIPER OVERRIDES ===== */
.swiper-pagination { bottom: 10px !important; }

/* ===== UTILITIES ===== */
.text-accent { color: var(--accent); }

.section-advantages-header { padding: 0 20px; }

.btn-wrap--top { margin-top: 32px; }

/* ===== PERFORMANCE PATCH ===== */
.hero-bg { background-image: none !important; background: none !important; }
.hero-bg picture, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center top; }

/* Remove permanent repaint-heavy decorative layers */
.stars-bg, .hero-glow { display: none !important; }
.urgency-bar, .btn-cta, .btn-submit { animation: none !important; }

/* Native lightweight sliders instead of Swiper JS */
.swiper-container {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.swiper-container::-webkit-scrollbar { display: none; }
.swiper-wrapper {
    display: flex !important;
    gap: 12px;
    padding: 0 20px 10px;
    transform: none !important;
}
.swiper-slide {
    flex: 0 0 86%;
    scroll-snap-align: center;
}
.swiper-slide img {
    width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
}
.swiper-pagination { display: none !important; }

/* Reduce layout/repaint pressure from scroll animations */
.anim-fade, .adv-card, .use-card {
    transition: opacity .25s ease, transform .25s ease !important;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .anim-fade, .adv-card, .use-card {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===== LIGHTWEIGHT SLIDER CONTROLS ===== */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 8px 20px 0;
}
.slider-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(245,197,24,0.45);
    border-radius: 999px;
    background: rgba(245,197,24,0.12);
    color: var(--accent);
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
    cursor: pointer;
    touch-action: manipulation;
}
.slider-btn:disabled {
    opacity: 0.35;
    cursor: default;
}
.slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 72px;
}
.slider-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(245,197,24,0.35);
    padding: 0;
    cursor: pointer;
}
.slider-dot.active {
    width: 20px;
    background: var(--accent);
}
