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

:root {
    --primary: #ff3366;
    --primary-dark: #cc1a4a;
    --secondary: #6c5ce7;
    --accent: #00d4ff;
    --dark: #0a0a0f;
    --darker: #050508;
    --light: #ffffff;
    --gray: #8b8b9a;
    --gradient-1: linear-gradient(135deg, #ff3366 0%, #6c5ce7 100%);
    --gradient-2: linear-gradient(135deg, #00d4ff 0%, #6c5ce7 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
    max-width: 100vw;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
    will-change: transform;
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-cta {
    background: var(--gradient-1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--light) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 51, 102, 0.4);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--light);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--primary);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--primary);
}

/* Hide mobile hero image on desktop */
.hero-image-mobile {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    background: var(--light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gradient-1);
    color: var(--light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

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

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 51, 102, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gray);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease infinite;
}

.scroll-indicator span {
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Features Section */
.features {
    padding: 10rem 4rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    background: var(--light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 1000px;
}

.feature-card {
    perspective: 1000px;
    cursor: pointer;
}

.card-3d {
    position: relative;
    width: 100%;
    height: 300px;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.feature-card:hover .card-3d {
    transform: rotateY(10deg) rotateX(5deg);
}

.card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    backface-visibility: hidden;
    transition: all 0.3s ease;
}

.feature-card:hover .card-front {
    border-color: rgba(255, 51, 102, 0.5);
    box-shadow: 0 20px 40px rgba(255, 51, 102, 0.2);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.card-front h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.card-front p {
    color: var(--gray);
    font-size: 1rem;
}

/* Product Showcase */
.product-showcase {
    padding: 10rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.product-3d-wrapper {
    perspective: 1500px;
}

.product-model {
    width: 500px;
    margin: 0 auto;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.board-base {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    position: relative;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
}

.chip {
    position: absolute;
    background: linear-gradient(145deg, #2d2d44 0%, #1a1a2e 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.chip.cpu {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, #ff3366 0%, #cc1a4a 100%);
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 0 30px rgba(255, 51, 102, 0.5);
}

.chip.ram {
    width: 60px;
    height: 30px;
    top: 20%;
    right: 15%;
}

.chip.wifi {
    width: 40px;
    height: 40px;
    top: 20%;
    left: 15%;
    border-radius: 50%;
}

.port {
    position: absolute;
    background: linear-gradient(145deg, #3d3d5c 0%, #2d2d44 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: var(--gray);
}

.port.usb1, .port.usb2 {
    width: 30px;
    height: 16px;
    right: -16px;
}

.port.usb1 { top: 35%; }
.port.usb2 { top: 50%; }

.port.hdmi {
    width: 50px;
    height: 16px;
    bottom: 20%;
    right: -26px;
}

.port.ethernet {
    width: 40px;
    height: 16px;
    bottom: 20%;
    left: -21px;
}

.led {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    bottom: 15px;
}

.led-1 {
    left: 20px;
    background: #ff3366;
    box-shadow: 0 0 10px #ff3366;
    animation: blink 1s ease infinite;
}

.led-2 {
    left: 35px;
    background: #00d4ff;
    box-shadow: 0 0 10px #00d4ff;
    animation: blink 1.5s ease infinite;
}

.led-3 {
    left: 50px;
    background: #6c5ce7;
    box-shadow: 0 0 10px #6c5ce7;
    animation: blink 2s ease infinite;
}

.specs-content {
    padding: 2rem;
}

.specs-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-name {
    color: var(--gray);
    font-size: 1rem;
}

.spec-value {
    color: var(--light);
    font-weight: 600;
    font-size: 1rem;
}

/* Gallery Section */
.gallery {
    padding: 10rem 4rem;
    overflow: hidden;
}

.gallery-header {
    text-align: center;
    margin-bottom: 5rem;
}

.gallery-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.gallery-header p {
    color: var(--gray);
    font-size: 1.2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    perspective: 1000px;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(5) {
    transform: translateY(50px);
}

.gallery-card {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.gallery-card:hover {
    transform: translateY(-10px) rotateX(5deg);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.card-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(255, 51, 102, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 51, 102, 0.6);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    color: white;
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 10rem 4rem;
    text-align: center;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float-particle 20s ease-in-out infinite;
}

.particle:nth-child(1) {
    background: var(--primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    background: var(--secondary);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.particle:nth-child(3) {
    background: var(--accent);
    bottom: 10%;
    left: 30%;
    animation-delay: -10s;
}

.particle:nth-child(4) {
    background: var(--primary);
    top: 30%;
    right: 30%;
    animation-delay: -15s;
}

.particle:nth-child(5) {
    background: var(--secondary);
    bottom: 30%;
    left: 50%;
    animation-delay: -7s;
}

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

.cta-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.cta-price {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.price {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-note {
    color: var(--gray);
    margin-bottom: 3rem;
}

.cta-button {
    position: relative;
    padding: 1.25rem 3rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 50px;
    color: var(--light);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

.button-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover .button-glow {
    opacity: 1;
}

/* Footer */
.footer {
    padding: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--gray);
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    50% {
        transform: translateY(-20px) rotateY(5deg);
    }
}

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

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Responsive */
@media (max-width: 1024px) {
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .product-model {
        width: 300px;
        height: 210px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(5) {
        transform: none;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }

    /* Prevent horizontal overflow */
    .hero,
    .features,
    .product-showcase,
    .gallery,
    .cta-section,
    .footer {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .cta-background {
        overflow: hidden;
        max-width: 100vw;
    }

    .particle {
        max-width: 100%;
    }

    .navbar {
        padding: 1rem 1.5rem !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .nav-logo {
        font-size: 1.2rem;
    }

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

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, rgba(10, 10, 15, 0.98) 0%, rgba(20, 20, 35, 0.98) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0;
        padding: 80px 2rem 2rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(255, 51, 102, 0.2);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.25rem;
        color: var(--light);
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        color: var(--primary);
        padding-left: 10px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        margin-top: 2rem;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        background: var(--gradient-1);
        border-radius: 50px;
        border: none;
    }

    .nav-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(255, 51, 102, 0.4);
    }

    /* Hero section mobile improvements */
    .hero-content {
        padding: 0 1rem;
        padding-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin-top: -60px;
    }

    .hero-title {
        margin-bottom: 0.5rem;
        order: 1;
    }

    .hero-image-mobile {
        display: block;
        order: 2;
        width: 250px;
        margin: 1rem 0;
    }

    .hero-image-mobile img {
        width: 100%;
        height: auto;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        order: 3;
    }

    .hero-stats {
        flex-direction: row;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        justify-content: center;
        order: 4;
    }

    .stat {
        padding: 0 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.55rem;
        letter-spacing: 0.5px;
    }

    .hero-cta {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
        order: 5;
    }

    .scroll-indicator {
        bottom: 1rem;
    }
    
    .features,
    .product-showcase,
    .gallery,
    .cta-section {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-3d {
        height: 250px;
    }

    .card-icon {
        font-size: 3rem;
    }

    .card-front h3 {
        font-size: 1.25rem;
    }

    .card-front p {
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .footer {
        padding: 3rem 1.5rem;
    }

    .footer-logo {
        font-size: 1.25rem;
    }

    .footer-brand p {
        font-size: 0.9rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    /* Product showcase mobile improvements */
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .specs-content {
        order: 2;
        padding: 0;
    }

    .product-3d-wrapper {
        order: 1;
    }

    .specs-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .spec-item {
        padding: 0.75rem 0;
    }

    .spec-name, .spec-value {
        font-size: 0.9rem;
    }

    .product-model {
        width: 320px;
        height: auto;
        margin: 0 auto;
    }

    .product-image {
        width: 100%;
        height: auto;
    }

    /* Gallery mobile improvements */
    .gallery-header h2 {
        font-size: 1.75rem;
    }

    .gallery-header p {
        font-size: 1rem;
    }

    .gallery-card {
        height: 250px;
    }

    .card-content h3 {
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.85rem;
    }

    /* CTA section mobile improvements */
    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-price {
        font-size: 1.1rem;
    }

    .price {
        font-size: 2.5rem;
    }

    .cta-note {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Back to top button mobile */
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .navbar {
        padding: 0.875rem 1rem !important;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .features,
    .product-showcase,
    .gallery,
    .cta-section {
        padding: 3rem 1rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .card-3d {
        height: 220px;
    }

    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .gallery-card {
        height: 200px;
    }

    .card-content {
        padding: 1.5rem;
    }

    .price {
        font-size: 2rem;
    }

    .product-model {
        width: 280px;
        height: auto;
    }
}