/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
    scroll-behavior: smooth;
}

:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --cyan-500: #06b6d4;
    --cyan-400: #22d3ee;
    --purple-500: #a855f7;
    --green-500: #22c55e;
    --white: #ffffff;
    --black: #000000;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--slate-950);
    color: var(--white);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

body.page-loading {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: radial-gradient(
        circle at 15px 15px,
        var(--slate-400) 1.5px,
        transparent 1.5px
    );
    background-size: 60px 60px;
    background-attachment: scroll;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}

::selection {
    background-color: var(--cyan-500);
    color: var(--black);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    overflow-x: hidden;
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    margin: 0;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    width: calc(100% - 2rem);
    max-width: 1280px;
    height: auto;
    min-height: auto;
    box-sizing: border-box;
    background: rgba(7, 8, 11, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: visible;
}

@media (max-width: 768px) {
    .navbar {
        top: 1rem;
        padding: 0.75rem 1rem;
        min-height: 3.5rem;
        max-height: 3.5rem;
        height: 3.5rem;
        display: flex;
        align-items: center;
        overflow: visible;
    }
}

@media (max-width: 480px) {
    .navbar {
        top: 0.5rem;
        padding: 0.75rem 0.75rem;
        width: calc(100% - 1rem);
        border-radius: 30px;
        min-height: 3.25rem;
        max-height: 3.25rem;
        height: 3.25rem;
        overflow: visible;
    }
    
    .brand-text {
        font-size: 0.9375rem;
    }
    
    .logo-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .menu-toggle {
        left: 0.5rem;
        width: 2.25rem;
        height: 2.25rem;
    }
    
    .menu-toggle .icon,
    .menu-toggle #menuIcon,
    .menu-toggle #closeIcon {
        width: 1.25rem;
        height: 1.25rem;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.navbar.scrolled {
    background: rgba(7, 8, 11, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    height: 100%;
    overflow: visible;
}

@media (max-width: 768px) {
    .navbar .container {
        justify-content: space-between;
        align-items: center;
        position: relative;
        min-height: 2.5rem;
        height: 100%;
        overflow: visible;
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
    }
}

.nav-brand:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.brand-accent {
    color: var(--cyan-400);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--cyan-400);
}

.nav-link.favorites-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.favorites-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.375rem;
    background-color: var(--cyan-500);
    color: var(--black);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.nav-btn {
    padding: 0.5rem 1.25rem;
    background-color: var(--cyan-500);
    color: var(--black);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

.nav-btn:hover {
    background-color: var(--cyan-400);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 10;
}

.menu-toggle .icon {
    width: 1.5rem;
    height: 1.5rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    stroke: currentColor;
    fill: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 0.75rem;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 0.5rem;
        transition: background-color 0.3s ease;
        flex-shrink: 0;
        z-index: 1001;
    }
    
    .menu-toggle:hover,
    .menu-toggle:active {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .menu-toggle .icon {
        width: 1.5rem;
        height: 1.5rem;
        stroke-width: 2.5;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        stroke: currentColor;
        fill: none;
    }
    
    .menu-toggle #menuIcon,
    .menu-toggle #closeIcon {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 1.5rem;
        height: 1.5rem;
        stroke: currentColor;
        fill: none;
    }
    
    .menu-toggle #menuIcon.hidden,
    .menu-toggle #closeIcon.hidden {
        display: none !important;
    }
    
    .menu-toggle #menuIcon line {
        stroke: currentColor;
        stroke-width: 2.5;
        stroke-linecap: round;
    }
    
    .menu-toggle #closeIcon {
        cursor: pointer;
        pointer-events: auto;
    }
    
    .menu-toggle #closeIcon line {
        stroke: currentColor;
        stroke-width: 2.5;
        stroke-linecap: round;
        pointer-events: none;
    }
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--slate-900);
    border-bottom: 1px solid var(--slate-800);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
    /* Не влияет на высоту родителя */
    position: absolute;
}

.mobile-menu.show {
    display: flex;
}

@media (max-width: 768px) {
    /* Изолируем мобильное меню от стилей навбара */
    .navbar .mobile-menu,
    #mobileMenu.mobile-menu,
    .mobile-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        width: 85% !important;
        max-width: 360px !important;
        height: 100vh !important;
        height: 100dvh !important; /* Dynamic viewport height для мобильных */
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.95) 100%);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border-right: 2px solid rgba(6, 182, 212, 0.4);
        box-shadow: 8px 0 40px rgba(0, 0, 0, 0.6),
                    0 0 60px rgba(6, 182, 212, 0.2);
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 1rem 0 2rem !important;
        display: flex !important;
        flex-direction: column;
        /* Полностью изолируем от стилей родителя */
        margin: 0 !important;
        margin-top: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        padding-top: 1rem !important;
        padding-right: 0 !important;
        padding-bottom: 2rem !important;
        padding-left: 0 !important;
        border: none !important;
        border-top: none !important;
        border-right: 2px solid rgba(6, 182, 212, 0.4) !important;
        border-bottom: none !important;
        border-left: none !important;
        outline: none !important;
        /* Убираем любые отступы от родителя */
        box-sizing: border-box;
        /* Позиционирование относительно viewport, а не родителя */
        position: fixed !important;
        /* Убираем наследование от навбара */
        max-width: 360px !important;
        width: 85% !important;
    }
    
    .mobile-menu::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(to bottom, 
            var(--cyan-500) 0%, 
            var(--cyan-400) 50%, 
            var(--purple-500) 100%);
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
    }
    
    .mobile-menu::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(6, 182, 212, 0.5) 50%, 
            transparent 100%);
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    }
    
    .mobile-menu.hidden {
        display: flex !important;
        transform: translateX(-100%) !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .mobile-menu:not(.hidden),
    #mobileMenu:not(.hidden),
    .navbar .mobile-menu:not(.hidden) {
        transform: translateX(0) !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

.mobile-menu-link {
    font-size: 1.125rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-link {
        padding: 1.25rem 1.5rem;
        min-height: 56px;
        display: flex;
        align-items: center;
        font-size: 1.125rem;
        font-weight: 500;
        -webkit-tap-highlight-color: rgba(6, 182, 212, 0.2);
        border-bottom: 1px solid rgba(6, 182, 212, 0.15);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        margin: 0 0.75rem 0.75rem 0.75rem;
        border-radius: 0.75rem;
        background: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(10px);
    }
    
    .mobile-menu-link:first-child {
        margin-top: 0.75rem;
    }
    
    .mobile-menu-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: linear-gradient(90deg, 
            rgba(6, 182, 212, 0.3) 0%, 
            rgba(34, 211, 238, 0.2) 50%,
            transparent 100%);
        border-radius: 0.75rem 0 0 0.75rem;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-menu-link::after {
        content: '';
        position: absolute;
        right: 1rem;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--cyan-400));
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        bottom: 0.5rem;
    }
    
    .mobile-menu-link:hover,
    .mobile-menu-link:active {
        background: linear-gradient(135deg, 
            rgba(6, 182, 212, 0.15) 0%, 
            rgba(34, 211, 238, 0.1) 100%);
        color: var(--cyan-400);
        padding-left: 2.5rem;
        transform: translateX(4px);
        border-color: rgba(6, 182, 212, 0.3);
        box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2),
                    inset 0 0 20px rgba(6, 182, 212, 0.1);
    }
    
    .mobile-menu-link:hover::before,
    .mobile-menu-link:active::before {
        width: 5px;
    }
    
    .mobile-menu-link:hover::after,
    .mobile-menu-link:active::after {
        width: 2rem;
    }
}

.mobile-menu-link.accent {
    color: var(--cyan-400);
    font-weight: 700;
}

