/* Reset & Base Styles */
:root {
    --color-bg: #f5f5f7; /* Changed to grey */
    --color-bg-alt: #e8e8ed; /* Darker grey for alt sections */
    --color-text: #1d1d1f;
    --color-text-light: #86868b;
    --color-primary: #1d1d1f; /* Black for primary actions */
    --color-primary-hover: #333333;
    --color-border: #d2d2d7;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --container-width: 1200px;
    --header-height: 60px;
}

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

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 9999px; /* Pill shape */
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
}

.btn-secondary:hover {
    color: #000;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.btn-outline:hover {
    border-color: var(--color-primary);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 16px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
}

/* Video Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Demo Modal Specifics */
.demo-modal-content {
    background: #fff;
    max-width: 500px;
    padding: 0;
    color: var(--color-text);
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.demo-form-container {
    padding: 40px;
}

.demo-form-container h2 {
    font-size: 28px;
    margin-bottom: 12px;
    text-align: center;
}

.demo-form-container p {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 30px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(62, 130, 255, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.demo-modal-content .modal-close {
    color: var(--color-text-light);
    text-shadow: none;
    top: 20px;
    right: 24px;
}

.demo-modal-content .modal-close:hover {
    color: var(--color-text);
}

.modal-video {
    width: 100%;
    display: block;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-size: 14px;
    color: var(--color-text);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-text-light);
}

.nav-actions {
    display: flex;
    gap: 16px;
}

.nav-drawer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 30px;
    margin-left: 40px;
}

.dropdown-toggle {
    display: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    padding: 8px 0;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1100;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-text);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/hero-bg.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    color: #fff;
}

/* Overlay for better text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 250px 1fr 300px; /* Left Sidebar, Video Center, Right Sidebar */
    gap: 30px;
    align-items: center;
    height: 100%;
}

/* Left Sidebar: Product Menu */
.hero-sidebar-left {
    display: flex;
    flex-direction: column;
    height: 65vh; /* Match video container height */
    overflow-y: auto; /* Enable vertical scrolling */
    padding-right: 5px; /* Space for scrollbar */
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.hero-sidebar-left::-webkit-scrollbar {
    width: 4px;
}

.hero-sidebar-left::-webkit-scrollbar-track {
    background: transparent;
}

.hero-sidebar-left::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.product-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-menu li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.product-menu li:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(5px);
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.brand-info img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    padding: 2px;
}

.brand-info .menu-text {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.brand-actions {
    display: flex;
    gap: 8px;
    margin-left: 10px;
}

.action-btn {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.action-btn:hover {
    background: rgba(0, 123, 255, 0.6);
    color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}


/* Center: Video Carousel */
.hero-center-video {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    gap: 15px;
}

.video-container {
    height: 65vh;
    width: auto;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
    position: relative;
    z-index: 1;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 20px;
    font-weight: bold;
    user-select: none;
    outline: none;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-control.prev {
    left: 15px;
}

.carousel-control.next {
    right: 15px;
}

/* Product Specs Table */
.product-specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 25px;
    margin-bottom: 35px;
    font-size: 15px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
}

.product-specs-table tr {
    transition: background-color 0.2s ease;
}

.product-specs-table tr:nth-child(even) {
    background-color: #fafafa;
}

.product-specs-table tr:hover {
    background-color: #f5f5f7;
}

.product-specs-table td {
    padding: 18px 24px;
    vertical-align: top;
    border-bottom: 1px solid #f0f0f0;
}

.product-specs-table tr:last-child td {
    border-bottom: none;
}

.spec-key {
    width: 30%;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    position: relative;
}

.spec-value {
    color: #424245;
    line-height: 1.6;
}

.spec-full {
    color: #424245;
    line-height: 1.6;
    font-style: italic;
    text-align: center;
    background-color: #fcfcfc;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right Sidebar: Video Info */
.hero-sidebar-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-info {
    position: relative;
}

.info-content {
    display: none;
    animation: fadeInRight 0.5s ease-out forwards;
}

.info-content.active {
    display: block;
}

.news-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-weight: 500;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.info-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.info-content .btn-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.info-content .btn-link:hover {
    gap: 10px;
    text-decoration: underline;
}

/* Product Specs Section */
.product-specs-section {
    padding: 60px 0 80px;
    background-color: #f9f9fb;
    border-top: 1px solid var(--color-border);
}

.product-specs-section .section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--color-text);
}

.product-specs-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 200px 1fr 250px;
        gap: 20px;
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        display: flex;
        flex-direction: column;
    }
    
    /* 1. Video Section */
    .hero-center-video {
        order: 1;
        width: 100%;
    }
    
    .video-container {
        height: auto;
        aspect-ratio: 16 / 9;
        max-height: 50vh;
        width: 100%;
    }

    /* 2. Brand Menu (Horizontal Scroll) */
    .hero-sidebar-left {
        order: 2;
        width: 100%;
        height: auto;
        padding-right: 0;
        overflow-y: hidden;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 20px;
        scrollbar-width: none; /* Firefox */
    }
    
    .hero-sidebar-left::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .product-menu {
        display: flex;
        flex-direction: row;
        gap: 12px;
        padding: 5px 20px 15px; /* Add horizontal padding for scroll snap feeling */
        width: max-content; /* Ensure it takes width of content */
    }
    
    .product-menu li {
        flex: 0 0 auto;
        width: 150px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px 10px;
        margin-bottom: 0;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .product-menu li:hover {
        transform: translateY(-5px);
    }

    .brand-info {
        flex-direction: column;
        margin-bottom: 10px;
        width: 100%;
        justify-content: center;
        gap: 8px;
    }
    
    .brand-actions {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        gap: 8px;
    }
    
    .action-btn {
        flex: 1;
        justify-content: center;
    }
    
    /* 3. News / Info */
    .hero-sidebar-right {
        order: 3;
        width: 100%;
        text-align: center;
        padding: 0 10px;
    }
    
    .info-content {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .info-content h3 {
        font-size: 24px;
    }
}

/* Trusted By Marquee */
.trusted-by {
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden; /* Prevent horizontal scrollbar on body if track is too wide */
}

.trusted-by p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 30px;
    font-weight: 500;
}

