/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B4513;
    --primary-light: #A0522D;
    --primary-dark: #654321;
    --secondary-color: #D4AF37;
    --accent-color: #FF6B6B;
    --text-dark: #2C2C2C;
    --text-light: #666;
    --bg-light: #F5F5F0;
    --bg-white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.2);
    --header-bg: rgba(255, 255, 255, 0.9);
    --card-bg: #FFFFFF;
    --border-color: rgba(0, 0, 0, 0.08);
}

/* Тёмная тема */
[data-theme="dark"] {
    --text-dark: #e5e7eb;
    --text-light: #9ca3af;
    --bg-light: #111827;
    --bg-white: #1f2937;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.5);
    --header-bg: rgba(17, 24, 39, 0.95);
    --card-bg: #1f2937;
    --border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .nav-link { color: var(--text-dark); }
[data-theme="dark"] .mobile-sidebar-content { background: var(--bg-white); }
[data-theme="dark"] .mobile-menu-toggle span { background: var(--text-dark); }
[data-theme="dark"] .mobile-nav-link { color: var(--text-dark); }
[data-theme="dark"] .mobile-contact-info p,
[data-theme="dark"] .mobile-contact-info .phone { color: var(--text-light); }

/* Плавная смена темы */
html {
    scroll-behavior: smooth;
    transition: background-color 0.4s ease;
}
body {
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* ——— Тёмная тема: Hero — кнопки «Без вложений», «Быстрый старт», «24/7 поддержка» — текст чёрный, кнопки темнее (читаемо) ——— */
[data-theme="dark"] .hero-feature-item {
    background: #d1d5db;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #111827;
}
[data-theme="dark"] .hero-feature-item span {
    color: #111827;
    font-weight: 600;
}
[data-theme="dark"] .hero-feature-item:hover {
    background: #e5e7eb;
    border-color: rgba(102, 126, 234, 0.4);
}
[data-theme="dark"] .hero-feature-item:hover span {
    color: #111827;
}
[data-theme="dark"] .hero-stats-wrapper {
    background: var(--bg-white);
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}
[data-theme="dark"] .stat-item {
    background: #374151;
    border-color: transparent;
}
[data-theme="dark"] .stat-number,
[data-theme="dark"] .stat-label {
    color: var(--text-dark);
}

/* ——— Тёмная тема: Секция «Почему выбирают нас» (advantages) — тёмный фон, карточки, читаемый текст ——— */
[data-theme="dark"] .advantages {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #111827 100%);
    transition: background 0.4s ease;
}
[data-theme="dark"] .advantages::before {
    background: radial-gradient(circle, rgba(102, 126, 234, 0.12) 0%, transparent 70%);
}
[data-theme="dark"] .advantages-header .section-title {
    color: var(--text-dark);
}
[data-theme="dark"] .advantages-header .section-subtitle {
    color: var(--text-light);
}
[data-theme="dark"] .advantage-card {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}
[data-theme="dark"] .advantage-card:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .advantage-title {
    color: #f3f4f6;
}
[data-theme="dark"] .advantage-description {
    color: var(--text-light);
}

/* ——— Тёмная тема: Блок гарантии (внутри advantages) ——— */
[data-theme="dark"] .guarantee-block {
    background: linear-gradient(135deg, #4338ca 0%, #5b21b6 100%);
    box-shadow: 0 20px 60px rgba(67, 56, 202, 0.4);
}
[data-theme="dark"] .guarantee-title,
[data-theme="dark"] .guarantee-description,
[data-theme="dark"] .guarantee-feature {
    color: rgba(255, 255, 255, 0.95);
}
[data-theme="dark"] .guarantee-feature span:not(.guarantee-check) {
    color: rgba(255, 255, 255, 0.9);
}

/* ——— Тёмная тема: Каталог товаров (products) ——— */
[data-theme="dark"] .products {
    background: var(--bg-light);
    transition: background 0.4s ease;
}
[data-theme="dark"] .products .section-title,
[data-theme="dark"] .products .section-subtitle {
    color: var(--text-dark);
}
[data-theme="dark"] .filter-btn {
    border-color: var(--border-color);
    background: var(--card-bg);
    color: var(--text-dark);
}
[data-theme="dark"] .filter-btn:hover,
[data-theme="dark"] .filter-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
}
[data-theme="dark"] .product-card {
    background: var(--card-bg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}
[data-theme="dark"] .product-card:hover {
    box-shadow: var(--shadow-xl);
}
[data-theme="dark"] .product-card .product-info {
    background: transparent;
}
[data-theme="dark"] .products .product-info {
    background: transparent;
}
[data-theme="dark"] .product-title {
    color: #f3f4f6;
}
[data-theme="dark"] .product-category {
    color: var(--text-light);
}
[data-theme="dark"] .product-info .price {
    color: var(--text-dark);
}
[data-theme="dark"] .btn-product {
    color: var(--text-dark);
    border-color: var(--border-color);
}
[data-theme="dark"] .btn-product:hover {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
}

/* Тёмная тема: тарифы */
[data-theme="dark"] .tariff-card {
    /* Используем уже заданный более глубокий фон/тень из основного стиля */
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .tariff-title {
    color: #f9fafb;
}

[data-theme="dark"] .tariff-description,
[data-theme="dark"] .tariff-extra {
    color: rgba(255, 255, 255, 0.85);
}

/* ——— Тёмная тема: Отзывы — фон с «облачками» как в герое, плавно, читаемый текст ——— */
[data-theme="dark"] .reviews {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}
[data-theme="dark"] .reviews::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 20s infinite ease-in-out;
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .reviews::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 25s infinite ease-in-out reverse;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    [data-theme="dark"] .reviews::before {
        right: -50%;
        width: 300px;
        height: 300px;
    }
    
    [data-theme="dark"] .reviews::after {
        left: -50%;
        width: 250px;
        height: 250px;
    }
}
[data-theme="dark"] .reviews .container {
    position: relative;
    z-index: 1;
}
[data-theme="dark"] .reviews .section-title {
    color: var(--text-dark);
}
[data-theme="dark"] .review-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1a1f3a 100%);
    border: 2px solid rgba(102, 126, 234, 0.15);
    border-radius: 28px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(102, 126, 234, 0.1),
        0 0 40px rgba(102, 126, 234, 0.05);
    position: relative;
    isolation: isolate;
}

[data-theme="dark"] .review-card::after {
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #4facfe);
}

[data-theme="dark"] .review-card::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 30%, #f093fb 60%, #4facfe 100%);
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

[data-theme="dark"] .review-card:hover {
    transform: scale(1.02);
    box-shadow: 
        0 24px 80px rgba(102, 126, 234, 0.35),
        0 12px 32px rgba(118, 75, 162, 0.3),
        inset 0 1px 0 rgba(102, 126, 234, 0.2),
        0 0 60px rgba(102, 126, 234, 0.2);
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 40%, #1a1f3a 80%, #1e293b 100%);
}

[data-theme="dark"] .review-card:hover::before {
    opacity: 1;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.8);
    height: 6px;
}

[data-theme="dark"] .review-card:hover::after {
    opacity: 1;
}
[data-theme="dark"] .author-name {
    color: #f3f4f6;
}
[data-theme="dark"] .review-text {
    color: var(--text-light);
}
[data-theme="dark"] .review-link {
    color: var(--primary-color);
}
[data-theme="dark"] .review-link:hover {
    color: var(--secondary-color);
}
[data-theme="dark"] .pagination-dot {
    background: var(--text-light);
}
[data-theme="dark"] .pagination-dot.active {
    background: var(--primary-color);
}