@media (max-width: 768px) {
    .mobile-menu-link.accent {
        background: linear-gradient(135deg, 
            rgba(6, 182, 212, 0.25) 0%, 
            rgba(34, 211, 238, 0.15) 50%,
            rgba(168, 85, 247, 0.1) 100%);
        color: var(--cyan-400);
        font-weight: 700;
        border-left: 4px solid var(--cyan-500);
        border-color: rgba(6, 182, 212, 0.4);
        box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3),
                    inset 0 0 30px rgba(6, 182, 212, 0.15);
        position: relative;
    }
    
    .mobile-menu-link.accent::before {
        background: linear-gradient(90deg, 
            var(--cyan-500) 0%, 
            var(--cyan-400) 50%,
            transparent 100%);
        width: 4px;
    }
    
    .mobile-menu-link.accent::after {
        background: linear-gradient(90deg, transparent, var(--cyan-400));
        width: 3rem;
    }
    
    .mobile-menu-link.accent:hover,
    .mobile-menu-link.accent:active {
        background: linear-gradient(135deg, 
            rgba(6, 182, 212, 0.35) 0%, 
            rgba(34, 211, 238, 0.25) 50%,
            rgba(168, 85, 247, 0.15) 100%);
        color: var(--cyan-300);
        transform: translateX(6px);
        box-shadow: 0 6px 25px rgba(6, 182, 212, 0.4),
                    0 0 40px rgba(6, 182, 212, 0.2),
                    inset 0 0 40px rgba(6, 182, 212, 0.2);
        border-left-color: var(--cyan-400);
    }
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-menu.hidden {
        display: flex !important;
        transform: translateX(-100%) !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 2rem;
    overflow: hidden;
    overflow-x: hidden;
    z-index: 1;
    min-height: 500px; /* Prevent layout shift by setting minimum height */
    width: 100%;
    max-width: 100vw;
    background-color: transparent;
    /* Prevent layout shift from ::before pseudo-element */
    contain: layout style;
}

@media (min-width: 480px) {
    .hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
}

.hero .section-title {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

@media (min-width: 480px) {
    .hero .section-title {
        font-size: 1.75rem;
    }
}

.cta-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .hero {
        
        padding-bottom: 5rem;
    }
    
    .hero .section-title {
        
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .hero {

        padding-bottom: 6rem;
    }
    
    .hero .section-title {
        font-size: 2.5rem;
    }
}

.hero-robots-scroll {
    position: relative;
    z-index: 10;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0;
    width: calc(100% + 3rem);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 767px) {
    .hero-robots-scroll {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 768px) {
    .hero-robots-scroll {
        gap: 0;
    }
}

.hero-robots-container-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-width: 0; /* Allow flex item to shrink */
    width: 100%;
    z-index: 1;
    margin: 0;
    padding: 0;
    transform: translateZ(0);
    will-change: contents;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.hero-robots-container {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
    scroll-snap-type: x mandatory;
    scroll-padding: 0 5%;
    width: 100%;
    max-width: 100%;
    will-change: scroll-position;
    transform: translateZ(0);
    backface-visibility: hidden;
    flex-shrink: 0;
    gap: 10px;
}

@media (max-width: 767px) {
    .hero-robots-container {
        padding: 1rem 0 0;
        scroll-padding: 0 2%;
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .hero-robots-container {
        padding: 0rem 0 0;
    }
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hero-robots-container::-webkit-scrollbar {
    display: none;
}

/* Hero Indicator */
.hero-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0 0.5rem;
    margin-top: auto;
    width: 100%;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .hero-indicator {
        gap: 1rem;
        padding: 1.5rem 0 1rem;
    }
}

.hero-indicator-category {
    color: var(--slate-300);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-indicator-category {
        font-size: 1rem;
    }
}

.hero-indicator-bars {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hero-indicator-bars {
        gap: 0.625rem;
    }
}

.hero-indicator-bar {
    height: 4px;
    min-width: 24px;
    flex: 1;
    max-width: 40px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

@media (min-width: 768px) {
    .hero-indicator-bar {
        height: 5px;
        min-width: 32px;
        max-width: 50px;
    }
}

.hero-indicator-bar:hover {
    background: var(--slate-600);
}

.hero-indicator-bar.active {
    background: linear-gradient(90deg, var(--cyan-500) 0%, var(--cyan-400) 100%);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
    height: 5px;
    min-width: 32px;
}

@media (min-width: 768px) {
    .hero-indicator-bar.active {
        height: 6px;
        min-width: 40px;
        max-width: 60px;
    }
}


.hero-robot-card {
    flex: 0 0 90%;
    min-width: 90%;
    max-width: 90%;
    background: rgba(15, 23, 42, 0.3);
    border: 2px solid rgba(6, 182, 212, 0.4);
    border-radius: 2rem;
    overflow: hidden;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    
    display: flex;
    flex-direction: row;
   
    position: relative;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    margin: 0 auto;
    min-height: 500px;
    transform: translateZ(0);
    will-change: transform;
}

@media (max-width: 768px) {
    .hero-robot-card {
        flex: 0 0 calc(100% - 2rem);
        min-width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
        flex-direction: column;
        min-height: auto;
        border-radius: 1rem;
        margin: 0 1rem;
    }
}



.hero-robot-image-wrapper {
    position: relative;
    width: 50%;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    aspect-ratio: 4 / 3;
    min-height: 500px;
}

@media (max-width: 768px) {
    .hero-robot-image-wrapper {
        width: 100%;
        padding: 1rem;
        min-height: 200px;
    }
}

@media (min-width: 480px) and (max-width: 768px) {
    .hero-robot-image-wrapper {
        padding: 1.5rem;
        min-height: 250px;
    }
}

.hero-robot-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--slate-800);
    color: var(--slate-400);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    z-index: 2;
}

.hero-robot-image-wrapper.image-error::after {
    content: 'Изображение недоступно';
    display: flex;
}

@media (max-width: 768px) {
    .hero-robot-image-wrapper {
        width: 100%;
        aspect-ratio: 16 / 10;
        padding: 1rem;
    }
}

.hero-robot-image-wrapper picture,
.hero-robot-image-wrapper img,
.hero-robot-image-wrapper .hero-robot-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    aspect-ratio: 4 / 3;
}

@media (max-width: 768px) {
    .hero-robot-image-wrapper picture,
    .hero-robot-image-wrapper img,
    .hero-robot-image-wrapper .hero-robot-image {
        min-height: auto;
    }
}

.hero-robot-image-wrapper picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.hero-robot-favorite {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--slate-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

@media (min-width: 768px) {
    .hero-robot-favorite {
        top: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}


.hero-robot-favorite.active {
    background: var(--cyan-500);
    border-color: var(--cyan-400);
    color: var(--black);
}

.hero-robot-favorite svg {
    width: 1.125rem;
    height: 1.125rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-robot-favorite {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-robot-favorite svg {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .hero-robot-favorite {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .hero-robot-favorite svg {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (min-width: 768px) {
    .hero-robot-favorite svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

.hero-robot-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.375rem 0.875rem;
    background: rgba(6, 182, 212, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 9999px;
    color: var(--cyan-400);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

@media (min-width: 768px) {
    .hero-robot-badge {
        top: 1rem;
        left: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

.hero-robot-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 480px) {
    .hero-robot-content {
        padding: 2rem;
    }
}

@media (min-width: 768px) {
    .hero-robot-content {
        padding: 3rem;
    }
}

.hero-robot-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
    background: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 480px) {
    .hero-robot-name {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .hero-robot-name {
        font-size: 2.5rem;
    }
}

.hero-robot-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cyan-400);
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

@media (min-width: 768px) {
    .hero-robot-price {
        font-size: 1.75rem;
    }
}

.hero-robot-description {
    color: var(--slate-300);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

@media (min-width: 768px) {
    .hero-robot-description {
        font-size: 1.125rem;
        line-height: 1.7;
    }
}

.hero-robot-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--slate-800);
}

@media (min-width: 768px) {
    .hero-robot-specs {
        padding-top: 1rem;
    }
}

.hero-robot-spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
}

@media (min-width: 768px) {
    .hero-robot-spec {
        font-size: 0.875rem;
    }
}

.hero-robot-spec-label {
    color: var(--slate-500);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hero-robot-spec-value {
    color: var(--slate-200);
    font-weight: 500;
}

.hero-robot-actions {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.hero-robot-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--cyan-500) 0%, var(--cyan-400) 100%);
    color: var(--black);
    font-weight: 700;
    font-size: 0.9375rem;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 0.875rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4), 0 0 0 0 rgba(6, 182, 212, 0.5);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 48px; /* Minimum touch target size */
}

@media (min-width: 480px) {
    .hero-robot-btn {
        width: auto;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .hero-robot-btn {
        padding: 1rem 2.5rem;
        font-size: 1.125rem;
        border-radius: 1rem;
    }
}

.hero-robot-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;
}


.hero-robot-btn:active {
    transform: translateY(-1px);
}

.hero-robot-btn-details {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.8) 0%, rgba(139, 92, 246, 0.9) 100%);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}


.hero-scroll-btn {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    border: 2px solid var(--cyan-500);
    border-radius: 50%;
    color: var(--cyan-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
}

.hero-scroll-btn-prev {
    left: 0.5rem;
}

.hero-scroll-btn-next {
    right: 0.5rem;
}

@media (max-width: 480px) {
    .hero-scroll-btn {
        width: 2rem;
        height: 2rem;
    }
    
    .hero-scroll-btn-prev {
        left: 0.5rem;
    }
    
    .hero-scroll-btn-next {
        right: 0.5rem;
    }
}

@media (max-width: 767px) {
    .hero-scroll-btn {
        display: flex;
        width: 2.5rem;
        height: 2.5rem;
        z-index: 100;
    }
    
    .hero-scroll-btn-prev {
        left: 0.5rem;
    }
    
    .hero-scroll-btn-next {
        right: 0.5rem;
    }
}

@media (min-width: 768px) {
    .hero-scroll-btn-prev {
        left: 1.5rem;
    }
    
    .hero-scroll-btn-next {
        right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-scroll-btn-prev {
        left: 2rem;
    }
    
    .hero-scroll-btn-next {
        right: 2rem;
    }
}

@media (min-width: 768px) {
    .hero-scroll-btn {
        display: flex;
        width: 3.5rem;
        height: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-scroll-btn {
        width: 4rem;
        height: 4rem;
    }
}

.hero-scroll-btn:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.4) 0%, rgba(168, 85, 247, 0.4) 100%);
    border-color: var(--cyan-400);
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5), 0 0 20px rgba(6, 182, 212, 0.3);
    transform: translateY(-50%) scale(1.05);
    color: var(--cyan-300);
}

.hero-scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-scroll-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 3;
}

@media (min-width: 768px) {
    .hero-scroll-btn svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

.hero-scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.hero-scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--slate-500);
    font-size: 0.875rem;
    margin-top: 1rem;
    opacity: 0.7;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.hero-scroll-indicator svg {
    width: 1rem;
    height: 1rem;
    animation: slideRight 2s ease-in-out infinite;
}

@keyframes slideRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

@media (max-width: 1023px) {
    .hero-scroll-indicator {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .hero-scroll-indicator {
        display: none;
    }
}

/* Animated gradient background */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 20%,
        rgba(6, 182, 212, 0.15) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 70% 80%,
        rgba(168, 85, 247, 0.15) 0%,
        transparent 50%
    );
    animation: heroGradient 20s ease infinite;
    z-index: 0;
    /* Prevent layout shift - use transform instead of changing dimensions */
    will-change: transform;
    transform: translateZ(0);
    /* Ensure pseudo-element doesn't cause layout recalculation */
    pointer-events: none;
}

@keyframes heroGradient {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(5%, 5%) scale(1.1);
    }
    66% {
        transform: translate(-5%, -5%) scale(0.9);
    }
}