.logo-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-track img {
    height: 60px; /* Uniform height */
    width: auto;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease;
    object-fit: contain;
}

.logo-track img:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* Feature Sections */
.feature-section2 {
    padding: 100px 0;
    background-color: var(--color-bg);
}

.feature-section2-step2,
.feature-section2-step3 {
    display: none;
}

.feature-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.config-step-actions {
    grid-column: 1 / -1;
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.feature-section2.reverse .feature-grid {
    direction: rtl;
}

.feature-section2.reverse .feature-text {
    direction: ltr;
}

.feature2-text h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.feature2-text p {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.config-step {
    max-width: 920px;
    margin: 0 auto;
    padding: 32px 32px 28px;
    border-radius: 24px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
}

.config-preview {
    align-self: stretch;
}

.config-preview-image {
    height: 100%;
    min-height: 320px;
    background-color: var(--color-bg);
    background-size: cover;
    background-position: center;
    opacity: 1;
    transition: opacity 0.35s ease, background-color 0.25s ease;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.06);
}

.config-preview-image.is-fading {
    opacity: 0;
}

.config-step-header {
    margin-bottom: 24px;
}

.config-step-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.config-step-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: var(--color-text);
}

.config-step-subtitle {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.config-step-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.config-option {
    position: relative;
}

.config-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.config-option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.config-option-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.config-option-main {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
}

.config-option-meta {
    font-size: 14px;
    color: var(--color-text-light);
}

.config-option-card:hover {
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.02);
}

.config-step-options input[type="radio"]:checked + .config-option-card {
    border-color: var(--color-primary);
    background-color: rgba(62, 130, 255, 0.07);
    box-shadow: 0 0 0 1px rgba(62, 130, 255, 0.35);
    transform: translateY(-1px);
}
/* Reviews Section */
.product-rating-display {
    text-align: center;
    /* margin-top handled by parent gap */
}

.product-rating-display .stars {
    color: #ffc107;
    font-size: 1.5rem;
}

.product-rating-display .rating-text {
    font-weight: 600;
    color: #333;
    margin-left: 8px;
}

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

.review-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    font-size: 24px;
    background: #f0f0f0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.user-name {
    font-weight: 600;
    color: #333;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 10px;
}

.review-content {
    color: #555;
    line-height: 1.6;
}

/* Write Review Form */
.write-review-container {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    margin-top: 40px;
}

.write-review-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text);
}

.rating-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating-input-group input {
    display: none;
}

