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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

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

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 20px 0;
    padding: 20px 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.logo i {
    font-size: 28px;
    color: #ffd700;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ffd700;
}

/* Hero Section */
.hero {
    padding: 60px 0;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.headphone-container {
    position: relative;
    transform: scale(1.2);
}

.headphone {
    position: relative;
    width: 300px;
    height: 200px;
}

.ear-cup {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 50%;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 2px 10px rgba(255, 255, 255, 0.1);
    top: 60px;
}

.ear-cup.left {
    left: 0;
}

.ear-cup.right {
    right: 0;
}

.ear-cup::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #34495e, #2c3e50);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.headband {
    position: absolute;
    width: 200px;
    height: 20px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 10px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.headband::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 8px;
    background: linear-gradient(145deg, #34495e, #2c3e50);
    border-radius: 4px;
    top: 6px;
    left: 10px;
}

.glow-effect {
    position: absolute;
    width: 350px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.product-info {
    color: white;
}

.badge {
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ffd700, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.9;
}

.description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.price-section {
    margin-bottom: 30px;
}

.price {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: #ffd700;
}

.amount {
    font-size: 48px;
    font-weight: 700;
    color: #ffd700;
    margin-left: 5px;
}

.price-note {
    font-size: 14px;
    opacity: 0.8;
}

.features-highlight {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.feature i {
    color: #ffd700;
    font-size: 16px;
}

.buy-now-btn {
    position: relative;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.buy-now-btn:active {
    transform: translateY(0);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.buy-now-btn:hover .btn-glow {
    left: 100%;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    opacity: 0.8;
}

.crypto-logos {
    display: flex;
    gap: 10px;
}

.crypto-logos i {
    font-size: 20px;
    color: #ffd700;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 40px 0;
}

.features h3 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 50px;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 24px;
    color: #333;
}

.feature-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-overlay.show {
    display: flex;
}

.loading-content {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 215, 0, 0.3);
    border-top: 4px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.loading-content p {
    opacity: 0.8;
}

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

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    margin-bottom: 30px;
}

.success-icon {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 20px;
}

.error-icon {
    font-size: 60px;
    color: #dc3545;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.modal-body p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.order-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: left;
}

.order-details h4 {
    color: #333;
    margin-bottom: 10px;
}

.order-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.payment-btn {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px auto 0;
}

.payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
}

.close-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #5a6268;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .headphone-container {
        transform: scale(1);
    }
    
    h1 {
        font-size: 36px;
    }
    
    .features-highlight {
        justify-content: center;
    }
    
    .nav {
        display: none;
    }
    
    .header {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .amount {
        font-size: 36px;
    }
    
    .buy-now-btn {
        padding: 15px 30px;
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
