* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --sprite-green: #6CA641;
    --sprite-light: #C6F29D;
    --sprite-lime: #A3D977;
    --sprite-yellow: #E6C229;
    --dark-bg: #0A1418;
    --darker-bg: #071013;
    --dark-card: #101F24;
    --text-light: #E1F0F5;
    --text-muted: #7A8F95;
}

body {
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Анимированный фон */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 10% 20%, rgba(108, 166, 65, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 60%, rgba(163, 217, 119, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 50% 80%, rgba(230, 194, 41, 0.02) 0%, transparent 30%),
        var(--darker-bg);
    background-size: 120% 120%, 120% 120%, 150% 150%, auto;
    animation: backgroundMove 18s ease-in-out infinite;
}

@keyframes backgroundMove {
    0% { background-position: 0% 0%, 100% 60%, 50% 80%, 0 0; }
    50% { background-position: 20% 10%, 80% 50%, 40% 70%, 0 0; }
    100% { background-position: 0% 0%, 100% 60%, 50% 80%, 0 0; }
}

/* Стили для шапки */
header {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 20, 24, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(108, 166, 65, 0.15);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

header.loaded {
    transform: translateY(0);
    opacity: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sprite-green);
    z-index: 1001;
    transform: translateX(-20px);
    opacity: 0;
    transition: transform 0.5s ease 0.2s, opacity 0.5s ease 0.2s;
}

header.loaded .logo {
    transform: translateX(0);
    opacity: 1;
}

.logo i {
    color: var(--sprite-lime);
    transition: all 0.3s ease;
    display: inline-block;
}

.logo:hover i {
    transform: rotate(360deg) scale(1.2);
    color: var(--sprite-green);
}

.logo:hover span {
    color: var(--sprite-lime);
    transition: color 0.3s ease;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
    z-index: 1001;
    transition: all 0.3s ease;
}

.nav-toggle:focus {
    outline: 2px solid var(--sprite-green);
    outline-offset: 2px;
}

nav {
    display: flex;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav li {
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

header.loaded nav li {
    transform: translateY(0);
    opacity: 1;
}

nav li:nth-child(1) { transition-delay: 0.3s; }
nav li:nth-child(2) { transition-delay: 0.35s; }
nav li:nth-child(3) { transition-delay: 0.4s; }
nav li:nth-child(4) { transition-delay: 0.45s; }
nav li:nth-child(5) { transition-delay: 0.5s; }
nav li:nth-child(6) { transition-delay: 0.55s; }
nav li:nth-child(7) { transition-delay: 0.6s; }

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--sprite-lime);
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--sprite-green), var(--sprite-lime));
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--sprite-green), var(--sprite-lime));
    color: var(--dark-bg);
    border: none;
    padding: 0.7rem 1.3rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(108, 166, 65, 0.3);
    font-size: 0.9rem;
    transform: translateX(20px);
    opacity: 0;
    transition: transform 0.5s ease 0.7s, opacity 0.5s ease 0.7s, all 0.3s ease;
    position: relative;
    overflow: hidden;
}

header.loaded .cta-button {
    transform: translateX(0);
    opacity: 1;
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(108, 166, 65, 0.5);
    background: linear-gradient(135deg, var(--sprite-lime), var(--sprite-green));
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Герой секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpFadeIn 0.8s ease 0.3s forwards;
}

.hero h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--sprite-lime);
    font-weight: 500;
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpFadeIn 0.8s ease 0.5s forwards;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpFadeIn 0.8s ease 0.7s forwards;
}

.hero .cta-button {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpFadeIn 0.8s ease 0.9s forwards;
}