.rating-input-group label {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-input-group input:checked ~ label,
.rating-input-group label:hover,
.rating-input-group label:hover ~ label {
    color: #ffc107;
}

.review-submit-btn {
    margin-top: 15px;
}

/* Feature Sections */
.feature-section {
    padding: 100px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-section.reverse .feature-grid {
    direction: rtl; /* Simple way to swap columns */
}

.feature-section.reverse .feature-text {
    direction: ltr; /* Reset text direction */
}

.feature-text h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.feature-text p {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.link-arrow {
    font-weight: 600;
    font-size: 16px;
    color: var(--color-primary);
}

.link-arrow:hover {
    text-decoration: underline;
}

.img-placeholder {
    width: 100%;
    height: 500px;
    background-color: var(--color-bg);
    border-radius: 24px;
    background-size: cover;
    background-position: center;
}

.icon-collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 0;
    overflow: hidden;
    background-color: #fff;
}

.icon-collage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    background-color: #fff;
}

.icon-collage img:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    z-index: 2;
    position: relative;
    border-color: transparent;
}

/* Tech Specs Section */
.tech-specs-section {
    padding: 100px 0;
    background-color: var(--color-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 20px;
    color: var(--color-text-light);
}

.specs-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.specs-image {
    flex: 1;
    background-color: var(--color-bg-alt);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specs-image img {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    mix-blend-mode: multiply; /* Helps blend white bg images if needed */
}

.specs-details {
    flex: 1;
}

.spec-group {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.spec-card {
    flex: 1;
}

.spec-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.spec-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--color-text);
}

.spec-value small {
    font-size: 48px;
    font-weight: 500;
    color: var(--color-text-light);
}

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

.specs-table-wrapper {
    margin-bottom: 40px;
    background-color: var(--color-bg-alt);
    border-radius: 16px;
    padding: 24px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 15px;
}

/* Company Intro Section */
.company-intro {
    padding: 100px 0;
    background-color: var(--color-bg-alt);
}

.intro-header {
    text-align: center;
    margin-bottom: 60px;
}

.intro-header h2 {
    font-size: 40px;
    color: var(--color-text);
}

.intro-content {
    display: flex;
    flex-direction: column;
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.intro-row:nth-child(even) {
    flex-direction: row-reverse;
}

.intro-row2 {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 80px;
}

.intro-row2 video {
    flex: 1;
    width: 100%; /* Ensure video takes up allocated space */
    max-width: 50%; /* Prevent video from dominating layout */
}

.intro-row2 .intro-text {
    flex: 1;
}

.intro-row3 {
    display: flex;
    align-items: center;
    gap: 80px;
}

.intro-row3 video {
    flex: 1;
    width: 100%;
    max-width: 50%;
}

.intro-row3 .intro-text {
    flex: 1;
}

.intro-text {
    flex: 1;
}

.intro-image {
    flex: 1;
}

.intro-image .img-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 24px;
}

.intro-text h3 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--color-text);
}

.intro-text p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.intro-list {
    list-style: none;
    padding: 0;
}

.intro-list li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-light);
}

.intro-list strong {
    color: var(--color-text);
}

@media (max-width: 992px) {
    .intro-row, .intro-row2, .intro-row3 {
        flex-direction: column;
        gap: 40px;
    }

    .intro-row:nth-child(even), .intro-row2, .intro-row3 {
        flex-direction: column;
    }

    .intro-row2 video, .intro-row3 video {
        max-width: 100%;
    }
    
    .intro-image .img-placeholder {
        height: 300px;
    }
}

/* Contact Section */
.contact-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
}

