html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --bg-color: #05070c;
    --card-bg: rgba(13, 20, 38, 0.6);
    --card-border: rgba(59, 130, 246, 0.15);
    --accent-blue: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.35);
    --accent-green: #00ff9d;
    --accent-gold: #f59e0b;
    --text-main: #e2e8f0;
    --text-muted: #64748b;
    --text-white: #ffffff;
    --terminal-green: #00ff66;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    background-image: 
        linear-gradient(rgba(18, 24, 43, 0.25) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 24, 43, 0.25) 1px, transparent 1px),
        radial-gradient(at 50% 0%, rgba(37, 99, 235, 0.15) 0px, transparent 55%);
    background-size: 30px 30px, 30px 30px, 100% 100%;
    color: var(--text-main);
    line-height: 1.5;
    padding: 40px 15px 20px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ========================================== */
/* 🌌 BACKGROUND & WRAPPER                    */
/* ========================================== */

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.falling-star {
    position: absolute;
    background: linear-gradient(180deg, var(--accent-blue), transparent);
    border-radius: 50%;
    animation: drop linear infinite;
}

@keyframes drop {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(105vh); opacity: 0; }
}

.wrapper {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.6s ease;
}

body.loaded .wrapper {
    opacity: 1;
}

/* ========================================== */
/* 👁️ REVEAL ANIMATIONS                       */
/* ========================================== */

.reveal {
    opacity: 0;
    filter: blur(8px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter;
}

.reveal-up { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

.reveal.visible {
    opacity: 1;
    filter: blur(0);
    transform: translate(0) scale(1);
}

/* ========================================== */
/* 🎯 HERO SECTION & AVATAR                   */
/* ========================================== */

.hero {
    text-align: center;
    margin-bottom: 30px;
    padding: 10px 0 0 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-container {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    opacity: 0.55;
    border-radius: 50%;
    filter: blur(14px);
    z-index: 0;
    pointer-events: none;
}

.avatar {
    position: relative;
    z-index: 1;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    object-fit: cover;
    display: block;
}

.online-badge {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 15px;
    height: 15px;
    background-color: #10b981;
    border: 2.5px solid var(--bg-color);
    border-radius: 50%;
    box-shadow: 0 0 12px #10b981;
    z-index: 2;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 20, 38, 0.85);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main);
    margin-bottom: 22px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.status-dot {
    width: 7px;
    height: 7px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 255, 157, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 157, 0); }
}

.competitor-headline {
    font-size: 30px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: var(--text-white);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.competitor-headline span {
    color: var(--accent-gold);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 15px rgba(245, 158, 11, 0.3));
}

.tagline {
    font-size: 13.5px;
    color: #94a3b8;
    max-width: 95%;
    margin: 0 auto 24px auto;
    line-height: 1.55;
    font-weight: 400;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 25px;
    width: 100%;
}

