/* ========================================
   CSS Variables & Reset
   ======================================== */

:root {
    /* Modern Color Palette - Cyan Neon Theme */
    --primary-color: #0EA5E4;
    --primary-dark: #0c8bc4;
    --primary-light: #1bb5f5;
    --secondary-color: #00a8cc;
    --accent-color: #7b2cbf;
    --accent-light: #9d4edd;
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(14, 165, 228, 0.15);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.18);
    --shadow-glow: 0 0 20px rgba(14, 165, 228, 0.4);
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(14, 165, 228, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(123, 44, 191, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========================================
   Container & Layout
   ======================================== */

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

/* ========================================
   Header
   ======================================== */

.header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 32px rgba(14, 165, 228, 0.2);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 30px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} */
.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 56px;
    width: auto;
    transition: var(--transition-bounce);
    filter: drop-shadow(0 4px 8px rgba(14, 165, 228, 0.3));
}

.logo-image:hover {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(14, 165, 228, 0.5));
}

/* Старые стили можно удалить или оставить закомментированными */

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
    padding: 8px 16px;
    transition: var(--transition);
    border-radius: 8px;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    border-radius: 8px;
    transition: var(--transition);
    z-index: -1;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link.active {
    box-shadow: var(--shadow-glow);
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-phone {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 12px;
    transition: var(--transition-bounce);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.contact-phone:hover {
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-glow);
    border-color: transparent;
}

.contact-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-medium);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
}

.social-link:hover {
    color: white;
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-glow);
    border-color: transparent;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link svg {
    position: relative;
    z-index: 1;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span { display:block; }

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    background: linear-gradient(135deg, #0EA5E4 0%, #00a8cc 50%, #7b2cbf 100%);
    color: white;
    padding: 120px 0;
    overflow: hidden;
    animation: gradientShift 15s ease infinite;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

/* ========================================
   Scroll Animations
   ======================================== */

.animate-ready {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition-bounce);
    font-size: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    background: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 36px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 36px rgba(255, 255, 255, 0.4);
}

.btn-small {
    padding: 10px 24px;
    font-size: 14px;
}

/* ========================================
   About Section
   ======================================== */

.about {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-slow);
}

.about-content:hover {
    box-shadow: 0 16px 48px rgba(14, 165, 228, 0.3);
    transform: translateY(-6px);
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out both;
}

.about-text:nth-child(2) {
    animation-delay: 0.2s;
}

/* ========================================
   Stats Section (Chess Pattern)
   ======================================== */

.stats {
    padding: 80px 0;
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    padding: 40px;
    border-radius: 24px;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition-slow);
}

.stat-item:hover::before {
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% {
        top: -50%;
        left: -50%;
    }
    100% {
        top: 150%;
        left: 150%;
    }
}

.stat-number-item {
    background: linear-gradient(135deg, #0EA5E4, #00a8cc, #1bb5f5);
    background-size: 200% 200%;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: gradientMove 8s ease infinite;
    box-shadow: 0 8px 32px rgba(14, 165, 228, 0.4);
}

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

.stat-number {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.95;
}

.stat-text-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
}

.stat-text-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-medium);
    position: relative;
    z-index: 1;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(14, 165, 228, 0.3);
}

/* ========================================
   Services Section
   ======================================== */

.services {
    padding: 80px 0;
    background: transparent;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 2px;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        width: 80px;
        opacity: 1;
    }
    50% {
        width: 120px;
        opacity: 0.8;
    }
}

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

.service-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 48px rgba(14, 165, 228, 0.3);
    transform: translateY(-10px) scale(1.03);
    border-color: rgba(14, 165, 228, 0.4);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.service-icon-img {
    width: 250px;
    height: 150px;
    object-fit: contain;
    display: inline-block;
    transition: var(--transition-slow);
    filter: drop-shadow(0 4px 12px rgba(14, 165, 228, 0.3));
}

.service-card:hover .service-icon-img {
    transform: scale(1.1) translateY(-5px);
    filter: drop-shadow(0 8px 24px rgba(14, 165, 228, 0.5));
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ========================================
   Testimonials Section
   ======================================== */

.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    position: relative;
    transition: var(--transition-slow);
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 228, 0.05), rgba(0, 212, 255, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 16px 48px rgba(14, 165, 228, 0.3);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(14, 165, 228, 0.4);
}

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

.testimonial-quote {
    font-size: 80px;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: Georgia, serif;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 25px;
    margin-top: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(14, 165, 228, 0.4);
    transition: var(--transition-bounce);
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(14, 165, 228, 0.6);
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.author-role {
    font-size: 14px;
    color: var(--text-light);
}

/* ========================================
   Product Ribbon
   ======================================== */

.product-ribbon {
    padding: 80px 0;
    background: transparent;
}

.ribbon-wrapper {
    position: relative;
    margin-top: 40px;
}

.ribbon-container {
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 40px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-light);
    cursor: grab;
}

.ribbon-container:active {
    cursor: grabbing;
}

/* Custom scrollbar for webkit browsers */
.ribbon-container::-webkit-scrollbar {
    height: 8px;
}