.hero-bg-blur {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(120px);
    animation: float 15s ease-in-out infinite;
}

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

.hero-bg-1 {
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero-bg-2 {
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.hero-text {
    max-width: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--cyan-400);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--cyan-400);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
}

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

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan-400) 50%, var(--white) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.2s both, shimmer 3s ease-in-out infinite;
    letter-spacing: -0.02em;
}

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

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
        margin-bottom: 2rem;
    }
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--cyan-400) 0%, var(--purple-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    color: var(--slate-300);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 36rem;
    line-height: 1.75;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
    .hero-description {
        font-size: 1.25rem;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-cta {
        justify-content: flex-start;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn {
    padding: 0.875rem 1.5rem;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    text-decoration: none;
    text-align: center;
    min-height: 48px; /* Minimum touch target size */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 480px) {
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

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

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

.btn > * {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--white) 0%, var(--slate-100) 100%);
    color: var(--slate-950);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1),
                0 0 30px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--slate-100) 0%, var(--white) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2),
                0 0 40px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid var(--slate-700);
    color: var(--white);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    border-color: var(--cyan-400);
    color: var(--cyan-400);
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 0.75rem;
}

@media (max-width: 639px) {
    .btn-large {
        width: 100%;
        max-width: 320px;
    }
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

/* Enhanced Button Styles */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--white) 0%, var(--slate-100) 100%);
    color: var(--slate-950);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1),
                0 0 30px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--slate-100) 0%, var(--white) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2),
                0 0 40px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid var(--slate-700);
    color: var(--white);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    border-color: var(--cyan-400);
    color: var(--cyan-400);
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 0.75rem;
}

@media (max-width: 639px) {
    .btn-large {
        width: 100%;
        max-width: 320px;
    }
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    z-index: 10;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--slate-800);
}

.hero-image-wrapper img,
.hero-image-wrapper picture {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image-wrapper picture img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.stats-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-700);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 20rem;
}

.stats-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.stats-icon {
    padding: 0.5rem;
    background-color: rgba(34, 197, 94, 0.2);
    border-radius: 0.5rem;
    color: var(--green-500);
}

.stats-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.stats-label {
    font-size: 0.75rem;
    color: var(--slate-400);
}

.stats-value {
    font-weight: 700;
    font-size: 1.125rem;
}

.stats-note {
    font-size: 0.75rem;
    color: var(--slate-500);
}

/* Features Stripe */
.features-stripe {
    border-top: 1px solid rgba(6, 182, 212, 0.1);
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.4) 50%, rgba(15, 23, 42, 0.6) 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Pulse container - prevents page expansion */
.pulse-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    overflow: visible;
    pointer-events: none;
    z-index: -1;
}

/* Pulse background elements */
.pulse-1, .pulse-2, .pulse-3, .pulse-4, .pulse-5, .pulse-6, .pulse-7, .pulse-8 {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 9999px;
    filter: blur(60px);
    opacity: 0.6;
    pointer-events: none;
    animation: pulseBackground 3s ease-in-out infinite;
    z-index: 0;
}

/* Distributed across viewport, chaotically positioned - using viewport units instead of fixed pixels */
.pulse-1 {
    top: 20vh !important;
    left: clamp(0px, 75vw, calc(100vw - 24rem - 1rem));
    background: rgba(0, 4, 172, 0.9);
}

.pulse-2 {
    top: 40vh !important;
    left: clamp(0px, 15vw, calc(100vw - 24rem - 1rem));
    background: rgba(6, 182, 212, 0.7);
}

.pulse-3 {
    top: 60vh !important;
    left: clamp(0px, 85vw, calc(100vw - 24rem - 1rem));
    background: rgba(168, 85, 247, 0.7);
}

.pulse-4 {
    top: 80vh !important;
    left: clamp(0px, 25vw, calc(100vw - 24rem - 1rem));
    background: rgba(6, 182, 212, 0.6);
}

.pulse-5 {
    top: 10vh !important;
    left: clamp(0px, 60vw, calc(100vw - 24rem - 1rem));
    background: rgba(0, 4, 172, 0.8);
}

.pulse-6 {
    top: 30vh !important;
    left: clamp(0px, 10vw, calc(100vw - 24rem - 1rem));
    background: rgba(168, 85, 247, 0.6);
}

.pulse-7 {
    top: 50vh !important;
    left: clamp(0px, 70vw, calc(100vw - 24rem - 1rem));
    background: rgba(6, 182, 212, 0.7);
}

.pulse-8 {
    top: 70vh !important;
    left: clamp(0px, 40vw, calc(100vw - 24rem - 1rem));
    background: rgba(168, 85, 247, 0.8);
}

/* Pulse animation for background elements */
@keyframes pulseBackground {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.features-stripe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.features-stripe .container {
    padding: 4rem 1.5rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .features-stripe .container {
        padding: 5rem 1.5rem;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.2), 0 0 0 1px rgba(6, 182, 212, 0.3);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
}

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

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    transition: color 0.3s ease;
}

.feature-item:hover h3 {
    color: var(--cyan-400);
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.feature-item p {
    font-size: 0.9375rem;
    color: var(--slate-300);
    margin: 0;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.feature-item:hover p {
    color: var(--slate-200);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.4) 0%, rgba(168, 85, 247, 0.4) 100%);
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
}

.feature-item span {
    font-weight: 500;
    color: var(--slate-300);
}

/* Section Divider */
.section-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(6, 182, 212, 0.3) 20%, 
        rgba(6, 182, 212, 0.8) 50%, 
        rgba(6, 182, 212, 0.3) 80%, 
        transparent 100%);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.6),
                0 0 40px rgba(6, 182, 212, 0.4),
                0 0 60px rgba(6, 182, 212, 0.2);
    position: relative;
    z-index: 1;
    margin: 0;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(6, 182, 212, 0.5) 20%, 
        rgba(6, 182, 212, 1) 50%, 
        rgba(6, 182, 212, 0.5) 80%, 
        transparent 100%);
    filter: blur(4px);
    opacity: 0.7;
}