.stat-card {
    background: rgba(13, 20, 38, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 12px 6px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-label {
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 16.5px;
    font-weight: 900;
    line-height: 1.1;
}

.stat-value.gold { color: var(--accent-gold); }
.stat-value.blue { color: var(--accent-blue); }
.stat-value.green { color: var(--accent-green); }

.stat-sub {
    font-size: 9px;
    color: #64748b;
    margin-top: 3px;
}

/* ОНОВЛЕНО: HERO ACTIONS & FIX ДЛЯ МОБІЛОК */
.hero-actions {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    margin: 10px auto 15px auto;
}

.hero-actions .btn {
    flex: 1 1 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 10px;
    font-size: 13px;
    line-height: 1.25;
    border-radius: 50px;
    box-sizing: border-box;
    word-break: break-word;
}

/* ========================================== */
/* 🔀 ROUTING DIAGRAM                         */
/* ========================================== */

.routing-diagram {
    background: rgba(13, 20, 38, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(12px);
}

.routing-head {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 14px;
}

.routing-cols {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.routing-col {
    flex: 1;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid var(--card-border);
}

.routing-col.good { background: rgba(0, 255, 157, 0.06); border-color: rgba(0, 255, 157, 0.25); }
.routing-col.low { background: rgba(248, 113, 113, 0.06); border-color: rgba(248, 113, 113, 0.25); }

.routing-tag { font-size: 10px; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 6px; }
.routing-col.good .routing-tag { color: var(--accent-green); }
.routing-col.low .routing-tag { color: #f87171; }

.routing-main { font-size: 12.5px; font-weight: 700; color: var(--text-white); margin-bottom: 4px; line-height: 1.3; }
.routing-sub { font-size: 11px; color: var(--text-muted); line-height: 1.4; }

.routing-log { border-top: 1px solid var(--card-border); padding-top: 12px; }
.routing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    color: var(--text-muted);
    padding: 6px 0;
    gap: 8px;
}
.routing-row b { color: var(--text-white); }
.routing-row .tag-good { color: var(--accent-green); font-weight: 700; font-size: 10.5px; white-space: nowrap; }
.routing-row .tag-low { color: #f87171; font-weight: 700; font-size: 10.5px; white-space: nowrap; }

/* ========================================== */
/* 📌 SECTION HEADERS                         */
/* ========================================== */

.section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin: 35px 0 15px 0;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent);
}

/* ========================================== */
/* 💳 CARDS, PRODUCTS & BUNDLES               */
/* ========================================== */

.card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card.featured {
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: linear-gradient(180deg, rgba(17, 24, 43, 0.75) 0%, rgba(10, 15, 30, 0.75) 100%);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.badge {
    position: absolute;
    top: -11px;
    left: 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: var(--text-white);
    font-size: 10px;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ⚡ 1:1 PERFECT SQUARE PRODUCT ICON/IMAGE CONTAINER */
.card-banner-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 10, 20, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.card-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.card-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.3;
}

.card-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-green);
    background: rgba(0, 255, 157, 0.05);
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    border: 1px solid rgba(0, 255, 157, 0.1);
}

.card-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.4;
}

/* BUNDLE FEATURES GRID (DARK UI) */
.bundle-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
}

.grid-feature-item {
    background: rgba(6, 10, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
}

.full-width-item {
    grid-column: span 2;
}

.grid-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.card-explain {
    background: rgba(0, 0, 0, 0.25);
    border-left: 2px solid var(--accent-green);
    padding: 8px 12px;
    font-size: 12.5px;
    color: #a1a1aa;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

/* ========================================== */
/* 🔘 BUTTONS & INTERACTIVE ELEMENTS          */
/* ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1.25;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.05); }

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover { opacity: 0.95; }

.btn-glow {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3.5s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    20%, 100% { transform: translateX(100%) rotate(45deg); }
}

.btn-supplier-pill {
    background: rgba(13, 20, 38, 0.8) !important;
    border: 1px solid rgba(59, 130, 246, 0.4) !important;
    color: var(--text-white) !important;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.btn-supplier-pill:hover {
    background: rgba(37, 99, 235, 0.2) !important;
    border-color: var(--accent-blue) !important;
}

.btn-glow-blue {
    background: linear-gradient(135deg, #0082ff 0%, #0052d4 100%) !important;
    box-shadow: 0 0 25px rgba(0, 130, 255, 0.4) !important;
    border-radius: 50px !important;
}

/* ========================================== */
/* 📌 STICKY MOBILE CTA BAR                   */
/* ========================================== */

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px calc(12px + env(safe-area-inset-bottom, 0px)) 15px;
    background: rgba(5, 7, 12, 0.9);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--card-border);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    pointer-events: none;
}

.sticky-cta.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sticky-cta-info {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sticky-cta-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-white);
}

.sticky-cta-was {
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 0.75em;
    font-weight: 600;
    margin-right: 4px;
}

