
/* ==================== GLOBAL MOBILE SCROLL FIX ==================== */
html, body {
    width: 100%;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    /* Disable inner scroll on cards and containers */
    .product-card-attractive,
    .product-content,
    .product-features,
    .feature-card-attractive,
    .steps-grid,
    .features-grid-attractive {
        overflow: visible !important;
        max-height: none !important;
        height: auto !important;
    }

    /* Prevent horizontal scrolling */
    body {
        position: relative;
    }
}
/* ==================== END MOBILE SCROLL FIX ==================== */

:root {
    --bg: #0a0a0a;
    --black: #000000;
    --white: #ffffff;
    --accent-yellow: #FFD700;
    --accent-purple: #8A2BE2;
    --accent-blue: #00BFFF;
    --telegram-color: #2AABEE;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --border: 2px solid rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-yellow: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    --gradient-purple: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    --gradient-blue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
}
/* Анимации для появления при прокрутке */
.feature-card-attractive,
.product-card-attractive,
.section-header-attractive,
.hero-attractive .hero-content > *:not(.hero-visual-attractive) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Задержки для последовательного появления */
.feature-card-attractive:nth-child(1) { transition-delay: 0.1s; }
.feature-card-attractive:nth-child(2) { transition-delay: 0.2s; }
.feature-card-attractive:nth-child(3) { transition-delay: 0.3s; }