/* Catalog Section */
.catalog {
 
    background-color: transparent;
    position: relative;
    z-index: 1;
}

@media (min-width: 480px) {
    .catalog {
        padding: 3rem 0;
    }
}

@media (min-width: 768px) {
    .catalog {
        padding: 20px 0;
    }
}

.catalog-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .catalog-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-description {
    color: var(--slate-400);
    max-width: 32rem;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tab {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background-color: var(--slate-900);
    color: var(--slate-400);
    cursor: pointer;
}

.filter-tab:hover {
    background-color: var(--slate-800);
}

.filter-tab.active {
    background-color: var(--cyan-500);
    color: var(--black);
}

/* Catalog Controls - Search and Sort */
.catalog-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .catalog-controls {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 100%;
}

@media (min-width: 768px) {
    .search-container {
        max-width: 500px;
    }
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--slate-400);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--slate-800);
    border-radius: 0.75rem;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.search-input::placeholder {
    color: var(--slate-400);
}

.search-input:focus {
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.clear-search-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--slate-400);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.clear-search-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.clear-search-btn svg {
    width: 1rem;
    height: 1rem;
}

.clear-search-btn.hidden {
    display: none;
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-label {
    color: var(--slate-300);
    font-size: 0.875rem;
    white-space: nowrap;
}

.sort-select {
    padding: 0.875rem 1rem;
    padding-right: 2.5rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--slate-800);
    border-radius: 0.75rem;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23cbd5e1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}

.sort-select:hover {
    border-color: var(--slate-700);
}

.sort-select:focus {
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.sort-select option {
    background: var(--slate-900);
    color: var(--white);
}

.catalog-results {
    margin-bottom: 1.5rem;
    color: var(--slate-400);
    font-size: 0.875rem;
}

.robots-grid {
    display: grid;
    gap: 1.5rem;
    align-items: stretch;
    grid-template-columns: 1fr;
}

@media (min-width: 480px) {
    .robots-grid {
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .robots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .robots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.robot-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--slate-800);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
    cursor: pointer;
}

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

/* Scroll animations */
.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger animation delays for children */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }

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

.robot-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.1);
}

.robot-image-wrapper {
    position: relative;
    height: 14rem;
    overflow: hidden;
}

@media (min-width: 480px) {
    .robot-image-wrapper {
        height: 16rem;
    }
}

.robot-favorite-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white);
    min-width: 44px; /* Touch target size */
    min-height: 44px;
}

@media (min-width: 480px) {
    .robot-favorite-btn {
        top: 1rem;
        right: 1rem;
    }
}

.robot-favorite-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.robot-favorite-btn.active {
    background-color: rgba(239, 68, 68, 0.8);
    border-color: rgba(239, 68, 68, 0.5);
    color: var(--white);
}

.robot-favorite-btn .icon {
    width: 1.25rem;
    height: 1.25rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.robot-favorite-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.robot-favorite-btn .icon {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .robot-favorite-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .robot-favorite-btn .icon {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 1.25rem;
        height: 1.25rem;
    }
}

.robot-share-vk {
    position: absolute;
    top: 0.75rem;
    right: 3.5rem;
    z-index: 10;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 44px; /* Touch target size */
    min-height: 44px;
}

@media (min-width: 480px) {
    .robot-share-vk {
        top: 1rem;
        right: 4rem;
    }
}

.robot-share-vk:hover {
    background-color: rgba(76, 117, 163, 0.8);
    border-color: rgba(76, 117, 163, 0.5);
    transform: scale(1.1);
}

.robot-share-vk svg {
    width: 1.25rem;
    height: 1.25rem;
}

.robot-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.robot-image-wrapper img,
.robot-image-wrapper picture {
    width: 100%;
    height: 100%;
    display: block;
}

.robot-image-wrapper picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.robot-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

/* Placeholder for missing images */
.robot-image-wrapper picture:has(img[style*="display: none"]) {
    background-color: var(--slate-800);
    display: flex;
    align-items: center;
    justify-content: center;
}

.robot-image-wrapper picture:has(img[style*="display: none"])::after {
    content: "No Image";
    color: var(--slate-400);
    font-size: 0.875rem;
}

.robot-card:hover .robot-image-wrapper picture img {
    transform: scale(1.1);
}

.robot-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 480px) {
    .robot-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .robot-content {
        padding: 1.5rem;
    }
}

.robot-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 1rem;
    min-width: 0;
}

.robot-name {
    font-size: 1.125rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

@media (min-width: 480px) {
    .robot-name {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .robot-name {
        font-size: 1.1875rem;
        line-height: 1.3;
    }
}

.robot-price {
    color: var(--cyan-400);
    font-weight: 700;
}

@media (max-width: 768px) {
    .robot-price {
        font-size: 1.125rem;
    }
}

.robot-description {
    color: var(--slate-400);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: calc(1.5em * 5); /* 5 lines with line-height 1.5 */
}

@media (max-width: 768px) {
    .robot-description {
        font-size: 0.9375rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
}

.robot-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    border-top: 1px solid var(--slate-800);
    padding-top: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .robot-specs {
        gap: 0.75rem;
        padding-top: 1.25rem;
        margin-bottom: 1.75rem;
    }
}

.robot-spec {
    text-align: center;
}

.robot-spec-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
    .robot-spec-label {
        font-size: 0.75rem;
        margin-bottom: 0.375rem;
    }
}

.robot-spec-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-200);
}

@media (max-width: 768px) {
    .robot-spec-value {
        font-size: 1rem;
        font-weight: 600;
    }
}

.robot-actions {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    gap: 0.75rem;
}

.robot-btn {
    width: 100%;
    padding: 0.875rem;
    background-color: var(--slate-800);
    color: var(--white);
    font-weight: 500;
    font-size: 0.9375rem;
    min-height: 48px; /* Touch target size */
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.robot-card:hover .robot-btn {
    background-color: var(--cyan-500);
    color: var(--black);
}

/* Tech Section */
.tech {
    padding: 3rem 0;
    background-color: transparent;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--slate-800);
    border-bottom: 1px solid var(--slate-800);
}

@media (min-width: 480px) {
    .tech {
        padding: 4rem 0;
    }
}

@media (min-width: 768px) {
    .tech {
        padding: 6rem 0;
    }
}

.tech .container {
    position: relative;
}

