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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
    line-height: 1.6;
}

/* ============================================
   SECTION 1: HEADER & NAVIGATION
   ============================================ */

.main-header {
    background: #111111;
    border-bottom: 1px solid #2a2a2a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
}

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

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

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

.cart-btn {
    background: transparent;
    border: 1px solid #3a3a3a;
    color: #e0e0e0;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-btn:hover {
    border-color: #5a5a5a;
    background: #1a1a1a;
}

/* ============================================
   SECTION 2: HERO BANNER
   ============================================ */

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 400px;
    border-bottom: 1px solid #2a2a2a;
}

.hero-content {
    flex: 1;
    z-index: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    padding: 0.4rem 1rem;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -1px;
}

.bracket {
    color: #707070;
    font-size: 0.7em;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1rem;
    color: #808080;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #111111;
    border: 1px solid #2a2a2a;
    border-radius: 2px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 300;
    color: #ffffff;
}

.stat-label {
    font-size: 0.85rem;
    color: #707070;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border: none;
}

.btn-primary:hover {
    background: #e0e0e0;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.sound-wave-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    height: 200px;
}

.sound-wave {
    width: 4px;
    background: #3a3a3a;
    border-radius: 2px;
    animation: wave 1.5s ease-in-out infinite;
}

.sound-wave:nth-child(1) { animation-delay: 0s; height: 30px; }
.sound-wave:nth-child(2) { animation-delay: 0.2s; height: 60px; }
.sound-wave:nth-child(3) { animation-delay: 0.4s; height: 90px; }
.sound-wave:nth-child(4) { animation-delay: 0.6s; height: 60px; }
.sound-wave:nth-child(5) { animation-delay: 0.8s; height: 30px; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================
   SECTION 3: PRODUCTS SHOWCASE
   ============================================ */

.products-section {
    padding: 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #ffffff;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #707070;
    font-weight: 300;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #111111;
    border: 1px solid #2a2a2a;
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    border-color: #4a4a4a;
    background: #151515;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    padding: 0.3rem 0.7rem;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 500;
    z-index: 10;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-image {
    position: relative;
    height: 200px;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-visual {
    font-size: 2.5rem;
    font-weight: 300;
    color: #3a3a3a;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.product-card:hover .product-visual {
    opacity: 0.7;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.product-description {
    font-size: 0.85rem;
    color: #707070;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-weight: 300;
}

.product-stats {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.stat-badge {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    font-size: 0.7rem;
    color: #808080;
    font-weight: 300;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffffff;
}

.add-to-cart-btn {
    background: #ffffff;
    border: none;
    color: #000000;
    padding: 0.6rem 1rem;
    border-radius: 2px;
    font-size: 0.85rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-to-cart-btn:hover {
    background: #e0e0e0;
}

/* ============================================
   PRODUCT DETAIL MODAL
   ============================================ */

.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
}

.product-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: #111111;
    border: 1px solid #2a2a2a;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2001;
    padding: 3rem;
}

.close-modal-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #b0b0b0;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.close-modal-btn:hover {
    color: #ffffff;
}

.modal-body {
    color: #e0e0e0;
}

.modal-product-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -1px;
}

.modal-product-subtitle {
    font-size: 0.95rem;
    color: #808080;
    margin-bottom: 2rem;
    font-weight: 300;
}

.modal-product-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 2rem;
    font-weight: 300;
}

.modal-product-specs {
    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #1a1a1a;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: #808080;
    font-weight: 300;
}

.spec-value {
    color: #ffffff;
    font-weight: 300;
}

.modal-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #2a2a2a;
}

.modal-product-price {
    font-size: 2rem;
    font-weight: 300;
    color: #ffffff;
}

.modal-add-to-cart {
    background: #ffffff;
    border: none;
    color: #000000;
    padding: 1rem 2rem;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-add-to-cart:hover {
    background: #e0e0e0;
}

/* ============================================
   SECTION 4: SHOPPING CART MODAL
   ============================================ */

.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: none;
}

.cart-modal.show {
    display: block;
}

.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.cart-sidebar {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 450px;
    max-width: 90vw;
    background: #111111;
    border-left: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #2a2a2a;
}

.cart-header h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffffff;
}

.close-cart-btn {
    background: transparent;
    border: none;
    color: #b0b0b0;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.close-cart-btn:hover {
    color: #ffffff;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #a0a0a0;
    text-align: center;
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-cart p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.empty-cart-hint {
    font-size: 0.9rem;
    color: #666;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 2px;
    margin-bottom: 1rem;
    animation: fadeIn 0.3s ease;
}

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

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

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #fff;
}

.cart-item-price {
    color: #a855f7;
    font-weight: 600;
}

.remove-item-btn {
    background: transparent;
    border: 1px solid #3a3a3a;
    color: #b0b0b0;
    padding: 0.5rem 1rem;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.remove-item-btn:hover {
    border-color: #5a5a5a;
    color: #ffffff;
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid #2a2a2a;
    background: #0a0a0a;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.total-label {
    font-weight: 600;
    color: #a0a0a0;
}

.total-amount {
    font-weight: 300;
    font-size: 2rem;
    color: #ffffff;
}

.checkout-btn {
    width: 100%;
    background: #ffffff;
    border: none;
    color: #000000;
    padding: 1rem;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkout-btn:hover {
    background: #e0e0e0;
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   SECTION 5: FOOTER
   ============================================ */

.main-footer {
    background: #0a0a0a;
    border-top: 1px solid #2a2a2a;
    margin-top: 4rem;
    padding: 3rem 4rem 1.5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: #b0b0b0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: #a0a0a0;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #a855f7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-stats div {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.footer-stats span {
    color: #a855f7;
    font-weight: 600;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #2a2a2a;
    text-align: center;
    color: #707070;
    font-size: 0.85rem;
}

.newsletter-input {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #e0e0e0;
    padding: 0.7rem;
    border-radius: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-family: inherit;
}

.newsletter-input:focus {
    outline: none;
    border-color: #4a4a4a;
}

.newsletter-btn {
    width: 100%;
    background: #ffffff;
    border: none;
    color: #000000;
    padding: 0.7rem;
    border-radius: 2px;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-btn:hover {
    background: #e0e0e0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 2rem;
        flex-wrap: wrap;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .hero-section {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        width: 100%;
        max-width: 100vw;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