.gradient-text {
    background: linear-gradient(135deg, var(--sprite-green), var(--sprite-lime), var(--sprite-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

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

.floating-elements {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--sprite-lime), transparent);
    opacity: 0.08;
    animation: float 6s ease-in-out infinite;
    transform: scale(0);
    animation: scaleIn 1s ease 1s forwards, float 6s ease-in-out 2s infinite;
}

.floating-element:nth-child(1) {
    width: 150px;
    height: 150px;
    top: 0;
    right: 0;
    animation-delay: 0s, 2s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    bottom: 80px;
    right: 120px;
    animation-delay: 0.2s, 2.2s;
}

.floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 120px;
    right: 40px;
    animation-delay: 0.4s, 2.4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-15px) rotate(5deg) scale(1.05); }
}

@keyframes scaleIn {
    to {
        transform: scale(1);
    }
}

@keyframes slideUpFadeIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Анимация подпрыгивания */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Пульсация */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Шиммер эффект */
@keyframes shimmer2 {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Статистика */
.stats {
    padding: 60px 5%;
    text-align: center;
    background: var(--darker-bg);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    color: transparent;
    background: linear-gradient(90deg, #c6f29d, #a3d977, #e6c229, #c6f29d);
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 300% 100%;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.section-title.visible {
    transform: translateY(0);
    opacity: 1;
    animation: shimmer 6s linear infinite;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--sprite-green);
    border-radius: 2px;
}

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

@keyframes rippleExpand {
    to { transform: scale(2.2); opacity: 0; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(108, 166, 65, 0.1);
    transform: translateY(30px);
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 166, 65, 0.05), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(108, 166, 65, 0.3);
    border-color: rgba(108, 166, 65, 0.4);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--sprite-lime);
    transition: all 0.4s ease;
    display: inline-block;
}

.stat-card:hover .stat-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--sprite-green);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--sprite-light);
}

.stat-text {
    color: var(--text-muted);
    font-size: 1rem;
}

.stat-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sprite-lime);
    text-decoration: none;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.stat-link:hover {
    color: var(--sprite-green);
    transform: translateX(5px);
}

/* Секция услуг */
.services {
    padding: 80px 5%;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.service-card {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(108, 166, 65, 0.1);
    position: relative;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease, all 0.3s ease;
}

.service-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sprite-green), var(--sprite-lime));
    transition: width 0.4s ease;
}

.service-card:hover::before {
    width: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(108, 166, 65, 0.3);
    border-color: rgba(108, 166, 65, 0.4);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--sprite-lime);
    transition: all 0.4s ease;
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--sprite-green);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--sprite-light);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Секция видео */
.videos {
    padding: 80px 5%;
    text-align: center;
    background: var(--darker-bg);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.video-card {
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(108, 166, 65, 0.1);
    transform: translateY(30px);
    opacity: 0;
    max-width: 30rem;
    transition: transform 0.5s ease, opacity 0.5s ease, all 0.3s ease;
}

.video-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(108, 166, 65, 0.3);
    border-color: rgba(108, 166, 65, 0.4);
}

.video-thumbnail {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--sprite-green), var(--sprite-lime));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

.video-card:hover .play-button {
    background: rgba(108, 166, 65, 0.95);
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 8px 20px rgba(108, 166, 65, 0.5);
}

.play-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(108, 166, 65, 0.3);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.video-card:hover .play-button::before {
    opacity: 1;
    transform: scale(1.5);
}

.video-content {
    padding: 1.2rem;
}

.video-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--sprite-light);
}

.video-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.open-on-youtube {
    display: inline-block;
    margin-top: 8px;
    color: var(--sprite-lime);
    font-size: 0.9rem;
    text-decoration: none;
}
.open-on-youtube:hover { text-decoration: underline; }