.contact-title {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--color-text);
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 200px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.contact-value {
    font-size: 16px;
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .contact-grid {
        gap: 40px;
        flex-direction: column;
    }
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td:first-child {
    color: var(--color-text-light);
    width: 40%;
}

.specs-table td:last-child {
    font-weight: 500;
    color: var(--color-text);
}

.specs-actions {
    display: flex;
    gap: 16px;
}

/* Advanced Features */
.advanced-features {
    padding: 80px 0;
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.gallery-section {
    padding: 80px 0 40px;
}

.gallery-main {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    background-color: var(--color-bg-alt);
    cursor: grab;
    display: flex;
    gap: 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-main::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.gallery-image {
    display: block;
    flex: 0 0 calc((100% - 36px) / 4);
    height: auto;
    max-height: 480px;
    object-fit: contain;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
    scroll-snap-align: center;
    filter: brightness(0.75);
    opacity: 0.8;
    will-change: transform, box-shadow;
}

.gallery-image.active {
    filter: none;
    opacity: 1;
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.gallery-thumbs {
    margin-top: 24px;
    display: flex;
    gap: 45px;
    justify-content: center;
}

.gallery-thumb {
    min-width: auto;
    padding: 0;
    border-radius: 0;
    border: none;
    background-color: transparent;
    color: var(--color-text-light);
    font-size: 36px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
    box-shadow: none;
}

.gallery-thumb span {
    letter-spacing: 0.05em;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    background-color: transparent;
    color: var(--color-text);
    border: none;
    box-shadow: none;
    transform: none;
}

.gallery-caption {
    margin-top: 16px;
    text-align: center;
    color: var(--color-text-light);
    font-size: 20px;
}

.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card-small {
    background: var(--color-bg-alt); /* Match container bg or slightly different if needed, but keeping consistent grey theme */
    padding: 32px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.5); /* Subtle highlight */
}

.feature-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background: #fff; /* Pop on hover */
}

.icon-box {
    width: 48px;
    height: 48px;
    background-color: #fff; /* Contrast against card bg */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card-small h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card-small p {
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* Responsive updates for new sections */
@media (max-width: 992px) {
    .specs-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .features-grid-3 {
        grid-template-columns: 1fr;
    }
}

.product-hero {
    padding: 120px 0 80px;
    text-align: center;
    background-image: url('../picture/Unitree_R1_3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Ensure proper stacking if needed */
    color: #fff;
}

.product-hero .container {
    position: relative;
    z-index: 2;
}

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

.product-hero-content h1 {
    font-size: 48px;
    margin-bottom: 16px;
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.product-hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 720px;
    margin: 0 auto 16px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.product-hero-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: rgba(91, 91, 91, 0.8);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.product-hero-meta span {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-alt);
}

.product-list-section {
    padding: 40px 0 100px;
}

.product-list-header {
    text-align: center;
    margin-bottom: 40px;
}

.product-list-header h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.product-list-header p {
    font-size: 16px;
    color: var(--color-text-light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    background-color: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.06);
}

.product-image {
    width: 100%;
    border-radius: 16px;
    background-color: var(--color-bg-alt);
    padding: 16px;
    margin-bottom: 14px;
}

.product-image img {
    width: 100%;
    height: 220px;
    object-fit: contain;
}

.product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.product-specs {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.product-specs li + li {
    margin-top: 4px;
}

.product-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-price {
    font-weight: 600;
    font-size: 14px;
}

.product-buy-btn {
    padding-inline: 18px;
}

.product-usecase-section {
    padding: 80px 0 100px;
    background-color: var(--color-bg-alt);
}

.product-usecase-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 60px;
    align-items: flex-start;
}

.product-usecase-block h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.product-usecase-block p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.product-usecase-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-usecase-item h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.product-usecase-item p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

/* Center product grid for pages with few items */
.center-product-grid {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
}

.center-product-grid .product-card {
    width: 280px;
    flex: initial;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background-color: #111;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 24px;
    color: #fff;
}

.footer-col p, .footer-col a {
    color: #888;
    font-size: 14px;
    margin-bottom: 12px;
    display: block;
}

.footer-contact {
    margin-top: 24px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #888;
    font-size: 14px;
}

.footer-contact-item:last-child {
    margin-bottom: 0;
}

.footer-contact-icon {
    font-size: 16px;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #333;
    text-align: center;
    color: #555;
    font-size: 13px;
}

/* About Page */
.about-hero {
    padding: 160px 0 100px;
    background-image: url('../picture/robots_banner_main.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.about-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 24px;
}

.about-hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -1.5px;
    color: #fff;
    max-width: 800px;
}

.about-hero p {
    font-size: 24px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.team-section {
    padding: 100px 0;
    background-color: var(--color-bg-alt);
    text-align: center;
}

.team-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--color-text);
}

.team-header p {
    font-size: 20px;
    color: var(--color-text-light);
    margin-bottom: 60px;
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Product Detail Page */
.product-detail-section {
    padding: 80px 0;
    background-color: #fff;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-left-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-detail-image-wrapper {
    background-color: var(--color-bg-alt);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-detail-main-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.product-detail-info-wrapper h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.product-detail-description {
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 40px;
}

.product-detail-specs-section {
    margin-bottom: 40px;
    padding: 24px;
    background-color: var(--color-bg);
    border-radius: 16px;
}

.product-detail-specs-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.product-detail-specs-list {
    list-style: disc;
    padding-left: 20px;
    color: var(--color-text-light);
}

.product-detail-specs-list li {
    margin-bottom: 8px;
}

.product-detail-actions {
    display: flex;
    gap: 16px;
}

/* Product Attributes (Shop Style) */
.product-detail-attributes {
    margin-bottom: 32px;
    background-color: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.05);
}

.product-attribute-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.product-attribute-row:last-child {
    border-bottom: none;
}

.product-attribute-label {
    color: var(--color-text-light);
    font-size: 15px;
}

.product-attribute-value {
    font-weight: 500;
    color: var(--color-text);
    text-align: right;
    font-size: 15px;
}

/* -------------------------------------------
   RESPONSIVE STYLES (Mobile & Tablet)
   ------------------------------------------- */

@media (max-width: 992px) {
    /* Tablet & Smaller Laptops */
    .intro-row, .intro-row2, .intro-row3 {
        flex-direction: column;
        gap: 40px;
    }
    .intro-row:nth-child(even), .intro-row2, .intro-row3 {
        flex-direction: column;
    }
    .intro-image, .intro-text {
        width: 100%;
    }
    
    .feature-grid {
        gap: 40px;
    }

    .feature-grid2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .config-preview {
        order: -1; /* Show image above options on mobile if desired, or keep below. Standard is usually image top. */
    }

    .config-preview-image {
        min-height: 280px;
        border-radius: 20px;
    }

    .config-step {
        padding: 22px 18px 18px;
        border-radius: 18px;
    }

    .config-step-title {
        font-size: 26px;
    }

    .config-option-card {
        padding: 12px 12px;
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    /* Mobile Devices */
    
    /* Navigation */
    .nav-drawer {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 16px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 0;
        border-top: 1px solid rgba(0,0,0,0.05);
        margin-left: 0;
    }

    .nav-drawer.active {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
    }

    .nav-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 14px 20px 6px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }

    .dropdown-toggle {
        display: flex;
        position: absolute;
        top: 0;
        right: 0;
        width: 50px;
        height: 50px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        color: var(--color-text);
    }

    .dropdown-toggle::after {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.2s ease;
        margin-top: -4px;
    }

    .has-dropdown.active .dropdown-toggle::after {
        transform: rotate(225deg);
        margin-top: 4px;
    }

    .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: rgba(0,0,0,0.03);
        padding: 0;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        border-radius: 8px;
        margin-top: 5px;
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 12px 0;
        color: var(--color-text-light);
    }

    /* Hero */
    .hero-content h1 {
        font-size: 40px;
    }
    .hero-content p {
        font-size: 18px;
    }

    /* About Page */
    .about-hero {
        padding: 120px 0 60px;
    }
    .about-hero h1 {
        font-size: 40px;
    }
    .about-hero p {
        font-size: 18px;
    }
    
    /* Features */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-grid2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .config-preview {
        order: -1; /* Show image above options on mobile */
    }

    .config-preview-image {
        min-height: 280px;
        border-radius: 20px;
    }

    .feature-section.reverse .feature-grid {
        direction: ltr;
    }
    .feature-image {
        order: -1;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col {
        margin-bottom: 10px;
    }

    /* Product Page */
    .product-hero-content h1 {
        font-size: 34px;
    }
    .product-hero-content p {
        font-size: 16px;
    }
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    .product-usecase-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* News / Forum */
    .forum-container {
        flex-direction: column;
        padding: 20px;
    }
    .forum-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .topic-card {
        flex-direction: column;
        gap: 16px;
    }
    
    .topic-stats {
        flex-direction: row;
        border-left: none;
        border-top: 1px solid var(--color-border);
        padding-left: 0;
        padding-top: 16px;
        width: 100%;
        justify-content: flex-start;
        gap: 24px;
    }
    
    .forum-hero h1 {
        font-size: 28px;
    }
    
    .forum-filters {
        overflow-x: auto;
        padding-bottom: 0;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        white-space: nowrap;
    }

    /* Product Detail */
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-attribute-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .product-attribute-value {
        text-align: left;
        word-break: break-word;
    }
    
    /* Gallery */
    .gallery-image {
        flex: 0 0 calc(50% - 10px);
    }

    .gallery-thumbs {
        gap: 15px;
        flex-wrap: wrap;
    }

    .gallery-thumb {
        font-size: 16px;
    }
    
    /* Misc */
    .specs-container {
        gap: 40px;
    }
    .specs-image {
        padding: 20px;
    }
    .spec-value {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    /* Small Mobile */
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-image {
        flex: 0 0 calc(85% - 10px); /* Show one main image with peek */
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }

    .feature-section2 {
        padding: 60px 0;
    }

    .config-preview-image {
        min-height: 220px;
        border-radius: 16px;
    }

    .config-step-actions .btn {
        width: 100%;
    }
}

/* Real-time Clock Styles */
.nav-clock {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
}

.clock-face {
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-text);
    border-radius: 50%;
    position: relative;
    box-sizing: border-box;
}

.clock-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    background-color: var(--color-text);
    border-radius: 2px;
    transform: translateX(-50%) rotate(0deg);
}

.hour-hand {
    width: 2px;
    height: 6px;
    z-index: 3;
}

.minute-hand {
    width: 2px;
    height: 8px;
    z-index: 2;
}

.second-hand {
    width: 1px;
    height: 9px;
    background-color: #ff3b30;
    z-index: 1;
}

.center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background-color: var(--color-text);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
}

.digital-time {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    font-feature-settings: 'tnum';
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .nav-clock {
        display: none;
    }
}

/* Shop Detail Page */
.shop-detail-section {
    padding: 120px 0 80px;
}

.shop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.shop-image {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.05);
}

.shop-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.shop-title {
    font-size: 40px;
    margin-bottom: 24px;
    font-weight: 700;
}

.shop-specs {
    margin-bottom: 32px;
}

.shop-specs .spec-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.shop-specs .spec-key {
    color: var(--color-text-light);
}

.shop-specs .spec-val {
    font-weight: 500;
}

.shop-actions {
    display: flex;
    gap: 16px;
}

.shop-actions .btn {
    flex: 1;
}

/* AI Page Responsive */
@media (max-width: 768px) {
    .ai-hero {
        padding: 120px 0 60px;
        min-height: auto;
        display: block; /* Stack content */
    }
    
    .ai-hero .container {
        padding-top: 40px; /* Space for navbar */
    }

    .ai-hero h1 {
        font-size: 40px;
    }

    .ai-hero p {
        font-size: 18px;
    }
    
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .shop-image {
        padding: 20px;
    }
    
    .shop-title {
        font-size: 32px;
    }
}

/* -------------------------------------------
   Comparison Page (Produce.html)
   ------------------------------------------- */
.comparison-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    min-height: 60vh;
}