/* ——— Тёмная тема: Контакты — плавно, читаемый текст ——— */
[data-theme="dark"] .contacts {
    background: linear-gradient(180deg, #111827 0%, #1e293b 50%, #111827 100%);
    transition: background 0.4s ease;
}
[data-theme="dark"] .contacts .section-title,
[data-theme="dark"] .contacts .section-subtitle {
    color: var(--text-dark);
}
[data-theme="dark"] .contacts .form-label,
[data-theme="dark"] .contacts .form-input,
[data-theme="dark"] .contacts input,
[data-theme="dark"] .contacts textarea {
    color: var(--text-dark);
    background: var(--card-bg);
    border-color: var(--border-color);
}
[data-theme="dark"] .contacts input::placeholder,
[data-theme="dark"] .contacts textarea::placeholder {
    color: var(--text-light);
}
[data-theme="dark"] .contact-item {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}
[data-theme="dark"] .contact-item .contact-title,
[data-theme="dark"] .contact-item .contact-value,
[data-theme="dark"] .contact-item h3,
[data-theme="dark"] .contact-item .contact-text {
    color: var(--text-dark);
}

/* Форма «Свяжитесь с нами» в тёмной теме — такой же цвет, как блоки адреса и графика */
[data-theme="dark"] .contact-form-wrapper {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
}
[data-theme="dark"] .contact-form-wrapper .form-title {
    color: var(--text-dark);
}

/* ——— Тёмная тема: Подвал — остаётся тёмным ——— */
[data-theme="dark"] .footer {
    background: radial-gradient(circle at top, #020617 0%, #020617 55%, #000 100%);
    color: #e5e7eb;
    border-top: none;
}
[data-theme="dark"] .footer-links a {
    color: rgba(229, 231, 235, 0.8);
}
[data-theme="dark"] .footer-links a:hover {
    color: #fff;
}
[data-theme="dark"] .footer-bottom p {
    color: var(--text-light);
}
[data-theme="dark"] .footer-developer span {
    color: #34d399;
}

/* ——— Секции: плавный переход фона при смене темы ——— */
[data-theme="dark"] .hero,
[data-theme="dark"] .advantages,
[data-theme="dark"] .products,
[data-theme="dark"] .reviews,
[data-theme="dark"] .contacts {
    transition: background 0.4s ease, background-color 0.4s ease;
}

/* Ensure content is visible by default */
html, body {
    opacity: 1 !important;
    visibility: visible !important;
}

section {
    opacity: 1 !important;
    visibility: visible !important;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.hero {
    overflow-x: visible !important;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    opacity: 1 !important;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .floating-shapes,
    section,
    .container,
    .reviews-slider-container,
    .reviews-track {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .header,
    .header .container,
    .header-top,
    .header-top-content,
    .logo-section,
    .logo-wrap {
        overflow-x: visible !important;
        overflow-y: visible;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100%;
    box-sizing: border-box;
    overflow-x: visible;
    
}

.hero .container {
    overflow-x: visible;
    overflow-y: visible;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* Floating Background Shapes */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    max-width: 100vw;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-1);
    opacity: 0.1;
    filter: blur(60px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: -150px;
    background: var(--gradient-2);
    animation-delay: 2s;
}

@media (max-width: 768px) {
    .shape-2 {
        right: -200px;
    }
    
    .shape-1 {
        left: -250px;
    }
    
    .shape-3 {
        left: -100px;
    }
}

.shape-3 {
    width: 500px;
    height: 500px;
    bottom: -250px;
    left: 20%;
    background: var(--gradient-3);
    animation-delay: 4s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    top: 30%;
    left: 50%;
    background: var(--gradient-4);
    animation-delay: 6s;
}

.shape-5 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    right: 10%;
    background: var(--gradient-2);
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(30px, 50px) scale(1.05);
    }
}

/* Кнопка переключения темы (солнце / луна) */
.theme-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    
}


.theme-toggle-icon {
    position: absolute;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.theme-toggle-icon {
    color: var(--text-dark);
}
.theme-toggle-icon svg {
    width: 100%;
    height: 100%;
}
.theme-toggle .theme-toggle-sun {
    opacity: 1;
}
.theme-toggle .theme-toggle-moon {
    opacity: 0;
}
[data-theme="dark"] .theme-toggle .theme-toggle-sun {
    opacity: 0;
}
[data-theme="dark"] .theme-toggle .theme-toggle-moon {
    opacity: 1;
}
.theme-toggle.rotate {
    animation: themeToggleRotate 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes themeToggleRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}
.theme-toggle-mobile {
    margin-bottom: 12px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
    overflow-x: visible;
    overflow-y: hidden;
}

.header-top {
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
    overflow-y: hidden;
}

.header.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow-x: visible;
    overflow-y: hidden;
}

.header-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 40px;
    overflow: visible;
    box-sizing: border-box;
}

.logo-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.logo-wrap {
    position: relative;
    display: inline-block;
    overflow: visible;
    --planet-x: 27%;
    --planet-y: 50%;
    transition: transform 0.2s ease-out;
}

.logo-img {
    width: 120px;
    height: 70px;
    object-fit: contain;
    filter: none;
    display: block;
    transition: transform 0.25s ease-out, opacity 0.2s ease-out;
    transform-origin: var(--planet-x) center;
}

/* Наложение планеты на вторую букву (O) в логотипе */
.logo-planet-overlay {
    position: absolute;
    left: var(--planet-x);
    top: var(--planet-y);
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    aspect-ratio: 1;
    min-width: 26px;
    min-height: 26px;
    object-fit: cover;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.2s ease-out;
    transform-origin: center center;
    z-index: 1;
}

.logo-section:hover .logo-img {
    transform: scale(1.08);
}

.logo-section:hover .logo-planet-overlay {
    transform: translate(-50%, -50%) scale(1.08);
}

.nav {
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: hidden;
    min-width: 0;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    min-width: 0;
}

.phone {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.phone:hover {
    color: #667eea;
}

.btn-header {
    white-space: nowrap;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
}

.header-cta-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
}

.demo-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.demo-cta-note {
    margin: 0;
    font-size: 9px;
    line-height: 1.25;
    color: var(--text-light);
    text-align: center;
    max-width: 120px;
}

.mobile-cta-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-cta-buttons {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.mobile-cta-buttons .btn-mobile {
    flex: 1;
    min-width: 0;
    width: auto;
    padding: 12px 8px;
    font-size: 13px;
    justify-content: center;
}

.mobile-cta-group .demo-cta-note {
    font-size: 10px;
    line-height: 1.3;
    max-width: none;
    padding: 0;
    text-align: center;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-sidebar.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.mobile-sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-sidebar.active .mobile-sidebar-overlay {
    opacity: 1;
}

.mobile-sidebar-content {
    position: absolute;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-sidebar.active .mobile-sidebar-content {
    right: 0;
}

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    background: var(--bg-light);
}

.mobile-menu-close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close span {
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-close span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-close span:nth-child(2) {
    transform: rotate(-45deg);
}

.mobile-menu-close:hover span {
    background: var(--primary-color);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    flex: 1;
}

.mobile-nav-link {
    display: block;
    padding: 16px 24px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gradient-1);
    transition: width 0.3s ease;
    opacity: 0.1;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
    border-left-color: var(--primary-color);
    padding-left: 28px;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
    width: 100%;
}

.mobile-sidebar-footer {
    padding: 24px;
    margin-bottom: 150px;
    border-top: 1px solid #e5e7eb;
    background: var(--bg-light);
}

.mobile-contact-info {
    text-align: center;
    margin-bottom: 20px;
}

.btn-mobile {
    width: 100%;
    justify-content: center;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile menu animations */
@keyframes slideInRight {
    from {
        right: -100%;
    }
    to {
        right: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mobile-sidebar.active .mobile-sidebar-content {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-sidebar.active .mobile-sidebar-overlay {
    animation: fadeIn 0.3s ease;
}

/* Stagger animation for mobile nav links */
.mobile-nav-link {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.mobile-sidebar.active .mobile-nav-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-sidebar.active .mobile-nav-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-sidebar.active .mobile-nav-link:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-sidebar.active .mobile-nav-link:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-sidebar.active .mobile-nav-link:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-sidebar.active .mobile-nav-link:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-sidebar.active .mobile-nav-link:nth-child(6) {
    transition-delay: 0.35s;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-product {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

/* Контент поверх ::before-«ряби», даже если текст не обёрнут в span */
.btn-primary > * {
    position: relative;
    z-index: 1;
}

.btn-primary span {
    position: relative;
    z-index: 2;
}

.btn-primary .btn-arrow {
    position: relative;
    z-index: 2;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    /* Слабее белая вспышка — иначе на светлом фоне кнопка визуально «сливается» с фоном */
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #7c8ef0 0%, #8b5fb8 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow-x: visible;
    overflow-y: visible;
    background: var(--bg-light);
    opacity: 1 !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: visible;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: orbFloat 15s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-1);
    top: -300px;
    right: -300px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--gradient-2);
    bottom: -250px;
    left: -250px;
    animation-delay: 3s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--gradient-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.hero-text {
    opacity: 1 !important;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.highlight-number {
    
    font-weight: 700;
    font-size: 32px;
    animation: numberPulse 2s infinite;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.highlight-brand {
    color: var(--accent-color);
    font-weight: 700;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(240, 147, 251, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
    padding: 12px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    animation: badgeFloat 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 18px;
    animation: iconSpin 2s ease-in-out infinite;
}

.badge-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes iconSpin {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(15deg);
    }
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.hero-features .feature-icon {
    width: 28px;
    height: 28px;
    background: var(--gradient-1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-features .feature-icon svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
}

/* Анимация вращения иконок при наведении */
@keyframes feature-icon-spin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.05);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.hero-feature-item:hover .feature-icon svg {
    animation: feature-icon-spin 0.8s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Hero Stats Wrapper */
.hero-stats-wrapper {
    background: white;
    border-radius: 20px;
    padding: 28px 40px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.12);
    border-color: rgba(102, 126, 234, 0.15);
    background: white;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.35);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    white-space: nowrap;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    white-space: nowrap;
}

.stat-label {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}

.hero-visual {
    position: relative;
    height: 500px;
    overflow: visible;
    width: 100%;
    min-width: 0;
}

.product-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
    min-width: 0;
    padding-right: 150px;
}

/* Rain Animation */
.rain-drop {
    position: absolute;
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.8) 0%, rgba(240, 147, 251, 0.6) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: rainFall linear infinite;
    pointer-events: none;
}

@keyframes rainFall {
    0% {
        transform: translateY(-20px);
        opacity: 0.8;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateY(600px);
        opacity: 0;
    }
}

@keyframes rainFallWithPause {
    0% {
        transform: translateY(-20px);
        opacity: 0.8;
    }
    3% {
        opacity: 1;
    }
    20% {
        transform: translateY(100px);
        opacity: 1;
    }
    25% {
        transform: translateY(100px);
        opacity: 0.3;
    }
    30% {
        transform: translateY(100px);
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateY(600px);
        opacity: 0;
    }
}

.product-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    will-change: transform;
}

/* Добавляем эффект свечения вокруг карточек */
.showcase-card-1::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.showcase-card-1:hover::after {
    opacity: 1;
}

.showcase-card-2::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.showcase-card-2:hover::after {
    opacity: 1;
}

.showcase-card-3::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.showcase-card-3:hover::after {
    opacity: 1;
}

/* Карточка 1 - Начинает справа, летает произвольно */
.showcase-card-1 {
    top: 30%;
    right: 10%;
    left: auto;
    transform: translate(0, 0);
    animation: cardFloat1 15s infinite ease-in-out;
    animation-delay: 0s;
    z-index: 1;
}

/* Карточка 2 - Начинает слева, летает произвольно */
.showcase-card-2 {
    top: 60%;
    left: 10%;
    right: auto;
    transform: translate(0, 0);
    animation: cardFloat2 18s infinite ease-in-out;
    animation-delay: 0s;
    z-index: 3;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Карточка 3 - Начинает справа внизу, летает произвольно */
.showcase-card-3 {
    top: 70%;
    right: 15%;
    left: auto;
    transform: translate(0, 0);
    animation: cardFloat3 20s infinite ease-in-out;
    animation-delay: 0s;
    z-index: 2;
}

/* Стили для карточек маркетплейсов */
.marketplace-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.3s ease;
    position: absolute;
    will-change: transform;
}

.marketplace-icon:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.marketplace-icon svg {
    width: 100%;
    height: 100%;
}

.marketplace-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.marketplace-icon:hover .marketplace-logo {
    transform: scale(1.15) rotate(5deg);
}

/* Убираем "рамку" только у Яндекс Маркета */
.yandex-icon {
    box-shadow: none;
    border-radius: 0;
    background: transparent;
}

.yandex-icon:hover {
    box-shadow: none;
}

/* Анимация для карточки 1 - Произвольное движение */
@keyframes cardFloat1 {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    20% {
        transform: translate(-80px, 40px) rotate(15deg) scale(1.05);
    }
    40% {
        transform: translate(-120px, -30px) rotate(-10deg) scale(1.1);
    }
    60% {
        transform: translate(-60px, -80px) rotate(20deg) scale(1.05);
    }
    80% {
        transform: translate(40px, -50px) rotate(-15deg) scale(1.08);
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

/* Анимация для карточки 2 - Произвольное движение */
@keyframes cardFloat2 {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(100px, -50px) rotate(-20deg) scale(1.08);
    }
    50% {
        transform: translate(150px, 60px) rotate(25deg) scale(1.12);
    }
    75% {
        transform: translate(80px, 100px) rotate(-15deg) scale(1.06);
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

/* Анимация для карточки 3 - Произвольное движение */
@keyframes cardFloat3 {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    30% {
        transform: translate(-90px, -60px) rotate(18deg) scale(1.1);
    }
    60% {
        transform: translate(-140px, 40px) rotate(-22deg) scale(1.15);
    }
    90% {
        transform: translate(-50px, 80px) rotate(12deg) scale(1.05);
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

.product-card:hover {
    transform: translateY(-15px) scale(1.1) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    z-index: 10;
    border-color: rgba(102, 126, 234, 0.5);
}

/* Разные градиенты для каждой карточки */
.showcase-card-1 {
    
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}


/* Изображения товаров с разными градиентами и эффектами */
.product-image-placeholder {
    width: 100%;
    height: 180px;
    border-radius: 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

/* Карточка 1 - Фиолетово-синий градиент */
.showcase-card-1 .product-image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    animation: gradientMove1 4s ease infinite;
}

@keyframes gradientMove1 {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.showcase-card-1 .product-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: shimmer1 3s infinite;
}

@keyframes shimmer1 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Карточка 2 - Розово-красный градиент */
.showcase-card-2 .product-image-placeholder {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientMove2 5s ease infinite;
}

@keyframes gradientMove2 {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.showcase-card-2 .product-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    animation: shimmer2 4s infinite;
}

@keyframes shimmer2 {
    0% {
        transform: translate(50%, 50%) rotate(0deg);
    }
    100% {
        transform: translate(50%, 50%) rotate(360deg);
    }
}

/* Карточка 3 - Голубо-бирюзовый градиент */
.showcase-card-3 .product-image-placeholder {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #43e97b 100%);
    background-size: 200% 200%;
    animation: gradientMove3 6s ease infinite;
}

@keyframes gradientMove3 {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.showcase-card-3 .product-image-placeholder::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
    animation: shimmer3 5s infinite;
}

@keyframes shimmer3 {
    0% {
        transform: translate(50%, 50%) rotate(0deg);
    }
    100% {
        transform: translate(50%, 50%) rotate(-360deg);
    }
}

/* Добавляем иконки товаров поверх градиентов */
.showcase-card-1 .product-image-placeholder::after {
    content: '📱';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    opacity: 0.3;
    animation: iconFloat1 3s ease-in-out infinite;
}

.showcase-card-2 .product-image-placeholder::after {
    content: '💻';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 70px;
    opacity: 0.3;
    animation: iconFloat2 4s ease-in-out infinite;
}

.showcase-card-3 .product-image-placeholder::after {
    content: '🎧';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    opacity: 0.3;
    animation: iconFloat3 3.5s ease-in-out infinite;
}

@keyframes iconFloat1 {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1) rotate(10deg);
    }
}

@keyframes iconFloat2 {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15) rotate(-10deg);
    }
}

@keyframes iconFloat3 {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1) rotate(15deg);
    }
}

.product-info {
    padding: 20px;
    background: white;
}

.product-info h4 {
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-dark);
}

.product-info p {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-dark);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-dark);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 1.5s infinite;
}

@keyframes wheelScroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

.arrow-down {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--text-dark);
    border-bottom: 2px solid var(--text-dark);
    transform: rotate(45deg);
}

/* Section Styles */
section {
    position: relative;
    padding: 100px 0;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    opacity: 1 !important;
    visibility: visible !important;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Более компактные отступы заголовка и подзаголовка в блоке тарифов */
.products .section-title {
    margin-bottom: 26px;
}

.products .section-subtitle {
    margin-bottom: 22px;
}

/* Тарифы — всегда видимы, без fade-скрытия (критичный контент) */
#products .section-subtitle,
#products .pricing-compare-wrapper,
#products .pricing-compare-scroll {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Более компактные отступы для заголовка портфолио */
.portfolio .section-title {
    margin-bottom: 20px;
}

.portfolio .section-subtitle {
    margin-bottom: 18px;
}

/* Advantages Section */
.advantages {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.advantages::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.advantages-header {
    text-align: center;
    margin-bottom: 60px;
}

.advantages-header .section-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-top: 16px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    opacity: 1 !important;
    visibility: visible !important;
    margin-bottom: 80px;
}

.advantage-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.advantage-icon-wrapper {
    margin-bottom: 24px;
    position: relative;
}

.advantage-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    overflow: hidden;
}

.advantage-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.advantage-card:hover .advantage-icon::before {
    opacity: 1;
    animation: iconShine 2s infinite;
}

@keyframes iconShine {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Разные градиенты для каждой иконки */
.icon-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.icon-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.icon-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.icon-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.icon-6 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.advantage-card:hover .advantage-icon {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.advantage-icon svg {
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1;
}

.advantage-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    opacity: 1 !important;
    visibility: visible !important;
}

.advantage-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Guarantee Block */
.guarantee-block {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 32px;
    padding: 60px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    animation: blockFadeIn 1s ease-out;
}

@keyframes blockFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.guarantee-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: guaranteeGlow 8s infinite ease-in-out;
}

.guarantee-block::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: guaranteeGlow2 10s infinite ease-in-out;
    animation-delay: 2s;
}

@keyframes guaranteeGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50px, 50px) scale(1.2);
        opacity: 0.5;
    }
}

@keyframes guaranteeGlow2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
    50% {
        transform: translate(40px, -40px) scale(1.15);
        opacity: 0.4;
    }
}

.guarantee-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.guarantee-icon-wrapper {
    flex-shrink: 0;
}

.guarantee-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: guaranteeIconPulse 3s infinite ease-in-out;
}

@keyframes guaranteeIconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

.guarantee-icon svg {
    width: 60px;
    height: 60px;
}

.guarantee-text {
    color: white;
    position: relative;
    z-index: 2;
}

.guarantee-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    position: relative;
    animation: titleSlideIn 1s ease-out;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.guarantee-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
    border-radius: 2px;
    animation: underlineExpand 1.5s ease-out 0.5s both;
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underlineExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 80px;
        opacity: 1;
    }
}

.guarantee-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: descriptionFadeIn 1.2s ease-out 0.3s both;
    position: relative;
}

@keyframes descriptionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 0.95;
        transform: translateY(0);
    }
}

.guarantee-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.guarantee-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.15);
    padding: 16px 24px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: featureSlideIn 0.8s ease-out both;
}

.guarantee-feature:nth-child(1) {
    animation-delay: 0.6s;
}

.guarantee-feature:nth-child(2) {
    animation-delay: 0.8s;
}

.guarantee-feature:nth-child(3) {
    animation-delay: 1s;
}

.guarantee-feature::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;
}

.guarantee-feature:hover::before {
    left: 100%;
}

.guarantee-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

@keyframes featureSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.guarantee-check {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    animation: checkPulse 2s ease-in-out infinite;
}

.guarantee-check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: checkRipple 2s ease-in-out infinite;
}

.guarantee-feature:hover .guarantee-check {
    transform: scale(1.15) rotate(360deg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 100%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes checkPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes checkRipple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Slogan Section */
.slogan-section {
    position: relative;
    padding: 140px 0;
    background: #0a1e2e;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Оверлей для плавного затемнения при переходе на тёмную тему */
.slogan-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0.5;
    pointer-events: none;
    background: #0a1e2e;
    opacity: 0;
    transition: opacity 1.5s ease;
}

[data-theme="dark"] .slogan-section::after {
    opacity: 1;
}

[data-theme="light"] .slogan-section::after {
    opacity: 0;
}

.slogan-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #0d2c45;
}

.stars-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 10% 20%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 20% 40%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 30% 60%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 40% 10%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 50% 80%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 60% 30%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 70% 50%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 80% 70%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 90% 15%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 15% 85%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 25% 25%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 35% 75%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 45% 35%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 55% 90%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 65% 5%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 75% 65%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 85% 45%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 95% 25%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 5% 55%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 12% 95%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 18% 8%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 22% 45%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 28% 88%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 32% 12%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 38% 68%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 42% 32%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 48% 78%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 52% 18%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 58% 58%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 62% 92%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 68% 28%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 72% 72%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 78% 38%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 82% 82%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 88% 22%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 92% 62%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 98% 48%, rgba(255, 255, 255, 0.8), transparent);
    background-size: 100% 100%;
    animation: starsTwinkle 6s ease-in-out infinite;
    opacity: 0.8;
}

