/* ========================================
   SMART HUB — ГЛАВНЫЙ СТИЛЬ
   Версия: 2.0 | Оптимизация: Мобильные + SEO
   ======================================== */

/* === 1. СБРОС И БАЗОВЫЕ НАСТРОЙКИ === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Цвета */
    --primary-cyan: #00f5ff;
    --primary-purple: #8a2be2;
    --primary-gradient: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    --dark-bg: #0a0a0a;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    
    /* Баннер */
    --banner-bg-start: #1e1b4b;
    --banner-bg-mid: #312e81;
    
    /* Отступы */
    --container-max: 1400px;
    --section-padding: 100px 2rem;
    
    /* Анимации */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    overflow-y: auto !important;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === 2. ФОНОВЫЕ ЭФФЕКТЫ === */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    animation: float 8s ease-in-out infinite;
    will-change: transform;
}

.orb-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--primary-cyan), transparent);
    top: -100px; right: -100px;
}

.orb-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--primary-purple), transparent);
    bottom: -50px; left: -50px;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* === 3. НАВИГАЦИЯ === */
.glass-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-cyan);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.mobile-menu-toggle:hover {
    background: rgba(0, 245, 255, 0.1);
}

/* === 4. КНОПКИ И ССЫЛКИ === */
.glass-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.glass-link:hover,
.glass-link:focus {
    color: var(--primary-cyan);
    background: rgba(0, 245, 255, 0.1);
    outline: none;
}

.glass-btn-3d {
    position: relative;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(138, 43, 226, 0.1));
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 50px;
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 245, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: var(--transition-smooth);
    overflow: hidden;
    display: inline-block;
    min-height: 48px;
    cursor: pointer;
}

.glass-btn-3d::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;
}

.glass-btn-3d:hover::before,
.glass-btn-3d:focus::before {
    left: 100%;
}

.glass-btn-3d:hover,
.glass-btn-3d:focus {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 245, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    border-color: var(--primary-cyan);
    outline: none;
}

.glass-btn-3d:active {
    transform: translateY(-1px) scale(0.98);
}

/* === 5. HERO СЕКЦИЯ === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 2rem 80px;
    position: relative;
    text-align: center;
}

.hero-content { max-width: 1000px; }

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-cyan);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-cyan) 50%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.glass-btn-large { padding: 1.2rem 3rem; font-size: 1.1rem; }

.glass-btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.glass-btn-secondary:hover,
.glass-btn-secondary:focus {
    background: var(--glass-bg);
    border-color: var(--primary-cyan);
    box-shadow: 0 8px 32px rgba(0, 245, 255, 0.15);
    outline: none;
}

/* === 6. SMART BANNER (ОСНОВНОЙ) === */
.smart-banner {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.smart-banner-inner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%);
    border-radius: 24px;
    padding: 50px;
    border: 2px solid rgba(0, 245, 255, 0.5);
    box-shadow: 
        0 0 60px rgba(0, 245, 255, 0.3),
        inset 0 0 60px rgba(59, 130, 246, 0.2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.smart-banner-inner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.15) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.banner-left {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.banner-title {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00f5ff 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1.2;
}

.banner-text {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.5;
    margin: 0;
    font-weight: 700;
}

.banner-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin: 0;
}

.banner-cta {
    margin-top: 10px;
}

.cta-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #00f5ff 0%, #9333ea 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.6);
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
    min-height: 48px;
}

.cta-btn:hover,
.cta-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.8);
    outline: none;
}

.banner-right {
    position: relative;
    z-index: 1;
}

.banner-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid rgba(0, 245, 255, 0.6);
    box-shadow: 
        0 0 40px rgba(0, 245, 255, 0.5),
        inset 0 0 40px rgba(0, 245, 255, 0.2);
}

.banner-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Ссылка "Как это работает" */
.how-it-works-link {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-cyan);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.how-it-works-link:hover,
.how-it-works-link:focus {
    gap: 12px;
    outline: none;
}