.comparison-controls {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    align-items: center;
    flex-wrap: wrap;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.product-select-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-select-label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.product-select {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    min-width: 250px;
    font-size: 16px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-select:hover, .product-select:focus {
    border-color: #000;
    outline: none;
}

.vs-badge {
    font-weight: 800;
    color: #fff;
    background: #000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

.compare-btn {
    padding: 12px 40px;
    border-radius: 10px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    height: 46px;
    margin-top: 28px; /* Align with inputs */
}

.compare-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.comparison-table-container {
    overflow-x: auto;
    max-width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-radius: 20px;
    background: #fff;
    display: none;
    animation: fadeIn 0.5s ease;
}

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

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    table-layout: fixed;
}

.comparison-table th, .comparison-table td {
    padding: 20px 30px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.comparison-table th {
    background: #fafafa;
    font-weight: 600;
    width: 20%;
    color: #666;
    font-size: 14px;
}

.comparison-table td {
    width: 40%;
    color: #333;
    line-height: 1.6;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background-color: #fafafa;
}

.comparison-table img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    background-color: #fff;
}

/* Image Select (custom dropdown with thumbnails) */
.image-select {
    position: relative;
    width: 280px;
}
.image-select-display {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    min-height: 46px;
}
.image-select-display img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}
.image-select-display .placeholder {
    color: #999;
}
.image-select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    max-height: 360px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: none;
}
.image-select-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
}
.image-select-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}
.image-select-item:hover {
    background: #fafafa;
}

.product-name-header {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    padding-bottom: 10px;
}

.empty-state {
    text-align: center;
    color: #999;
    padding: 80px 20px;
    font-size: 18px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.3;
}

/* Comparison Page Responsive */
@media (max-width: 768px) {
    .comparison-controls {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .product-select-wrapper, 
    .image-select {
        width: 100%;
    }
    
    .product-select {
        width: 100%;
        min-width: unset;
    }
    
    .compare-btn {
        width: 100%;
        margin-top: 10px;
    }
    
    .vs-badge {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .comparison-table th, .comparison-table td {
        padding: 15px;
        font-size: 14px;
    }
    
    .comparison-table img {
        height: 120px;
    }
    
    .empty-state {
        padding: 40px 20px;
    }
}