.stars-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-image: 
        radial-gradient(3px 3px at 8% 15%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 18% 35%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 28% 55%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(3px 3px at 38% 75%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 48% 25%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 58% 45%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(3px 3px at 68% 65%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 78% 85%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 88% 5%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(3px 3px at 13% 65%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 23% 85%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 33% 15%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(3px 3px at 43% 35%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 53% 55%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 63% 75%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(3px 3px at 73% 25%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 83% 45%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 93% 65%, rgba(255, 255, 255, 0.6), transparent);
    background-size: 100% 100%;
    animation: starsTwinkle 8s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes starsTwinkle {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.slogan-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: white;
    padding: 80px 60px;
}

.quote-mark {
    position: absolute;
    font-size: 280px;
    font-weight: 100;
    color: rgba(79, 172, 254, 0.4);
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1;
    z-index: 0;
    user-select: none;
    pointer-events: none;
    animation: quoteFloat 8s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(79, 172, 254, 0.3);
    filter: blur(0.5px);
}

.quote-open {
    top: -100px;
    left: -60px;
    animation-delay: 0s;
}

.quote-close {
    bottom: -120px;
    right: -60px;
    animation-delay: 4s;
}

@keyframes quoteFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.35;
    }
    25% {
        transform: translateY(-15px) translateX(5px) scale(1.02);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-25px) translateX(0) scale(1.05);
        opacity: 0.45;
    }
    75% {
        transform: translateY(-15px) translateX(-5px) scale(1.02);
        opacity: 0.4;
    }
}

.slogan-text {
    position: relative;
    z-index: 2;
}

.slogan-main {
    font-size: 20px;
    line-height: 1.9;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 50px;
    letter-spacing: 0.3px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.slogan-divider {
    width: 80px;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
    margin: 50px auto;
    position: relative;
}

.slogan-divider::before,
.slogan-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    transform: translateY(-50%);
}

.slogan-divider::before {
    left: -15px;
}

.slogan-divider::after {
    right: -15px;
}

.slogan-brand {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 40px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    animation: brandPulse 4s ease-in-out infinite;
}

@keyframes brandPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.95;
        transform: scale(1.02);
    }
}

/* Солнце в блоке слогана: по дуге при светлой теме, уходит вправо при тёмной */
.slogan-sun {
    position: absolute;
    width: 110px;
    height: 110px;
    left: 110%;
    top: 55%;
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff9e6, #ffd54f 30%, #ffb74d 60%, #ff9800 100%);
    box-shadow: 
        0 0 60px 20px rgba(255, 193, 7, 0.5),
        0 0 100px 40px rgba(255, 152, 0, 0.25),
        inset -10px -10px 30px rgba(255, 235, 59, 0.4);    
    transition: left 1.8s cubic-bezier(0.25, 0.1, 0.25, 1), top 1.8s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 1.2s ease;
    filter: blur(8px); 
    
}

/* Светлая тема: небо, солнце выезжает слева по дуге (горизонт) */
[data-theme="light"] .slogan-section {
    background: linear-gradient(180deg, #87CEEB 0%, #b8e0f0 25%, #e0f4ff 55%, #f0f8ff 100%);
    transition: background 1.2s ease;
}

[data-theme="light"] .slogan-background {
    background: transparent;
    opacity: 0;
    transition: background 1.2s ease, opacity 1.2s ease;
}

[data-theme="light"] .stars-background,
[data-theme="light"] .stars-overlay {
    opacity: 0;
    transition: opacity 1.2s ease;
}

[data-theme="light"] .slogan-sun {
    animation: sunRiseArc 2.2s linear forwards;
    left: -12%;
    top: 82%;
}

/* Восход: одна плавная дуга слева снизу до позиции «в небе» (без горизонтальной полки) */
@keyframes sunRiseArc {
    0%   { left: -12%; top: 82%; opacity: 0.9; transform: scale(0.96); }
    10%  { left: -2%;  top: 72%; opacity: 1;   transform: scale(1); }
    20%  { left: 8%;   top: 58%; opacity: 1;   transform: scale(1.01); }
    30%  { left: 18%;  top: 44%; opacity: 1;   transform: scale(1.02); }
    40%  { left: 28%;  top: 32%; opacity: 1;   transform: scale(1.01); }
    50%  { left: 38%;  top: 24%; opacity: 1;   transform: scale(1); }

    /* --- Фаза "зависания" и парковки (плавно вправо и чуть вниз) --- */
    60%  { left: 48%;  top: 20%;   opacity: 1; transform: scale(1); } /* Самая высокая точка */
    70%  { left: 53%;  top: 20.2%; opacity: 1; transform: scale(1); }
    80%  { left: 58%;  top: 20.8%; opacity: 1; transform: scale(1); }
    90%  { left: 63%;  top: 21.4%; opacity: 1; transform: scale(1); }
    100% { left: 67%;  top: 24%;   opacity: 1; transform: scale(1); }
}

/* Тёмная тема: солнце по дуге плавно уходит в правый нижний угол (как появляется, только в другую сторону) */
[data-theme="dark"] .slogan-sun {
    animation: sunSetArc 2s linear forwards;
    left: 74%;
    top: 22%;
}

/* Закат: та же дуга в обратную сторону — плавно вправо-вниз, без резкого обрыва вниз */
@keyframes sunSetArc {
    0%   { left: 67%;   top: 24%;   opacity: 1;   transform: scale(1); }

    /* Плавное движение вниз-вправо */
    10%  { left: 71.5%; top: 27%;   opacity: 1;   transform: scale(1); }
    20%  { left: 76%;   top: 31%;   opacity: 1;   transform: scale(0.99); }
    30%  { left: 80.5%; top: 36%;   opacity: 1;   transform: scale(0.99); }
    40%  { left: 85%;   top: 41%;   opacity: 1;   transform: scale(0.98); }
    50%  { left: 89.5%; top: 47%;   opacity: 1;   transform: scale(0.98); }
    60%  { left: 94%;   top: 54%;   opacity: 1;   transform: scale(0.97); }
    70%  { left: 98.5%; top: 61%;   opacity: 1;   transform: scale(0.97); }
    80%  { left: 103%;  top: 68%;   opacity: 1;   transform: scale(0.96); }
    90%  { left: 107.5%; top: 75%;  opacity: 1;   transform: scale(0.96); }

    /* Конец (заданная вами точка) */
    100% { left: 112%;  top: 82%;   opacity: 0.9; transform: scale(0.96); }
}

/* Плавное затемнение (как светлеет, только наоборот) */
[data-theme="dark"] .slogan-section {
    background: #0a1e2e;
    transition: background 1.2s ease;
}

[data-theme="dark"] .slogan-background {
    background: #0d2c45;
    opacity: 1;
    transition: background 1.2s ease, opacity 1.2s ease;
}

/* Звёзды плавно появляются вместе с затемнением */
[data-theme="dark"] .stars-background {
    opacity: 0.7;
    transition: opacity 1.2s ease 0.15s;
}

[data-theme="dark"] .stars-overlay {
    opacity: 0.85;
    transition: opacity 1.2s ease 0.25s;
}

[data-theme="dark"] .slogan-content {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease;
}

[data-theme="light"] .slogan-content {
    opacity: 1;
    transform: translateX(0);
}

/* Текст слогана в светлой теме — тёмный для читаемости */
[data-theme="light"] .slogan-content {
    color: #1e293b;
}

[data-theme="light"] .slogan-main {
    color: #334155;
}

[data-theme="light"] .slogan-brand {
    color: #0f172a;
}

[data-theme="light"] .slogan-divider {
    background: rgba(30, 41, 59, 0.4);
}

[data-theme="light"] .slogan-divider::before,
[data-theme="light"] .slogan-divider::after {
    background: #475569;
}

[data-theme="light"] .quote-mark {
    color: rgba(79, 172, 254, 0.25);
}

/* About Section */
.about {
    background: var(--bg-light);
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 500px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    opacity: 1 !important;
    visibility: visible !important;
}

.about-description {
    opacity: 1 !important;
    visibility: visible !important;
}

.about-description p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 24px;
    opacity: 1 !important;
    visibility: visible !important;
}

.about-quote {
    font-style: italic;
    font-size: 20px;
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin-top: 32px;
}

.about-visual {
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
}

.about-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.about-image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #a5b4fc 100%);
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.rain-background-about {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.stats-visualization {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 40px;
    z-index: 1;
    padding: 40px;
    box-sizing: border-box;
}

.stat-circle {
    position: relative;
    width: 180px;
    height: 180px;
    animation: statFloat 6s ease-in-out infinite;
}

.stat-circle:nth-child(1) {
    animation-delay: 0s;
}

.stat-circle:nth-child(2) {
    animation-delay: 2s;
}

.stat-circle:nth-child(3) {
    animation-delay: 4s;
}

.stat-circle-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.stat-value {
    
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1.2;
}

.stat-text {
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: statRotate 8s linear infinite;
}

.stat-circle:nth-child(2) .stat-ring {
    animation-direction: reverse;
    animation-duration: 10s;
}

.stat-circle:nth-child(3) .stat-ring {
    animation-duration: 12s;
}

@keyframes statFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@keyframes statRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes imageGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.1);
    }
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.8;
    }
}

.floating-card {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.5);
    z-index: 1;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 180px;
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 25px 80px rgba(102, 126, 234, 0.4);
}

.card-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: cardOrbit1 12s infinite ease-in-out;
    animation-delay: 0s;
}

.card-1 .card-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: cardOrbit2 14s infinite ease-in-out;
    animation-delay: 2s;
}

.card-2 .card-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: cardOrbit3 16s infinite ease-in-out;
    animation-delay: 4s;
}

.card-3 .card-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.card-content {
    flex: 1;
}

.card-number {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 4px;
}

.card-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes cardOrbit1 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(calc(-50% + 80px), calc(-50% - 100px)) rotate(90deg) scale(1.05);
    }
    50% {
        transform: translate(calc(-50% + 120px), calc(-50% + 0px)) rotate(180deg) scale(1.1);
    }
    75% {
        transform: translate(calc(-50% + 80px), calc(-50% + 100px)) rotate(270deg) scale(1.05);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

@keyframes cardOrbit2 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(calc(-50% - 100px), calc(-50% - 80px)) rotate(90deg) scale(1.05);
    }
    50% {
        transform: translate(calc(-50% - 150px), calc(-50% + 0px)) rotate(180deg) scale(1.1);
    }
    75% {
        transform: translate(calc(-50% - 100px), calc(-50% + 80px)) rotate(270deg) scale(1.05);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

@keyframes cardOrbit3 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(calc(-50% + 0px), calc(-50% - 120px)) rotate(90deg) scale(1.05);
    }
    50% {
        transform: translate(calc(-50% - 0px), calc(-50% + 0px)) rotate(180deg) scale(1.1);
    }
    75% {
        transform: translate(calc(-50% + 0px), calc(-50% + 120px)) rotate(270deg) scale(1.05);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

.floating-badge span {
    display: block;
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.floating-badge small {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Products Section */
.products {
    background: white;
    position: relative;
    overflow: hidden;
}

.products::before,
.products::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.products::before {
    top: -120px;
    left: -80px;
    background: radial-gradient(circle at center, rgba(102, 126, 234, 0.9), transparent);
}

.products::after {
    bottom: -160px;
    right: -60px;
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.9), transparent);
}

/* Tariffs (inside Products section) */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tariff-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.65);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.2);
    opacity: 0;
    transform: translateY(32px) scale(0.97);
    animation: tariffReveal 0.7s ease-out forwards;
}

.tariff-card:hover {
    transform: translateY(-14px) scale(1.01);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.8);
    border-color: rgba(129, 140, 248, 0.7);
}

/* Цветные тени‑свечения для левого / центрального / правого тарифов */
.tariffs-grid .tariff-card:nth-child(1) {
    box-shadow: 0 24px 70px rgba(147, 51, 234, 0.6);
}

.tariffs-grid .tariff-card:nth-child(2) {
    box-shadow: 0 26px 80px rgba(59, 130, 246, 0.7);
}

.tariffs-grid .tariff-card:nth-child(3) {
    box-shadow: 0 24px 70px rgba(56, 189, 248, 0.55);
}

.tariff-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg,
        rgba(129, 140, 248, 0.9),
        rgba(236, 72, 153, 0.8),
        rgba(56, 189, 248, 0.9));
    background-size: 220% 220%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.tariff-card:hover::before {
    opacity: 1;
    animation: tariffAurora 6s ease-in-out infinite alternate;
}

/* Разный цвет "ауры" для каждой карточки */
.tariffs-grid .tariff-card:nth-child(1)::before {
    background: linear-gradient(135deg,
        rgba(192, 132, 252, 0.15),
        rgba(147, 51, 234, 0.75),
        rgba(244, 114, 182, 0.4));
}

.tariffs-grid .tariff-card:nth-child(2)::before {
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.85),
        rgba(129, 140, 248, 0.9),
        rgba(96, 165, 250, 0.7));
}

.tariffs-grid .tariff-card:nth-child(3)::before {
    background: linear-gradient(135deg,
        rgba(56, 189, 248, 0.75),
        rgba(59, 130, 246, 0.85),
        rgba(129, 140, 248, 0.9));
}

.tariff-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: radial-gradient(circle at top, #111827, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tariff-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tariff-content {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tariff-title {
    font-size: 20px;
    font-weight: 700;
    color: #f9fafb;
}

.tariff-description,
.tariff-extra {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(209, 213, 219, 0.95);
}

.tariff-card .btn-primary {
    margin-top: auto; /* выравниваем кнопку по низу карточки */
    align-self: stretch;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 24px;
    font-size: 15px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    box-shadow: 0 14px 35px rgba(139, 92, 246, 0.6);
    border: 1px solid rgba(191, 219, 254, 0.5);
}

.tariff-card .btn-primary span {
    width: 100%;
    text-align: center;
}

.tariff-card .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(129, 140, 248, 0.85);
    background: linear-gradient(135deg, #818cf8, #f472b6);
}

/* Бейджи тарифов */
.tariff-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: rgba(226, 232, 240, 0.9);
}

.tariff-badge-start {
    border-color: rgba(52, 211, 153, 0.6);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.05));
    color: #6ee7b7;
}

.tariff-badge-hit {
    border-color: rgba(129, 140, 248, 0.8);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.4), rgba(236, 72, 153, 0.2));
    color: #e5e7eb;
    box-shadow: 0 0 25px rgba(129, 140, 248, 0.6);
}

.tariff-badge-soon {
    border-color: rgba(56, 189, 248, 0.7);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(56, 189, 248, 0.12));
    color: #bfdbfe;
}

/* Центральный, "флагманский" тариф */
.tariff-card-featured {
    transform: translateY(-6px);
    border-color: rgba(129, 140, 248, 0.9);
    background: radial-gradient(circle at top, rgba(30, 64, 175, 0.9), rgba(15, 23, 42, 0.98));
}

.tariff-card-featured:hover {
    transform: translateY(-18px) scale(1.02);
}

/* Плавное появление и лёгкое чередование задержек для карточек */
.tariffs-grid .tariff-card:nth-child(1) {
    animation-delay: 0.05s;
}

.tariffs-grid .tariff-card:nth-child(2) {
    animation-delay: 0.18s;
}

.tariffs-grid .tariff-card:nth-child(3) {
    animation-delay: 0.31s;
}