/* === 7. GLASS CARDS === */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-card:hover,
.glass-card:focus-within {
    transform: translateY(-8px);
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 245, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* === 8. СЕКЦИИ === */
.section {
    padding: var(--section-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* === 9. GRID LAYOUTS === */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* === 10. ГАЛЕРЕЯ === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    border: 1px solid var(--glass-border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    will-change: transform;
}

.gallery-item:hover img,
.gallery-item:focus img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus .gallery-overlay {
    opacity: 1;
}

.gallery-number {
    font-size: 0.9rem;
    color: var(--primary-cyan);
    margin-bottom: 0.5rem;
}

.gallery-title {
    font-size: 1.5rem;
    font-weight: 600;
}

/* === 11. FOOTER === */
.glass-footer {
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    margin-top: 60px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.glass-link-small {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.glass-link-small:hover,
.glass-link-small:focus {
    color: var(--primary-cyan);
    outline: none;
}

/* === 12. АНИМАЦИИ === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--primary-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes titleFloat {
    0%, 100% { transform: perspective(1000px) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateX(5deg) translateY(-10px); }
}

@keyframes slideIn {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* === 13. ПОИСК === */
.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-input {
    width: 100%;
    padding: 1.2rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
    min-height: 48px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1);
}

.search-input::placeholder {
    color: var(--text-secondary);
}

/* === 14. ЦЕНА === */
.price-card {
    text-align: center;
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
}

.price-amount {
    font-size: 4rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
}

.price-old {
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

/* === 15. УСПЕХ === */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    animation: scaleIn 0.5s ease;
}

/* === 16. 3D TEXT === */
.hero-title-3d {
    text-shadow: 
        0 1px 0 rgba(255,255,255,0.1),
        0 2px 0 rgba(255,255,255,0.05),
        0 3px 0 rgba(255,255,255,0.03),
        0 4px 0 rgba(255,255,255,0.02),
        0 5px 0 rgba(255,255,255,0.01),
        0 0 30px rgba(0, 245, 255, 0.3);
    animation: titleFloat 3s ease-in-out infinite;
}

/* === 17. SEO SECTION === */
.seo-section {
    margin-top: 60px;
}

.seo-toggle {
    background: linear-gradient(135deg, rgba(0,245,255,0.05), rgba(138,43,226,0.05));
    border-radius: 16px 16px 0 0;
    transition: var(--transition-fast);
    text-align: left;
    min-height: 48px;
}

.seo-toggle:hover,
.seo-toggle:focus {
    background: linear-gradient(135deg, rgba(0,245,255,0.1), rgba(138,43,226,0.1));
    outline: none;
}

#seoContent h3,
#seoContent h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

#seoContent strong {
    color: var(--primary-cyan);
    font-weight: 600;
}

#seoContent ul li {
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}

/* === 18. PRIMARY BUTTON === */
.primary {
    background: linear-gradient(90deg, #6ee7ff, #a78bfa);
    color: black;
    padding: 14px 20px;
    border-radius: 14px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

.primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.primary:hover::before,
.primary:focus::before {
    left: 100%;
}

.primary:hover,
.primary:focus {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 50px rgba(110, 231, 255, 0.4);
    outline: none;
}

.primary:active {
    transform: translateY(-1px) scale(0.98);
}

.primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* === 19. NOTIFICATIONS === */
.glass-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(0, 245, 255, 0.15);
    border: 1px solid var(--primary-cyan);
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    z-index: 10000;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.3);
}

/* ========================================
   📱 МОБИЛЬНАЯ ОПТИМИЗАЦИЯ
   ======================================== */

/* Планшеты и меньше */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--glass-border);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        border-radius: 8px;
        width: 100%;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        background: rgba(0, 245, 255, 0.1);
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    /* Баннер */
    .smart-banner-inner {
        grid-template-columns: 1fr !important;
        padding: 40px 25px !important;
        gap: 30px !important;
    }
    
    .banner-title {
        font-size: 2rem !important;
        text-align: center;
    }
    
    .banner-text,
    .banner-subtitle {
        font-size: 1.1rem !important;
        text-align: center;
    }
    
    .banner-left,
    .banner-right {
        text-align: center !important;
    }
    
    .banner-cta {
        margin-top: 15px;
    }
    
    .cta-btn {
        width: 100%;
        text-align: center;
    }
    
    .how-it-works-link {
        justify-content: center;
        margin: 15px auto 0;
    }
    
    /* Сетки */
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Галерея */
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        width: 100%;
    }
    
    .hero-buttons .glass-btn-3d {
        width: 100%;
    }
    
    /* Карточки */
    .glass-card {
        padding: 1.5rem !important;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.5rem !important;
    }
    
    .footer-links {
        justify-content: center !important;
    }
    
    /* Навигация */
    .logo {
        font-size: 1.5rem !important;
    }
    
    /* Кнопки — увеличиваем для тача */
    .glass-btn-3d,
    .cta-btn,
    .primary,
    .search-input {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    /* Отступы секций */
    .section {
        padding: 60px 1.5rem !important;
    }
    
    /* SEO блок */
    .seo-toggle {
        font-size: 1rem !important;
        padding: 1.5rem !important;
    }
    
    #seoContent {
        font-size: 0.95rem !important;
    }
}

