:root {
    --bg: #0B0F0E;
    --text: #ECF2F0;
    --muted: #B8C3C0;
    --brand: #81F3D8;
    --brand-2: #CDA0FF;
    --accent: #FFD166;
    --radius: 16px;
    --shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    --container: 1200px;
    --font-heading: "Poppins", sans-serif;
    --font-body: "Inter", sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    background-color: rgba(11, 15, 14, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(184, 195, 192, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(11, 15, 14, 0.98);
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--text);
}

.header-icons {
    display: flex;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    color: var(--brand);
    background: rgba(129, 243, 216, 0.1);
}

.icon-btn:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent);
    color: var(--bg);
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 0;
    background: linear-gradient(135deg, rgba(11, 15, 14, 0.9) 0%, rgba(11, 15, 14, 0.7) 100%),
        radial-gradient(circle at 20% 80%, rgba(129, 243, 216, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(205, 160, 255, 0.1) 0%, transparent 20%);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 80vh;
    min-height: 500px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 2px solid var(--bg);
}

.dot.active,
.dot:hover {
    background-color: var(--brand);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 150px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.8s cubic-bezier(.22, .61, .36, 1) 0.3s forwards;
}

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

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(90deg, var(--text), var(--brand));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 800px;
}

.hero p {
    font-size: 1.5rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: scale(1.02);
}

.btn:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    color: var(--bg);
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(129, 243, 216, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--muted);
}

.btn-secondary:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: scale(1.02);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.42s cubic-bezier(.22, .61, .36, 1), transform 0.42s cubic-bezier(.22, .61, .36, 1);
}

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

.reveal-container>*:nth-child(1) {
    transition-delay: 0.05s;
}

.reveal-container>*:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal-container>*:nth-child(3) {
    transition-delay: 0.15s;
}

.reveal-container>*:nth-child(4) {
    transition-delay: 0.2s;
}

.reveal-container>*:nth-child(5) {
    transition-delay: 0.25s;
}

.reveal-container>*:nth-child(6) {
    transition-delay: 0.3s;
}

.reveal-container>*:nth-child(7) {
    transition-delay: 0.35s;
}

.reveal-container>*:nth-child(8) {
    transition-delay: 0.4s;
}

.reveal-container>*:nth-child(9) {
    transition-delay: 0.45s;
}

.reveal-container>*:nth-child(10) {
    transition-delay: 0.5s;
}

/* Product Grid */
.product-grid-section {
    padding: 80px 0;
}

.product-grid-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 195, 192, 0.1);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(129, 243, 216, 0.3);
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--bg);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 2;
}

.product-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-original {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.price-sale {
    font-weight: 600;
    color: var(--brand);
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--muted);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    border-color: var(--brand);
    color: var(--bg);
    transform: scale(1.02);
}

.add-to-cart:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* Why Choose Section */
.why-choose {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
}

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

.feature {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature p {
    color: var(--muted);
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
}

.reviews h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(184, 195, 192, 0.1);
    transition: all 0.3s ease;
}

.review:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(129, 243, 216, 0.3);
}

.stars {
    color: var(--accent);
    margin-bottom: 20px;
}

.review p {
    font-style: italic;
    margin-bottom: 20px;
}

.reviewer {
    font-weight: 600;
    color: var(--brand);
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(129, 243, 216, 0.05) 0%, rgba(205, 160, 255, 0.05) 100%);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter p {
    color: var(--muted);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border-radius: 50px;
    border: 1px solid rgba(184, 195, 192, 0.3);
    background: rgba(11, 15, 14, 0.7);
    color: var(--text);
    font-family: var(--font-body);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--brand);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(184, 195, 192, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(129, 243, 216, 0.1);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.faq-answer.open {
    padding: 20px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--muted);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(184, 195, 192, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--brand);
}

.payment-methods h4 {
    margin-bottom: 20px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 1.8rem;
    color: var(--muted);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(184, 195, 192, 0.1);
    color: var(--muted);
    font-size: 0.9rem;
}

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: var(--bg);
    z-index: 2000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(184, 195, 192, 0.1);
    role: dialog;
    aria-modal: true;
}

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

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(184, 195, 192, 0.1);
}

.cart-drawer-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.1);
}

.close-cart:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.cart-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(184, 195, 192, 0.1);
}

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

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 10px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.quantity-btn:hover {
    background: rgba(129, 243, 216, 0.3);
}

.quantity-btn:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.quantity {
    font-weight: 600;
}

.remove-item {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    margin-left: auto;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: var(--accent);
}

.remove-item:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid rgba(184, 195, 192, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.empty-cart {
    text-align: center;
    padding: 40px 0;
    color: var(--muted);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(129, 243, 216, 0.9);
    color: var(--bg);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    z-index: 3000;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    aria-live: polite;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }

    .nav ul {
        justify-content: center;
        gap: 15px;
    }

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .product-grid-section h2,
    .reviews h2,
    .faq h2 {
        font-size: 2rem;
    }

    .cart-drawer {
        width: 320px;
    }

    .hero-images {
        flex-direction: column;
        gap: 20px;
        height: auto;
    }

    .hero-image-1,
    .hero-image-2 {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: 100%;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-content {
        opacity: 1;
        transform: none;
        animation: none;
    }
}