@keyframes tariffReveal {
    0% {
        opacity: 0;
        transform: translateY(32px) scale(0.96);
    }
    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes tariffAurora {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 100%;
    }
}

/* ——— Сравнительная таблица тарифов ——— */
.products .container {
    position: relative;
    z-index: 1;
}

.pricing-compare-wrapper {
    margin-top: 8px;
}

.pricing-compare-scroll {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    border-radius: 28px;
    box-shadow:
        0 4px 24px rgba(15, 23, 42, 0.06),
        0 20px 60px rgba(102, 126, 234, 0.12);
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.15);
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.45) transparent;
    isolation: isolate;
    padding: 20px 16px 0;
}

.pricing-compare-scroll::-webkit-scrollbar {
    height: 6px;
}

.pricing-compare-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 999px;
}

.pricing-compare {
    width: 100%;
    min-width: 880px;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    line-height: 1.55;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.pricing-col-feature {
    width: 38%;
}

.pricing-col-plan {
    width: 20.66%;
}

.pricing-compare th,
.pricing-compare td {
    padding: 14px 18px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* —— Верхний ряд: бренд + карточки тарифов —— */
.pricing-top {
    display: grid;
    grid-template-columns: 38fr 20.66fr 20.66fr 20.66fr;
    column-gap: 0;
    align-items: stretch;
    margin-bottom: 0;
    min-width: 880px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    padding-bottom: 14px;
}

.pricing-hero-cards-row {
    display: contents;
}

.pricing-table-scroll {
    overflow: visible;
}

.pricing-compare-thead {
    display: none;
}

.pricing-cards-hint {
    display: none;
}

.pricing-top-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 12px 18px 12px 4px;
}

.pricing-compare-logo {
    width: 108px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: none;
}

.pricing-compare-logo-light { display: block; }

[data-theme="light"] .pricing-compare-logo-light,
:root .pricing-compare-logo-light { display: block; }

[data-theme="light"] .pricing-compare-logo-dark,
:root .pricing-compare-logo-dark { display: none; }

[data-theme="dark"] .pricing-compare-logo-light { display: none; }

[data-theme="dark"] .pricing-compare-logo-dark {
    display: block;
    filter: drop-shadow(0 2px 10px rgba(139, 92, 246, 0.3));
}

.pricing-compare-logo-sub {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.01em;
}

.pricing-compare-logo-hint {
    margin: 0;
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
    line-height: 1.45;
    max-width: 210px;
}

/* Hero-карточки тарифов — единая сетка, одна высота */
.pricing-hero-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 204px;
    margin: 0;
    padding: 14px 14px 14px;
    border-radius: 16px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.12);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.pricing-top > .pricing-hero-card:first-of-type {
    margin-left: 0;
}

.pricing-top > .pricing-hero-card:last-of-type {
    margin-right: 0;
}

.pricing-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.18);
}

.pricing-hero-basic {
    background: linear-gradient(160deg, #5eead4 0%, #2dd4bf 35%, #0f766e 100%);
}

.pricing-hero-standard {
    background: linear-gradient(160deg, #a5b4fc 0%, #818cf8 38%, #5b4bb4 100%);
}

.pricing-hero-premium {
    background: linear-gradient(160deg, #fdba74 0%, #f472b6 45%, #db2777 100%);
}

.pricing-hero-featured {
    box-shadow:
        0 14px 40px rgba(91, 75, 180, 0.35),
        0 0 0 2px rgba(255, 255, 255, 0.55),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.pricing-hero-featured:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 48px rgba(91, 75, 180, 0.42),
        0 0 0 2px rgba(255, 255, 255, 0.65);
}

.pricing-hero-glow {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    top: -35px;
    right: -30px;
    pointer-events: none;
}

.pricing-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, transparent 48%);
    pointer-events: none;
}

.pricing-hero-top-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.pricing-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);
}

.pricing-hero-head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    min-height: 20px;
}

.pricing-hero-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.95);
    flex-shrink: 0;
}

.pricing-hero-icon svg {
    width: 16px;
    height: 16px;
}

.pricing-hero-name {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    line-height: 1;
}

.pricing-hero-price-tag {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    align-self: stretch;
    background: #fff;
    border-radius: 0 100px 100px 0;
    padding: 9px 18px 8px 12px;
    margin: 0 -14px 12px 0;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
    min-height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-hero-discount {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 3px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: #fff;
    background: #e11d48;
}

.pricing-hero-old-price {
    display: block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #94a3b8;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    white-space: nowrap;
}

.pricing-hero-basic .pricing-hero-price { color: #0d9488; }
.pricing-hero-standard .pricing-hero-price { color: #5b21b6; }
.pricing-hero-premium .pricing-hero-price { color: #db2777; }

.pricing-hero-basic .pricing-hero-period { color: #14b8a6; }
.pricing-hero-standard .pricing-hero-period { color: #7c3aed; }
.pricing-hero-premium .pricing-hero-period { color: #ec4899; }

.pricing-hero-price {
    display: block;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
    white-space: nowrap;
}

.pricing-hero-period {
    display: block;
    margin-top: 1px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
}

.pricing-hero-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-top: auto;
    width: 100%;
    min-height: 34px;
    max-width: 124px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.pricing-hero-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.14);
}

.pricing-hero-btn-solid {
    background: rgba(255, 255, 255, 0.96);
    color: #5b21b6;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.pricing-hero-btn-solid:hover {
    background: #fff;
    color: #4c1d95;
}

/* Тело таблицы */
.pricing-compare tbody .pricing-plan-min { background: #f0fdfa; }
.pricing-compare tbody .pricing-plan-std { background: #f5f3ff; }
.pricing-compare tbody .pricing-plan-vip { background: #fdf2f8; }

.pricing-compare tbody tr:first-child th,
.pricing-compare tbody tr:first-child td {
    padding-top: 14px;
}

.pricing-compare tbody th[scope="row"] {
    text-align: left;
    font-weight: 500;
    color: var(--text-dark);
    background: #f8fafc;
    position: sticky;
    left: 0;
    z-index: 10;
    border-right: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 4px 0 10px rgba(15, 23, 42, 0.03);
    font-size: 13px;
    line-height: 1.5;
    padding-right: 14px;
}

/* Кнопки в нижней строке таблицы */
.pricing-cta-row .pricing-plan-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: #5b21b6;
    background: #fff;
    border: 1.5px solid rgba(139, 92, 246, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.02em;
    max-width: 160px;
}

.pricing-cta-row .pricing-plan-cta-featured {
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
}

.pricing-cta-row .pricing-plan-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.22);
}

/* —— Строки данных —— */
.pricing-row:hover td,
.pricing-row:hover th[scope="row"] {
    background-color: rgba(99, 102, 241, 0.05) !important;
}

.pricing-row:hover .pricing-plan-min {
    background-color: #ccfbf1 !important;
}

.pricing-row:hover .pricing-plan-std {
    background-color: #ede9fe !important;
}

.pricing-row:hover .pricing-plan-vip {
    background-color: #fce7f3 !important;
}

/* —— Секции —— */
.pricing-section-header th {
    padding: 14px 20px !important;
    text-align: center !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff !important;
    background: linear-gradient(90deg, #312e81 0%, #4c1d95 50%, #6d28d9 100%) !important;
    border-bottom: none !important;
    position: static;
}

.pricing-section-intro td {
    text-align: left !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(52, 211, 153, 0.15) !important;
    background: linear-gradient(90deg, rgba(52, 211, 153, 0.07) 0%, rgba(255, 255, 255, 0) 70%) !important;
}

.pricing-intro-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 22px;
}

.pricing-intro-inner p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: #475569;
}

.pricing-intro-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #34d399, #059669);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.pricing-note {
    display: inline;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-fee {
    color: #dc2626;
    font-weight: 700;
    font-size: 15px;
}

.pcell-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.22), rgba(16, 185, 129, 0.1));
    position: relative;
}

.pcell-yes::after {
    content: '';
    display: block;
    width: 6px;
    height: 11px;
    border: solid #059669;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

.pcell-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 300;
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.1);
}

.pricing-cta-row th,
.pricing-cta-row td {
    padding: 28px 20px !important;
    background: #f1f5f9 !important;
    border-bottom: none !important;
}

.pricing-cta-row th {
    font-weight: 700;
    font-size: 15px;
    text-align: left !important;
}

.pricing-scroll-hint {
    display: none;
    text-align: center;
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .pricing-compare {
        min-width: 800px;
    }
}

@media (max-width: 768px) {
    .pricing-compare-scroll {
        overflow-x: visible;
        border-radius: 20px;
        padding: 0;
        box-shadow:
            0 4px 20px rgba(15, 23, 42, 0.05),
            0 12px 40px rgba(102, 126, 234, 0.08);
    }

    .pricing-top {
        display: flex;
        flex-direction: column;
        min-width: 0;
        border-bottom: none;
        padding: 20px 0 0;
        gap: 0;
    }

    .pricing-top-brand {
        align-items: center;
        text-align: center;
        padding: 0 20px 18px;
        min-height: auto;
    }

    .pricing-compare-logo-hint {
        max-width: none;
    }

    .pricing-hero-cards-row {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 20px;
        -webkit-overflow-scrolling: touch;
        padding: 4px 20px 22px;
        scrollbar-width: none;
    }

    .pricing-hero-cards-row::-webkit-scrollbar {
        display: none;
    }

    .pricing-hero-card {
        flex: 0 0 min(78vw, 300px);
        scroll-snap-align: center;
        min-height: 176px;
        padding: 16px 16px 14px;
    }

    .pricing-hero-card:hover,
    .pricing-hero-featured:hover {
        transform: none;
    }

    .pricing-hero-name {
        font-size: 12px;
    }

    .pricing-hero-price-tag {
        margin: 0 -16px 14px 0;
        padding: 10px 20px 9px 14px;
        min-height: 72px;
    }

    .pricing-hero-old-price {
        font-size: 13px;
    }

    .pricing-hero-price {
        font-size: 18px;
    }

    .pricing-hero-period {
        font-size: 11px;
    }

    .pricing-hero-btn {
        max-width: none;
        width: 100%;
        font-size: 10px;
        padding: 10px 16px;
    }

    .pricing-cards-hint {
        display: block;
        margin: -10px 0 0;
        padding: 0 20px 6px;
        text-align: center;
        font-size: 11px;
        color: #94a3b8;
        letter-spacing: 0.02em;
    }

    .pricing-table-scroll {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        margin: 0;
        padding: 0 0 4px;
        border-top: 1px solid rgba(148, 163, 184, 0.12);
        scrollbar-width: thin;
        scrollbar-color: rgba(102, 126, 234, 0.45) transparent;
    }

    .pricing-table-scroll::-webkit-scrollbar {
        height: 5px;
    }

    .pricing-table-scroll::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, #667eea, #764ba2);
        border-radius: 999px;
    }

    .pricing-compare {
        min-width: 580px;
        font-size: 12px;
        border-radius: 0;
    }

    .pricing-compare-thead {
        display: table-header-group;
    }

    .pricing-compare-thead th {
        position: sticky;
        top: 0;
        z-index: 12;
        padding: 10px 10px;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        text-align: center;
        border-bottom: 1px solid rgba(148, 163, 184, 0.15);
        white-space: nowrap;
    }

    .pricing-thead-feature {
        text-align: left !important;
        background: #f8fafc;
        position: sticky;
        left: 0;
        z-index: 14;
        box-shadow: 4px 0 10px rgba(15, 23, 42, 0.04);
        color: #64748b;
        min-width: 130px;
    }

    .pricing-thead-basic {
        color: #0f766e;
        background: linear-gradient(180deg, #ccfbf1 0%, #f0fdfa 100%);
    }

    .pricing-thead-standard {
        color: #5b21b6;
        background: linear-gradient(180deg, #ede9fe 0%, #f5f3ff 100%);
    }

    .pricing-thead-premium {
        color: #be185d;
        background: linear-gradient(180deg, #fce7f3 0%, #fdf2f8 100%);
    }

    .pricing-compare th,
    .pricing-compare td {
        padding: 10px 10px;
    }

    .pricing-compare tbody th[scope="row"] {
        font-size: 11px;
        min-width: 130px;
        max-width: 160px;
        padding-right: 10px;
    }

    .pricing-col-feature {
        width: 34%;
    }

    .pricing-col-plan {
        width: 22%;
    }

    .pricing-section-header th {
        font-size: 11px;
        padding: 12px 10px !important;
    }

    .pricing-section-intro td {
        padding: 12px !important;
    }

    .pricing-intro-inner p {
        font-size: 11px;
        line-height: 1.5;
    }

    .pricing-cta-row th,
    .pricing-cta-row td {
        padding: 20px 10px !important;
    }

    .pricing-cta-row .pricing-plan-cta {
        font-size: 11px;
        padding: 8px 14px;
        max-width: 140px;
    }

    .pricing-scroll-hint {
        display: block;
        padding: 0 16px;
    }
}

/* Тёмная тема: сравнительная таблица */
[data-theme="dark"] .pricing-compare-scroll {
    background: #141c2b;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.4),
        0 24px 64px rgba(102, 126, 234, 0.12);
}

[data-theme="dark"] .pricing-compare tbody th[scope="row"] {
    background: #1a2234;
    color: #e2e8f0;
    border-right-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .pricing-hero-basic {
    background: linear-gradient(145deg, #5eead4 0%, #14b8a6 45%, #0f766e 100%);
    box-shadow: 0 16px 44px rgba(20, 184, 166, 0.28);
}

[data-theme="dark"] .pricing-hero-standard {
    background: linear-gradient(145deg, #a5b4fc 0%, #7c83f6 42%, #4c3d9e 100%);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.32);
}

[data-theme="dark"] .pricing-hero-premium {
    background: linear-gradient(145deg, #fdba74 0%, #f472b6 50%, #be185d 100%);
    box-shadow: 0 16px 44px rgba(236, 72, 153, 0.28);
}

[data-theme="dark"] .pricing-hero-featured {
    box-shadow:
        0 14px 40px rgba(102, 126, 234, 0.38),
        0 0 0 2px rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .pricing-hero-price-tag {
    background: #fff;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .pricing-hero-btn-solid {
    background: #fff;
    color: #5b21b6;
}

[data-theme="dark"] .pricing-compare tbody .pricing-plan-min {
    background: #0f1f1d;
}

[data-theme="dark"] .pricing-compare tbody .pricing-plan-std {
    background: #16102a;
}

[data-theme="dark"] .pricing-compare tbody .pricing-plan-vip {
    background: #1f1018;
}

[data-theme="dark"] .pricing-compare-logo-sub {
    color: #94a3b8;
}

[data-theme="dark"] .pricing-compare-logo-hint {
    color: #64748b;
}

[data-theme="dark"] .pricing-row:hover .pricing-plan-min {
    background-color: #142826 !important;
}

[data-theme="dark"] .pricing-row:hover .pricing-plan-std {
    background-color: #1e1638 !important;
}

[data-theme="dark"] .pricing-row:hover .pricing-plan-vip {
    background-color: #281420 !important;
}

[data-theme="dark"] .pricing-section-intro td {
    background: linear-gradient(90deg, rgba(52, 211, 153, 0.08) 0%, transparent 70%) !important;
}

[data-theme="dark"] .pricing-intro-inner p {
    color: #94a3b8;
}

[data-theme="dark"] .pricing-row:hover td,
[data-theme="dark"] .pricing-row:hover th[scope="row"] {
    background-color: rgba(99, 102, 241, 0.08) !important;
}

[data-theme="dark"] .pricing-cta-row th,
[data-theme="dark"] .pricing-cta-row td {
    background: #111827 !important;
}

[data-theme="dark"] .pricing-cta-row .pricing-plan-cta {
    color: #5b21b6;
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(139, 92, 246, 0.35);
}

[data-theme="dark"] .pricing-fee {
    color: #f87171;
}

[data-theme="dark"] .pricing-compare th,
[data-theme="dark"] .pricing-compare td {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
    [data-theme="dark"] .pricing-table-scroll {
        border-top-color: rgba(255, 255, 255, 0.08);
    }

    [data-theme="dark"] .pricing-cards-hint {
        color: #64748b;
    }

    [data-theme="dark"] .pricing-thead-feature {
        background: #1a2234;
        color: #94a3b8;
        box-shadow: 4px 0 10px rgba(0, 0, 0, 0.25);
    }

    [data-theme="dark"] .pricing-thead-basic {
        color: #5eead4;
        background: linear-gradient(180deg, #0f2926 0%, #0f1f1d 100%);
    }

    [data-theme="dark"] .pricing-thead-standard {
        color: #c4b5fd;
        background: linear-gradient(180deg, #1e1638 0%, #16102a 100%);
    }

    [data-theme="dark"] .pricing-thead-premium {
        color: #f9a8d4;
        background: linear-gradient(180deg, #281420 0%, #1f1018 100%);
    }
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--text-light);
    background: transparent;
    border-radius: 24px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    animation: productShimmer 3s infinite;
}

@keyframes productShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-badge.sale {
    background: var(--gradient-2);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.product-category {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.product-price {
    margin-bottom: 16px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-product {
    width: 100%;
    justify-content: center;
    background: var(--gradient-1);
    color: white;
}

.products-cta {
    text-align: center;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.promo-background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.promo-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.promo-orb-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    background: rgba(255, 255, 255, 0.2);
    animation: orbFloat1 12s ease-in-out infinite;
}

.promo-orb-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -50px;
    background: rgba(255, 255, 255, 0.15);
    animation: orbFloat2 15s ease-in-out infinite;
    animation-delay: 2s;
}

.promo-orb-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.1);
    animation: orbFloat3 10s ease-in-out infinite;
    animation-delay: 4s;
}

@keyframes orbFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-80px, 100px) scale(1.2);
    }
}

@keyframes orbFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(60px, -80px) scale(1.15);
    }
}

@keyframes orbFloat3 {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3) rotate(180deg);
    }
}

.promo-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 80% 20%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 30% 80%, rgba(255, 255, 255, 0.3), transparent);
    background-size: 200% 200%;
    animation: particlesMove 20s linear infinite;
    opacity: 0.6;
}

@keyframes particlesMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.promo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
    animation: contentFadeIn 1s ease-out;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.promo-badge {
    position: absolute;
    top: -20px;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
    font-weight: 600;
    animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.badge-icon {
    font-size: 18px;
    animation: iconSpin 3s linear infinite;
}

@keyframes iconSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.promo-text {
    flex: 1;
    position: relative;
}

.promo-text::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: textGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes textGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

.promo-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: titleSlideIn 1s ease-out 0.3s both;
    position: relative;
}

.title-highlight {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 72px;
    font-weight: 900;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
    animation: highlightShine 3s ease-in-out infinite, highlightPulse 2s ease-in-out infinite;
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
}

.title-highlight::before {
    content: 'Скидка 20%';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShine 4s linear infinite;
    z-index: -1;
    filter: blur(2px);
    opacity: 0.5;
}

@keyframes highlightShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes goldShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes highlightPulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.03);
        filter: brightness(1.3);
    }
}