.tech .section-title {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tech-item {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
    border: 1px solid var(--slate-800);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(168, 85, 247, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

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

.tech-item:hover {
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2),
                0 0 40px rgba(6, 182, 212, 0.1);
}

.tech-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .tech-item h3 {
        font-size: 1.75rem;
    }
}

.tech-item p {
    color: var(--slate-300);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin: 0;
}

@media (min-width: 768px) {
    .tech-item p {
        font-size: 1.125rem;
    }
}

/* Solutions Section */
.solutions {
    padding: 3rem 0;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

@media (min-width: 480px) {
    .solutions {
        padding: 4rem 0;
    }
}

@media (min-width: 768px) {
    .solutions {
        padding: 6rem 0;
    }
}

.solutions .container {
    position: relative;
}

.solutions .section-title {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.solution-card {
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
    border: 1px solid var(--slate-800);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@media (min-width: 480px) {
    .solution-card {
        padding: 2rem;
    }
}

@media (min-width: 768px) {
    .solution-card {
        padding: 2.5rem;
    }
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

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

.solution-card > * {
    position: relative;
    z-index: 1;
}

.solution-card:hover {
    border-color: var(--cyan-500);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.2),
                0 0 60px rgba(6, 182, 212, 0.1);
}

.solution-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

@media (min-width: 480px) {
    .solution-card h3 {
        font-size: 1.5rem;
    }
}

.solution-card:hover h3 {
    background: linear-gradient(135deg, var(--cyan-400) 0%, var(--purple-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solution-card p {
    color: var(--slate-300);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

@media (min-width: 480px) {
    .solution-card p {
        font-size: 1rem;
    }
}

.solution-card:hover p {
    color: var(--slate-200);
}

/* Stagger animation for solution cards */
.solution-card:nth-child(1) {
    animation-delay: 0.1s;
}

.solution-card:nth-child(2) {
    animation-delay: 0.2s;
}

.solution-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* CTA Section */
.cta-section {
    padding: 3rem 0;
    background: transparent;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
    position: relative;
    z-index: 1;
}

@media (min-width: 480px) {
    .cta-section {
        padding: 4rem 0;
    }
}

@media (min-width: 768px) {
    .cta-section {
        padding: 6rem 0;
    }
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(6, 182, 212, 0.5) 50%, 
        transparent 100%);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.cta-card {
    background-color: var(--cyan-500);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-card {
        padding: 4rem;
    }
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(96px);
    transform: translate(50%, -50%);
}

.cta-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .cta-content {
        flex-direction: row;
    }
}

.cta-text {
    flex: 1;
    color: var(--black);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-description {
    font-size: 1rem;
    font-weight: 400;
    color: var(--slate-300);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

@media (min-width: 480px) {
    .cta-description {
        font-size: 1.125rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .cta-description {
        font-size: 1.25rem;
        margin-bottom: 3rem;
    }
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cta-benefit-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-benefit-icon svg {
    width: 0.875rem;
    height: 0.875rem;
}

.cta-benefit span {
    font-weight: 600;
}

.cta-form-wrapper {
    width: 100%;
    min-width: 350px;
}

@media (min-width: 768px) {
    .cta-form-wrapper {
        width: auto;
    }
}

.cta-form {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                0 0 0 1px rgba(6, 182, 212, 0.2), 
                0 0 30px rgba(6, 182, 212, 0.1);
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.cta-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 1rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-form:hover::before {
    opacity: 1;
}

@media (min-width: 480px) {
    .cta-form {
        padding: 2rem;
        border-radius: 1.25rem;
    }
    
    .cta-form::before {
        border-radius: 1.25rem;
    }
}

@media (min-width: 768px) {
    .cta-form {
        padding: 3rem;
        border-radius: 1.5rem;
    }
    
    .cta-form::before {
        border-radius: 1.5rem;
    }
}

.form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-300);
    margin-bottom: 0.5rem;
    text-transform: none;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

@media (min-width: 480px) {
    .form-input {
        padding: 1rem 1.25rem;
    }
}

.form-input::placeholder {
    color: var(--slate-500);
}

.form-input:hover {
    border-color: rgba(6, 182, 212, 0.5);
    background: rgba(15, 23, 42, 0.6);
}

.form-input:focus {
    outline: none;
    border-color: var(--cyan-400);
    background: rgba(15, 23, 42, 0.7);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1),
                0 0 20px rgba(6, 182, 212, 0.2);
}

.form-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1),
                0 0 20px rgba(239, 68, 68, 0.2);
}

.form-input option {
    background: var(--slate-900);
    color: var(--white);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.6;
}

.form-submit {
    margin-top: 1rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--cyan-500) 0%, var(--cyan-400) 100%);
    color: var(--black);
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3),
                0 0 0 1px rgba(6, 182, 212, 0.2);
    min-height: 48px; /* Minimum touch target size */
}

@media (min-width: 480px) {
    .form-submit {
        padding: 1.125rem 2rem;
        font-size: 1rem;
    }
}

.form-submit::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;
}

.form-submit:hover {
    
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.4),
                0 0 0 1px rgba(6, 182, 212, 0.3),
                0 0 30px rgba(6, 182, 212, 0.3);
}

.form-submit:hover::before {
    left: 100%;
}

.form-submit:active {
    transform: translateY(0);
    box-shadow: 0 5px 20px rgba(6, 182, 212, 0.3);
}

.form-note {
    font-size: 0.75rem;
    color: var(--slate-400);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
    color: var(--slate-400);
    font-size: 0.875rem;
    margin-top: 6rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(6, 182, 212, 0.5) 50%, 
        transparent 100%);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 4rem;
    }
}

.footer-column {
    position: relative;
}

.footer-brand-column {
    max-width: 100%;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.3));
}

.footer-description {
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--slate-300);
    max-width: 100%;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.social-icon:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--cyan-400);
    color: var(--cyan-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
    z-index: 1;
}

.footer-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan-500), transparent);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-links li {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
}

.footer-links li::before {
    content: '';
    position: absolute;
    left: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--cyan-400);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.footer-links li:hover::before {
    width: 0.5rem;
}

.footer-links a {
    color: var(--slate-300);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--cyan-400);
    transform: translateX(4px);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.footer-contact:hover {
    transform: translateX(4px);
}

.contact-icon {
    color: var(--cyan-400);
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.5));
    transition: all 0.3s ease;
}

.footer-contact:hover .contact-icon {
    color: var(--cyan-300);
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.8));
    transform: scale(1.1);
}

.footer-contact span {
    color: var(--slate-300);
    transition: color 0.3s ease;
}

.footer-contact:hover span {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(6, 182, 212, 0.2);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom p {
    color: var(--slate-400);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    color: var(--slate-400);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.25rem;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cyan-400);
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--cyan-400);
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

/* Page Header */
.page-header {
    padding: 6rem 0 1rem;
    text-align: left;
    position: relative;
    z-index: 1;
}

.page-header-contact {
    padding-top: 120px;
}

.page-header .section-title {
    margin-bottom: 1rem;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    color: var(--slate-300);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0;
    padding: 0 1rem;
    text-align: left;
}

@media (min-width: 480px) {
    .page-description {
        font-size: 1.125rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .page-description {
        font-size: 1.25rem;
    }
}

/* Contact Page */
.contact-page {

    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    gap: 4rem;
 
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 5rem;
        align-items: start;
    }
}

.contact-info {
    position: relative;
}

.contact-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .contact-section-title {
        font-size: 2.5rem;
    }
}

.contact-section-description {
    color: var(--slate-300);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(6, 182, 212, 0.5) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(6, 182, 212, 0.1);
}

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

.contact-item-icon {
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    border-radius: 1rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan-400);
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.3));
}

.contact-item:hover .contact-item-icon {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--cyan-400);
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.5));
}

.contact-item-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contact-item-content {
    flex: 1;
}

.contact-item-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-item-text {
    color: var(--slate-300);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.contact-link {
    color: var(--cyan-400);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--cyan-300);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
    transform: translateX(4px);
}

.contact-social {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
}

.contact-social-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-social-links {
    display: flex;
    gap: 1rem;
}

.contact-social-link {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.contact-social-link:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--cyan-400);
    color: var(--cyan-400);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.contact-social-link:hover::before {
    width: 100%;
    height: 100%;
}

.contact-social-link svg {
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    z-index: 1;
    display: block;
    flex-shrink: 0;
}

.contact-form-wrapper {
    position: relative;
}

.contact-form-wrapper .cta-form {
    margin-top: 0;
}

/* Contact Page Responsive */
@media (max-width: 1023px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-item {
        padding: 1.25rem;
    }
    
    .contact-item-icon {
        width: 3rem;
        height: 3rem;
        min-width: 3rem;
    }
}

@media (max-width: 480px) {
    .contact-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .contact-item-icon {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
    }
    
    .contact-social-link {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
    }
}

/* Footer Responsive */
@media (max-width: 767px) {
    .footer {
        padding-top: 3rem;
        padding-bottom: 2rem;
        margin-top: 3rem;
    }
    
    .footer-grid {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding-top: 2.5rem;
        padding-bottom: 1.5rem;
        margin-top: 2rem;
    }
    
    .footer-grid {
        gap: 1.5rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-links {
        font-size: 0.875rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand-column {
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-contact-list {
        align-items: center;
    }
    
    .footer-contact {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Utility Classes */
.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .desktop-only {
        display: flex;
    }
    
    .mobile-only {
        display: none;
    }
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    fill: none;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .icon {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 1.5rem;
        height: 1.5rem;
        stroke: currentColor;
        fill: none;
    }
    
    svg.icon {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 1.5rem;
        height: 1.5rem;
        stroke: currentColor;
        fill: none;
    }
    
    /* Ensure menu toggle icons are always visible */
    .menu-toggle svg.icon,
    .menu-toggle #menuIcon,
    .menu-toggle #closeIcon {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 1.5rem;
        height: 1.5rem;
        stroke: currentColor;
        fill: none;
    }
    
    .menu-toggle svg.icon.hidden,
    .menu-toggle #menuIcon.hidden,
    .menu-toggle #closeIcon.hidden {
        display: none !important;
    }
}

/* Loading Spinner */
.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--slate-400);
    font-size: 1.125rem;
}

.loading-spinner::after {
    content: '';
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid var(--slate-800);
    border-top-color: var(--cyan-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 0.75rem;
    vertical-align: middle;
}

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

/* Page Loader - Full Screen Loading Indicator */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 8, 11, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
}