/* Секция отзывов */
.testimonials {
    padding: 80px 5%;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.testimonial-card {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(108, 166, 65, 0.1);
    text-align: left;
    transform: translateY(30px);
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(108, 166, 65, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(108, 166, 65, 0.3);
    border-color: rgba(108, 166, 65, 0.4);
}

/* Админские отзывы: красная обводка при наведении */
.testimonial-card.admin:hover {
    border-color: rgba(255, 59, 48, 0.85);
    box-shadow: 0 15px 30px rgba(255, 59, 48, 0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid var(--sprite-green);
    transition: all 0.4s ease;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1);
    border-color: var(--sprite-lime);
    box-shadow: 0 5px 15px rgba(108, 166, 65, 0.4);
}

.testimonial-info h4 {
    color: var(--sprite-light);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.testimonial-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-rating {
    color: var(--sprite-yellow);
    font-size: 1rem;
}

/* Секция товаров - ИСПРАВЛЕННЫЕ АНИМАЦИИ */
.products {
    padding: 80px 5%;
    text-align: center;
    background: var(--darker-bg);
}

/* Фильтр категорий в товарах */
.products-filter {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.products-filter .chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 100%;
}
.products-filter .chip {
    background: linear-gradient(135deg, var(--sprite-green), var(--sprite-lime));
    color: var(--dark-bg);
    border: none;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 6px 18px rgba(108,166,65,.25), inset 0 1px 0 rgba(255,255,255,.2);
    transition: transform .2s ease, box-shadow .25s ease, background .25s ease, opacity .25s ease;
    white-space: nowrap;
}
.products-filter .chip:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(108,166,65,.35); }
.products-filter .chip:active { transform: translateY(0); }
.products-filter .chip.is-muted { background: linear-gradient(180deg, #102026, #0e1b20); color: var(--text-light); border: 1px solid rgba(163,217,119,.18); box-shadow: none; }
.products-filter .chip.is-active { background: linear-gradient(135deg, var(--sprite-lime), var(--sprite-green)); box-shadow: 0 10px 26px rgba(108,166,65,.38); }

.products-empty {
    color: var(--text-muted);
    margin-top: 1.2rem;
}

/* Анимации при смене категории */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.product-card {
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(108, 166, 65, 0.1);
    cursor: pointer;
    position: relative;
    transform: translateY(50px) scale(0.95);
    opacity: 0;
    animation: productCardEntrance 0.8s cubic-bezier(.26,1.48,.58,.99) forwards;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: 
        transform 0.7s cubic-bezier(.26,1.48,.58,.99),
        box-shadow 0.6s cubic-bezier(.25,1.5,.6,1),
        border-color 0.45s cubic-bezier(.22,1,.36,1);
    will-change: transform, box-shadow;
    display: flex;
    flex-direction: column;
}

.product-card.visible {
    opacity: 1;
}

.product-card:hover {
    transform: 
        translateY(-2px)
        scale(1.01)
        rotateX(2deg)
        rotateY(1deg);
    box-shadow: 
        0 22px 50px 8px rgba(108, 166, 65, 0.13),
        0 20px 45px rgba(0, 0, 0, 0.34);
    border-color: rgba(108, 166, 65, 0.32);
    z-index: 10;
    animation-play-state: running, paused;
}

@keyframes productCardSpringBack {
    0% { transform: translateY(-8px) scale(1.03) rotateX(2deg) rotateY(1deg); }
    44% { transform: translateY(5px) scale(0.98) rotateX(-1.2deg) rotateY(-0.8deg); }
    62% { transform: translateY(-3px) scale(1.01) rotateX(1.2deg) rotateY(0.8deg); }
    82% { transform: translateY(2px) scale(0.99) rotateX(-.7deg) rotateY(-.5deg); }
    100% { transform: translateY(0) scale(1) rotateX(0) rotateY(0); }
}

.product-card.leaving {
    animation: productCardSpringBack 0.7s cubic-bezier(.26,1.48,.58,.99);
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes cardFloatSmooth {
    0%, 100% { 
        transform: 
            translateY(0px) 
            rotateX(0.5deg) 
            rotateY(0.3deg) 
            scale(1);
        box-shadow: 
            0 5px 15px rgba(0, 0, 0, 0.2),
            0 0 0 rgba(108, 166, 65, 0);
    }
    25% { 
        transform: 
            translateY(-4px) 
            rotateX(0.7deg) 
            rotateY(0.5deg) 
            scale(1.002);
        box-shadow: 
            0 8px 20px rgba(0, 0, 0, 0.25),
            0 0 20px rgba(108, 166, 65, 0.05);
    }
    50% { 
        transform: 
            translateY(-2px) 
            rotateX(0.4deg) 
            rotateY(0.2deg) 
            scale(1.001);
        box-shadow: 
            0 6px 18px rgba(0, 0, 0, 0.22),
            0 0 15px rgba(163, 217, 119, 0.03);
    }
    75% { 
        transform: 
            translateY(-3px) 
            rotateX(0.6deg) 
            rotateY(0.4deg) 
            scale(1.0015);
        box-shadow: 
            0 7px 19px rgba(0, 0, 0, 0.23),
            0 0 18px rgba(108, 166, 65, 0.04);
    }
}

.product-card.pop {
    animation: cardPopSmooth 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes cardPopSmooth {
    0% { 
        transform: 
            translateY(0) 
            scale(1) 
            rotateX(0);
        box-shadow: 
            0 12px 25px rgba(0,0,0,0.4);
    }
    30% { 
        transform: 
            translateY(-12px) 
            scale(1.05) 
            rotateX(-2deg);
        box-shadow: 
            0 20px 35px rgba(108, 166, 65, 0.25);
    }
    70% { 
        transform: 
            translateY(-4px) 
            scale(1.02) 
            rotateX(1deg);
        box-shadow: 
            0 15px 30px rgba(108, 166, 65, 0.2);
    }
    100% { 
        transform: 
            translateY(-6px) 
            scale(1.03) 
            rotateX(0);
        box-shadow: 
            0 18px 35px rgba(108, 166, 65, 0.22);
    }
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, 
        rgba(108, 166, 65, 0.08) 0%, 
        rgba(163, 217, 119, 0.04) 50%, 
        transparent 100%);
    opacity: 0;
    transition: none;
    pointer-events: none;
    z-index: 0;
}

.product-card:hover::after {
    opacity: 0;
}

.product-image {
    height: 160px;
    background: linear-gradient(135deg, var(--sprite-green), var(--sprite-lime));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    color: var(--dark-bg);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    opacity: 1;
    transition: none;
}

.product-card:hover .product-image {
    transform: scale(1.02);
    opacity: 1;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.15), 
        transparent);
    transition: none;
}

.product-card:hover .product-image::before {
    left: 100%;
    transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-image img,
.product-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: none;
    transform: scale(1);
}

.product-card:hover .product-image img {
    transform: scale(1.08) rotate(0.5deg);
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-video-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: none;
    z-index: 2;
    transform: scale(0);
    opacity: 0;
}

.product-card:hover .product-video-button {
    transform: scale(1);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transition-delay: 0.1s;
}

.product-video-button:hover {
    background: rgba(108, 166, 65, 0.9);
    transform: scale(1.15) !important;
}

.product-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    background: var(--dark-card);
    transform: translateY(0);
    opacity: 1;
    transition: none;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card:hover .product-content {
    transform: translateY(-3px);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--sprite-light);
    opacity: 1;
    transition: none;
}

.product-card:hover h3 {
    color: var(--sprite-lime);
    opacity: 1;
    transition: color 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 1;
    transition: none;
}

.product-card:hover p {
    color: var(--text-light);
    opacity: 1;
    transition: color 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0.8rem 0;
    color: #ade629;
    position: relative;
    display: inline-block; /* подчеркнут только текст цены */
    opacity: 1;
    transition: none;
    align-self: center; /* центрировать цену в карточке */
}

.product-card:hover .product-price {
    transform: scale(1.05);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-price::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ade629;
    transition: none;
}

.product-card:hover .product-price::after {
    width: 100%;
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card .cta-button {
    transform: translateY(0);
    opacity: 1;
    position: relative;
    overflow: hidden;
    transition: none;
    display: block;        /* перенос на новую строку */
    width: 100%;           /* на всю ширину карточки */
    margin-top: auto;      /* всегда внизу карточки */
    margin-bottom: 0;
}

.product-card:hover .cta-button {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 166, 65, 0.4);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card .cta-button::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: none;
}

.product-card .cta-button:hover::before {
    left: 100%;
    transition: left 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Секция контактов */
.contact {
    padding: 80px 5%;
    text-align: center;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.contact-info {
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    padding: 0.8rem;
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid rgba(108, 166, 65, 0.1);
    transition: all 0.3s ease;
    transform: translateX(-30px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease, all 0.3s ease;
}

.contact-item.visible {
    transform: translateX(0);
    opacity: 1;
}

.contact-item:hover {
    border-color: rgba(108, 166, 65, 0.25);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.3rem;
    margin-right: 0.8rem;
    color: var(--sprite-lime);
}

.telegram-cta {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(108, 166, 65, 0.15);
    text-align: center;
    transform: translateX(30px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.telegram-cta.visible {
    transform: translateX(0);
    opacity: 1;
}

.telegram-cta h3 {
    color: var(--sprite-light);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.telegram-cta p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0088cc;
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.3rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.telegram-button::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;
}

.telegram-button:hover::before {
    left: 100%;
}

.telegram-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5);
    background: #0099dd;
}

.telegram-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Футер */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 2.5rem 5%;
    text-align: center;
    border-top: 1px solid rgba(108, 166, 65, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sprite-green), var(--sprite-lime));
    color: var(--dark-bg);
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(0);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease;
}

.social-link:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.social-link.visible {
    transform: scale(1);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.15) rotate(360deg);
    box-shadow: 0 8px 20px rgba(108, 166, 65, 0.5);
    background: linear-gradient(135deg, var(--sprite-lime), var(--sprite-green));
}

.social-link:active {
    transform: translateY(-3px) scale(1.1);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    transform: translateY(20px);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.copyright.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 16, 19, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 15px;
    animation: modalFadeIn 0.3s ease;
}

/* Поверх обычных модалок */
#image-modal { z-index: 3001; }
#video-modal { z-index: 3002; }

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

/* Анимация плавного закрытия */
@keyframes modalFadeOut {
    from { opacity: 1; backdrop-filter: blur(10px); }
    to   { opacity: 0; backdrop-filter: blur(0px); }
}

@keyframes modalSlideOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to   { opacity: 0; transform: translateY(30px) scale(0.96); }
}

.modal-content {
    background: var(--dark-card);
    border-radius: 16px;
    max-width: 500px;
    min-width: 30rem;
    width: 100%;
    padding: 1.5rem;
    position: relative;
    border: 1px solid rgba(108, 166, 65, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Состояние закрытия */
.modal.closing {
    animation: modalFadeOut 0.25s ease forwards;
}
.modal.closing .modal-content {
    animation: modalSlideOut 0.25s ease forwards;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.close-modal:hover {
    color: var(--sprite-lime);
}

.modal-image {
    height: 160px;
    background: linear-gradient(135deg, var(--sprite-green), var(--sprite-lime));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    color: var(--dark-bg);
    margin-bottom: 1.2rem;
    position: relative;
    overflow: hidden;
}

.modal-image img,
.modal-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-video-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.modal-video-button:hover {
    background: rgba(108, 166, 65, 0.9);
    transform: scale(1.1);
}

/* Превью-картинки в модалке товара */
.modal-thumbs {
    display: flex;
    gap: 8px;
    margin: 10px 0 0;
    flex-wrap: wrap;
}
.modal-thumb {
    width: 64px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(108, 166, 65, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.modal-thumb:hover { transform: translateY(-2px); border-color: rgba(163,217,119,0.45); }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-thumb.active { outline: 2px solid var(--sprite-lime); }

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--sprite-light);
}

.modal-price {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0.8rem 0;
    color: #ade629;
}

/* Увеличенный размер модалки видео */
#video-modal .modal-content {
    width: 90vw;
    max-width: 1200px;
    max-height: 90vh;
}

#video-modal #video-player {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

/* Модалка просмотра изображений */
#image-modal .modal-content {
    width: 90vw;
    max-width: 1200px;
    max-height: 90vh;
    z-index: 3001;
}

/* Бутылочка Sprite в герое */
.sprite-bottle-container {
    position: absolute;
    right: 8%;
    bottom: 6%;
    width: 140px;
    height: 320px;
    pointer-events: auto;
    user-select: none;
    filter: drop-shadow(0 12px 28px rgba(0,0,0,.35));
    transform: translateZ(0);
}

.sprite-bottle {
    width: 100%;
    height: 100%;
    display: block;
}

.sprite-bottle-container:hover .bottle-shine {
    animation: bottleShineSlide 1.4s ease-in-out;
}

@keyframes bottleShineSlide {
    0%   { stroke-opacity: 0; }
    20%  { stroke-opacity: 0.9; }
    100% { stroke-opacity: 0; transform: translateX(8px); }
}

.bubbles-layer {
    position: absolute;
    left: 50%;
    bottom: 62%; /* у горлышка */
    width: 1px; height: 1px;
    pointer-events: none;
    overflow: visible;
}

.soda-bubble {
    position: absolute;
    left: 0; bottom: 0;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198,242,157,0.95) 0%, rgba(163,217,119,0.7) 50%, rgba(255,255,255,0) 70%);
    opacity: 0.95;
    animation: fizz 900ms ease-out forwards;
    mix-blend-mode: screen;
}