.title-main {
    color: rgba(255, 255, 255, 0.95);
    font-size: 48px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    animation: titleMainGlow 3s ease-in-out infinite;
}

.title-main::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
    border-radius: 2px;
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes titleMainGlow {
    0%, 100% {
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    }
    50% {
        text-shadow: 0 2px 30px rgba(255, 255, 255, 0.3);
    }
}

@keyframes underlineGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.1);
    }
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.promo-description {
    font-size: 22px;
    opacity: 0.95;
    line-height: 2;
    margin-bottom: 35px;
    animation: descriptionFadeIn 1s ease-out 0.6s both;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.promo-description::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 100%);
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
}

@keyframes descriptionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 0.95;
        transform: translateY(0);
    }
}

.promo-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.promo-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    font-weight: 600;
    opacity: 0.95;
    animation: featureSlideIn 0.8s ease-out both;
    padding: 12px 0;
    position: relative;
    transition: all 0.3s ease;
}

.promo-feature-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
    transition: width 0.3s ease;
}

.promo-feature-item:hover::before {
    width: 20px;
}

.promo-feature-item:hover {
    transform: translateX(10px);
    opacity: 1;
}

.promo-feature-item:nth-child(1) {
    animation-delay: 0.9s;
}

.promo-feature-item:nth-child(2) {
    animation-delay: 1.1s;
}

.promo-feature-item:nth-child(3) {
    animation-delay: 1.3s;
}

@keyframes featureSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 0.95;
        transform: translateX(0);
    }
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 1);
    flex-shrink: 0;
    animation: checkMark 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.promo-feature-item:hover .feature-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.promo-feature-item span {
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.promo-feature-item:hover span {
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.promo-feature-item:nth-child(1) .feature-icon {
    animation-delay: 1s;
}

.promo-feature-item:nth-child(2) .feature-icon {
    animation-delay: 1.2s;
}

.promo-feature-item:nth-child(3) .feature-icon {
    animation-delay: 1.4s;
}

@keyframes checkMark {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.promo-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.btn-promo {
    background: white;
    color: var(--text-dark);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: buttonSlideIn 1s ease-out 0.8s both;
}

@keyframes buttonSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.btn-promo .btn-text {
    position: relative;
    z-index: 2;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-promo .btn-arrow {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-shine {
    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.5s ease;
}

.btn-promo:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-promo:hover .btn-shine {
    left: 100%;
}

.btn-promo:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-promo:active {
    transform: translateY(-4px) scale(1.02);
}

.promo-timer {
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
    animation: timerFadeIn 1s ease-out 1.2s both;
}

@keyframes timerFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.8;
    }
}

.timer-label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
}

.timer-value {
    display: block;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: timerPulse 2s ease-in-out infinite;
}

@keyframes timerPulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Reviews Section */
.reviews {
    background: var(--bg-light);
    padding: 80px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.reviews-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.reviews-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.reviews-track {
    display: flex;
    flex-direction: row;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
    will-change: transform;
}

.reviews-track .review-card {
    min-width: calc((100% - 60px) / 3);
    flex-shrink: 0;
    width: calc((100% - 60px) / 3);
    height: 550px;
}

/* Desktop: 3 cards */
@media (min-width: 1025px) {
    .reviews-track .review-card {
        min-width: calc((100% - 60px) / 3);
        width: calc((100% - 60px) / 3);
    }
}

/* Mobile: 1 card at a time - COMPLETE REDESIGN */
@media (max-width: 1024px) {
    .reviews {
        padding: 60px 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        overflow: hidden;
    }
    
    .reviews .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        box-sizing: border-box;
    }
    
    .reviews .section-title {
        display: block !important;
        visibility: visible !important;
    }
    
    .reviews-slider-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px;
        margin-bottom: 20px;
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
        visibility: visible !important;
        opacity: 1 !important;
        box-sizing: border-box;
    }
    
    .slider-btn {
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50%;
        border: 2px solid var(--primary-color);
        background: white;
        color: var(--primary-color);
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10;
        position: relative;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .slider-btn svg {
        width: 18px !important;
        height: 18px !important;
        display: block !important;
    }
    
    .reviews-slider {
        flex: 1 !important;
        overflow: hidden !important;
        position: relative;
        width: 100% !important;
        min-width: 0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .reviews-track {
        display: flex !important;
        flex-direction: row !important;
        gap: 0 !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateX(0);
    }
    
    .reviews-track .review-card {
        min-width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        box-sizing: border-box !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .review-card {
        padding: 28px 18px 92px !important;
        height: 550px !important;
        min-height: 550px !important;
    }
    
    .review-header {
        min-height: 108px;
    }
    
    .review-text {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }
    
    .review-link {
        left: 18px;
        bottom: 36px;
    }
    
    .review-header,
    .review-text,
    .review-link {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 480px) {
    .reviews-slider-container {
        gap: 8px;
    }
    
    .slider-btn {
        width: 36px;
        height: 36px;
    }
    
    .slider-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .review-card {
        padding: 24px 16px 88px;
        height: 550px !important;
        min-height: 550px !important;
    }
    
    .review-header {
        min-height: 100px;
    }
    
    .review-text {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }
    
    .review-link {
        left: 16px;
        bottom: 32px;
    }
}

.review-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    padding: 40px 40px 96px;
    border-radius: 28px;
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    isolation: isolate;
    display: flex;
    flex-direction: column;
}

.review-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 28px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 2px;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 30%, #f093fb 60%, #4facfe 100%);
    opacity: 0.6;
    transition: all 0.5s ease;
    transform: scaleX(0);
    transform-origin: left;
    border-radius: 28px 28px 0 0;
    z-index: 1;
}

.review-card .gradient-glow {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.review-card:hover {
    transform: scale(1.02);
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.25),
        0 8px 24px rgba(118, 75, 162, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.review-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
    height: 6px;
}

.review-card:hover::after {
    opacity: 1;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
    min-height: 116px;
    position: relative;
    z-index: 1;
    height: auto;
    flex-shrink: 0;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 50%;
    box-shadow: 
        0 4px 16px rgba(102, 126, 234, 0.4),
        0 0 0 3px rgba(102, 126, 234, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.avatar-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    animation: shimmer 4s infinite;
    z-index: 1;
}

.avatar-placeholder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 2;
}

.review-card:hover .avatar-placeholder {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 8px 24px rgba(102, 126, 234, 0.6),
        0 0 0 4px rgba(102, 126, 234, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

[data-theme="dark"] .avatar-placeholder {
    box-shadow: 
        0 4px 20px rgba(102, 126, 234, 0.5),
        0 0 0 3px rgba(102, 126, 234, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .review-card:hover .avatar-placeholder {
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.7),
        0 0 0 4px rgba(102, 126, 234, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        0 0 40px rgba(102, 126, 234, 0.4);
}

.author-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.review-card:hover .author-name {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .author-name {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .review-card:hover .author-name {
    background: linear-gradient(135deg, #667eea 0%, #f093fb 50%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.5));
}

.review-stars {
    display: flex;
    gap: 4px;
}

.star {
    color: #FFD700;
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.4));
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.review-card:hover .star {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.6));
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
}

[data-theme="dark"] .star {
    filter: drop-shadow(0 2px 6px rgba(255, 215, 0, 0.6));
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

[data-theme="dark"] .review-card:hover .star {
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.8));
    text-shadow: 0 0 16px rgba(255, 215, 0, 1);
}

.review-text {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-light);
    margin-top: 14px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    flex: 0 0 auto;
    min-height: 250px;
    height: 250px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 6px;
    overscroll-behavior: contain;
    flex-shrink: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.55) rgba(102, 126, 234, 0.12);
}

.review-text::-webkit-scrollbar {
    width: 8px;
}

.review-text::-webkit-scrollbar-track {
    background: rgba(102, 126, 234, 0.12);
    border-radius: 999px;
}

.review-text::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.75) 0%, rgba(118, 75, 162, 0.75) 100%);
    border-radius: 999px;
    border: 2px solid rgba(248, 249, 255, 0.95);
}

.review-text::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
}

.review-card:hover .review-text {
    color: #374151;
}

[data-theme="dark"] .review-text {
    color: rgba(229, 231, 235, 0.9);
    scrollbar-color: rgba(165, 180, 252, 0.75) rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .review-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .review-text::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(165, 180, 252, 0.85) 0%, rgba(192, 132, 252, 0.85) 100%);
    border-color: rgba(15, 23, 42, 0.9);
}

[data-theme="dark"] .review-text::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(165, 180, 252, 1) 0%, rgba(192, 132, 252, 1) 100%);
}

[data-theme="dark"] .review-card:hover .review-text {
    color: rgba(243, 244, 246, 1);
}

.review-platform {
    margin-bottom: 8px;
}

.platform-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.review-card:hover .platform-badge::before {
    left: 100%;
}

.review-card:hover .platform-badge {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.platform-yandex {
    background: linear-gradient(135deg, #FC3F1D 0%, #FF6B4A 100%);
    color: white;
}

.platform-2gis {
    background: linear-gradient(135deg, #00A3FF 0%, #0088CC 100%);
    color: white;
}

.platform-zoon {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
}

.platform-forumru {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
}

.platform-ostrov {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
}

.platform-rankcraft {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
}

.platform-spravbiz {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
}

.platform-otzyvik {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
}

.platform-sravni {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    color: white;
}

.review-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    left: 40px;
    bottom: 36px;
    z-index: 1;
    padding: 8px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    backdrop-filter: blur(10px);
    align-self: flex-start;
    flex-shrink: 0;
}

.review-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.review-link:hover {
    color: white;
    gap: 12px;
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.review-link:hover::before {
    opacity: 1;
}

.review-link::after {
    content: '→';
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 18px;
}

.review-link:hover::after {
    transform: translateX(6px) scale(1.2);
}

[data-theme="dark"] .review-link {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    color: #a5b4fc;
}

[data-theme="dark"] .review-link:hover {
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
}

.reviews-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Base styles for desktop */
.reviews-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

[data-theme="dark"] .slider-btn {
    background: var(--card-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .slider-btn:hover {
    background: var(--primary-color);
    color: white;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .slider-dots {
        margin-top: 20px;
        gap: 8px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-dot.active {
        width: 10px;
        height: 10px;
    }
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    width: 12px;
    height: 12px;
}

.suppliers-marquee-block {
    margin-top: 34px;
}

.suppliers-marquee-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.suppliers-marquee {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.06), rgba(118, 75, 162, 0.06));
    border: 1px solid rgba(102, 126, 234, 0.14);
    padding: 22px 0;
    cursor: grab;
    touch-action: pan-y;
}

.suppliers-marquee::before,
.suppliers-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 64px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.suppliers-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-light) 0%, rgba(255, 255, 255, 0) 100%);
}

.suppliers-marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-light) 0%, rgba(255, 255, 255, 0) 100%);
}