.product-card-attractive:nth-child(1) { transition-delay: 0.1s; }
.product-card-attractive:nth-child(2) { transition-delay: 0.2s; }
.product-card-attractive:nth-child(3) { transition-delay: 0.3s; }
.product-card-attractive:nth-child(4) { transition-delay: 0.4s; }
.product-card-attractive:nth-child(5) { transition-delay: 0.5s; }
.product-card-attractive:nth-child(6) { transition-delay: 0.6s; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .btn, .logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ПРОМО БАННЕР */
.promo-banner {
    background: linear-gradient(90deg, #ff0080, #ff8c00, #40e0d0);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    padding: 12px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.promo-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.promo-badge {
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.promo-text {
    font-size: 16px;
    font-weight: 600;
    flex-grow: 1;
}

.promo-cta {
    background: var(--white);
    color: #000;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* ОБНОВЛЕННЫЙ HEADER */
.header-modern {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-modern {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-badge {
    background: var(--accent-purple);
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-actions-modern {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-container {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

.search-modern {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 12px 20px 12px 45px;
    width: 300px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-modern:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.15);
}

.tg-btn-modern {
    background: var(--telegram-color);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tg-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(42, 171, 238, 0.3);
}

.tg-btn-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ПРИВЛЕКАТЕЛЬНЫЙ HERO */
.hero-attractive {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-attractive::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, rgba(138, 43, 226, 0) 70%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-yellow);
    color: #000;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

.highlight {
    position: relative;
    display: inline-block;
    padding-right: 20px;
}

.highlight-text {
    position: relative;
    z-index: 2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    filter: blur(20px);
    opacity: 0.5;
    z-index: 1;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 18px 36px;
    border-radius: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 18px 36px;
    border-radius: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.hero-visual-attractive {
    position: relative;
}

.visual-frame {
    position: relative;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.frame-decoration {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 32px;
    z-index: -1;
    opacity: 0.3;
}

.frame-2 {
    filter: blur(10px);
    opacity: 0.2;
}

.screen-showcase {
    position: relative;
}

.screen-tilt {
    transform: rotate(3deg);
    transition: transform 0.5s ease;
}

.screen-tilt:hover {
    transform: rotate(3deg) scale(1.02);
}

.screen-content {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.screen-image {
    width: 100%;
    height: auto;
    display: block;
}

.screen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.2), rgba(255, 215, 0, 0.2));
    mix-blend-mode: overlay;
}

.floating-badge {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    animation: float 3s ease-in-out infinite;
}

.floating-1 {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.floating-2 {
    top: 20px;
    right: 20px;
    animation-delay: 0.5s;
}

.floating-3 {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ОБНОВЛЕННАЯ СЕКЦИЯ ПРЕИМУЩЕСТВ */
.features-attractive {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-header-attractive {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-attractive {
    font-size: 48px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid-attractive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card-attractive {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-attractive:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
}

.feature-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    --icon-color: var(--accent-yellow);
}

.feature-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--icon-color);
    border-radius: 50%;
    opacity: 0.1;
}

.feature-icon {
    position: relative;
    font-size: 36px;
    color: var(--icon-color);
    line-height: 80px;
}

.feature-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

.feature-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-stats {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

/* ОБНОВЛЕННЫЙ КАТАЛОГ */
.catalog-attractive {
    max-width: 1400px;
    margin: 100px auto;
    padding: 0 20px;
}

.products-grid-attractive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card-attractive {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.product-card-attractive:hover {
    transform: translateY(-15px);
    border-color: var(--accent-purple);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.product-card-attractive.popular {
    border: 2px solid var(--accent-yellow);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.popular-badge {
    background: var(--gradient-yellow);
    color: #000;
}

.pro-badge {
    background: var(--gradient-purple);
    color: white;
}

.lite-badge {
    background: var(--gradient-blue);
    color: white;
}

.rp-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.budget-badge {
    background: linear-gradient(135deg, #2ed573, #1dd1a1);
    color: white;
}

.product-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-attractive:hover .product-image {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
}

.product-content {
    padding: 25px;
}

.product-header {
    margin-bottom: 20px;
}

.product-title {
    font-size: 22px;
    margin-bottom: 8px;
    color: white;
}

.product-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.product-features {
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.feature-item i {
    color: var(--accent-yellow);
    font-size: 16px;
}

.product-pricing {
    margin-bottom: 25px;
}

.price-old {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
    margin-bottom: 5px;
}

.price-current {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-amount {
    font-size: 36px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-discount {
    background: #ff4757;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 700;
}

.btn-product {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: white;
    padding: 16px;
    border-radius: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* CTA СЕКЦИЯ */
.cta-section {
    background: var(--gradient-primary);
    margin: 100px 0;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    color: white;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.cta-stat {
    text-align: center;
}

.cta-stat-number {
    font-size: 48px;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.cta-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: white;
    color: #667eea;
    padding: 18px 36px;
    border-radius: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 18px 36px;
    border-radius: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* ФУТЕР */
.footer-modern {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-highlight {
    color: white;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column {
    text-align: left;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-purple);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-payments {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.payment-method i {
    font-size: 18px;
}
/* ========== МОБИЛЬНОЕ МЕНЮ-БУРГЕР ========== */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    z-index: 1000;
    padding: 12px 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mobile-nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    background: rgba(138, 43, 226, 0.15);
    border: 2px solid rgba(138, 43, 226, 0.5);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
}

.menu-toggle:hover {
    background: rgba(138, 43, 226, 0.25);
    transform: scale(1.05);
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #8A2BE2, #00BFFF);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: #fff;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #fff;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-text-mobile {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #8A2BE2, #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-badge-mobile {
    background: linear-gradient(135deg, #8A2BE2, #4B0082);
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tg-btn-mobile {
    background: linear-gradient(135deg, #8A2BE2, #4B0082);
    color: white;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tg-btn-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

.tg-text-mobile {
    font-size: 14px;
}

/* Выезжающее меню */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a0a2a 100%);
    z-index: 1001;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 10px 0 50px rgba(138, 43, 226, 0.3);
    border-right: 1px solid rgba(138, 43, 226, 0.3);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    background: rgba(138, 43, 226, 0.05);
}

.menu-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #8A2BE2, #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-logo-badge {
    background: linear-gradient(135deg, #8A2BE2, #4B0082);
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.menu-close {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-close:hover {
    background: rgba(138, 43, 226, 0.3);
    transform: rotate(90deg);
}

.mobile-menu-content {
    padding: 25px;
}

.menu-search-container {
    position: relative;
    margin-bottom: 30px;
}

.menu-search-container i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(138, 43, 226, 0.7);
    font-size: 20px;
}

.menu-search {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 15px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.menu-search:focus {
    outline: none;
    border-color: #8A2BE2;
    background: rgba(255, 255, 255, 0.08);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(138, 43, 226, 0.1);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-nav-link i:first-child {
    color: #8A2BE2;
    font-size: 20px;
    width: 30px;
}

.mobile-nav-link i:last-child {
    color: rgba(138, 43, 226, 0.7);
    transition: transform 0.3s ease;
}

.mobile-nav-link span {
    flex: 1;
    margin-left: 15px;
    text-align: left;
}

.mobile-nav-link:hover {
    background: linear-gradient(90deg, rgba(138, 43, 226, 0.2), rgba(0, 191, 255, 0.1));
    border-color: rgba(138, 43, 226, 0.5);
    transform: translateX(5px);
}

.mobile-nav-link:hover i:last-child {
    transform: translateX(5px);
    color: #8A2BE2;
}

.mobile-nav-link.active {
    background: linear-gradient(90deg, rgba(138, 43, 226, 0.3), rgba(0, 191, 255, 0.2));
    border-color: #8A2BE2;
}

.menu-stats {
    display: flex;
    justify-content: space-between;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.menu-stat {
    text-align: center;
    flex: 1;
}

.menu-stat-number {
    font-size: 20px;
    font-weight: 900;
    color: #8A2BE2;
    margin-bottom: 5px;
}

.menu-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #8A2BE2, #4B0082);
    color: white;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.menu-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.4);
}

/* Обновляем промо-баннер для мобильных */
@media (max-width: 768px) {
    .promo-banner {
        margin-top: 70px; /* Отступ для фиксированной шапки */
    }
}

/* Показать мобильную шапку только на мобильных */
@media (min-width: 769px) {
    .mobile-header {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-header {
        display: block;
    }
    
    /* Скрываем десктопную шапку на мобильных */
    .header-modern {
        display: none !important;
    }
}
/* ==================== ФИКС КАРТОЧЕК НА МОБИЛЬНЫХ ==================== */
@media (max-width: 768px) {
    .products-grid-attractive {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .product-card-attractive {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
}

/* ==================== АНИМАЦИИ ПОЯВЛЕНИЯ ==================== */
/* Для всех элементов, которые должны появляться при прокрутке */
.feature-card-attractive,
.product-card-attractive,
.section-header-attractive,
.hero-attractive .hero-content > *:not(.hero-visual-attractive) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Класс, который добавляется при появлении в viewport */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Задержки для последовательного появления */
.feature-card-attractive:nth-child(1) { transition-delay: 0.1s; }
.feature-card-attractive:nth-child(2) { transition-delay: 0.2s; }
.feature-card-attractive:nth-child(3) { transition-delay: 0.3s; }

.product-card-attractive:nth-child(1) { transition-delay: 0.1s; }
.product-card-attractive:nth-child(2) { transition-delay: 0.2s; }
.product-card-attractive:nth-child(3) { transition-delay: 0.3s; }
.product-card-attractive:nth-child(4) { transition-delay: 0.4s; }
.product-card-attractive:nth-child(5) { transition-delay: 0.5s; }
.product-card-attractive:nth-child(6) { transition-delay: 0.6s; }

/* ==================== ФИОЛЕТОВЫЕ АКЦЕНТЫ КАК НА ПК ==================== */
/* Общие фиолетовые акценты */
.product-card-attractive {
    border: 1px solid rgba(138, 43, 226, 0.3) !important;
    background: linear-gradient(145deg, 
        rgba(10, 10, 10, 0.95) 0%,
        rgba(30, 10, 50, 0.3) 100%) !important;
}

.product-card-attractive:hover {
    border-color: var(--accent-purple) !important;
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.3) !important;
}

.product-card-attractive.popular {
    border: 2px solid var(--accent-yellow) !important;
    background: linear-gradient(145deg, 
        rgba(10, 10, 10, 0.95) 0%,
        rgba(50, 30, 10, 0.3) 100%) !important;
}

/* Фиолетовые акценты в кнопках */
.btn-product {
    background: linear-gradient(135deg, #8A2BE2, #4B0082) !important;
    color: white !important;
    border: none !important;
    position: relative !important;
    overflow: hidden !important;
}

.btn-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.btn-product:hover::before {
    left: 100%;
}

/* Фиолетовые акценты в заголовках */
.section-title-attractive {
    background: linear-gradient(135deg, #8A2BE2, #00BFFF) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    position: relative !important;
}

.section-title-attractive::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8A2BE2, #00BFFF);
    border-radius: 2px;
}

/* ==================== МОБИЛЬНАЯ ВЕРСИЯ (ТАБЛЕТ) ==================== */
@media (max-width: 1024px) {
    .hero-attractive {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 60px 20px;
    }
    
    .hero-visual-attractive {
        order: -1;
    }
    
    .products-grid-attractive {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 25px;
    }
    
    .stat {
        min-width: 150px;
    }
}

/* ==================== МОБИЛЬНАЯ ВЕРСИЯ (ТЕЛЕФОН) ==================== */
@media (max-width: 768px) {
    /* ФИКС ШАПКИ - убираем sticky */
    .header-modern {
        position: relative !important;
        padding: 15px 0;
        background: rgba(10, 10, 10, 0.95);
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .logo-modern {
        justify-content: center;
        width: 100%;
    }
    
    .nav-actions-modern {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }
    
    .search-container {
        width: 100%;
    }
    
    .search-modern {
        width: 100%;
        font-size: 16px;
        padding: 14px 20px 14px 45px;
    }
    
    .tg-btn-modern {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }
    
    /* HERO секция */
    .hero-attractive {
        padding: 40px 15px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 18px;
        padding: 0 10px;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin: 30px 0;
    }
    
    .stat {
        flex: 1;
        min-width: 100px;
        max-width: 150px;
        padding: 15px 10px;
        background: rgba(138, 43, 226, 0.1);
        border: 1px solid rgba(138, 43, 226, 0.3);
        border-radius: 15px;
    }
    
    .stat-number {
        font-size: 24px;
        background: linear-gradient(135deg, #8A2BE2, #00BFFF) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }
    
    /* КАТАЛОГ - ФИКС СЪЕЗЖАНИЯ */
    .catalog-attractive {
        padding: 0 15px;
        margin: 50px auto;
    }
    
    .products-grid-attractive {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .product-card-attractive {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    /* FEATURES секция */
    .features-attractive {
        padding: 0 15px;
        margin: 50px auto;
    }
    
    .features-grid-attractive {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* CTA секция */
    .cta-section {
        margin: 50px 15px;
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .cta-stat {
        flex: 1;
        min-width: 100px;
        padding: 15px 10px;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    /* ФУТЕР */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
  /* Скрываем десктопный хедер */
    .header-modern {
        display: none !important;
    }
    
    /* Показываем мобильный хедер */
    .mobile-simple-header {
        display: flex;
    }
    
    /* Отступ для промо-баннера из-за фиксированного хедера */
    .promo-banner {
        margin-top: 60px;
    }
    
    /* Уменьшаем кнопку "ГОТОВЫЕ РЕШЕНИЯ" */
    .hero-badge {
        padding: 8px 16px !important;
        font-size: 12px !important;
        margin-bottom: 20px !important;
    }
    
    /* Уменьшаем заголовок */
    .hero-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
    
    /* Убираем сложные эффекты */
    .hero-attractive::before,
    .frame-decoration,
    .frame-2,
    .floating-badge {
        display: none;
    }
    
    .screen-tilt {
        transform: none !important;
    }
}

/* ==================== МАЛЕНЬКИЕ ТЕЛЕФОНЫ ==================== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title-attractive {
        font-size: 28px;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat {
        width: 100%;
        max-width: 250px;
    }
    
    .cta-stats {
        flex-direction: column;
    }
    
    .cta-stat {
        width: 100%;
        max-width: 250px;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .price-amount {
        font-size: 32px;
    }
}

/* ==================== ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ ==================== */
@media (max-width: 360px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-product {
        padding: 14px;
        font-size: 15px;
    }
}
@media (max-width: 768px) {
    /* Обновляем hero секцию */
    .hero-attractive {
        padding: 40px 15px;
        text-align: center;
        background: linear-gradient(180deg, 
            rgba(10, 10, 10, 1) 0%,
            rgba(138, 43, 226, 0.15) 50%,
            rgba(10, 10, 10, 1) 100%);
    }
    
    .hero-badge {
        background: linear-gradient(135deg, #8A2BE2, #4B0082);
        color: white;
        padding: 10px 22px;
        border-radius: 25px;
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 25px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        border: 2px solid rgba(138, 43, 226, 0.5);
    }
    
    .hero-badge::before {
        content: '✨';
        font-size: 18px;
    }
    
    .hero-title {
        font-size: 40px;
        line-height: 1.1;
        margin-bottom: 20px;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }
    
    .highlight-text {
        background: linear-gradient(135deg, #8A2BE2, #00BFFF);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        position: relative;
        display: inline-block;
    }
    
    .highlight-text::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        height: 4px;
        background: linear-gradient(90deg, #8A2BE2, #00BFFF);
        border-radius: 2px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 30px;
        line-height: 1.6;
        padding: 0 15px;
        font-weight: 500;
    }
    
    /* Увеличиваем шрифты статистики */
    .hero-stats {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 35px;
        background: rgba(138, 43, 226, 0.1);
        padding: 25px 20px;
        border-radius: 20px;
        border: 1px solid rgba(138, 43, 226, 0.3);
        backdrop-filter: blur(10px);
    }
    
    .stat {
        text-align: center;
        padding: 15px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        border: 1px solid rgba(138, 43, 226, 0.2);
    }
    
    .stat-number {
        font-size: 36px;
        font-weight: 900;
        background: linear-gradient(135deg, #8A2BE2, #00BFFF);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 8px;
    }
    
    .stat-label {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.8);
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
    }
    
    /* Увеличиваем кнопки */
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }
    
    .btn-hero-primary {
        background: linear-gradient(135deg, #8A2BE2, #4B0082);
        color: white;
        padding: 20px 30px;
        border-radius: 15px;
        font-size: 18px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .btn-hero-secondary {
        background: transparent;
        color: white;
        padding: 20px 30px;
        border-radius: 15px;
        font-size: 18px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        border: 2px solid rgba(138, 43, 226, 0.5);
    }
    
    /* Увеличиваем шрифты в карточках */
    .product-title {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .product-features {
        margin-bottom: 20px;
    }
    
    .feature-item {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .price-amount {
        font-size: 36px;
    }
    
    .btn-product {
        padding: 18px;
        font-size: 17px;
    }
}
/* ==================== УЛУЧШЕНИЯ ДЛЯ IOS ==================== */
html {
    -webkit-overflow-scrolling: touch;
}

body {
    overflow-x: hidden;
}

/* Отключаем сложные анимации на слабых устройствах */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ========== УПРОЩЕННЫЙ МОБИЛЬНЫЙ ХЕДЕР С БУРГЕРОМ ========== */
.mobile-simple-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    z-index: 1000;
    padding: 15px;
    height: 60px;
}

.mobile-simple-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.burger-menu-btn {
    width: 40px;
    height: 40px;
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
}

.burger-menu-btn span {
    width: 18px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-logo-mini {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text-mini {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(90deg, #8A2BE2, #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-badge-mini {
    background: linear-gradient(90deg, #8A2BE2, #4B0082);
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

.tg-icon-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8A2BE2, #4B0082);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
}

/* ========== БОКОВОЕ МЕНЮ ========== */
.sidebar-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a0a2a 100%);
    z-index: 1000;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
}

.sidebar-menu.active {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    background: rgba(138, 43, 226, 0.05);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-logo span:first-child {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: white;
}

.sidebar-logo span:last-child {
    background: linear-gradient(90deg, #8A2BE2, #4B0082);
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

.sidebar-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-search {
    position: relative;
}

.sidebar-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #8A2BE2;
}

.sidebar-search input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 14px;
}

.sidebar-search input:focus {
    outline: none;
    border-color: #8A2BE2;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(138, 43, 226, 0.1);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
}

.sidebar-nav-item i {
    color: #8A2BE2;
    font-size: 18px;
    width: 24px;
}

.sidebar-nav-item:hover {
    background: rgba(138, 43, 226, 0.1);
    border-color: #8A2BE2;
    transform: translateX(5px);
}

.sidebar-stats {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.sidebar-stat {
    flex: 1;
    text-align: center;
    background: rgba(138, 43, 226, 0.1);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.sidebar-stat-number {
    font-size: 16px;
    font-weight: 700;
    color: #8A2BE2;
    margin-bottom: 3px;
}

.sidebar-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}


/* ===================== PATCH: УПРОЩЕНИЕ + МОБИЛЬНАЯ ОПТИМИЗАЦИЯ ===================== */

/* Mobile simple header + sidebar (если в вашем старом CSS не было этих классов) */
.mobile-simple-header{
  display:none;
  position:fixed;
  top:0; left:0; right:0;
  padding:10px 12px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 1200;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.burger-menu-btn{
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  display:flex; flex-direction:column;
  justify-content:center; align-items:center;
  gap:5px;
}
.burger-menu-btn span{
  width:20px; height:2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
  border-radius:2px;
}

.mobile-logo-mini{
  display:flex; align-items:center; gap:8px;
}
.logo-text-mini{
  font-family:'Space Grotesk',sans-serif;
  font-weight:900;
  font-size:22px;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-purple));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.logo-badge-mini{
  font-size:11px;
  font-weight:800;
  padding:3px 10px;
  border-radius:8px;
  background: var(--accent-purple);
}

.tg-icon-btn{
  width:44px; height:44px;
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(42,171,238,0.18);
  border:1px solid rgba(42,171,238,0.35);
}
.tg-icon-btn i{ font-size:22px; color: #2AABEE; }

/* Sidebar */
.sidebar-menu-overlay{
  position:fixed; inset:0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  opacity:0; visibility:hidden;
  transition: all .25s ease;
  z-index: 1190;
}
.sidebar-menu-overlay.active{ opacity:1; visibility:visible; }

.sidebar-menu{
  position:fixed; top:0; left:-100%;
  width:min(420px, 86vw);
  height:100%;
  background: linear-gradient(180deg, #0a0a0a 0%, #160a23 100%);
  border-right: 1px solid rgba(138,43,226,0.25);
  box-shadow: 14px 0 60px rgba(0,0,0,0.45);
  z-index: 1195;
  transition: left .28s ease;
  overflow:auto;
  padding-bottom: 18px;
}
.sidebar-menu.active{ left:0; }

.sidebar-header{
  display:flex; align-items:center; justify-content:space-between;
  padding: 18px 18px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.sidebar-logo span:first-child{
  font-family:'Space Grotesk',sans-serif;
  font-weight:900;
  font-size:22px;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-purple));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}
.sidebar-logo span:last-child{
  margin-left:8px;
  font-weight:800;
  font-size:11px;
  padding:3px 10px;
  border-radius:8px;
  background: var(--accent-purple);
}
.sidebar-close{
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color:#fff;
  font-size:22px;
}

.sidebar-content{ padding: 16px 18px; }

.sidebar-search{
  position:relative;
  margin-bottom: 14px;
}
.sidebar-search i{
  position:absolute; left:14px; top:50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.55);
}
.sidebar-search input{
  width:100%;
  padding: 14px 14px 14px 42px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color:#fff;
  font-size:16px; /* чтобы iOS не зумил */
  outline:none;
}

.sidebar-nav{ display:flex; flex-direction:column; gap:10px; margin: 12px 0 16px; }
.sidebar-nav-item{
  display:flex; align-items:center; gap:10px;
  padding: 14px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}
.sidebar-nav-item i{ color: var(--accent-purple); font-size:18px; }
.sidebar-nav-item:hover{ border-color: rgba(138,43,226,0.5); background: rgba(138,43,226,0.10); }

.sidebar-cta{
  margin-top: 10px;
  display:flex; align-items:center; justify-content:center; gap:10px;
  padding: 16px;
  border-radius: 14px;
  background: var(--gradient-primary);
  font-weight:800;
}

/* New sections */
.steps-section{
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 20px;
}
.steps-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.step-card{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 22px 20px;
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.step-card.animate-in{ opacity:1 !important; transform: translateY(0) !important; }
.step-num{
  width:38px; height:38px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  font-weight: 900;
  background: rgba(138,43,226,0.16);
  border: 1px solid rgba(138,43,226,0.35);
  margin-bottom: 14px;
}
.step-title{
  font-family:'Space Grotesk',sans-serif;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 8px;
}
.step-text{ color: rgba(255,255,255,0.72); font-size: 14px; line-height: 1.6; }

.trust-section{
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 20px;
}
.trust-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.trust-card{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 22px 20px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.trust-card.animate-in{ opacity:1 !important; transform: translateY(0) !important; }
.trust-icon{
  width:44px; height:44px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(0,191,255,0.12);
  border: 1px solid rgba(0,191,255,0.28);
  margin-bottom: 12px;
}
.trust-card h3{
  font-family:'Space Grotesk',sans-serif;
  font-weight: 900;
  margin-bottom: 6px;
}
.trust-card p{ color: rgba(255,255,255,0.72); font-size: 14px; line-height: 1.6; }

/* Footer simplified layout */
.footer-main-simple{ grid-template-columns: 1fr 1fr; }
.footer-links-simple{ grid-template-columns: 1fr 1fr; }

/* Make "recommended" stand out a bit */
.product-card-attractive.recommended{
  border: 2px solid rgba(138,43,226,0.65);
}

/* ---------- Mobile layout improvements ---------- */
@media (max-width: 768px){

  /* Show simple header, hide sticky desktop header */
  .mobile-simple-header{ display:flex; }
  .header-modern{ display:none !important; }

  body{ padding-top: 66px; } /* to avoid content under fixed header */

  .hero-attractive{
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 38px 15px;
  }
  .hero-visual-attractive{ order: -1; }
  .hero-title{ font-size: 38px; text-align:center; }
  .hero-subtitle{ font-size: 16px; text-align:center; }
  .hero-actions{ flex-direction: column; gap: 12px; }
  .btn-hero-primary, .btn-hero-secondary{ justify-content:center; }

  .hero-attractive::before{ display:none; }
  .visual-frame{ padding: 14px; border-radius: 22px; }

  .products-grid-attractive{
    display:flex !important;
    flex-direction:column !important;
    gap: 18px !important;
  }
  .product-image-wrapper{ height: 180px; }
  .product-content{ padding: 18px; }
  .price-amount{ font-size: 28px; }
  .btn-product{ padding: 14px; font-size: 14px; }

  .steps-grid{ grid-template-columns: 1fr; }
  .trust-grid{ grid-template-columns: 1fr; }

  .section-title-attractive{ font-size: 34px; }

  /* Performance: disable heavy hover/tilt on mobile */
  .screen-tilt{ transform:none !important; }
  .screen-tilt:hover{ transform:none !important; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}



/* ===================== PATCH v2: MOBILE FIXES (no horizontal swipe, smoother menu, no card drag) ===================== */
html, body{
  width:100%;
  max-width:100%;
  overflow-x: clip; /* modern */
}
body{
  overflow-x:hidden; /* fallback */
  overscroll-behavior-x: none;
  touch-action: pan-y; /* prevent horizontal page panning */
}

/* Ensure media never exceeds viewport */
img, video, canvas, svg{
  max-width:100%;
  height:auto;
}

/* Prevent sections from creating 100vw overflow on mobile */
@media (max-width: 768px){
  .hero-attractive,
  .catalog-attractive,
  .features-attractive,
  .steps-section,
  .trust-section,
  .cta-section,
  .footer-modern{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }
}

/* Hide "ГОТОВЫЕ РЕШЕНИЯ" badge on phones, keep on desktop */
@media (max-width: 768px){
  .hero-badge{ display:none !important; }
}
@media (min-width: 769px){
  .hero-badge{ display:inline-block !important; }
}

/* Make burger menu animation smooth (transform instead of left) */
.sidebar-menu{
  left:0 !important;
  transform: translateX(-110%);
  will-change: transform;
  transition: transform .24s ease;
}
.sidebar-menu.active{
  transform: translateX(0);
}

/* Overlay: reduce jank */
.sidebar-menu-overlay{
  will-change: opacity;
}

/* Prevent horizontal dragging inside product cards */
.product-card-attractive,
.product-image-wrapper,
.product-content,
.btn-product{
  touch-action: pan-y;
}


@media (max-width:768px){ .sidebar-menu{ -webkit-overflow-scrolling: touch; } }



/* ===================== PATCH v3: CARD CLIPPING + ALIGN BUTTONS ===================== */

/* Re-enable clipping so images/badges never "leak" outside card */
.product-card-attractive{
  overflow: hidden; /* IMPORTANT */
}

/* Round top corners for image wrapper so it matches card radius */
.product-image-wrapper{
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  overflow: hidden;
}

/* Make content a flex column so CTA button aligns at bottom */
.product-card-attractive{
  display: flex;
  flex-direction: column;
}
.product-content{
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-features{
  flex: 1; /* take remaining space */
}
.btn-product{
  margin-top: auto; /* stick to bottom */
}

/* On smaller phones reduce top radius to match v2 rounded adjustments */
@media (max-width: 768px){
  .product-card-attractive{ border-radius: 18px; }
  .product-image-wrapper{
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }
}



/* ===================== PATCH v4: HERO STATS RETURN ===================== */
.hero-stats-compact{
  margin-top: 18px;
  margin-bottom: 30px;
  justify-content: flex-start;
}
.hero-stats-compact .stat{ min-width: 110px; }
@media (max-width: 768px){
  .hero-stats-compact{
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  .hero-stats-compact .stat{ min-width: 92px; }
  .hero-stats-compact .stat-number{ font-size: 28px; }
  .hero-stats-compact .stat-label{ font-size: 11px; }
}



/* ===================== REVIEWS CTA ===================== */
.reviews-cta-section{
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}
.reviews-cta-container{
  background: linear-gradient(135deg, rgba(138,43,226,0.25), rgba(0,191,255,0.15));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 26px;
  padding: 60px 30px;
  text-align: center;
}
.reviews-title{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #8A2BE2, #00BFFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.reviews-text{
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
  line-height: 1.6;
}
.reviews-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 16px;
  background: #2AABEE;
  color: #fff;
  transition: all .3s ease;
}
.reviews-btn:hover{
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(42,171,238,0.45);
}

@media (max-width: 768px){
  .reviews-cta-container{ padding: 40px 20px; }
  .reviews-title{ font-size: 32px; }
  .reviews-text{ font-size: 15px; }
}



/* ===================== HERO COUNTER ANIMATION ===================== */
.stat-number{
  transition: transform .3s ease, color .3s ease;
}
.stat-number.animating{
  transform: scale(1.1);
}