.sticky-cta-label {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.sticky-cta-btn {
    width: auto;
    flex: 1;
    padding: 13px 18px;
    font-size: 13.5px;
    white-space: nowrap;
}

/* ========================================== */
/* ℹ️ INFO & SEGMENTATION BLOCKS              */
/* ========================================== */

.info-box {
    background: rgba(13, 20, 38, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px;
    text-align: left;
    margin-bottom: 20px;
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.5;
}
.info-box a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed var(--accent-blue);
}

.segment-card {
    background: rgba(13, 20, 38, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
}
.segment-row { margin-bottom: 15px; }
.segment-row:last-child { margin-bottom: 0; }
.segment-label { font-size: 12.5px; font-weight: 800; color: var(--accent-blue); text-transform: uppercase; margin-bottom: 2px; }
.segment-desc { font-size: 13.5px; color: #cbd5e1; }

/* ========================================== */
/* 🔄 REVIEWS CAROUSEL                        */
/* ========================================== */

.reviews-slider-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.reviews-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: scroll-left 30s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card {
    width: 280px;
    flex-shrink: 0;
    background: rgba(13, 20, 38, 0.85);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
}

.review-img-box {
    width: 100%;
    background: #020408;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid var(--card-border);
}

.review-img-box img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.review-caption {
    padding: 14px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
    background: rgba(5, 8, 17, 0.7);
    flex-grow: 1;
}

.review-caption strong {
    color: var(--text-white);
    display: block;
    margin-bottom: 4px;
    font-size: 12.5px;
}

/* ========================================== */
/* 👨‍💻 ABOUT OPERATOR                         */
/* ========================================== */

.about-card {
    background: linear-gradient(180deg, rgba(13, 20, 38, 0.5) 0%, rgba(5, 8, 17, 0.8) 100%);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    margin-bottom: 35px;
}

.about-img-box {
    width: 100%;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.about-img-box img { width: 100%; height: 100%; object-fit: cover; }
.about-name { font-size: 20px; font-weight: 900; color: var(--text-white); margin-bottom: 2px; }
.about-handle { font-size: 13px; color: var(--accent-blue); font-weight: 600; margin-bottom: 14px; display: block; }
.about-bio { font-size: 13.5px; color: #cbd5e1; line-height: 1.5; margin-bottom: 20px; text-align: left; }

.btn-instagram {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--accent-gold);
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    width: 100%;
    font-size: 13.5px;
}

/* ========================================== */
/* ❓ FAQ ACCORDION                           */
/* ========================================== */

.faq-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 16px;
    background: none;
    border: none;
    text-align: left;
    color: var(--text-white);
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon { transition: transform 0.2s ease; color: #64748b; font-size: 15px; }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease; padding: 0 16px; font-size: 13px; color: #64748b; line-height: 1.5; }
.faq-item.opened .faq-icon { transform: rotate(45deg); color: var(--text-white); }
.faq-item.opened .faq-content { padding: 4px 16px 16px 16px; }

/* ========================================== */
/* 🔻 FOOTER                                  */
/* ========================================== */

footer {
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 20px 5px 10px 5px;
}

.footer-brand { font-size: 15px; font-weight: 800; color: var(--text-white); margin-bottom: 4px; }
.footer-tagline { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.footer-col-title { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-white); font-weight: 700; margin-bottom: 10px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 12.5px; color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--text-white); }
.footer-bottom { text-align: center; font-size: 10.5px; color: #334155; border-top: 1px solid rgba(255, 255, 255, 0.02); padding-top: 15px; }

/* ========================================== */
/* 📱 MEDIA QUERIES (MOBILE FIXES)            */
/* ========================================== */

@media screen and (max-width: 480px) {
    .hero-actions {
        gap: 8px;
        padding: 0 4px;
    }

    .hero-actions .btn {
        font-size: 12px;
        padding: 11px 6px;
        min-height: 46px;
    }
}