.suppliers-marquee-track {
    display: flex;
    align-items: center;
    gap: 18px;
    width: max-content;
    --marquee-offset: 0px;
    animation: suppliersScrollLeft 42s linear infinite;
    will-change: transform;
}

.suppliers-marquee.is-dragging {
    cursor: grabbing;
}

.suppliers-marquee.is-dragging .suppliers-marquee-track {
    animation-play-state: paused;
}

.supplier-logo-item {
    width: 190px;
    height: 110px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(102, 126, 234, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 14px 18px;
    user-select: none;
}

.supplier-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: saturate(1.05);
}

@keyframes suppliersScrollLeft {
    from {
        transform: translateX(var(--marquee-offset));
    }
    to {
        transform: translateX(calc(var(--marquee-offset) - 50%));
    }
}

@media (max-width: 768px) {
    .suppliers-marquee-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .suppliers-marquee::before,
    .suppliers-marquee::after {
        width: 36px;
    }

    .supplier-logo-item {
        width: 132px;
        height: 70px;
    }
}

[data-theme="dark"] .suppliers-marquee-title {
    color: var(--text-dark);
}

[data-theme="dark"] .suppliers-marquee {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.12));
    border-color: rgba(165, 180, 252, 0.32);
}

[data-theme="dark"] .suppliers-marquee::before {
    background: linear-gradient(90deg, var(--bg-light) 0%, rgba(15, 23, 42, 0) 100%);
}

[data-theme="dark"] .suppliers-marquee::after {
    background: linear-gradient(270deg, var(--bg-light) 0%, rgba(15, 23, 42, 0) 100%);
}

[data-theme="dark"] .supplier-logo-item {
    background: rgba(15, 23, 42, 0.86);
    border-color: rgba(165, 180, 252, 0.36);
}

@media (prefers-reduced-motion: reduce) {
    .suppliers-marquee-track {
        animation: none;
    }
}

/* Portfolio Video Section - Desktop */
.portfolio-video-section {
    width: 60vw;
    position: relative;
    margin: 80px 0;
    overflow: hidden;
    /* background: #000; */
    left: 50%;
    right: 50%;
    margin-left: -30vw;
    margin-right: -50vw;
    display: block;
}

.portfolio-video-section-secondary {
    margin-top: 56px;
}

.advantages-process-intro {
    max-width: 880px;
    margin: 0 auto 24px;
    text-align: center;
}

.advantages-process-kicker {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: #4f46e5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.advantages-process-title {
    font-size: clamp(24px, 2.8vw, 36px);
    line-height: 1.2;
    color: #111827;
    margin-bottom: 12px;
}

.advantages-process-description {
    max-width: 760px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.65;
    color: #4b5563;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.portfolio-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    transition: transform 0.5s ease;
}

.portfolio-video-section:hover .portfolio-video {
    transform: scale(1.02);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.portfolio-video-section:hover .video-overlay {
    opacity: 0.7;
}

/* Декоративные элементы */
.portfolio-video-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(102, 126, 234, 0.5) 50%,
        transparent 100%
    );
    z-index: 3;
    animation: videoShine 3s infinite;
}

.portfolio-video-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(118, 75, 162, 0.5) 50%,
        transparent 100%
    );
    z-index: 3;
    animation: videoShine 3s infinite 1.5s;
}

@keyframes videoShine {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-controls,
.video-controls:focus-within {
    opacity: 1;
}

.video-control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.video-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-control-btn:active {
    transform: scale(0.95);
}

.video-control-btn svg {
    width: 24px;
    height: 24px;
}

.video-progress-container {
    flex: 1;
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.video-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.video-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.video-progress-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.video-progress-container:hover .video-progress-filled {
    background: linear-gradient(90deg, #7c8ef0 0%, #8a5fb8 100%);
}

.video-time {
    color: white;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    min-width: 100px;
    text-align: right;
}

.video-time-separator {
    opacity: 0.6;
}

.video-social-cta-row {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 4;
}

.video-youtube-cta {
    margin: 0;
    width: fit-content;
    max-width: calc(100% - 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, #2a2e36 0%, #1b1f27 100%);
    color: #eef2ff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    position: relative;
    z-index: 4;
}

.video-youtube-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.video-youtube-cta:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
}

.video-youtube-cta-icon {
    width: 18px;
    height: 18px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    flex-shrink: 0;
}

.video-youtube-cta-icon svg {
    width: 18px;
    height: 13px;
    display: block;
    color: #ff0000;
}

.video-rutube-cta .video-youtube-cta-icon img {
    width: 18px;
    height: 18px;
    display: block;
    border-radius: 3px;
}

.video-youtube-cta-text {
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .portfolio-video-section {
        width: 80vw;
        margin-left: -40vw;
        margin: 60px 0;
    }
    
    .video-controls {
        padding: 15px;
        gap: 12px;
    }
    
    .video-control-btn {
        width: 44px;
        height: 44px;
    }
    
    .video-time {
        font-size: 12px;
        min-width: 80px;
    }

    .video-social-cta-row {
        margin-top: 18px;
    }
}

@media (max-width: 768px) {
    .portfolio-video-section {
        width: 100vw;
        position: relative;
        margin: 80px 0;
        overflow: hidden;
        /* background: #000; */
        left: -4%;
        /* right: 50%; */
        margin-left: -50vw;
        margin-right: -50vw;
        display: block;
    }
    
    .video-container {
        width: 100%;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        border-radius: 0;
    }
    
    .video-controls {
        padding: 12px;
        gap: 10px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    }
    
    .video-control-btn {
        width: 40px;
        height: 40px;
    }
    
    .video-control-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .video-time {
        font-size: 11px;
        min-width: 70px;
    }
    
    .video-progress-container {
        height: 5px;
    }
    
    .portfolio-video-section::before,
    .portfolio-video-section::after {
        display: none;
    }
    
    .portfolio-video-section:hover .portfolio-video {
        transform: none;
    }

    .video-social-cta-row {
        margin-top: 14px;
    }

    .video-youtube-cta {
        max-width: calc(100% - 20px);
        padding: 12px 16px;
        font-size: 14px;
    }

    .video-youtube-cta-icon {
        width: 17px;
        height: 17px;
    }
}

@media (max-width: 480px) {
    .portfolio-video-section {
        margin: 30px 0;
    }
    
    .video-controls {
        padding: 10px;
        gap: 8px;
    }
    
    .video-control-btn {
        width: 36px;
        height: 36px;
    }
    
    .video-control-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .video-time {
        font-size: 10px;
        min-width: 60px;
    }
    
    .video-progress-container {
        height: 4px;
    }

    .video-youtube-cta {
        font-size: 13px;
        padding: 11px 14px;
        gap: 8px;
    }

    .video-youtube-cta-text {
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }
}



[data-theme="dark"] .video-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

[data-theme="dark"] .video-youtube-cta {
    border-color: rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, #1f232b 0%, #131720 100%);
    color: #ffffff;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

[data-theme="dark"] .video-youtube-cta:hover {
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

/* Website Tariffs Section */
.website-tariffs {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, #f0f4ff 50%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.website-tariffs .container {
    max-width: 1800px;
}

.website-tariffs::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s infinite ease-in-out;
}

.website-tariffs::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 25s infinite ease-in-out reverse;
}

.portfolio {
    padding: 110px 0 120px;
    background: radial-gradient(circle at top, rgba(102, 126, 234, 0.08) 0%, transparent 55%),
                radial-gradient(circle at bottom, rgba(118, 75, 162, 0.06) 0%, transparent 55%),
                var(--bg-light);
    position: relative;
    overflow: hidden;
}

.portfolio::before,
.portfolio::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.9;
    pointer-events: none;
}

.portfolio::before {
    top: -220px;
    left: -180px;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.28) 0%, transparent 70%);
}

.portfolio::after {
    bottom: -220px;
    right: -160px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.22) 0%, transparent 70%);
}

.portfolio-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 26px 32px;
    position: relative;
    z-index: 1;
}

.portfolio-site-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 18px;
    border-radius: 26px;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.98) 70%);
    
    border: 1px solid rgba(148, 163, 184, 0.35);
    text-decoration: none;
    color: var(--text-dark);
    overflow: hidden;
    transform: translateY(0) scale(1);
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
                box-shadow 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
                border-color 0.35s ease,
                background 0.35s ease;
}

.portfolio-site-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 220deg,
        rgba(59, 130, 246, 0.15),
        rgba(236, 72, 153, 0.20),
        rgba(56, 189, 248, 0.12),
        rgba(59, 130, 246, 0.15));
    opacity: 0;
    transform: translate3d(0, 20%, 0);
    transition: opacity 0.45s ease, transform 0.45s ease;
    z-index: -1;
}

.portfolio-site-card:hover {
    box-shadow:
        0 26px 70px rgba(30, 64, 175, 0.32),
        0 0 0 1px rgba(129, 140, 248, 0.6);
    border-color: rgba(129, 140, 248, 0.6);
    background: radial-gradient(circle at top, rgba(248, 250, 252, 1) 0%, rgba(241, 245, 249, 1) 70%);
    animation: portfolioPulse 1.1s ease-in-out infinite;
}

.portfolio-site-card:hover::before {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.portfolio-site-logo {
    width: 86px;
    height: 86px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background:
        radial-gradient(circle at 0% 0%, rgba(248, 250, 252, 1) 0%, rgba(226, 232, 240, 1) 40%, rgba(148, 163, 184, 0.12) 100%);
    box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.35),
        0 14px 24px rgba(15, 23, 42, 0.18);
}

.portfolio-site-logo img {
    max-width: 72px;
    max-height: 72px;
    object-fit: contain;
    border-radius: 999px;
}

.portfolio-site-name {
    display: none;
}

@media (max-width: 768px) {
    .portfolio-grid {
        margin-top: 24px;
        margin-inline: -4px;
        padding: 6px 4px 14px;
        display: flex;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .portfolio-grid::-webkit-scrollbar {
        display: none;
    }

    .portfolio-site-card {
        flex: 0 0 150px;
        min-height: 148px;
        padding: 16px 12px;
        border-radius: 20px;
        scroll-snap-align: start;
    }

    .portfolio-site-card:hover {
        animation: none;
    }

    .portfolio-site-logo {
        width: 72px;
        height: 72px;
        margin-bottom: 8px;
    }

    .portfolio-site-logo img {
        max-width: 58px;
        max-height: 58px;
    }
}

@keyframes portfolioPulse {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
    100% {
        transform: translateY(-4px) scale(1.02);
    }
}

.website-tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 48px;
    position: relative;
    z-index: 1;
}

@media (min-width: 1200px) {
    .website-tariffs-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.website-tariff-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
}

.website-tariff-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 32px;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.18) 0%,
        rgba(118, 75, 162, 0.18) 50%,
        rgba(102, 126, 234, 0.18) 100%);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    animation: gradientShift 3s ease infinite;
}

.website-tariff-card:hover::before {
    opacity: 0.35;
}

.website-tariff-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 32px 80px rgba(102, 126, 234, 0.25),
        0 12px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(102, 126, 234, 0.4);
}

.website-tariff-card-featured {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 
        0 24px 64px rgba(102, 126, 234, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 50%, #ffffff 100%);
}

.website-tariff-card-featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.website-tariff-card-featured::before {
    content: 'Популярный';
    position: absolute;
    top: 20px;
    right: 20px;
    
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    z-index: 3;
    box-shadow: 
        0 8px 20px rgba(102, 126, 234, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 28px rgba(102, 126, 234, 0.6);
    }
}

.website-tariff-image {
    width: 100%;
    
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.website-tariff-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.website-tariff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) saturate(1);
}

.website-tariff-card:hover .website-tariff-image img {
    transform: scale(1.08);
    filter: brightness(1.05) saturate(1.1);
}

.website-tariff-content {
    padding: 36px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 2;
}

.website-tariff-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.3;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.website-tariff-card:hover .website-tariff-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.website-tariff-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.7;
    flex: 1;
    font-weight: 500;
}

.website-tariff-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.website-tariff-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
    color: #475569;
    font-weight: 600;
}

[data-theme="dark"] .website-tariff-tag {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.32), rgba(148, 163, 184, 0.18));
    color: #e5e7eb;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.55);
}

.website-tariff-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 28px;
    padding: 20px 24px;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 50%,
        rgba(102, 126, 234, 0.1) 100%);
    background-size: 200% 100%;
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: gradientShift 3s ease infinite;
}

.website-tariff-card:hover .website-tariff-price {
    background-size: 200% 100%;
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
}

.price-from {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.price-amount {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.price-currency {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 600;
}

.website-tariff-details-btn {
    width: 100%;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
}

[data-theme="light"] .website-tariff-details-btn {
    color: #1f2937;
}

[data-theme="light"] .website-tariff-details-btn span {
    color: inherit;
}

.website-tariff-details-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    /* Не белая «пелена» поверх градиента (на светлой теме кнопка казалась белой) */
    background: rgba(102, 126, 234, 0.22);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.website-tariff-details-btn:hover::before {
    width: 300px;
    height: 300px;
}

.website-tariff-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    /* Поддерживаем насыщенный градиент под полупрозрачным слоем */
    background: linear-gradient(135deg, #7c8ef0 0%, #8b5fb8 100%);
}

/* Modal Styles */
.website-tariff-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.website-tariff-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.website-tariff-modal.active .modal-overlay {
    opacity: 1;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 24px 80px rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.website-tariff-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

.modal-tariff-image {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}

.modal-tariff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-tariff-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.modal-tariff-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.modal-tariff-features {
    margin-bottom: 32px;
}

.modal-tariff-features h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.modal-tariff-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.modal-tariff-feature-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: translateX(4px);
}

.modal-tariff-feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 2px;
}

.modal-tariff-feature-text {
    flex: 1;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
}

.modal-tariff-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 16px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.modal-tariff-price .price-amount {
    font-size: 48px;
}

.modal-tariff-action {
    display: flex;
    gap: 16px;
}

.modal-tariff-action .btn-primary {
    flex: 1;
}

[data-theme="dark"] .website-tariffs {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15, 23, 42, 0.95) 50%, var(--bg-dark) 100%);
}

[data-theme="dark"] .website-tariff-card {
    background: linear-gradient(135deg, rgba(30, 30, 46, 0.98) 0%, rgba(20, 20, 35, 0.98) 100%);
    border-color: rgba(102, 126, 234, 0.25);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .website-tariff-card:hover {
    box-shadow: 
        0 32px 80px rgba(102, 126, 234, 0.3),
        0 12px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
}

[data-theme="dark"] .website-tariff-card-featured {
    background: linear-gradient(135deg, rgba(30, 30, 46, 0.98) 0%, rgba(25, 25, 40, 0.98) 50%, rgba(30, 30, 46, 0.98) 100%);
    border-color: rgba(102, 126, 234, 0.4);
}

[data-theme="dark"] .website-tariff-title {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .website-tariff-card:hover .website-tariff-title {
    background: linear-gradient(135deg, #a5b4fc 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .website-tariff-price {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.15) 0%, 
        rgba(118, 75, 162, 0.15) 50%,
        rgba(102, 126, 234, 0.15) 100%);
    border-color: rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] .website-tariff-card:hover .website-tariff-price {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
}

[data-theme="dark"] .portfolio {
    background: radial-gradient(circle at top, rgba(30, 64, 175, 0.6) 0%, transparent 55%),
                radial-gradient(circle at bottom, rgba(76, 29, 149, 0.6) 0%, transparent 55%),
                var(--bg-dark);
}

[data-theme="dark"] .portfolio-site-card {
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.96) 70%);
    border-color: rgba(148, 163, 184, 0.5);
    
}