.page-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.page-loader-spinner {
    width: 64px;
    height: 64px;
    border: 4px solid rgba(6, 182, 212, 0.2);
    border-top-color: var(--cyan-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.page-loader-text {
    color: var(--cyan-400);
    font-size: 1.125rem;
    font-weight: 500;
    text-align: center;
    margin: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .page-loader-spinner {
        width: 48px;
        height: 48px;
        border-width: 3px;
    }
    
    .page-loader-text {
        font-size: 1rem;
    }
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    background-color: var(--slate-900);
    border: 1px solid var(--slate-700);
    border-radius: 0.5rem;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left: 4px solid var(--green-500);
}

.notification-error {
    border-left: 4px solid #ef4444;
    background-color: rgba(239, 68, 68, 0.1);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--cyan-500);
    border: none;
    border-radius: 50%;
    color: var(--black);
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
}

.scroll-top.hidden {
    display: flex !important;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
}

.scroll-top:not(.hidden) {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.scroll-top svg {
    display: block !important;
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    fill: none;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .scroll-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 3rem;
        height: 3rem;
        display: flex !important;
        z-index: 999 !important;
        position: fixed !important;
    }
    
    .scroll-top.hidden {
        display: flex !important;
        transform: translateY(100px);
        opacity: 0;
        visibility: hidden;
    }
    
    .scroll-top:not(.hidden) {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .scroll-top svg {
        display: block !important;
        width: 1.5rem;
        height: 1.5rem;
        stroke: currentColor;
        fill: none;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 480px) {
    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 2.75rem;
        height: 2.75rem;
        transform: translateY(100px);
        opacity: 0;
        visibility: hidden;
    }
    
    .scroll-top.hidden {
        display: flex !important;
        transform: translateY(100px);
        opacity: 0;
        visibility: hidden;
    }
    
    .scroll-top:not(.hidden) {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .scroll-top svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
}

.scroll-top:not(.hidden):hover {
    transform: translateY(-4px);
}

/* Quick View Modal */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.quick-view-modal.hidden {
    display: none;
}

.quick-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.quick-view-content {
    position: relative;
    background-color: var(--slate-900);
    border-radius: 1rem;
    border: 1px solid var(--slate-800);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2001;
    animation: quickViewSlideIn 0.3s ease;
}

@keyframes quickViewSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.quick-view-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.quick-view-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.quick-view-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.quick-view-body {
    padding: 2rem;
}

.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .quick-view-grid {
        grid-template-columns: 1fr;
    }
}

.quick-view-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.quick-view-image-wrapper img,
.quick-view-image-wrapper picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-favorite {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.quick-view-favorite:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.quick-view-favorite.active {
    background-color: rgba(239, 68, 68, 0.8);
    border-color: rgba(239, 68, 68, 0.5);
}

.quick-view-favorite svg {
    width: 1.25rem;
    height: 1.25rem;
}

.quick-view-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-view-category {
    display: inline-block;
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--cyan-400);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    width: fit-content;
}

.quick-view-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.quick-view-price {
    font-size: 1.5rem;
    color: var(--cyan-400);
    font-weight: 700;
}

.quick-view-description {
    color: var(--slate-300);
    line-height: 1.6;
}

.quick-view-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--slate-800);
    border-radius: 0.5rem;
}

.quick-view-spec {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.quick-view-spec-label {
    font-size: 0.75rem;
    color: var(--slate-400);
    text-transform: uppercase;
}

.quick-view-spec-value {
    font-size: 0.875rem;
    color: var(--white);
    font-weight: 600;
}

.quick-view-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.quick-view-actions .btn {
    flex: 1;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    background-color: var(--slate-800);
    border: 1px solid var(--slate-700);
    border-radius: 0.5rem;
    color: var(--white);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover {
    background-color: var(--slate-700);
    border-color: var(--cyan-500);
}

.pagination-btn.active {
    background-color: var(--cyan-500);
    border-color: var(--cyan-500);
    color: var(--black);
}

.pagination-ellipsis {
    color: var(--slate-400);
    padding: 0 0.5rem;
}

/* Mobile Touch Improvements */
@media (max-width: 768px) {
    /* Touch-friendly buttons - minimum 44x44px for touch targets */
    .btn,
    button,
    .robot-btn,
    .nav-btn,
    .pagination-btn,
    .filter-tab,
    .share-button,
    .robot-favorite-btn,
    .quick-view-close,
    .gallery-nav-btn {
        min-height: 44px;
        min-width: 44px;
        
        font-size: 1rem;
        -webkit-tap-highlight-color: rgba(6, 182, 212, 0.2);
        touch-action: manipulation;
    }
    
    /* Larger touch targets for small buttons */
    .btn-sm {
        min-height: 40px;
        min-width: 40px;
        padding: 0.625rem 1.25rem;
    }
    
    /* Improved spacing for touch */
    .robot-actions {
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .robot-btn {
        width: auto;
        flex: 1;
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    /* Better spacing for filter tabs */
    .filter-tabs {
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .filter-tab {
        padding: 0.875rem 1.25rem;
        min-height: 44px;
    }
    
    /* Gallery improvements for mobile */
    .robot-details-gallery {
        position: relative;
        touch-action: pan-y pinch-zoom;
        -webkit-overflow-scrolling: touch;
    }
    
    .robot-details-main-image {
        touch-action: pan-y pinch-zoom;
    }
    
    .robot-details-nav-btn {
        width: 3rem;
        height: 3rem;
        min-width: 3rem;
        min-height: 3rem;
        border-radius: 50%;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid rgba(255, 255, 255, 0.3);
        -webkit-tap-highlight-color: rgba(6, 182, 212, 0.2);
    }
    
    .robot-details-nav-btn:active {
        transform: translateY(-50%) scale(0.95);
        background-color: rgba(0, 0, 0, 0.8);
    }
    
    /* Swipe indicator */
    .gallery-swipe-hint {
        position: absolute;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(0, 0, 0, 0.7);
        color: var(--white);
        padding: 0.5rem 1rem;
        border-radius: 9999px;
        font-size: 0.75rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        animation: fadeInOut 3s ease-in-out;
        pointer-events: none;
    }
    
    @keyframes fadeInOut {
        0%, 100% { opacity: 0; }
        10%, 90% { opacity: 1; }
    }
    
    /* Improved mobile menu - стили уже определены выше, дублирование удалено */
    
    /* Mobile menu overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        display: block;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
    
    /* Better spacing for cards */
    .robot-card {
        margin-bottom: 1.5rem;
    }
    
    /* Improved form inputs for mobile */
    .form-input,
    .form-textarea,
    select {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem 1rem;
    }
    
    /* Better touch feedback */
    .robot-card:active {
        transform: scale(0.98);
    }
    
    /* Improved navigation */
    .navbar {
        top: 0.5rem;
        padding: 0.75rem 1rem;
        width: calc(100% - 1rem);
        border-radius: 30px;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        min-height: 44px;
    }
    
    /* Prevent text selection on buttons during touch */
    .btn,
    button,
    .robot-btn,
    .nav-btn {
        -webkit-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
    }
    
    /* Improve touch targets */
    .robot-favorite-btn,
    .robot-share-vk,
    .hero-scroll-btn {
        touch-action: manipulation;
    }
    
    /* Prevent text selection on mobile */
    .robot-card,
    .hero-robot-card {
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 480px) {
    /* Extra small screens optimizations */
    body {
        font-size: 0.9375rem;
    }
    
    .section-title {
        word-break: break-word;
    }
    
    .robot-name {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
    
    .hero-robot-name {
        font-size: 1.25rem;
    }
    
    .hero-robot-price {
        font-size: 1.25rem;
    }
    
    .hero-robot-content {
        padding: 1.25rem;
    }
    
    .hero-robot-image-wrapper {
        min-height: 200px;
    }
    
    .hero-robot-description {
        font-size: 0.875rem;
    }
    
    .solution-card {
        padding: 1.25rem;
    }
    
    .solution-card h3 {
        font-size: 1.125rem;
    }
    
    .solution-card p {
        font-size: 0.875rem;
    }
}

/* Swipe gesture visual feedback */
.gallery-main.swiping {
    transition: none;
}

.gallery-main.swiping img {
    transition: none;
}

.scroll-top:focus {
    outline: 2px solid var(--cyan-400);
    outline-offset: 2px;
}

.scroll-top svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background-color: var(--slate-900);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
    border: 1px solid var(--slate-800);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
    line-height: 1;
    z-index: 1002;
}

.modal-close:hover {
    background-color: var(--slate-800);
}

.modal-close:focus {
    outline: 2px solid var(--cyan-500);
    outline-offset: 2px;
}

/* Modal Content Styles */
.modal-robot-image,
.modal-robot-image picture {
    width: 100%;
    display: block;
}

.modal-robot-image picture img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.modal-robot-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.modal-robot-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--slate-800);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--cyan-400);
    margin-bottom: 1rem;
}

.modal-robot-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan-400);
    margin-bottom: 1.5rem;
}

.modal-robot-description {
    font-size: 1.125rem;
    color: var(--slate-300);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.modal-robot-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--slate-800);
    border-radius: 0.5rem;
}

