:root {
    --bg-primary: #0A0A0A;
    --bg-secondary: linear-gradient(180deg, #0F1115 0%, #050505 100%);
    --accent-neon: #A3FF12;
    --accent-blue: #00F0FF;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

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

/* --- Global Elements --- */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-neon {
    background: var(--accent-neon);
    color: #000;
}

.btn-neon:hover {
    box-shadow: 0 0 20px rgba(163, 255, 18, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-neon);
}

/* --- Navbar --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-neon);
    text-shadow: 0 0 10px rgba(163, 255, 18, 0.5);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon {
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-neon);
    color: #000;
    font-size: 0.65rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* --- Hero Section (Full-Screen Slider) --- */
.hero-slider {
    position: relative;
    height: 85vh;
    width: 100vw;
    overflow: hidden;
    background: #000;
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

.slide {
    min-width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    background: #000;
}

.slide-content {
    position: absolute;
    bottom: 10%;
    left: 8%;
    z-index: 10;
    max-width: 500px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: none;
}

.slide-content * {
    pointer-events: auto;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-label {
    color: var(--accent-neon);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -3px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 450px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.play-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.play-btn:hover {
    color: var(--accent-neon);
}

.play-icon {
    width: 45px;
    height: 45px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.play-btn:hover .play-icon {
    border-color: var(--accent-neon);
    background: rgba(163, 255, 18, 0.1);
}

.mobile-product-title {
    display: none;
}

.hero-media {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 1;
    transform: scale(1);
}

.slide.active .hero-media {
    opacity: 1;
    transform: scale(1);
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 75vh;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

/* --- Slider Controls --- */
.slider-nav {
    position: absolute;
    bottom: 3rem;
    left: 10%;
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.slider-arrows {
    display: flex;
    gap: 1rem;
}

.arrow {
    width: 50px;
    height: 50px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(10px);
}

.arrow:hover {
    border-color: var(--accent-neon);
    color: var(--accent-neon);
    background: rgba(163, 255, 18, 0.05);
}

.slider-dots {
    display: flex;
    gap: 0.8rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-neon);
    width: 30px;
    border-radius: 4px;
}

/* --- Product Grid --- */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -1px;
}

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

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-neon);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(163, 255, 18, 0.1);
}

.product-tag {
    background: rgba(163, 255, 18, 0.1);
    color: var(--accent-neon);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.product-image {
    width: 100%;
    height: auto;
    background: linear-gradient(135deg, #151515 0%, #0a0a0a 100%);
    border-radius: 16px;
    margin-bottom: 2rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-neon);
    margin-bottom: 2rem;
    display: block;
}

.product-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* --- Tech Showcase --- */
.tech-showcase {
    background: linear-gradient(180deg, #0A0A0A 0%, #111 50%, #0A0A0A 100%);
    position: relative;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    text-align: center;
}

.tech-item h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-primary);
}

.tech-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* --- Experience Section --- */
.experience-section {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
    position: relative;
    overflow: hidden;
}

.experience-content {
    z-index: 1;
    max-width: 800px;
}

.experience-section h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
}

.experience-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.glow-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* --- Why Kingveen --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature-box {
    padding: 3rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.feature-box:hover {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.05);
}

.feature-box i {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* --- Testimonials --- */
.testimonial-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 2rem 0;
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.testimonial-card {
    background: var(--glass-bg);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    width: 350px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

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

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

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    color: var(--accent-neon);
    font-weight: 700;
    font-size: 0.9rem;
}

/* --- Final CTA --- */
.final-cta {
    background: linear-gradient(135deg, #0A0A0A 0%, #151515 100%);
    text-align: center;
    padding: 4rem 0;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(163, 255, 18, 0.08) 0%, transparent 60%);
}

.final-cta h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

/* --- Footer --- */
footer {
    background: #050505;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.footer-desc {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--accent-neon);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* --- Cart Drawer --- */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    padding: 3rem;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--glass-border);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.close-cart {
    cursor: pointer;
    font-size: 1.5rem;
}

.cart-items {
    max-height: 60vh;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.cart-item-info p {
    color: var(--accent-neon);
    font-size: 0.8rem;
}

.cart-footer {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    right: 3rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

/* --- Video Modal --- */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.modal-content {
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Responsiveness --- */
.menu-toggle {
    display: none;
}

@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
    }

    .nav-links.mobile-active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 1100;
        color: var(--text-primary);
    }

    .nav-actions .btn-neon {
        display: none; /* Hide Shop Now button on mobile nav to save space */
    }

    .hero-slider { 
        height: auto; 
        min-height: 400px;
        padding: 100px 0 40px; 
    }

    .slide { 
        flex-direction: column-reverse; 
        text-align: center; 
        padding: 0 1rem; 
        justify-content: flex-start;
    }

    .hero-media { 
        width: 100%; 
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .video-container { 
        border-radius: 20px; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .slide-content { 
        position: relative; 
        left: 0; 
        bottom: 0; 
        max-width: 100%;
        padding: 0;
        margin-top: 1rem;
    }

    .hero-title { 
        font-size: 2.2rem; 
        margin-bottom: 1rem;
    }

    .hero-subtitle { 
        font-size: 0.9rem; 
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .hero-btns { 
        justify-content: center; 
        flex-wrap: wrap;
        gap: 1rem;
    }

    .mobile-product-title {
        display: block;
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--accent-neon);
        margin-bottom: 1rem;
        text-align: left;
        padding-left: 0.5rem;
        border-left: 3px solid var(--accent-neon);
    }

    .slider-nav {
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        justify-content: center;
        gap: 1.5rem;
    }

    .arrow {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .cart-drawer { 
        width: 100%; 
        padding: 2rem;
    }
}
