/* ==========================================
   ФІКС БАГУ В МЕНЮ (Розмиття тексту)
   ========================================== */
nav a {
    transition: background-color 0.2s ease, color 0.2s ease;
    transform: none !important;
}

nav a.nav-creator {
    color: #b71c1c !important;
    font-weight: 800;
    background-color: transparent;
    padding: 10px 20px;
    border-radius: 50px;
    will-change: background-color;
}

nav a.nav-creator:hover {
    background-color: #fff0f0 !important;
    transform: none !important;
}

/* ==========================================
   SCROLL ANIMATIONS & SHINE
   ========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    animation: shineSweep 4s infinite;
}
@keyframes shineSweep {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* ==========================================
   ГОЛОВНИЙ БАНЕР (АБСОЛЮТНО БІЛИЙ ФОН)
   ========================================== */
.hero-banner {
    background: #ffffff; 
    color: #111;
    padding: 70px 20px 80px; 
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-text-content {
    flex: 1.1;
    max-width: 650px;
    text-align: left;
}

.hero-text-content h1 {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #111;
    letter-spacing: -1px;
}
.hero-text-content h1 .highlight { color: var(--primary); }
.hero-text-content p {
    font-size: 17px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-btn-main { 
    padding: 18px 40px !important; 
    font-size: 17px !important; 
    border-radius: 50px; 
    text-decoration: none; 
    display: inline-flex; 
    justify-content: center; 
    align-items: center; 
    background: var(--primary); 
    color: white;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(183, 28, 28, 0.25);
    transition: all 0.3s ease;
}
.hero-btn-main:hover { 
    background: #991818; 
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(183, 28, 28, 0.4);
}

.hero-image-content {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-composition {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
}

.hc-main {
    width: 100%;
    max-width: 450px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    mix-blend-mode: multiply; 
    pointer-events: none;
}

.hc-shadow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
}

@media (max-width: 1024px) {
    .hero-text-content h1 { font-size: 46px; }
}
@media (max-width: 768px) {
    .hero-banner { padding: 40px 20px; }
    .hero-container { flex-direction: column; text-align: center; gap: 40px; }
    .hero-text-content { text-align: center; max-width: 100%; }
    .hero-buttons { justify-content: center; width: 100%; }
    .hero-composition { height: 300px; }
}

/* ==========================================
   ПРОМО БАНЕР СЕРЕДИНИ СТОРІНКИ
   ========================================== */
.promo-banner-section { max-width: 1200px; margin: 40px auto 60px; padding: 0 20px; }
.promo-banner-container { 
    background: #ffffff; 
    border: 1px solid #eee; 
    border-radius: 24px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 40px 60px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.04); 
    transition: transform 0.3s ease;
}
.promo-banner-container:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(0,0,0,0.06); }
.promo-banner-text { flex: 1; max-width: 500px; }
.promo-banner-text h3 { font-size: 34px; font-weight: 900; color: #111; margin-bottom: 15px; line-height: 1.2;}
.promo-banner-text p { font-size: 16px; color: #555; margin-bottom: 30px; line-height: 1.6; }
.promo-banner-text strong { color: var(--primary); }

.promo-btn-massive { 
    padding: 18px 45px !important; 
    font-size: 18px !important; 
    border-radius: 50px !important; 
    text-decoration: none; 
    display: inline-block; 
    background: var(--primary); 
    color: white; 
    font-weight: 800; 
    box-shadow: 0 10px 25px rgba(183, 28, 28, 0.3); 
    transition: all 0.3s ease !important;
}
.promo-btn-massive:hover { box-shadow: 0 15px 35px rgba(183, 28, 28, 0.45); background: #991818 !important; color: white;}
.promo-banner-img { flex: 1; display: flex; justify-content: flex-end; pointer-events: none;}
.promo-banner-img img { 
    max-width: 100%; 
    max-height: 250px; 
    object-fit: contain; 
    mix-blend-mode: multiply; 
    transition: transform 0.4s ease;
}
.promo-banner-container:hover .promo-banner-img img { transform: scale(1.05) rotate(2deg); }

@media (max-width: 768px) {
    .promo-banner-container { flex-direction: column; text-align: center; padding: 30px 20px; gap: 30px; }
    .promo-banner-text h3 { font-size: 26px; }
    .promo-banner-img { justify-content: center; }
    .promo-banner-img img { max-height: 180px; }
}

/* ==========================================
   СЕКЦІЯ КОНФІГУРАТОРА НА ГОЛОВНІЙ (TEASER)
   ========================================== */
.home-cfg-teaser { max-width: 1200px; margin: 40px auto 60px; padding: 0 20px; }
.hct-container { background: #ffffff; border: 1px solid #eaeaea; border-radius: 24px; display: flex; overflow: hidden; position: relative; box-shadow: 0 15px 35px rgba(0,0,0,0.06); }
.hct-content { flex: 1.1; padding: 55px 50px; color: #333; position: relative; z-index: 2; }
.hct-badge { display: inline-block; background: #fff0f0; border: 1px solid #ffcccc; color: var(--primary); padding: 6px 16px; border-radius: 30px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.hct-content h2 { font-size: 36px; font-weight: 900; margin-bottom: 15px; line-height: 1.15; color: #111; }
.hct-content p { font-size: 15px; color: #555; line-height: 1.6; margin-bottom: 25px; max-width: 440px; }
.hct-content strong { color: var(--primary); }
.hct-benefits { list-style: none; margin: 0 0 35px 0; padding: 0; }
.hct-benefits li { font-size: 14px; color: #444; margin-bottom: 12px; display: flex; align-items: center; font-weight: 600; }
.hct-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--primary); color: white; text-decoration: none; padding: 16px 35px; border-radius: 50px; font-weight: 800; font-size: 15px; box-shadow: 0 10px 25px rgba(183, 28, 28, 0.3); transition: all 0.3s ease; }
.hct-btn:hover { background: #991818; transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 30px rgba(183, 28, 28, 0.45); color: white; }
.hct-btn-icon { font-size: 18px; }
.hct-visuals { flex: 0.9; position: relative; background: radial-gradient(circle at center, #fdfdfd 0%, #f7f7f7 100%); display: flex; align-items: center; justify-content: center; min-height: 420px; border-left: 1px solid #eee; overflow: hidden; }
.hct-scene { position: relative; width: 100%; height: 100%; }
.hct-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 300px; height: 300px; background: radial-gradient(circle, rgba(183,28,28,0.1) 0%, rgba(183,28,28,0) 70%); border-radius: 50%; z-index: 1; animation: pulseGlow 4s infinite alternate ease-in-out; }

@keyframes pulseGlow { 0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; } 100% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; } }

/* ФІКС: ПОВНІСТЮ ВИДАЛЕНО transition: all, додано will-change для гладкості */
.hct-float-item { 
    position: absolute; 
    z-index: 2; 
    background: #ffffff; 
    border-radius: 18px; 
    padding: 12px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
    border: 1px solid rgba(0,0,0,0.03); 
    object-fit: contain; 
    will-change: transform;
}

.hct-item-1 { width: 210px; height: 210px; top: 50%; left: 50%; margin-top: -105px; margin-left: -105px; animation: float1 6s infinite ease-in-out; z-index: 3; }
.hct-item-2 { width: 130px; height: 130px; top: 12%; right: 12%; transform: rotate(12deg); animation: float2 5s infinite ease-in-out 1s; z-index: 2; }
.hct-item-3 { width: 140px; height: 140px; bottom: 12%; left: 8%; transform: rotate(-15deg); animation: float3 7s infinite ease-in-out 0.5s; z-index: 4; }

@keyframes float1 { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-12px) rotate(2deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes float2 { 0% { transform: translateY(0px) rotate(12deg); } 50% { transform: translateY(-16px) rotate(16deg); } 100% { transform: translateY(0px) rotate(12deg); } }
@keyframes float3 { 
    0% { transform: translateY(0px) rotate(-15deg); } 
    50% { transform: translateY(-14px) rotate(-10deg); } 
    100% { transform: translateY(0px) rotate(-15deg); } 
}

@media (max-width: 900px) {
    .hct-container { flex-direction: column; }
    .hct-content { padding: 40px 30px; text-align: center; }
    .hct-content p { margin: 0 auto 25px auto; }
    .hct-benefits { display: none; }
    .hct-visuals { min-height: 320px; border-left: none; border-top: 1px solid #eee; }
    .hct-item-1 { width: 170px; height: 170px; margin-top: -85px; margin-left: -85px; }
    .hct-item-2 { width: 100px; height: 100px; top: 8%; right: 8%; }
    .hct-item-3 { width: 110px; height: 110px; bottom: 8%; left: 8%; }
}

/* ==========================================
   КАРУСЕЛЬ BESTSELLERY
   ========================================== */
.bestsellers-section { max-width: 1400px; margin: 60px auto; padding: 0 20px; }
.bs-title { font-size: 32px; color: #111; font-weight: 900; margin-bottom: 30px; text-align: center; }
.bs-carousel-wrapper { position: relative; display: flex; align-items: center; }
.bs-track { display: flex; gap: 20px; overflow-x: hidden; scroll-behavior: smooth; padding: 20px 5px; width: 100%; }
.bs-card { flex: 0 0 250px; background: white; border: 1px solid #f0f0f0; border-radius: 20px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; text-align: center; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.bs-card:hover { border-color: #e0e0e0; box-shadow: 0 15px 30px rgba(0,0,0,0.06); transform: translateY(-5px); }
.bs-card img { width: 100%; height: 150px; object-fit: contain; margin-bottom: 15px; transition: transform 0.4s ease; mix-blend-mode: multiply; }
.bs-card:hover img { transform: scale(1.08); }

.bs-info h4 { font-size: 14px; color: #333; font-weight: 600; margin-bottom: 15px; line-height: 1.4; min-height: 40px; }
.bs-price { font-size: 20px; font-weight: 900; color: #111; margin-bottom: 15px; }

.bs-btn { 
    width: 100%; padding: 12px; 
    background: var(--primary); 
    color: white; 
    border: none; 
    border-radius: 10px; 
    font-weight: 700; font-size: 14px; 
    cursor: pointer; transition: 0.2s; 
}
.bs-btn:hover { background: #991818; box-shadow: 0 4px 12px rgba(183,28,28,0.3); }

.bs-arrow { background: white; border: 1px solid #ddd; border-radius: 50%; width: 48px; height: 48px; font-size: 18px; color: #333; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.bs-arrow:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-50%) scale(1.1); }
#bsPrev { left: -24px; }
#bsNext { right: -24px; }

@media (max-width: 768px) { #bsPrev, #bsNext { display: none; } .bs-track { overflow-x: auto; scrollbar-width: none; } .bs-card { flex: 0 0 200px; } }

/* ==========================================
   ПОПУЛЯРНІ НАБОРИ ТА ІЄРАРХІЯ ПІДСВІТКИ
   ========================================== */
.products { max-width: 1200px; margin: 0 auto 80px; padding: 0 20px; }
.products h2 { font-size: 32px; margin-bottom: 40px; color: #111; text-align: center; font-weight: 900;}
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }

.spotlight-card {
    position: relative;
    background: white; 
    border: 1px solid #f0f0f0; 
    border-radius: 20px; 
    padding: 30px 25px; 
    text-align: center; 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
    overflow: hidden; 
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(183,28,28,0.04), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}
.spotlight-card:hover::before { opacity: 1; }

.spotlight-card > * { position: relative; z-index: 2; }

/* ІЄРАРХІЯ ПІДСВІТКИ */
.tier-lite { box-shadow: 0 8px 24px rgba(0,0,0,0.04); border-color: #f0f0f0; }
.tier-lite:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); border-color: #eaeaea; }

.tier-classic { box-shadow: 0 8px 24px rgba(183, 28, 28, 0.05); border-color: #ffeded; }
.tier-classic:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(183, 28, 28, 0.2); border-color: #ffcccc; }

.tier-pro { box-shadow: 0 10px 30px rgba(183, 28, 28, 0.1); border-color: #ffcccc; }
.tier-pro:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(183, 28, 28, 0.4); border-color: var(--primary); }

.tier-master { box-shadow: 0 10px 30px rgba(255, 170, 0, 0.1); border-color: #ffe082; background: linear-gradient(180deg, #fff 0%, #fffbf0 100%); }
.tier-master:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(255, 170, 0, 0.35); border-color: #ffc107; }
.tier-master strong { color: #d84315; }

.buy-btn { 
    width: 100%; padding: 14px; 
    background: var(--primary); 
    color: white; 
    border: none; 
    border-radius: 12px; 
    font-weight: 800; font-size: 15px; 
    cursor: pointer; transition: 0.3s; 
    box-shadow: 0 4px 15px rgba(183,28,28,0.2);
}
.buy-btn:hover { background: #991818; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(183,28,28,0.35); }

.card .product-image { height: 200px; width: 100%; margin-bottom: 25px; overflow: visible; pointer-events: none;}

@keyframes levitate {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.float-wrap { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; animation: levitate 5s ease-in-out infinite; }
.cards .card:nth-child(1) .float-wrap { animation-delay: 0s; }
.cards .card:nth-child(2) .float-wrap { animation-delay: -1.2s; }
.cards .card:nth-child(3) .float-wrap { animation-delay: -2.4s; }
.cards .card:nth-child(4) .float-wrap { animation-delay: -3.6s; }

.card img { max-width: 100% !important; max-height: 180px !important; object-fit: contain !important; display: block; margin: 0 auto; transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); mix-blend-mode: multiply; }
.card:hover img { transform: scale(1.1) rotate(2deg); }

.card h3 { font-size: 20px; color: #111; margin-bottom: 10px; font-weight: 800;}
.card p { font-size: 14px; color: #666; margin-bottom: 15px; }
.card strong { font-size: 24px; color: var(--primary); display: block; margin-bottom: 25px; font-weight: 900;}

/* ==========================================
   ПЕРЕВАГИ
   ========================================== */
.features { background: #fafafa; padding: 100px 20px; text-align: center; }
.features h2 { font-size: 36px; margin-bottom: 60px; color: #111; font-weight: 900; }
.features-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }

.premium-feature { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 40px 35px; background: white; border: none; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); transition: all 0.4s ease; overflow: hidden; }
.premium-feature:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(183, 28, 28, 0.05); }

.fc-watermark { position: absolute; top: -10px; right: -10px; font-size: 140px; font-weight: 900; color: #f4f4f4; line-height: 1; z-index: 1; transition: color 0.4s ease; }
.premium-feature:hover .fc-watermark { color: #fff0f0; }

.fc-content { position: relative; z-index: 2; pointer-events: none;}
.premium-feature h3 { font-size: 20px; color: #111; margin-bottom: 15px; font-weight: 800; line-height: 1.3;}
.premium-feature p { font-size: 15px; color: #555; line-height: 1.6; margin: 0; }

/* ==========================================
   SEO & TRUST
   ========================================== */
.seo-section { background: white; padding: 80px 20px; border-top: 1px solid #eee; }
.seo-container { max-width: 1000px; margin: 0 auto; }
.seo-section h2 { font-size: 28px; color: #111; margin-bottom: 40px; text-align: center; font-weight: 900; line-height: 1.3; }
.seo-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; color: #555; font-size: 16px; line-height: 1.8; text-align: justify; }
.seo-col p { margin-bottom: 20px; }
.seo-col strong { color: #111; font-weight: 700; background: linear-gradient(120deg, rgba(183, 28, 28, 0.1) 0%, rgba(183, 28, 28, 0.1) 100%); background-repeat: no-repeat; background-size: 100% 30%; background-position: 0 88%; }
.seo-badge-bottom { margin-top: 40px; text-align: center; }
.seo-badge-bottom span { display: inline-block; padding: 14px 30px; background: #fff0f0; border: 1px solid #ffcccc; color: var(--primary); border-radius: 50px; font-size: 15px; font-weight: 800; box-shadow: 0 5px 15px rgba(183,28,28,0.1); }

.trust-features-bottom { max-width: 1200px; margin: 0 auto 80px; padding: 50px 20px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tf-item { display: flex; align-items: flex-start; gap: 18px; transition: transform 0.3s; }
.tf-item:hover { transform: translateY(-3px); }
.tf-icon { color: var(--primary); width: 42px; height: 42px; flex-shrink: 0; }
.tf-text h4 { font-size: 17px; color: #111; margin-bottom: 6px; font-weight: 800; }
.tf-text p { font-size: 14px; color: #666; margin: 0; line-height: 1.5; }

@media (max-width: 900px) { .trust-features-bottom { grid-template-columns: repeat(2, 1fr); gap: 30px;} }
@media (max-width: 768px) { .seo-section { padding: 50px 20px; } .seo-section h2 { font-size: 20px; text-align: left; } .seo-content { grid-template-columns: 1fr; gap: 10px; text-align: left; } .seo-badge-bottom { margin-top: 30px; } .seo-badge-bottom span { font-size: 13px; padding: 10px 20px; display: block; } }
@media (max-width: 500px) { .trust-features-bottom { grid-template-columns: 1fr; gap: 25px; padding: 30px 20px;} }