/* Маленькие телефоны */
@media (max-width: 480px) {
    .smart-banner {
        margin: 40px 10px;
    }
    
    .smart-banner-inner {
        padding: 30px 20px !important;
    }
    
    .banner-title {
        font-size: 1.75rem !important;
    }
    
    .banner-text,
    .banner-subtitle {
        font-size: 1rem !important;
    }
    
    .section-title {
        font-size: 1.5rem !important;
    }
    
    .section-subtitle {
        font-size: 1rem !important;
    }
    
    .price-amount {
        font-size: 3rem !important;
    }
}

/* Landscape на мобильных */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 100px 2rem 40px;
    }
    
    .smart-banner {
        margin: 30px auto;
    }
}

/* ========================================
   ♿ ДОСТУПНОСТЬ И TOUCH-ОПТИМИЗАЦИЯ
   ======================================== */

/* Отключаем ховер-эффекты на тач-устройствах */
@media (hover: none) {
    .glass-card:hover,
    .glass-card:focus-within {
        transform: none;
    }
    
    .glass-btn-3d:hover,
    .glass-btn-3d:focus {
        transform: translateY(-2px);
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    .primary:hover,
    .primary:focus {
        transform: translateY(-2px);
    }
}

/* Уменьшенная анимация для пользователей с предпочтениями */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Фокус для клавиатурной навигации */
a:focus,
button:focus,
input:focus,
textarea:focus,
[tabindex]:focus {
    outline: 2px solid var(--primary-cyan);
    outline-offset: 2px;
}

/* Скрываем фокус при клике мышью (для чистого вида) */
:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary-cyan);
    outline-offset: 2px;
}

/* Улучшения для скринридеров */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   🚀 ПРОИЗВОДИТЕЛЬНОСТЬ
   ======================================== */

/* Оптимизация изображений */
img {
    max-width: 100%;
    height: auto;
    display: block;
    will-change: transform;
}

img[loading="lazy"] {
    background: rgba(0, 245, 255, 0.05);
}

/* GPU-ускорение для анимаций */
.glass-card,
.gallery-item img,
.glass-btn-3d,
.primary {
    will-change: transform;
    transform: translateZ(0);
}

/* Предотвращение горизонтального скролла */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Оптимизация для iOS Safari */
@supports (-webkit-touch-callout: none) {
    .glass-nav {
        position: -webkit-sticky;
        position: sticky;
    }
    
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Убираем задержку тапа на iOS */
    a, button, .glass-btn-3d, .cta-btn, .primary {
        touch-action: manipulation;
    }
}

/* ========================================
   🎨 ТЁМНАЯ ТЕМА (СИСТЕМНАЯ)
   ======================================== */

@media (prefers-color-scheme: dark) {
    /* Уже темная тема — ничего менять не нужно */
    /* Но можно добавить тонкие улучшения */
    .glass-card {
        background: rgba(255, 255, 255, 0.04);
    }
}