/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-navy: #0E1B2A;
    --electric-blue: #2563EB;
    --emerald: #10B981;
    --amber: #F59E0B;
    --slate: #1F2937;
    --card-bg: #0B1220;
    --text-light: #E5E7EB;
    --text-gray: #9CA3AF;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--deep-navy);
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    background: rgba(14, 27, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--electric-blue) !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--electric-blue) !important;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    background: linear-gradient(135deg, #0E1B2A 0%, #1F2937 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563EB 0%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
}

.trust-badge i {
    color: var(--emerald);
    font-size: 1.25rem;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    background: linear-gradient(135deg, var(--electric-blue) 0%, #1D4ED8 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1D4ED8 0%, var(--electric-blue) 100%);
}

.btn-outline-primary {
    border: 2px solid var(--electric-blue);
    color: var(--electric-blue);
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 12px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--electric-blue);
    color: white;
    transform: translateY(-2px);
}

/* ==================== CARDS ==================== */
.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--electric-blue);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image i {
    font-size: 4rem;
    color: var(--electric-blue);
    opacity: 0.3;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--emerald);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-badge.featured {
    background: var(--amber);
}

.product-badge.new {
    background: var(--electric-blue);
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: rgba(37, 99, 235, 0.1);
    color: var(--electric-blue);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-main {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--emerald);
    font-variant-numeric: tabular-nums;
}

.price-strike {
    font-size: 1.25rem;
    color: var(--text-gray);
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

.price-api-note {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.product-actions .btn {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* ==================== CATEGORY CHIPS ==================== */
.category-strip {
    padding: 2rem 0;
    background: rgba(11, 18, 32, 0.5);
    border-top: 1px solid rgba(37, 99, 235, 0.1);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.category-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--electric-blue) transparent;
}

.category-scroll::-webkit-scrollbar {
    height: 6px;
}

.category-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.category-scroll::-webkit-scrollbar-thumb {
    background: var(--electric-blue);
    border-radius: 3px;
}

.category-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50px;
    color: var(--text-light);
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-chip:hover {
    background: var(--electric-blue);
    border-color: var(--electric-blue);
    transform: translateY(-2px);
}

.category-chip i {
    font-size: 1.25rem;
}

/* ==================== SECTION STYLES ==================== */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--emerald) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* ==================== TESTIMONIALS ==================== */
.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--emerald) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-info h6 {
    margin: 0;
    color: var(--text-light);
}

.author-info small {
    color: var(--text-gray);
}

.stars {
    color: var(--amber);
    margin-bottom: 1rem;
}

/* ==================== FAQ ==================== */
.accordion {
    --bs-accordion-bg: var(--card-bg);
    --bs-accordion-border-color: rgba(37, 99, 235, 0.1);
    --bs-accordion-btn-bg: var(--card-bg);
    --bs-accordion-active-bg: var(--card-bg);
    --bs-accordion-btn-color: var(--text-light);
    --bs-accordion-active-color: var(--electric-blue);
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

.accordion-body {
    color: var(--text-gray);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--card-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
}

.footer h5, .footer h6 {
    color: var(--text-light);
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--electric-blue);
    padding-left: 5px;
}

.text-light-gray {
    color: var(--text-gray) !important;
}

.social-links a {
    color: var(--electric-blue);
    transition: transform 0.3s ease;
    display: inline-block;
}

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

/* ==================== UTILITIES ==================== */
.bg-dark-card {
    background: var(--card-bg);
}

.glass-effect {
    background: rgba(11, 18, 32, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .trust-badges {
        gap: 1rem;
    }
    
    .trust-badge {
        font-size: 0.875rem;
    }
    
    .product-actions {
        grid-template-columns: 1fr;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ==================== PURCHASE FORM ==================== */
.form-control {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--text-light);
    padding: 12px 16px;
    border-radius: 8px;
}

.form-control:focus {
    background: rgba(31, 41, 55, 0.7);
    border-color: var(--electric-blue);
    color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-label {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-select {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--text-light);
}

.form-select:focus {
    background: rgba(31, 41, 55, 0.7);
    border-color: var(--electric-blue);
    color: var(--text-light);
}

.form-check-input {
    background-color: rgba(31, 41, 55, 0.5);
    border-color: rgba(37, 99, 235, 0.2);
}

.form-check-input:checked {
    background-color: var(--electric-blue);
    border-color: var(--electric-blue);
}

.form-check-label {
    color: var(--text-gray);
}

/* ==================== PAYMENT PAGE ==================== */
.payment-container {
    max-width: 600px;
    margin: 0 auto;
}

.qr-code-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.qr-code-container img {
    max-width: 300px;
    border: 4px solid var(--electric-blue);
    border-radius: 12px;
}

.timer {
    font-size: 2rem;
    font-weight: 800;
    color: var(--amber);
    font-variant-numeric: tabular-nums;
}

/* ==================== LOADING STATES ==================== */
.skeleton {
    background: linear-gradient(90deg, rgba(31, 41, 55, 0.5) 25%, rgba(55, 65, 81, 0.5) 50%, rgba(31, 41, 55, 0.5) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