@keyframes fizz {
    0%   { transform: translate(0, 0) scale(0.6); opacity: 0.9; filter: blur(0); }
    60%  { transform: translate(var(--dx, 20px), -60px) scale(1); opacity: 0.7; }
    100% { transform: translate(calc(var(--dx, 20px) * 1.4), -120px) scale(1.1); opacity: 0; filter: blur(1px); }
}

@media (max-width: 992px) {
    .sprite-bottle-container { display: none; }
}

#image-modal .image-viewer {
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
}

#image-modal .image-viewer img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.modal-description {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.modal-features {
    margin: 1.2rem 0;
}

.modal-features h4 {
    color: var(--sprite-lime);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.modal-features ul {
    list-style-type: none;
    padding-left: 0;
}

.modal-features li {
    padding: 0.25rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.3rem;
    font-size: 0.9rem;
}

.modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sprite-green);
    font-weight: bold;
}

/* Кнопка в модальном окне: делаем видимой, без сдвигов и в пределах контейнера */
.modal .buy-button {
    display: block;
    width: 100%;
    margin-top: 0.8rem;
    position: relative;
    z-index: 1;
    opacity: 1;            /* не наследовать 0 из .cta-button */
    transform: none;       /* убрать translateX/translateY */
}

/* Instant render mode to avoid layout jumps on filter change */
.products-grid.instant .product-card {
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
}