.ribbon-container::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.ribbon-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.ribbon-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.ribbon-track {
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
}

.ribbon-track:hover,
.ribbon-container:hover .ribbon-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Navigation buttons for desktop */
.ribbon-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-bounce);
    z-index: 10;
    box-shadow: var(--glass-shadow);
    overflow: hidden;
}

.ribbon-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    border-radius: 50%;
}

.ribbon-nav svg {
    position: relative;
    z-index: 1;
}

.ribbon-nav:hover {
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
    transform: translateY(-50%) scale(1.15);
}

.ribbon-nav:hover::before {
    opacity: 1;
}

.ribbon-nav-left {
    left: -24px;
}

.ribbon-nav-right {
    right: -24px;
}

.ribbon-nav svg {
    width: 24px;
    height: 24px;
}

.product-item {
    flex: 0 0 280px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition-slow);
    cursor: pointer;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.product-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 165, 228, 0.1), rgba(0, 212, 255, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.product-item:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 48px rgba(14, 165, 228, 0.3);
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(14, 165, 228, 0.4);
}

.product-item:hover::after {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 180px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-slow);
    position: relative;
    z-index: 1;
}

.product-item:hover .product-image {
    transform: scale(1.08);
}

.product-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.product-item:hover .product-name {
    color: var(--primary-color);
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
}

/* ========================================
   CTA Section
   ======================================== */

.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0EA5E4 0%, #00a8cc 50%, #7b2cbf 100%);
    background-size: 200% 200%;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: gradientMove 10s ease infinite;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta .btn {
    position: relative;
    z-index: 2;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(14, 165, 228, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo-image {
    height: 56px;
    width: auto;
}

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

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links li,
.footer-contacts li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contacts a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover,
.footer-contacts a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* ========================================
   Page Header
   ======================================== */

.page-header {
    background: linear-gradient(135deg, #0EA5E4 0%, #00a8cc 50%, #7b2cbf 100%);
    background-size: 200% 200%;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: gradientMove 10s ease infinite;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-header p {
    font-size: 20px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* ========================================
   Catalog Page
   ======================================== */

.catalog {
    padding: 80px 0;
}

.catalog-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: transparent;
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

.filter-btn:hover::before,
.filter-btn.active::before {
    opacity: 1;
}

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

.catalog-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.catalog-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 165, 228, 0.05), rgba(0, 212, 255, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.catalog-item:hover {
    border-color: rgba(14, 165, 228, 0.5);
    box-shadow: 0 16px 48px rgba(14, 165, 228, 0.3);
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.9);
}

.catalog-item:hover::before {
    opacity: 1;
}

.catalog-item-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.catalog-item h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.catalog-item:hover h3 {
    color: var(--primary-color);
}

.catalog-description {
    font-size: 13px;
    color: var(--text-medium);
    margin-bottom: auto;
    line-height: 1.5;
    min-height: 60px;
}

.catalog-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 15px;
}

.catalog-price span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.catalog-item-image {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.catalog-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-slow);
}

.catalog-item:hover .catalog-item-image img {
    transform: scale(1.08);
}

.catalog-item-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.catalog-item-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.catalog-item-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.catalog-item-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.catalog-item-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
}

.catalog-item-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    box-shadow: 0 8px 24px rgba(14, 165, 228, 0.5);
}

/* ========================================
   Contacts Page
   ======================================== */

.contacts-section {
    padding: 80px 0;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-intro,
.contact-form-wrapper p {
    color: var(--text-medium);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition-slow);
    box-shadow: var(--glass-shadow);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 36px rgba(14, 165, 228, 0.25);
    transform: translateX(8px) scale(1.02);
    border-color: rgba(14, 165, 228, 0.4);
}