[data-theme="dark"] .portfolio-site-logo {
    background: radial-gradient(circle at 0% 0%, rgba(30, 64, 175, 0.6) 0%, rgba(15, 23, 42, 1) 60%);
    box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.6),
        0 16px 30px rgba(15, 23, 42, 0.9);
}

[data-theme="dark"] .portfolio-site-name {
    color: #e5e7eb;
}

[data-theme="dark"] .modal-content {
    background: rgba(30, 30, 46, 0.98);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .modal-close {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

[data-theme="dark"] .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
    .website-tariffs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .website-tariffs {
        padding: 80px 0;
    }
    
    .website-tariffs-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 50px;
    }
    
    .website-tariff-card {
        border-radius: 24px;
    }
    
    .website-tariff-image {
        height: 240px;
    }
    
    .website-tariff-content {
        padding: 28px;
    }
    
    .website-tariff-title {
        font-size: 22px;
    }
    
    .price-amount {
        font-size: 32px;
    }
    
    .modal-content {
        max-width: 100%;
        border-radius: 16px;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .modal-tariff-title {
        font-size: 24px;
    }
    
    .modal-tariff-price .price-amount {
        font-size: 36px;
    }
}

[data-theme="dark"] .video-container {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

[data-theme="dark"] .advantages-process-kicker {
    background: rgba(165, 180, 252, 0.16);
    color: #c7d2fe;
}

[data-theme="dark"] .advantages-process-title {
    color: #f3f4f6;
}

[data-theme="dark"] .advantages-process-description {
    color: rgba(226, 232, 240, 0.9);
}

/* Partners Showcase */
.partners-showcase {
    padding: 92px 0 84px;
    background: linear-gradient(180deg, #f5f8ff 0%, #ebf2ff 100%);
    position: relative;
    overflow: hidden;
}

.partners-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(59, 130, 246, 0.14) 0%, transparent 48%),
        radial-gradient(circle at 80% 85%, rgba(16, 185, 129, 0.09) 0%, transparent 42%);
    pointer-events: none;
}

.partners-showcase .container {
    position: relative;
    z-index: 1;
}

.partners-showcase-title {
    text-align: center;
    font-size: clamp(30px, 4.2vw, 52px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 12px;
}

.partners-showcase-subtitle {
    text-align: center;
    font-size: 20px;
    color: rgba(51, 65, 85, 0.92);
    margin-bottom: 34px;
}

.partners-carousel-wrapper {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    gap: 12px;
}

.partners-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.partners-carousel::-webkit-scrollbar {
    display: none;
}

.partners-carousel-track {
    display: flex;
    gap: 16px;
    align-items: center;
    scroll-behavior: smooth;
    padding: 8px 2px 14px;
}

.partner-logo-card {
    width: 118px;
    height: 118px;
    border-radius: 999px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96));
    border: 2px solid rgba(148, 163, 184, 0.46);
    box-shadow:
        0 12px 22px rgba(15, 23, 42, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.72);
    padding: 10px;
}

.partner-logo-card img {
    width: 90px;
    height: 90px;
    border-radius: 999px;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

.partners-carousel-btn {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(255, 255, 255, 0.85);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.partners-carousel-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(100, 116, 139, 0.62);
}

.partners-showcase-stats {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.partners-stat-item {
    text-align: center;
}

.partners-stat-value {
    margin: 0 0 4px;
    font-size: clamp(24px, 2.5vw, 40px);
    font-weight: 800;
    color: #0f172a;
}

.partners-stat-label {
    margin: 0;
    font-size: 15px;
    color: rgba(71, 85, 105, 0.94);
}

@media (max-width: 1024px) {
    .partners-showcase {
        padding: 72px 0;
    }

    .partners-showcase-subtitle {
        font-size: 17px;
    }

    .partner-logo-card {
        width: 102px;
        height: 102px;
    }

    .partner-logo-card img {
        width: 78px;
        height: 78px;
    }
}

@media (max-width: 768px) {
    .partners-showcase {
        padding: 60px 0;
    }

    .partners-showcase-title {
        font-size: 34px;
    }

    .partners-showcase-subtitle {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .partners-carousel-wrapper {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 6px;
    }

    .partners-carousel-btn {
        width: 38px;
        height: 38px;
    }

    .partner-logo-card {
        width: 86px;
        height: 86px;
        padding: 8px;
    }

    .partner-logo-card img {
        width: 64px;
        height: 64px;
    }

    .partners-showcase-stats {
        margin-top: 20px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 10px;
    }

    .partners-stat-value {
        font-size: 26px;
    }

    .partners-stat-label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .partners-showcase-title {
        font-size: 28px;
    }

    .partners-carousel-track {
        gap: 10px;
    }
}

[data-theme="dark"] .partners-showcase {
    background: linear-gradient(180deg, #0b1220 0%, #080d18 100%);
}

[data-theme="dark"] .partners-showcase-title {
    color: #f8fafc;
}

[data-theme="dark"] .partners-showcase-subtitle {
    color: rgba(226, 232, 240, 0.9);
}

[data-theme="dark"] .partner-logo-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.7));
    border-color: rgba(148, 163, 184, 0.58);
}

[data-theme="dark"] .partners-carousel-btn {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(15, 23, 42, 0.56);
    color: #f8fafc;
}

[data-theme="dark"] .partners-carousel-btn:hover {
    background: rgba(30, 41, 59, 0.84);
    border-color: rgba(255, 255, 255, 0.58);
}

[data-theme="dark"] .partners-stat-value {
    color: #ffffff;
}

[data-theme="dark"] .partners-stat-label {
    color: rgba(203, 213, 225, 0.9);
}

/* Contacts Section */
.contacts {
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 50%, #f8f9ff 100%);
    position: relative;
    overflow: visible;
}

.contacts::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: contactsOrb 15s infinite ease-in-out;
    pointer-events: none !important;
    z-index: 0;
}

.contacts::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: contactsOrb2 12s infinite ease-in-out;
    pointer-events: none !important;
    z-index: 0;
}

@keyframes contactsOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-50px, 50px) scale(1.1);
    }
}

@keyframes contactsOrb2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, -50px) scale(1.1);
    }
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 5 !important;
    pointer-events: auto !important;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: white;
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 1 !important;
    visibility: visible !important;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.6s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-8px) translateX(8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.contact-item:hover .contact-icon::before {
    width: 100px;
    height: 100px;
}

.contact-item:hover .contact-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.contact-item:nth-child(1) .contact-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-item:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.contact-item:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.contact-item:nth-child(4) .contact-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.15) rotate(5deg);
    }
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.contact-item:hover .contact-details h3 {
    color: var(--primary-color);
}

.contact-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-link:hover::after {
    width: 100%;
}

.contact-text {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 6px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-text {
    color: var(--text-dark);
}

.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
    border: 2px solid rgba(102, 126, 234, 0.1);
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10 !important;
}

.contact-form-wrapper::before {
    pointer-events: none !important;
}

.contact-form {
    pointer-events: auto !important;
    position: relative;
    z-index: 11 !important;
}

.form-group {
    pointer-events: auto !important;
    position: relative;
    z-index: 12 !important;
}

.form-group.form-recaptcha-v3-wrap {
    margin-top: 4px;
}

.form-recaptcha-v3-legal {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
    color: #64748b;
    text-align: center;
}

.form-recaptcha-v3-legal a {
    color: #5b21b6;
    text-decoration: underline;
}

[data-theme="dark"] .form-recaptcha-v3-legal {
    color: #94a3b8;
}

[data-theme="dark"] .form-recaptcha-v3-legal a {
    color: #c4b5fd;
}

.form-recaptcha-v3-note {
    margin: 8px 0 0;
    font-size: 11px;
    line-height: 1.45;
    color: #64748b;
    text-align: center;
}

[data-theme="dark"] .form-recaptcha-v3-note {
    color: #94a3b8;
}

/* Значок reCAPTCHA v3 (углу viewport) — поверх модального окна */
.grecaptcha-badge {
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10100 !important;
}

.form-recaptcha-hint {
    margin: 0;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    text-align: left;
    max-width: 100%;
}

.form-recaptcha-hint code {
    font-size: 12px;
    word-break: break-all;
}

.form-recaptcha-hint a {
    color: #5b21b6;
    text-decoration: underline;
}

[data-theme="dark"] .form-recaptcha-hint {
    color: #fde68a;
    background: rgba(120, 53, 15, 0.35);
    border-color: #b45309;
}

[data-theme="dark"] .form-recaptcha-hint a {
    color: #c4b5fd;
}

.form-recaptcha-hint--error {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

[data-theme="dark"] .form-recaptcha-hint--error {
    color: #fecaca;
    background: rgba(127, 29, 29, 0.35);
    border-color: #b91c1c;
}

.form-input,
.form-textarea {
    pointer-events: auto !important;
    position: relative;
    z-index: 13 !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

.btn-form {
    pointer-events: auto !important;
    position: relative;
    z-index: 13 !important;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.contact-form-wrapper:hover::before {
    transform: scaleX(1);
}

.form-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--text-dark);
    position: relative;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 16px;
    background: #f9fafb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    color: var(--text-dark);
}

.form-input::placeholder {
    color: #9ca3af;
    transition: opacity 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.1), 0 8px 24px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.form-input:focus::placeholder {
    opacity: 0.5;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-close:hover {
    background: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--text-dark);
}

.modal-content {
    width: 100%;
}

.modal-form-wrapper {
    margin: 0;
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Checkbox Styles */
.form-consents {
    margin-top: 4px;
}

.form-consents-title {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}

.form-consents .checkbox-group {
    margin-bottom: 14px;
}

.form-consents .checkbox-group:last-child {
    margin-bottom: 0;
}

.form-consents .checkbox-text a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-consents .checkbox-text a:hover {
    opacity: 0.85;
}

[data-theme="dark"] .form-consents-title {
    color: var(--text-light);
}

.btn-form:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
}

.checkbox-group {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.form-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    background: #f9fafb;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.1s ease;
}

.form-checkbox:checked + .checkbox-custom {
    background: var(--gradient-1);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.form-checkbox:checked + .checkbox-custom::after {
    transform: rotate(45deg) scale(1);
    transition: transform 0.1s ease;
}

.checkbox-label:hover .checkbox-custom {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
}

.checkbox-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

.form-checkbox:checked ~ .checkbox-text {
    color: var(--text-dark);
}

.form-checkbox:required:invalid + .checkbox-custom {
    border-color: #ef4444;
}

.btn-form {
    width: 100%;
    justify-content: center;
    padding: 18px 32px;
    font-size: 17px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-form::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-form:hover::after {
    width: 400px;
    height: 400px;
}

.btn-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
}

/* Footer */
.footer {
    position: relative;
    padding: 90px 0 40px;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow: hidden;
}

.footer::before,
.footer::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.9;
    pointer-events: none;
}

.footer::before {
    top: -220px;
    left: -180px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.35) 0%, transparent 70%);
}

.footer::after {
    bottom: -220px;
    right: -180px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
}

.footer-panel {
    position: relative;
    border-radius: 32px;
    padding: 52px 40px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #e5edff 45%, #eef2ff 100%);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(18px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 28px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo-img {
    width: 122px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: none;
    border-radius: 6px;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.footer-logo-light {
    display: block;
}

[data-theme="light"] .footer-logo-light,
:root .footer-logo-light {
    display: block;
    opacity: 1;
    filter: none;
    border-radius: 0;
}

[data-theme="light"] .footer-logo-dark,
:root .footer-logo-dark {
    display: none;
}

[data-theme="dark"] .footer-logo-light {
    display: none;
}

[data-theme="dark"] .footer-logo-dark {
    display: block;
    opacity: 0.96;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.footer-logo-text h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.footer-logo-text p {
    font-size: 12px;
    opacity: 0.7;
}

.footer-tagline {
    font-size: 14px;
    color: #4b5563;
    max-width: 260px;
    margin-bottom: 22px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-1);
    transform: translateY(-4px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: none;
}

.social-icon-light {
    display: block;
}

.social-icon-dark {
    display: none;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.45);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    opacity: 0.9;
    font-size: 13px;
}

.footer-developer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-developer span {
    color: #a5b4fc;
    font-weight: 600;
}

/* Footer — dark theme overrides */
[data-theme="dark"] .footer-panel {
    background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.75), rgba(15, 23, 42, 0.98));
    border-color: rgba(148, 163, 184, 0.4);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.95);
}

[data-theme="dark"] .footer-tagline {
    color: rgba(226, 232, 240, 0.85);
}

[data-theme="dark"] .social-link {
    background: white;
    color: white;
}

[data-theme="dark"] .social-icon-light {
    display: none;
}

[data-theme="dark"] .social-icon-dark {
    display: block;
}

[data-theme="dark"] .footer-cta-text {
    color: rgba(226, 232, 240, 0.9);
}

[data-theme="dark"] .footer-cta-subtext {
    color: rgba(148, 163, 184, 0.9);
}

