:root {
    --bg-color: #050510;
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary-neon: #00f3ff;
    --secondary-neon: #bc13fe;
    --text-main: #ffffff;
    --text-dim: #a0a0b0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    padding-top: 100px;
}

/* Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 243, 255, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(188, 19, 254, 0.08), transparent 25%);
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1100;
    gap: 20px;
}

.menu-toggle {
    display: none;
}

/* Cart Icon */
.cart-icon {
    position: relative;
    color: var(--text-main);
    font-size: 1.5rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-icon:hover {
    color: var(--primary-neon);
    transform: scale(1.1);
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.5));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(5, 5, 20, 0.95);
    backdrop-filter: blur(15px);
    min-width: 200px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
    transform: translateY(10px);
    transition: 0.3s;
    z-index: 1200;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 10px 20px;
}

.dropdown-menu a {
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    color: var(--primary-neon);
}

nav a:hover {
    color: var(--primary-neon);
    text-shadow: 0 0 8px var(--primary-neon);
}

.nav-btn {
    padding: 8px 20px;
    border: 1px solid var(--primary-neon);
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary-neon);
    border-radius: 4px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.nav-btn:hover {
    background: var(--primary-neon);
    color: #000 !important;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.8);
    text-shadow: none;
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary-neon), #fff, var(--secondary-neon));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: glow 3s infinite alternate;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 40px;
}

.cta-button {
    padding: 15px 40px;
    font-size: 1.2rem;
    border: 1px solid var(--primary-neon);
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary-neon);
    font-family: var(--font-heading);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    transition: 0.4s;
    text-transform: uppercase;
    text-align: center;
}

.cta-button:hover {
    background: var(--primary-neon);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
}

/* Products Layout (Index) */
.product-section {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 80px 0;
    border-bottom: 1px solid var(--glass-border);
}

.product-section:nth-child(even) {
    flex-direction: row-reverse;
}

.product-image-placeholder {
    flex: 1;
    height: 400px;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.product-content {
    flex: 1;
}

.product-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.features-list li i {
    color: var(--secondary-neon);
    margin-right: 10px;
}

/* Product Detail Page Layout */
.product-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 20px;
}

.product-detail-flex {
    display: flex;
    gap: 50px;
    align-items: center;
}

.detail-image-box {
    flex: 1;
    text-align: center;
}

.detail-content-box {
    flex: 1;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Products Grid */
.products {
    padding: 80px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-main);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.price {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-neon);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

/* Checkout Styles */
.checkout-container {
    max-width: 600px;
    margin: 80px auto;
    padding: 20px;
}

.checkout-container h1 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-neon);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.checkout-container .card {
    margin-bottom: 30px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-neon);
    font-family: var(--font-body);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-neon);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.2);
}

/* Contact Form Section */
.contact-section {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    text-align: left;
    margin-top: 40px;
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-main);
}

.contact-form .form-group label {
    color: var(--text-dim);
}

.contact-form .cta-button {
    width: 100%;
    margin-top: 20px;
}

/* Cart Badge */
#cart-count {
    background: var(--secondary-neon);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    display: none;
}

#cart-count:not(:empty) {
    display: inline-block;
}

/* Notification Toast */
.notification {
    position: fixed !important;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    max-width: calc(100% - 20px);
    width: auto;
    background: rgba(5, 5, 16, 0.95);
    border: 1px solid var(--primary-neon);
    color: var(--primary-neon);
    padding: 15px 20px;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    z-index: 9998;
    transition: transform 0.3s ease-out, opacity 0.3s;
    opacity: 0;
    pointer-events: none;
    font-family: var(--font-heading);
    text-align: center;
    word-wrap: break-word;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    z-index: 9999 !important;
    transition: 0.3s;
    font-size: 30px;
    color: #fff;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    }

    to {
        text-shadow: 0 0 40px rgba(0, 243, 255, 0.6);
    }
}