.modal-robot-spec-item {
    text-align: center;
}

.modal-robot-spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 0.5rem;
}

.modal-robot-spec-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

/* Consultation modal (robot page) */
.consultation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.consultation-modal.hidden {
    display: none;
}

body.consultation-modal-open {
    overflow: hidden;
}

.consultation-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.consultation-modal-content {
    position: relative;
    background-color: var(--slate-900);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 440px;
    width: 100%;
    z-index: 1001;
    border: 1px solid var(--slate-800);
}

.consultation-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--slate-400);
    font-size: 1.75rem;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
    line-height: 1;
}

.consultation-modal-close:hover {
    background-color: var(--slate-800);
    color: var(--white);
}

.consultation-modal-close:focus {
    outline: 2px solid var(--cyan-500);
    outline-offset: 2px;
}

.consultation-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    padding-right: 2.5rem;
}

.consultation-modal-robot {
    font-size: 0.9375rem;
    color: var(--cyan-400);
    margin-bottom: 1.5rem;
}

.consultation-form {
    margin-top: 0;
}

.consultation-form .form-group {
    margin-bottom: 1.25rem;
}

.consultation-form .form-submit {
    margin-top: 0.25rem;
    width: 100%;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    left: auto;
    z-index: 10000;
    max-width: 420px;
    width: calc(100% - 3rem);
    transform: translateY(calc(100% + 2rem));
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.6s ease,
                box-shadow 0.4s ease;
    pointer-events: none;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.cookie-banner.hide {
    transform: translateY(calc(100% + 2rem));
    opacity: 0;
}

.cookie-banner-content {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--slate-800);
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(6, 182, 212, 0.1),
                0 0 20px rgba(6, 182, 212, 0.15);
    position: relative;
    overflow: hidden;
}

.cookie-banner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--cyan-500),
        var(--cyan-400),
        var(--cyan-500),
        transparent
    );
    background-size: 200% 100%;
    animation: neon-flow 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5),
                0 0 20px rgba(6, 182, 212, 0.3);
}

.cookie-banner-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(6, 182, 212, 0.2),
        rgba(168, 85, 247, 0.1),
        rgba(6, 182, 212, 0.2)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, 
                  linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, 
          linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
}

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

.cookie-banner.show .cookie-banner-content {
    animation: slide-in-right 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
               glow-pulse 2s ease-in-out infinite;
}

.cookie-banner.hide .cookie-banner-content {
    animation: slide-out-right 0.4s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

@keyframes slide-in-right {
    0% {
        transform: translateX(150%);
        opacity: 0;
    }
    60% {
        transform: translateX(-5%);
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-out-right {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(150%);
        opacity: 0;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                    0 0 0 1px rgba(6, 182, 212, 0.1),
                    0 0 20px rgba(6, 182, 212, 0.15);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                    0 0 0 1px rgba(6, 182, 212, 0.2),
                    0 0 30px rgba(6, 182, 212, 0.25),
                    0 0 40px rgba(6, 182, 212, 0.1);
    }
}

.cookie-banner-text {
    color: var(--slate-200);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cookie-banner-text p {
    margin: 0;
}

.cookie-banner-text a {
    color: var(--cyan-400);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.cookie-banner-text a:hover {
    color: var(--cyan-300);
    border-bottom-color: var(--cyan-400);
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cookie-btn {
    flex: 1;
    min-width: 100px;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn::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;
}

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

.cookie-btn-accept {
    
    color: var(--black);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, var(--cyan-400), var(--cyan-500));
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4),
                0 0 15px rgba(6, 182, 212, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cookie-btn-accept:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 2px 10px rgba(6, 182, 212, 0.3);
}

.cookie-btn-decline {
    background: rgba(30, 41, 59, 0.6);
    color: var(--slate-300);
    border: 1px solid var(--slate-700);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cookie-btn-decline:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: var(--slate-600);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cookie-btn-decline:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
        width: calc(100% - 2rem);
    }
    
    .cookie-banner-content {
        padding: 1.5rem;
    }
    
    .cookie-banner-text {
        font-size: 0.8125rem;
        margin-bottom: 1.25rem;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 0.75rem;
        right: 0.75rem;
        left: 0.75rem;
        width: calc(100% - 1.5rem);
    }
    
    .cookie-banner-content {
        padding: 1.25rem;
        border-radius: 0.75rem;
    }
}

/* ============================================
   Robot Details Page Styles
   ============================================ */

.robot-details-page {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.robot-details-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    .robot-details-container {
        padding: 0 0rem;
    }
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-400);
    text-decoration: none;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 1rem;
}

.back-button:hover {
    color: var(--cyan-400);
    border-color: rgba(6, 182, 212, 0.3);
    background: rgba(6, 182, 212, 0.1);
    transform: translateX(-4px);
}

.back-button svg {
    width: 1rem;
    height: 1rem;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 2rem;
    margin-left: 1rem;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--cyan-400);
}

.breadcrumb-item span {
    color: var(--white);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--slate-500);
    user-select: none;
}

/* Main Product Card */
.robot-details-card {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 1.5rem;
    border: 1px solid var(--slate-800);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 3rem;
}

.robot-details-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

@media (max-width: 968px) {
    .robot-details-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}

/* Image Gallery */
.robot-details-image-wrapper {
    position: relative;
}

.robot-details-gallery {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--slate-800);
}

.robot-details-main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

@media (min-width: 969px) {
    .robot-details-main-image {
        min-height: 500px;
    }
}

.robot-details-main-image img,
.robot-details-main-image picture {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.robot-details-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.robot-details-nav-btn:hover {
    background: rgba(6, 182, 212, 0.8);
    border-color: var(--cyan-400);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.robot-details-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.robot-details-nav-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.robot-details-nav-prev {
    left: 1rem;
}

.robot-details-nav-next {
    right: 1rem;
}

.robot-details-image-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.robot-details-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
}

.robot-details-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.robot-details-thumbnails::-webkit-scrollbar-track {
    background: var(--slate-800);
    border-radius: 3px;
}

.robot-details-thumbnails::-webkit-scrollbar-thumb {
    background: var(--slate-600);
    border-radius: 3px;
}

.robot-details-thumbnails::-webkit-scrollbar-thumb:hover {
    background: var(--cyan-500);
}

.robot-details-thumbnail-wrapper {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: var(--slate-800);
}

.robot-details-thumbnail-wrapper:hover {
    border-color: var(--cyan-500);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.robot-details-thumbnail-wrapper.active {
    border-color: var(--cyan-400);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.3),
                0 0 20px rgba(6, 182, 212, 0.4);
}

.robot-details-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.robot-details-thumbnail picture,
.robot-details-thumbnail picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.robot-details-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 100%);
    color: var(--slate-400);
    font-size: 1.125rem;
}

/* Product Info */
.robot-details-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.robot-details-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.robot-details-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.robot-details-brand {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--slate-300);
    text-decoration: none;
    transition: color 0.2s;
}

a.robot-details-brand:hover {
    color: var(--cyan-400);
}

.robot-details-meta .robot-details-brand + .robot-details-category::before {
    content: '·';
    margin-right: 0.75rem;
    color: var(--slate-500);
    font-weight: 400;
}

.robot-details-category {
    display: inline-block;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    color: var(--cyan-400);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    width: fit-content;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.robot-details-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .robot-details-title {
        font-size: 2rem;
    }
}

.robot-details-price-section {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.robot-details-price {
    font-size: 2.5rem;
    color: var(--cyan-400);
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 768px) {
    .robot-details-price {
        font-size: 2rem;
    }
}

.robot-details-description {
    font-size: 1.125rem;
    color: var(--slate-300);
    line-height: 1.75;
    margin: 0;
}

.robot-details-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.robot-details-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.robot-details-feature-item:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateX(4px);
}