.method-icon {
    font-size: 36px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    color: var(--text-medium);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-method:hover .method-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Telegram contact method */
.contact-method[href*="t.me"]:hover .method-icon {
    background: #0088cc;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

/* WhatsApp contact method */
.contact-method[href*="wa.me"]:hover .method-icon {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Email contact method */
.contact-method[href*="mailto"]:hover .method-icon {
    background: #ea4335;
    color: white;
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.3);
}

.method-title {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.method-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-hours {
    padding: 25px;
    background: linear-gradient(135deg, #0EA5E4, #00a8cc, #1bb5f5);
    background-size: 200% 200%;
    border-radius: 16px;
    color: white;
    box-shadow: 0 8px 32px rgba(14, 165, 228, 0.4);
    animation: gradientMove 8s ease infinite;
    transition: var(--transition-slow);
}

.contact-hours:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(14, 165, 228, 0.5);
}

.contact-hours h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-hours p {
    margin-bottom: 5px;
    opacity: 0.95;
}

.contact-note {
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}

/* ========================================
   Contact Form
   ======================================== */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

/* Form row for side-by-side fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Time input specific styles */
input[type="time"] {
    position: relative;
}

input[type="time"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

/* Safari time input fix */
input[type="time"]::-webkit-datetime-edit-text {
    color: var(--text-dark);
}

input[type="time"]::-webkit-datetime-edit-hour-field,
input[type="time"]::-webkit-datetime-edit-minute-field {
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(14, 165, 228, 0.15), 0 4px 16px rgba(14, 165, 228, 0.25);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-privacy {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 10px;
}

/* ========================================
   Map Section
   ======================================== */

.map-section {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.map-description {
    color: var(--text-medium);
    margin-bottom: 40px;
    font-size: 18px;
}

.map-placeholder {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.map-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.map-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 12px;
    filter: drop-shadow(0 4px 12px rgba(14, 165, 228, 0.2));
    transition: var(--transition-slow);
}

.map-image:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 8px 24px rgba(14, 165, 228, 0.3));
}

.map-placeholder p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-title::after {
        width: 60px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Ensure mobile order: number -> text -> number -> text */
    .stats-grid > *:nth-child(1) { order: 1; }
    .stats-grid > *:nth-child(2) { order: 2; }
    .stats-grid > *:nth-child(3) { order: 4; }
    .stats-grid > *:nth-child(4) { order: 3; }
    
    .about-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .nav { 
        display: none;
    }
    
    /* Stack form fields on mobile */
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* мобильная шапка: показываем компактные иконки контактов */
    .header-actions { display:flex; align-items:center; gap: 8px; flex-wrap: nowrap; }
    .header-contacts { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
    .header-contacts .contact-phone { display: none; }
    .header-contacts .contact-social { display: flex; gap: 8px; }
    .social-link { width: 32px; height: 32px; }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .services-grid,
    .testimonials-grid,
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* центрируем блок с логотипом в футере на мобильных */
    .footer-logo {
        justify-content: center;
    }
    
    /* Hide navigation buttons on mobile */
    .ribbon-nav {
        display: none;
    }
    
    /* Product ribbon on mobile */
    .ribbon-container {
        cursor: default;
    }
    
    .ribbon-container:active {
        cursor: default;
    }
    
    .product-item {
        flex: 0 0 240px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    /* компактный логотип на совсем узких экранах */
    .logo-image {
        height: 50px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-title::after {
        width: 50px;
        height: 3px;
    }
    
    .about-content {
        padding: 20px;
        border-radius: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

/* ========================================
   Cart Button
   ======================================== */

.cart-button {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-bounce);
    color: var(--text-medium);
    overflow: visible;
}

.cart-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    border-radius: 12px;
}

.cart-button svg {
    position: relative;
    z-index: 1;
}

.cart-button:hover {
    color: white;
    transform: translateY(-2px) scale(1.1);
    box-shadow: var(--shadow-glow);
    border-color: transparent;
}

.cart-button:hover::before {
    opacity: 1;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.6);
    border: 2px solid white;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ========================================
   Cart Modal
   ======================================== */

.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    padding: 20px;
}

.cart-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(14, 165, 228, 0.35);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cart-modal-header {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.cart-close {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-close:hover {
    color: var(--text-dark);
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-medium);
}

.cart-empty-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(14, 165, 228, 0.2);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.quantity-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    min-width: 50px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: #e74c3c;
}

.cart-modal-footer {
    padding: 25px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.cart-total-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
}

/* ========================================
   Product Detail Page
   ======================================== */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-medium);
    font-weight: 500;
    margin-bottom: 30px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-color);
}

.product-detail {
    padding: 80px 0;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.product-thumbnail {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--primary-color);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.product-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-short-desc {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 30px;
}

.product-price-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 30px;
}

.product-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
}

.price-period {
    font-size: 18px;
    color: var(--text-light);
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.product-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.product-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-add-to-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: white;
}

.btn-add-to-cart:hover {
    background: var(--primary-dark);
}

.product-note {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #fff3cd;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
}

.product-note svg {
    flex-shrink: 0;
    color: #ffc107;
}

.product-note p {
    margin: 0;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
}

.product-description {
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-slow);
}

.product-description:hover {
    box-shadow: 0 12px 40px rgba(14, 165, 228, 0.25);
    transform: translateY(-4px);
}

.product-description h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.product-description p,
.product-description ul,
.product-description li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-medium);
}

.product-description ul {
    padding-left: 25px;
}

.product-description li {
    margin-bottom: 10px;
}

/* ========================================
   Checkout Page
   ======================================== */

.checkout-section {
    padding: 80px 0;
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-note {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #e3f2fd;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 10px;
}

.checkout-note svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.checkout-note p {
    margin: 0;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
}

.checkout-summary {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-slow);
}

.checkout-summary:hover {
    box-shadow: 0 12px 40px rgba(14, 165, 228, 0.3);
    transform: translateY(-4px);
}

.checkout-summary h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.checkout-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.checkout-item:hover {
    background: rgba(14, 165, 228, 0.06);
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.checkout-item-info {
    flex: 1;
}

.checkout-item-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.checkout-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 2px solid var(--border-color);
    font-size: 18px;
    font-weight: 600;
}

.checkout-total-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
}

.checkout-summary-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 15px;
    line-height: 1.5;
}

/* ========================================
   Responsive Additions
   ======================================== */

@media (max-width: 992px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-button {
        display: flex;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .product-price {
        font-size: 32px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
}

