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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #1e293b;
    --light: #f8fafc;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

.overlay {
    background: rgba(0, 0, 0, 0.65);
    min-height: 100vh;
    padding: 20px;
}

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

/* Header Styles */
header {
    text-align: center;
    color: white;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(139, 92, 246, 0.9));
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1.3em;
    opacity: 0.95;
    font-weight: 300;
}

/* Products Grid */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.4);
}

.product-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.8em;
    font-weight: 700;
}

.product-card p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.05em;
}

.specs-list {
    list-style: none;
    margin: 20px 0;
}

.specs-list li {
    padding: 12px 0;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    font-size: 1em;
}

.specs-list li:before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.2em;
}

.price {
    font-size: 2.5em;
    background: linear-gradient(135deg, var(--success), #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin: 25px 0;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

/* Admin Button */
.admin-btn {
    position: fixed;
    top: 25px;
    right: 25px;
    background: rgba(30, 41, 59, 0.95);
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    z-index: 999;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.admin-btn:hover {
    background: rgba(30, 41, 59, 1);
    transform: translateY(-2px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    text-decoration: none;
    z-index: 1000;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 25px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.modal-header h2 {
    color: var(--primary);
    font-size: 1.8em;
}

.close {
    font-size: 35px;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.3s;
    line-height: 1;
}

.close:hover {
    color: var(--danger);
}

.payment-method {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 20px;
    margin: 15px 0;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.payment-method:hover {
    background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
    transform: translateX(5px);
}

.payment-method.selected {
    background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
    border: 2px solid var(--primary);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.payment-method h4 {
    color: var(--dark);
    margin-bottom: 5px;
    font-size: 1.3em;
}

.payment-method p {
    color: #64748b;
    font-size: 0.95em;
}

.payment-details {
    display: none;
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 15px;
    border: 2px solid var(--primary);
}

.payment-details.active {
    display: block;
    animation: slideIn 0.3s ease;
}

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

.payment-details h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5em;
}

.payment-details p {
    margin: 12px 0;
    color: var(--dark);
    font-size: 1.05em;
}

.payment-note {
    margin-top: 20px;
    padding: 15px;
    background: #fef2f2;
    border-left: 4px solid var(--danger);
    color: var(--danger);
    border-radius: 8px;
    font-weight: 500;
}

.qr-code {
    width: 250px;
    height: 250px;
    margin: 20px auto;
    display: block;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.copy-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    .products {
        grid-template-columns: 1fr;
    }
}