/* FAQ Styles */
.faq-section {
    margin-top: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 20px;
    transition: 0.4s;
    overflow: hidden;
}

.faq-item summary {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

/* --- Responsive Media Queries --- */

/* Tablet (Max 1024px) */
@media (max-width: 1024px) {
    header {
        padding: 15px 30px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .product-content h2 {
        font-size: 2.5rem;
    }

    .product-section {
        gap: 30px;
    }

    .product-detail-flex {
        gap: 30px;
    }
}

/* Mobile Large (Max 768px) */
@media (max-width: 768px) {
    header {
        padding: 10px 20px;
    }

    .logo img {
        height: 50px;
    }

    body {
        padding-top: 70px;
    }

    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    header {
        gap: 10px;
    }

    .cart-icon {
        font-size: 1.3rem;
        z-index: 1002;
    }

    .menu-toggle {
        display: block !important;
        font-size: 1.5rem;
        color: var(--primary-neon);
        cursor: pointer;
        z-index: 1001;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        background: rgba(5, 5, 20, 0.95);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 1000;
        border-left: 1px solid var(--glass-border);
        visibility: hidden;
    }

    nav.active {
        transform: translateX(0);
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        width: 100%;
        padding: 40px;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        padding: 10px 0 10px 20px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hero {
        height: auto;
        min-height: 60vh;
        padding: 60px 20px;
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .products {
        padding: 60px 20px;
    }

    .product-section,
    .product-section:nth-child(even) {
        flex-direction: column !important;
        text-align: center;
        padding: 40px 0;
    }

    .product-image-placeholder {
        width: 100%;
        height: 300px;
        margin-bottom: 20px;
    }

    .product-content h2 {
        font-size: 2rem;
    }

    .product-detail-flex {
        flex-direction: column !important;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons button,
    .action-buttons a {
        width: 100% !important;
    }

    .notification {
        bottom: 90px;
        max-width: calc(100% - 30px);
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

/* Mobile Small (Max 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        width: auto;
        max-width: 90%;
        margin: 0 auto;
        display: block;
    }

    .card {
        padding: 20px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: rgba(20, 20, 35, 0.95);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid var(--glass-border);
    width: 90%;
    max-width: 800px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.15);
    animation: modalSlideUp 0.4s ease-out;
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    color: var(--text-dim);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--primary-neon);
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 15px;
}

.modal-body h2,
.modal-body h3 {
    color: var(--primary-neon);
    margin: 25px 0 15px 0;
}

.modal-body p,
.modal-body ul {
    margin-bottom: 15px;
    color: var(--text-dim);
}

.modal-body ul {
    padding-left: 20px;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }

    /* Cookie Consent Banner */
    .cookie-banner {
        position: fixed;
        bottom: -150px;
        left: 20px;
        right: 20px;
        background: rgba(5, 5, 20, 0.95);
        backdrop-filter: blur(15px);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        padding: 20px 30px;
        z-index: 9999;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
        transition: bottom 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    }

    .cookie-banner.show {
        bottom: 20px;
    }

    .cookie-content {
        color: var(--text-dim);
        font-size: 0.95rem;
        margin-right: 20px;
    }

    .cookie-content strong {
        color: var(--primary-neon);
    }

    .cookie-buttons {
        display: flex;
        gap: 15px;
    }

    .cookie-btn-accept {
        padding: 8px 25px;
        background: var(--primary-neon);
        color: #000;
        border: none;
        border-radius: 4px;
        font-family: var(--font-heading);
        cursor: pointer;
        font-weight: 700;
        transition: 0.3s;
    }

    .cookie-btn-accept:hover {
        box-shadow: 0 0 15px var(--primary-neon);
    }

    @media (max-width: 768px) {
        .cookie-banner {
            flex-direction: column;
            text-align: center;
            gap: 20px;
            left: 10px;
            right: 10px;
        }

        .cookie-content {
            margin-right: 0;
        }
    }