.robot-details-feature-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--cyan-400);
    flex-shrink: 0;
}

.robot-details-feature-text {
    color: var(--slate-300);
    font-size: 0.9375rem;
}

.robot-details-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.robot-details-actions .btn {
    width: 100%;
    justify-content: center;
}

/* Payment and Delivery Info Section */
.robot-details-payment-delivery {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    border-top: 1px solid var(--slate-800);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .robot-details-payment-delivery {
        padding: 1rem 0.5rem;
        gap: 0.5rem;
        grid-template-columns: 1fr 1fr;
    }
}

.robot-details-payment-delivery-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2.5rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 1rem;
    border: 1px solid var(--slate-800);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .robot-details-payment-delivery-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

.robot-details-payment-delivery-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .robot-details-payment-delivery-item {
        padding: 1rem 0.75rem;
        gap: 0.75rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        min-width: 0;
    }
}

.robot-details-payment-delivery-item:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.2);
}

.robot-details-payment-delivery-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--cyan-400);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

@media (max-width: 768px) {
    .robot-details-payment-delivery-icon {
        width: 1.75rem;
        height: 1.75rem;
        margin-top: 0;
    }
}

.robot-details-payment-delivery-text {
    flex: 1;
}

.robot-details-payment-delivery-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .robot-details-payment-delivery-title {
        font-size: 0.875rem;
        margin: 0.5rem 0 0.25rem 0;
    }
}

.robot-details-payment-delivery-desc {
    font-size: 1rem;
    color: var(--slate-300);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .robot-details-payment-delivery-desc {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* Specifications Section */
.robot-details-specs {
    padding: 3rem;
    border-top: 1px solid var(--slate-800);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .robot-details-specs {
        padding: 2rem 0rem;
    }
}

.robot-details-specs-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
    width: 50%;
    max-width: 600px;
    text-align: left;
}

@media (max-width: 968px) {
    .robot-details-specs-title {
        width: 100%;
        padding: 0 0 0 1rem;
    }
}

.robot-details-specs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 1rem;
    border: 1px solid var(--slate-800);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-left: 0;
    overflow: hidden;
}

.robot-details-specs-column {
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.robot-details-specs-column:first-child {
    border-right: 1px solid var(--slate-800);
}

@media (max-width: 968px) {
    .robot-details-specs-list {
        grid-template-columns: 1fr 1fr;
        width: 100%;
        max-width: 100%;
    }
    
    .robot-details-specs-column {
        padding: 1rem;
    }
    
    .robot-details-specs-column:first-child {
        border-right: 1px solid var(--slate-800);
    }
}

.robot-details-spec-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    width: 100%;
}

.robot-details-spec-item:last-child {
    border-bottom: none;
}

.robot-details-spec-item:hover {
    padding-left: 0.5rem;
    border-bottom-color: rgba(6, 182, 212, 0.3);
}

.robot-details-spec-label {
    font-size: 1rem;
    color: var(--slate-400);
    font-weight: 500;
    min-width: fit-content;
    white-space: nowrap;
    text-align: left;
    flex-shrink: 0;
    padding-top: 0.125rem;
}

.robot-details-spec-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-align: right;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 60%;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .robot-details-specs-list {
        padding: 0.5rem;
        grid-template-columns: 1fr;
    }
    
    .robot-details-specs-column {
        padding: 0.75rem;
    }
    
    .robot-details-specs-column:first-child {
        border-right: none;
    }
    
    .robot-details-spec-item {
        flex-wrap: nowrap;
        gap: 1rem;
        padding: 0.875rem 0;
        align-items: flex-start;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .robot-details-specs-column:first-child .robot-details-spec-item:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .robot-details-specs-column:last-child .robot-details-spec-item:last-child {
        border-bottom: none !important;
    }
    
    .robot-details-spec-label {
        font-size: 0.8125rem;
        width: 50%;
        min-width: 0;
        text-align: left;
        flex-shrink: 0;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .robot-details-spec-separator {
        display: none;
    }
    
    .robot-details-spec-value {
        font-size: 0.8125rem;
        width: 50%;
        flex: 0 0 50%;
        text-align: left;
        max-width: 50%;
    }
}

/* Video Section */
.robot-details-video {
    padding: 3rem;
    border-top: 1px solid var(--slate-800);
    width: 100%;
}

.robot-details-video-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.robot-details-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--slate-800);
}

.robot-details-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .robot-details-video {
        padding: 2rem 1rem;
    }
    .robot-details-video-title {
        font-size: 1.25rem;
    }
}

/* CTA Section */
.robot-details-cta {
    padding: 3rem;
    border-top: 1px solid var(--slate-800);
    text-align: center;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
}

@media (max-width: 768px) {
    .robot-details-cta {
        padding: 2rem 1.5rem;
    }
}

.robot-details-cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.robot-details-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.robot-details-cta-buttons .btn {
    min-width: 200px;
}

@media (max-width: 768px) {
    .robot-details-cta-buttons {
        flex-direction: column;
    }
    
    .robot-details-cta-buttons .btn {
        width: 100%;
        min-width: unset;
    }
}

/* Share Section */
.robot-share-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--slate-800);
}

.robot-share-section-title {
    font-size: 1rem;
    color: var(--slate-400);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--slate-700);
    border-radius: 0.5rem;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.share-btn-vk:hover {
    background-color: #4C75A3;
    border-color: #4C75A3;
}

.share-btn-telegram:hover {
    background-color: #0088cc;
    border-color: #0088cc;
}

.share-btn-whatsapp:hover {
    background-color: #25D366;
    border-color: #25D366;
}

.share-btn-copy:hover {
    background-color: var(--cyan-500);
    border-color: var(--cyan-500);
}

.share-btn svg {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
}

.share-btn-copied {
    background-color: var(--green-500) !important;
}

/* Robot Details CTA Description */
.robot-details-cta-description {
    color: var(--slate-400);
    margin-bottom: 1.5rem;
}

/* Robot Details Navigation Buttons States */
.robot-details-nav-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Error Message Button */
.error-message-btn {
    margin-top: 2rem;
}

/* Loading & Error States */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    color: var(--slate-400);
    font-size: 1.125rem;
}

.error-message {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--slate-400);
}

.error-message h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2rem;
}

/* Favorite Button */
.robot-favorite-btn-details {
    position: relative;
    width: 3rem;
    height: 3rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white);
    flex-shrink: 0;
}

.robot-favorite-btn-details:hover {
    background: rgba(239, 68, 68, 0.8);
    border-color: rgba(239, 68, 68, 0.5);
    transform: scale(1.1);
}

.robot-favorite-btn-details.active {
    background: rgba(239, 68, 68, 0.9);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.robot-favorite-btn-details .icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Brands Page Styles */
.brands-section {
    padding: 3rem 0;
}

.brands-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.brand-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--slate-800);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.brand-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan-400);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.brand-card-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(6, 182, 212, 0.05);
    border-bottom: 1px solid var(--slate-800);
}

.brand-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.brand-card:hover .brand-card-image img {
    filter: brightness(1.1);
}

.brand-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.brand-card-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.brand-card-description {
    font-size: 0.9375rem;
    color: var(--slate-300);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .brand-card-image {
        height: 150px;
        padding: 1.5rem;
    }
    
    .brand-card-content {
        padding: 1.25rem;
    }
    
    .brand-card-name {
        font-size: 1.125rem;
    }
}

/* Brand Details Page Styles */
.brand-details-page {
    padding: 3rem 0;
    min-height: 60vh;
}

.brand-details-container {
    max-width: 1200px;
    margin: 0 auto;
}

.brand-details-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 1.5rem;
    border: 1px solid var(--slate-800);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand-details-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    padding: 3rem;
    align-items: flex-start;
}

@media (max-width: 968px) {
    .brand-details-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}

.brand-details-logo {
    width: 100%;
    max-width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 1rem;
    border: 1px solid var(--slate-800);
}

.brand-details-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0.95);
}

.brand-details-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-details-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .brand-details-title {
        font-size: 2rem;
    }
}

.brand-details-description {
    font-size: 1.125rem;
    color: var(--slate-300);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .brand-details-logo {
        max-width: 100%;
        height: 200px;
        padding: 1.5rem;
    }
    
    .brand-details-description {
        font-size: 1rem;
    }
}

/* Catalog show more centered */
.catalog-show-more-centered {
    text-align: center;
    margin-top: 3rem;
}