[data-theme="dark"] .footer-panel .footer-cta-btn {
    background: var(--gradient-1);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.footer-column-cta {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-cta-text {
    font-size: 14px;
    color: #334155;
}

.footer-cta-btn {
    width: 100%;
    justify-content: center;
}

.footer-cta-subtext {
    font-size: 12px;
    color: #6b7280;
}

/* Специальный стиль кнопки в подвале для светлой темы */
.footer-panel .footer-cta-btn {
    background: #eef2ff;
    color: #111827;
    white-space: nowrap;
    border: 1px solid rgba(129, 140, 248, 0.6);
    box-shadow: 0 10px 30px rgba(148, 163, 184, 0.45);
}

.footer-panel .footer-cta-btn::before {
    display: none;
}

.footer-panel .footer-cta-btn:hover {
    background: var(--gradient-1);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(129, 140, 248, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-up.is-visible,
.fade-in-left.is-visible,
.fade-in-right.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.fade-in-up.is-visible {
    transform: translateY(0) !important;
}

.fade-in-left.is-visible,
.fade-in-right.is-visible {
    transform: translateX(0) !important;
}

.fade-in-left {
    opacity: 1;
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    opacity: 1;
    animation: fadeInRight 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        height: 400px;
        min-height: 400px;
    }
    
    .product-showcase {
        overflow: visible;
    }
    
    .showcase-card-1,
    .showcase-card-2,
    .showcase-card-3 {
        position: absolute;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 1 !important;
    }
    
    .showcase-card-1 {
        top: 25% !important;
        right: 5% !important;
        left: auto !important;
        transform: translate(0, 0) !important;
        animation: cardFloat1Mobile 12s infinite ease-in-out;
    }
    
    .showcase-card-2 {
        top: 55% !important;
        left: 5% !important;
        right: auto !important;
        transform: translate(0, 0) !important;
        animation: cardFloat2Mobile 14s infinite ease-in-out;
    }
    
    .showcase-card-3 {
        top: 75% !important;
        right: 8% !important;
        left: auto !important;
        transform: translate(0, 0) !important;
        animation: cardFloat3Mobile 16s infinite ease-in-out;
    }
    
    @keyframes cardFloat1Mobile {
        0%, 100% {
            transform: translate(0, 0) rotate(0deg) scale(1);
        }
        50% {
            transform: translate(-40px, 30px) rotate(10deg) scale(1.05);
        }
    }
    
    @keyframes cardFloat2Mobile {
        0%, 100% {
            transform: translate(0, 0) rotate(0deg) scale(1);
        }
        50% {
            transform: translate(50px, -30px) rotate(-10deg) scale(1.05);
        }
    }
    
    @keyframes cardFloat3Mobile {
        0%, 100% {
            transform: translate(0, 0) rotate(0deg) scale(1);
        }
        50% {
            transform: translate(-30px, -40px) rotate(12deg) scale(1.05);
        }
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .stats-visualization {
        flex-direction: row;
        gap: 30px;
        flex-wrap: wrap;
        justify-content: space-evenly;
        padding: 30px;
    }
    
    .stat-circle {
        width: 140px;
        height: 140px;
    }
    
    .stat-value {
        font-size: 26px;
    }
    
    .stat-text {
        font-size: 11px;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 50px;
        justify-items: center;
    }
    
    .contact-item {
        padding: 24px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    .contact-form-wrapper {
        padding: 40px 30px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    .form-title {
        font-size: 28px;
    }
    
    .promo-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .promo-badge {
        position: relative;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 20px;
    }
    
    .promo-title {
        font-size: 36px;
        align-items: center;
    }
    
    .title-highlight {
        font-size: 44px;
    }
    
    .promo-description {
        font-size: 18px;
    }
    
    .promo-features {
        align-items: center;
    }
    
    .btn-promo {
        width: 100%;
        max-width: 300px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guarantee-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .guarantee-icon-wrapper {
        display: flex;
        justify-content: center;
    }
    
    .hero-visual {
        height: 400px;
        min-height: 400px;
    }
    
    .product-showcase {
        overflow: visible;
    }
    
    .showcase-card-1,
    .showcase-card-2,
    .showcase-card-3 {
        position: absolute;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 1 !important;
    }
    
    .showcase-card-1 {
        top: 20% !important;
        left: 10% !important;
        transform: translate(0, 0) !important;
        animation: cardOrbit1Mobile 10s infinite ease-in-out;
    }
    
    .showcase-card-2 {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        animation: cardOrbit2Mobile 12s infinite ease-in-out;
    }
    
    .showcase-card-3 {
        top: 75% !important;
        right: 10% !important;
        left: auto !important;
        transform: translate(0, 0) !important;
        animation: cardOrbit3Mobile 14s infinite ease-in-out;
    }
    
    @keyframes cardOrbit1Mobile {
        0%, 100% {
            transform: translate(0, 0) rotate(0deg) scale(1);
        }
        50% {
            transform: translate(20px, 30px) rotate(5deg) scale(1.05);
        }
    }
    
    @keyframes cardOrbit2Mobile {
        0%, 100% {
            transform: translate(-50%, -50%) rotate(0deg) scale(1);
        }
        50% {
            transform: translate(calc(-50% + 15px), calc(-50% + 20px)) rotate(-5deg) scale(1.05);
        }
    }
    
    @keyframes cardOrbit3Mobile {
        0%, 100% {
            transform: translate(0, 0) rotate(0deg) scale(1);
        }
        50% {
            transform: translate(-20px, -30px) rotate(5deg) scale(1.05);
        }
    }
}

@media (max-width: 768px) {
    .header .container {
        padding-left: 20px;
        padding-right: 16px;
    }

    .header-top-content {
        flex-direction: row;
        gap: 15px;
        align-items: center;
    }
    
    .nav {
        display: none;
    }
    
    .header-actions {
        display: flex;
        gap: 12px;
    }
    
    .header-actions .phone,
    .header-actions .header-cta-group {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-section {
        flex: 1;
    }
    
    .logo-title {
        font-size: 20px;
    }
    
    .logo-subtitle {
        font-size: 11px;
    }
    
    .logo-img {
        width: 100px;
        height: 40px;
    }
    
    .logo-wrap {
        --planet-x: 27%;
        --planet-y: 48%;
    }

    /* Чуть крупнее на мобильных, чтобы "земля" была заметнее */
    .logo-planet-overlay {
        width: 30px;
        height: 30px;
        min-width: 26px;
        min-height: 26px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-stats-wrapper {
        padding: 24px;
    }
    
    .stat-item {
        width: 100%;
        padding: 16px;
    }
    
    .stat-content {
        flex-wrap: wrap;
    }
    
    .hero-features {
        gap: 12px;
    }
    
    .hero-feature-item {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 10px 16px;
    }
    
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-slider {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-card {
        padding: 30px 20px;
    }
    
    .guarantee-block {
        padding: 40px 30px;
        border-radius: 24px;
    }
    
    .guarantee-title {
        font-size: 28px;
    }
    
    .guarantee-description {
        font-size: 16px;
    }
    
    .guarantee-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .guarantee-icon {
        width: 100px;
        height: 100px;
    }
    
    .guarantee-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .slogan-section {
        padding: 100px 0;
        min-height: 500px;
    }
    
    .slogan-content {
        padding: 60px 30px;
    }
    
    .quote-mark {
        font-size: 180px;
    }
    
    .quote-open {
        top: -60px;
        left: -30px;
    }
    
    .quote-close {
        bottom: -80px;
        right: -30px;
    }
    
    .slogan-main {
        font-size: 18px;
        line-height: 1.8;
        margin-bottom: 40px;
    }
    
    .slogan-brand {
        font-size: 24px;
        letter-spacing: 2px;
    }
    
    .slogan-divider {
        margin: 40px auto;
    }
}

@media (max-width: 480px) {
    .slogan-section {
        padding: 80px 0;
        min-height: 400px;
    }
    
    .slogan-content {
        padding: 50px 20px;
    }
    
    .quote-mark {
        font-size: 120px;
    }
    
    .quote-open {
        top: -40px;
        left: -15px;
    }
    
    .quote-close {
        bottom: -60px;
        right: -15px;
    }
    
    .slogan-main {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 35px;
    }
    
    .slogan-brand {
        font-size: 18px;
        letter-spacing: 1.5px;
    }
    
    .slogan-divider {
        margin: 35px auto;
        width: 60px;
    }
    
    .hero-visual {
        height: 350px;
        min-height: 350px;
    }
    
    .showcase-card-1,
    .showcase-card-2,
    .showcase-card-3 {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .marketplace-icon {
        width: 70px !important;
        height: 70px !important;
    }
    
    .showcase-card-1 {
        top: 15% !important;
        left: 5% !important;
    }
    
    .showcase-card-2 {
        top: 50% !important;
        left: 50% !important;
    }
    
    .showcase-card-3 {
        top: 80% !important;
        right: 5% !important;
        left: auto !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-stats-wrapper {
        padding: 20px;
    }
    
    .stat-item {
        padding: 14px;
        gap: 12px;
    }
    
    .stat-icon {
        width: 44px;
        height: 44px;
    }
    
    .stat-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .stat-content {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-feature-item {
        width: 100%;
        justify-content: center;
    }
    
    .promo-title {
        font-size: 32px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .contact-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .contact-details {
        flex: 1;
        text-align: center;
    }
    
    .contact-details h3,
    .contact-text,
    .contact-link {
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    
    .contact-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .promo-title {
        font-size: 28px;
    }
    
    .title-highlight {
        font-size: 36px;
    }
    
    .promo-description {
        font-size: 16px;
    }
    
    .promo-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .btn-promo {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .promo-feature-item {
        font-size: 14px;
    }
    
    .modal-container {
        max-width: 100%;
        padding: 0;
    }
    
    .modal-form-wrapper {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
    
    .form-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .form-input {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .contacts-content {
        gap: 40px;
    }
    
    .stats-visualization {
        flex-direction: column;
        gap: 25px;
        padding: 30px 20px;
    }
    
    .stat-circle {
        width: 100px;
        height: 100px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-text {
        font-size: 10px;
    }
    
    .stat-ring {
        width: 100%;
        height: 100%;
    }
    
    .about-image-placeholder {
        height: 400px;
    }
}

/* Scroll Animations */
[data-aos] {
    opacity: 1 !important;
    transform: translateY(0);
    transition: all 0.6s ease-out;
    visibility: visible !important;
}

[data-aos].aos-animate {
    opacity: 1 !important;
    transform: translateY(0);
    visibility: visible !important;
}

/* ===== Fixes from QA screenshots ===== */

/* Make website tariff illustrations visually smaller and cleaner */
.website-tariff-image {
    height: clamp(160px, 20vw, 220px);
}

.website-tariff-image img {
    object-fit: contain;
    padding: 14px;
}

/* Soften heavy shadows/animations in stats and contacts */
.stat-icon {
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.2);
}

.stat-item:hover .stat-icon {
    transform: scale(1.05);
    box-shadow: 0 5px 14px rgba(102, 126, 234, 0.26);
}

.contact-icon {
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.24);
}

.contact-item:hover .contact-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(102, 126, 234, 0.3);
}

/* Footer columns: reduce wrapping issues in "Информация" */
.footer-content {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.partners-stat-value {
    line-height: 1.15;
    white-space: nowrap;
}

/* Mobile fixes */
@media (max-width: 768px) {
    .hero-visual {
        height: 320px;
        min-height: 320px;
    }

    .product-showcase {
        overflow: visible;
        min-height: 100%;
    }

    .marketplace-icon {
        width: 64px !important;
        height: 64px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .showcase-card-1 {
        top: 12% !important;
        left: 8% !important;
        right: auto !important;
        animation: none !important;
        transform: translate(0, 0) !important;
    }

    .showcase-card-2 {
        top: 48% !important;
        left: 50% !important;
        right: auto !important;
        animation: none !important;
        transform: translate(-50%, -50%) !important;
    }

    .showcase-card-3 {
        top: 78% !important;
        right: 8% !important;
        left: auto !important;
        z-index: 4 !important;
        animation: none !important;
        transform: translate(0, 0) !important;
    }

    /* Ensure Yandex Market icon is always visible on mobile */
    .yandex-icon,
    .yandex-market-logo {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .website-tariff-image {
        height: 170px;
    }

    .website-tariff-image img {
        padding: 18px;
    }

    .review-card {
        border-radius: 24px;
    }

    .review-card::before,
    .review-card::after {
        border-radius: 24px;
    }

    .contact-item:hover {
        transform: translateY(-4px);
    }

    /* Keep contacts section aligned on small screens */
    .contacts .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .contacts-content {
        grid-template-columns: 1fr;
        justify-items: stretch;
        gap: 28px;
    }

    .contact-info,
    .contact-form-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .contact-item {
        width: 100%;
        margin: 0;
    }

    .footer-panel {
        padding: 36px 20px 28px;
        border-radius: 24px;
    }

    .footer-content {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .website-tariff-image {
        height: 150px;
    }

    .contacts .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* In-page form notification */
.site-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.94);
    min-width: 320px;
    max-width: min(92vw, 640px);
    padding: 22px 28px;
    border-radius: 18px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 12000;
}

.site-toast.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.site-toast-success {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.site-toast-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

@media (max-width: 480px) {
    .site-toast {
        min-width: 280px;
        max-width: 92vw;
        padding: 18px 16px;
        border-radius: 14px;
        font-size: 18px;
    }
}

/* Final mobile override: keep all marketplace icons visible */
@media (max-width: 768px) {
    .hero-visual {
        height: 220px !important;
        min-height: 220px !important;
        display: flex;
        align-items: center;
    }

    .hero-visual .product-showcase {
        width: 100%;
        height: 100%;
        min-height: 220px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        padding-right: 0 !important;
        overflow: visible;
    }

    .hero-visual .showcase-card-1,
    .hero-visual .showcase-card-2,
    .hero-visual .showcase-card-3 {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        transform: none !important;
        animation: none !important;
        margin: 0 !important;
        flex: 0 0 auto;
    }

    .hero-visual .marketplace-icon {
        position: relative !important;
        width: 76px !important;
        height: 76px !important;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        height: 200px !important;
        min-height: 200px !important;
    }

    .hero-visual .product-showcase {
        min-height: 200px;
        gap: 12px;
    }

    .hero-visual .marketplace-icon {
        width: 66px !important;
        height: 66px !important;
    }
}

/* Registration modal */
.registration-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.registration-modal.active {
    display: flex;
}

.registration-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(6px);
}

.registration-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 620px;
    max-height: 92vh;
    overflow-y: auto;
    /* Без transform: иначе iframe reCAPTCHA часто не рисуется внутри модалки */
    opacity: 0;
    transition: opacity 0.28s ease;
}

.registration-modal.active .registration-modal__dialog {
    opacity: 1;
}

.registration-modal__form-wrapper {
    margin: 0;
}

.registration-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
    transition: transform 0.2s ease, background 0.2s ease;
}

.registration-modal__close:hover {
    transform: rotate(90deg);
    background: #fff;
}

[data-theme="dark"] .registration-modal__close {
    background: rgba(15, 23, 42, 0.9);
    color: #f9fafb;
}

[data-theme="dark"] .registration-modal__close:hover {
    background: #111827;
}

@media (max-width: 768px) {
    .registration-modal {
        padding: 12px;
    }

    .registration-modal__dialog {
        max-height: 95vh;
    }

    .registration-modal__form-wrapper {
        padding: 24px 18px;
    }
}

/* ——— Оплата тарифов (Точка.API) ——— */
.pricing-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.pricing-hero-btn-pay,
.pricing-plan-cta-pay,
.website-tariff-pay-btn,
.btn-pay-tariff {
    cursor: pointer;
    border: none;
    font: inherit;
}

.pricing-hero-btn-pay {
    background: rgba(255, 255, 255, 0.92);
    color: #0f766e;
    border: 1px solid rgba(15, 118, 110, 0.25);
}

.pricing-hero-standard .pricing-hero-btn-pay {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.pricing-plan-cta-pay {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 600;
    text-align: center;
}

.website-tariff-pay-btn {
    width: 100%;
    margin-top: 10px;
}

.modal-tariff-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-pay-tariff.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

[data-theme="dark"] .pricing-plan-cta-pay {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
}