/* Адаптивность для мобильных */
@media (max-width: 992px) {
    .floating-elements {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .products-grid, .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .products-filter { margin-top: .8rem; }
    .products-filter .chips { gap: 8px; }
    .products-filter .chip { padding: .5rem .9rem; font-size: .9rem; }
}

@media (max-width: 768px) {
    header {
        padding: 0.8rem 4%;
        flex-wrap: wrap;
        backdrop-filter: blur(15px);
    }
    
    .nav-toggle {
        display: block;
        order: 2;
        font-size: 1.8rem;
        padding: 0.5rem;
        border-radius: 8px;
        transition: background 0.3s ease;
    }
    
    .nav-toggle:active {
        background: rgba(108, 166, 65, 0.1);
    }
    
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(16, 31, 36, 0.98);
        backdrop-filter: blur(20px);
        padding: 5rem 1rem 2rem;
        transform: translateX(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        z-index: 999;
        flex-direction: column;
        overflow-y: auto;
    }
    
    nav.active {
        transform: translateX(0);
        opacity: 1;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    nav li {
        width: 100%;
        text-align: center;
        opacity: 1;
        transform: translateY(0);
    }
    
    nav a {
        display: block;
        padding: 1.2rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(108, 166, 65, 0.1);
        transition: background 0.3s ease;
    }
    
    nav a:active {
        background: rgba(108, 166, 65, 0.1);
    }
    
    header .cta-button {
        order: 3;
        margin-left: auto;
        padding: 0.65rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 80px 4% 60px;
        min-height: 90vh;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .services-grid, .videos-grid, .testimonials-grid, .stats-grid { 
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Горизонтальная прокрутка для карточек товаров на мобильных */
    .products-grid { 
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        gap: 1.2rem;
        padding: 0.5rem 1rem 2rem 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* Убираем scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .products-grid::-webkit-scrollbar {
        display: none;
    }
    
    .products-grid .product-card {
        min-width: 320px;
        max-width: 320px;
        height: 350px;
        scroll-snap-align: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        /* Упрощенные анимации для мобильных */
        transform: none !important;
        opacity: 1 !important;
        animation: none !important;
        transform-style: flat;
        perspective: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        will-change: auto;
    }
    
    .products-grid .products-empty {
        width: 100%;
        min-width: 100%;
        text-align: center;
    }
    
    .products-grid .product-image {
        height: 120px;
        flex-shrink: 0;
        border-radius: 16px 16px 0 0;
        /* Упрощаем анимации */
        transform-style: flat;
        transition: none !important;
    }
    
    .products-grid .product-image::before,
    .products-grid .product-image img {
        transition: none !important;
        transform: none !important;
    }
    
    .products-grid .product-content {
        padding: 0.8rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: none !important;
    }
    
    .products-grid .product-card h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        line-height: 1.3;
        font-weight: 600;
        color: var(--sprite-light);
        transition: none !important;
    }
    
    .products-grid .product-card p {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        color: var(--text-muted);
        transition: none !important;
    }
    
    .products-grid .product-price {
        font-size: 1.1rem;
        font-weight: 700;
        margin: 0.2rem 0;
        flex-shrink: 0;
        color: #ade629;
        text-align: center;
        transition: none !important;
    }
    
    .products-grid .product-card .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        margin-top: 0.2rem;
        flex-shrink: 0;
        border-radius: 10px;
        font-weight: 600;
        width: 100% !important;
        margin-bottom: 0 !important;
        transition: opacity 0.2s ease !important;
    }
    
    .stats {
        padding: 40px 4%;
    }
    
    .testimonials, .products, .contact {
        padding: 50px 4%;
    }
    
    .stat-card, .service-card, .testimonial-card {
        padding: 1.5rem 1.2rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .product-card { 
        padding: 0; 
    }
    
    .product-card:hover { 
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.3); 
    }
    
    /* Упрощенный hover для карточек в горизонтальной прокрутке */
    .products-grid .product-card:hover {
        transform: none !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
    }
    
    .product-price { 
        font-size: 1.3rem; 
    }
    
    /* Общие стили НЕ применяются к карточкам в горизонтальной прокрутке */
    /* Специфичные стили для .products-grid .product-card .cta-button определены выше */
    
    .modal-content { 
        max-width: 96vw;
        min-width: 90vw;
        padding: 1.2rem;
    }
    
    .modal-content h3 {
        font-size: 1.2rem;
    }
    
    .close-modal {
        font-size: 1.5rem;
        top: 0.8rem;
        right: 0.8rem;
    }
    
    .telegram-cta {
        padding: 1.5rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    footer {
        padding: 2rem 4%;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.7rem 3%;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-toggle {
        font-size: 1.5rem;
    }
    
    header .cta-button {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .hero {
        padding: 70px 3% 40px;
        min-height: 85vh;
    }
    
    .hero h1 {
        font-size: 1.7rem;
        line-height: 1.2;
    }
    
    .hero h2 {
        font-size: 1.05rem;
        margin-bottom: 0.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
    
    .hero .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }
    
    .section-title::after {
        width: 60px;
        height: 2px;
    }
    
    .stats, .testimonials, .products, .contact {
        padding: 35px 3%;
    }
    
    .stats-grid {
        gap: 0.8rem;
    }
    
    .stat-card, .service-card, .video-card, .product-card, .testimonial-card { 
        padding: 1.2rem 0.9rem; 
    }
    
    .stat-icon {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-text {
        font-size: 0.9rem;
    }
    
    .stat-link {
        font-size: 0.85rem;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-info h4 {
        font-size: 1rem;
    }
    
    .testimonial-info p {
        font-size: 0.85rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .modal-content { 
        padding: 1rem;
        border-radius: 12px;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .modal-price {
        font-size: 1.4rem;
    }
    
    #video-modal .modal-content, #image-modal .modal-content { 
        width: 96vw; 
        max-height: 85vh; 
    }
    
    .modal-thumb {
        width: 50px;
        height: 40px;
    }
    
    .telegram-cta {
        padding: 1.2rem;
    }
    
    .telegram-cta h3 {
        font-size: 1.1rem;
    }
    
    .telegram-cta p {
        font-size: 0.9rem;
    }
    
    .telegram-button {
        width: 100%;
        justify-content: center;
    }
    
    footer {
        padding: 1.5rem 3%;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero h2 {
        font-size: 0.95rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    .modal-content {
        padding: 0.8rem;
    }
}

/* Отключаем тяжёлые наведения и анимации на тач-устройствах */
@media (hover: none), (pointer: coarse) {
    .product-card:hover { 
        transform: none; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.22); 
    }
    
    /* Специальное правило для карточек в горизонтальной прокрутке */
    .products-grid .product-card:hover {
        transform: none !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .cta-button:hover { 
        transform: none; 
    }
    
    .service-card:hover,
    .video-card:hover,
    .testimonial-card:hover,
    .stat-card:hover {
        transform: none;
    }
    
    .social-link:hover {
        transform: none;
    }
    
    /* Улучшаем видимость кликабельных элементов на тач-устройствах */
    .product-card:active {
        transform: scale(0.98);
    }
    
    /* Специальное состояние для карточек в горизонтальной прокрутке */
    .products-grid .product-card:active {
        opacity: 0.9 !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }
    
    .products-grid .product-card .cta-button:active {
        opacity: 0.8 !important;
    }
    
    .cta-button:active {
        transform: scale(0.95);
    }
}

/* Улучшения для landscape режима на мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 4% 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    nav {
        padding: 3rem 1rem 1rem;
    }
}

/* Поддержка prefers-reduced-motion: минимальные анимации */
@media (prefers-reduced-motion: reduce) {
    * { 
        animation-duration: 0.01ms !important; 
        animation-iteration-count: 1 !important; 
        transition-duration: 0.01ms !important; 
        scroll-behavior: auto !important; 
    }
}

/* Дополнительные оптимизации для performance */
@media (max-width: 768px) {
    /* Оптимизация анимаций для слабых устройств */
    .bg-animation {
        animation: none;
    }
    
    /* Упрощение теней для лучшей производительности */
    .product-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .stat-card, .testimonial-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}

/* Улучшение читаемости текста на маленьких экранах */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    
    .contact-item,
    .telegram-cta p,
    .modal-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}