/* ============================================
   EPIC AUTOWORKS - MASTER STYLESHEET
   Version: 3.0 - FULLY FIXED
   Updated: 2026
   ============================================ */

/* ==================== RESET & VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-red: #e63946;
    --primary-red-dark: #c1121f;
    --primary-red-light: #ff6b6b;
    --primary-red-glow: rgba(230, 57, 70, 0.3);
    --gold: #ffd700;
    --gold-dark: #ccac00;
    --silver: #c0c0c0;
    
    /* Backgrounds */
    --bg-dark: #0a0a0a;
    --bg-medium: #141414;
    --bg-light: #1a1a1a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(230, 57, 70, 0.2);
    
    /* Admin colors */
    --admin-bg: #0a0c10;
    --admin-sidebar: #0f1115;
    --admin-border: #1e2229;
    --admin-card: #12161c;
    --admin-text: #e8eaed;
    --admin-text-muted: #5f6673;
    --admin-accent: #ff6b35;
    
    /* Text */
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dim: rgba(255, 255, 255, 0.5);
    
    /* Status */
    --success: #00c853;
    --danger: #ff3b30;
    --warning: #ff9500;
    --info: #007aff;
    
    /* Effects */
    --transition: all 0.3s ease;
}

/* ==================== BASE HTML & BODY ==================== */
html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    width: 100%;
    overflow-x: hidden;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
    font-family: 'Poppins', 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ==================== RESPONSIVE BASE - MOBILE FIRST ==================== */

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    body {
        font-size: 13px;
    }
    .hero {
        padding: 70px 15px 30px !important;
    }
    .hero-title {
        font-size: 1.6rem !important;
    }
    .hero-subtitle {
        font-size: 1rem !important;
    }
    .hero-desc {
        font-size: 0.8rem !important;
    }
    .btn-primary, .btn-outline {
        padding: 10px 20px !important;
        font-size: 0.8rem !important;
    }
    .investment-card, 
    .product-card,
    .testimonial-card {
        padding: 12px !important;
    }
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    table {
        min-width: 600px;
    }
    .modal-content {
        width: 95% !important;
        margin: 10px auto !important;
    }
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* Mobile Landscape (480px - 767px) */
@media (min-width: 481px) and (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 20px 40px !important;
    }
    .investments-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    .navbar .nav-menu {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    html {
        font-size: 14px;
    }
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
    .investments-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Small Mobile (max 375px) */
@media (max-width: 375px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-buttons a {
        text-align: center;
    }
}

/* iOS Safari Safe Area */
@supports (-webkit-touch-callout: none) {
    .navbar {
        padding-top: env(safe-area-inset-top);
    }
    .hero, 
    .dashboard-wrapper,
    .investment-section {
        padding-top: calc(100px + env(safe-area-inset-top));
    }
    .whatsapp-double, .wa-double {
        bottom: calc(20px + env(safe-area-inset-bottom));
        right: calc(20px + env(safe-area-inset-right));
    }
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
p { font-size: clamp(0.85rem, 2vw, 1rem); }

/* ==================== UTILITIES ==================== */
.text-gold { color: var(--gold); }
.text-red { color: var(--primary-red); }
.text-silver { color: var(--silver); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }

/* ==================== CONTAINER ==================== */
.container {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

/* ==================== NAVBAR ==================== */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(230, 57, 70, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo img {
    height: 45px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    display: inline-block;
}

.nav-menu a:hover {
    color: #e63946;
}

.nav-menu a.active {
    color: #e63946;
}

.nav-menu a i {
    margin-right: 6px;
    font-size: 0.85rem;
}

/* Tombol Investasi & Daftar */
.nav-menu a[href*="investment"],
.nav-menu a[href*="investment.php"],
.nav-menu li:last-child a[style*="color: #ffd700"],
.nav-menu .investment-link {
    color: #ffd700 !important;
    font-weight: 600;
}

.nav-menu a[href*="investment"]:hover,
.nav-menu a[href*="investment.php"]:hover,
.nav-menu li:last-child a[style*="color: #ffd700"]:hover {
    color: #e63946 !important;
}

/* Navbar Toggle */
.nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.3rem;
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(230, 57, 70, 0.2);
    border-color: #e63946;
}

/* Responsive Navbar */
@media (max-width: 992px) {
    .nav-menu {
        gap: 1rem;
    }
    .nav-menu a {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.8rem;
        border-top: 1px solid rgba(230, 57, 70, 0.3);
        transition: left 0.3s ease;
        z-index: 999;
        max-height: calc(100vh - 65px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.8rem;
        text-align: center;
        font-size: 1rem;
        width: 100%;
    }
}

@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
        position: static !important;
        background: transparent !important;
        flex-direction: row !important;
        gap: 1.5rem !important;
        padding: 0 !important;
    }
    .nav-toggle {
        display: none !important;
    }
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 6rem 2rem 4rem;
    background: radial-gradient(circle at 30% 40%, var(--primary-red-glow) 0%, transparent 70%);
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, var(--primary-red-glow) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}
.hero-logo { margin-bottom: 2rem; }
.hero-logo img {
    width: min(180px, 35vw);
    height: min(180px, 35vw);
    max-width: 180px;
    max-height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 40px var(--primary-red-glow);
}
.hero-title {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-red), var(--gold), var(--silver));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.6rem);
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--gold);
}
.hero-desc {
    font-size: clamp(0.85rem, 2.5vw, 1.1rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.bouncing-logo { animation: bounce 2s ease infinite; }

/* ==================== BUTTONS ==================== */
.btn-primary, .btn-outline {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: clamp(0.85rem, 2vw, 1rem);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}
.btn-outline:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}
@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons a { width: 100%; max-width: 250px; }
}

/* ==================== WHATSAPP BUTTONS - FIXED! ==================== */

/* DOUBLE BUTTONS (2 tombol) */
.whatsapp-double,
.wa-double {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.whatsapp-btn,
.wa-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 130px;
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: white;
    overflow: visible;
    cursor: pointer;
    border: none;
}

.whatsapp-btn-carwash,
.wa-carwash {
    background: linear-gradient(135deg, #075E54, #128C7E, #25D366);
}

.whatsapp-btn-consultant,
.wa-consultant {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #e63946);
}

/* Gold Ring Effect */
.whatsapp-btn::before,
.wa-btn::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 60px;
    background: linear-gradient(135deg, #ffd700, #ffaa00, #ffd700, #ffea00);
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: goldRingPulse 1.5s ease-in-out infinite;
}

.whatsapp-btn::after,
.wa-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 60px;
    background: linear-gradient(135deg, rgba(255,215,0,0.5), rgba(255,215,0,0.1));
    z-index: -1;
    filter: blur(8px);
    animation: goldGlow 2s ease-in-out infinite;
}

.whatsapp-btn:hover::before,
.wa-btn:hover::before {
    opacity: 1;
}

@keyframes goldRingPulse {
    0% { opacity: 0.6; background-position: 0% 0%; transform: scale(1); }
    50% { opacity: 1; background-position: 100% 100%; transform: scale(1.02); }
    100% { opacity: 0.6; background-position: 0% 0%; transform: scale(1); }
}

@keyframes goldGlow {
    0% { opacity: 0.3; filter: blur(6px); }
    50% { opacity: 0.7; filter: blur(12px); }
    100% { opacity: 0.3; filter: blur(6px); }
}

.whatsapp-btn i,
.wa-btn i {
    font-size: 18px;
    position: relative;
    z-index: 2;
}

.whatsapp-btn span,
.wa-btn .wa-label {
    font-size: 12px;
    position: relative;
    z-index: 2;
}

.whatsapp-btn:hover,
.wa-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* SINGLE BUTTON (1 tombol) */
.whatsapp-single,
.wa-single {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
}

.whatsapp-single-btn,
.wa-single-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    color: white;
    overflow: visible;
    cursor: pointer;
    border: none;
}

.whatsapp-single-carwash,
.wa-single-carwash {
    background: linear-gradient(135deg, #075E54, #128C7E, #25D366);
}

.whatsapp-single-consultant,
.wa-single-consultant {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #e63946);
}

.whatsapp-single-btn::before,
.wa-single-btn::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 60px;
    background: linear-gradient(135deg, #ffd700, #ffaa00, #ffd700, #ffea00);
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: goldRingPulse 1.5s ease-in-out infinite;
}

.whatsapp-single-btn::after,
.wa-single-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 60px;
    background: linear-gradient(135deg, rgba(255,215,0,0.5), rgba(255,215,0,0.1));
    z-index: -1;
    filter: blur(8px);
    animation: goldGlow 2s ease-in-out infinite;
}

.whatsapp-single-btn:hover::before,
.wa-single-btn:hover::before {
    opacity: 1;
}

.whatsapp-single-btn i,
.wa-single-btn i {
    font-size: 18px;
    position: relative;
    z-index: 2;
}

.whatsapp-single-btn span,
.wa-single-btn span {
    position: relative;
    z-index: 2;
}

.whatsapp-single-btn:hover,
.wa-single-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* Legacy WhatsApp Float (untuk kompatibilitas) */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    z-index: 998;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* Responsive WhatsApp Buttons */
@media (max-width: 768px) {
    .whatsapp-double, .wa-double { bottom: 15px; right: 15px; gap: 10px; }
    .whatsapp-btn, .wa-btn { padding: 8px 14px; min-width: 110px; font-size: 11px; }
    .whatsapp-btn i, .wa-btn i { font-size: 16px; }
    .whatsapp-single, .wa-single { bottom: 15px; right: 15px; }
    .whatsapp-single-btn, .wa-single-btn { padding: 10px 16px; font-size: 12px; }
    .whatsapp-single-btn i, .wa-single-btn i { font-size: 16px; }
    .whatsapp-float { width: 48px; height: 48px; font-size: 26px; bottom: 20px; right: 20px; }
}
@media (max-width: 480px) {
    .whatsapp-double, .wa-double { bottom: 12px; right: 12px; gap: 8px; }
    .whatsapp-btn, .wa-btn { padding: 6px 12px; min-width: 100px; font-size: 10px; }
    .whatsapp-btn i, .wa-btn i { font-size: 14px; }
    .whatsapp-single, .wa-single { bottom: 12px; right: 12px; }
    .whatsapp-single-btn, .wa-single-btn { padding: 8px 14px; font-size: 11px; }
    .whatsapp-single-btn i, .wa-single-btn i { font-size: 14px; }
    .whatsapp-float { width: 42px; height: 42px; font-size: 22px; bottom: 15px; right: 15px; }
}

/* ==================== FEATURED IMAGES ==================== */
.featured-images-section {
    padding: 4rem 1rem;
    background: linear-gradient(180deg, transparent 0%, rgba(230, 57, 70, 0.05) 100%);
}
.featured-images-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}
.featured-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-dark));
    border: 1px solid var(--glass-border);
}
.featured-image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(230, 57, 70, 0.2);
    border-color: var(--primary-red);
}
.featured-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-dark);
}
.featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}
.featured-image-card:hover .featured-image { transform: scale(1.05); }
.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230,57,70,0.3), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.featured-image-card:hover .featured-overlay { opacity: 1; }
.featured-overlay i {
    font-size: 2.5rem;
    color: white;
    background: rgba(0,0,0,0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}
.featured-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.9), transparent);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.featured-image-card:hover .featured-caption { transform: translateY(0); }
.featured-caption h3 {
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 0.25rem;
}
.featured-caption p {
    font-size: 0.8rem;
    color: var(--text-muted);
}
@media (max-width: 768px) {
    .featured-images-container { grid-template-columns: 1fr; gap: 1.5rem; }
    .featured-image-wrapper { aspect-ratio: 4 / 3; }
    .featured-caption { transform: translateY(0); padding: 1rem; }
}

/* Featured Images Neon Effect */
.featured-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-dark));
    border: 2px solid transparent;
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
    0% { border-color: rgba(255, 215, 0, 0.3); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.2); }
    50% { border-color: rgba(255, 215, 0, 0.8); box-shadow: 0 0 20px 5px rgba(255, 215, 0, 0.4); }
    100% { border-color: rgba(255, 215, 0, 0.3); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.2); }
}

.featured-image-card:hover {
    transform: translateY(-8px);
    animation: none;
    border-color: var(--gold);
    box-shadow: 0 30px 60px rgba(230, 57, 70, 0.2), 0 0 30px rgba(255, 215, 0, 0.5);
}

.featured-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-dark);
    border-radius: 22px;
}

@media (max-width: 768px) {
    .featured-images-container { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
    .featured-image-wrapper { aspect-ratio: 4 / 3 !important; }
    .featured-caption { transform: translateY(0); padding: 1rem; }
}
@media (min-width: 769px) {
    .featured-images-container { grid-template-columns: repeat(2, 1fr) !important; gap: 2rem !important; }
}

/* ==================== BRAND LOGOS ==================== */
.brand-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex: 0 0 auto;
}

.brand-logo-img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.3s ease;
}

.brand-logo-item:hover .brand-logo-img {
    filter: brightness(1.1) contrast(1.2);
    transform: translateY(-3px);
}

.brand-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

@media (min-width: 769px) {
    .brand-logos-grid { flex-wrap: nowrap; justify-content: center; gap: 2.5rem; }
    .brand-logo-img { max-height: 70px; }
}
@media (max-width: 768px) {
    .brand-logos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; justify-items: center; }
    .brand-logo-img { max-height: 50px; }
}
@media (max-width: 480px) {
    .brand-logos-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .brand-logo-img { max-height: 40px; }
}

.brand-logo-img[onerror] { display: none !important; }

/* Brand Logos Section */
.brand-logos-section {
    padding: 3rem 1rem 2rem;
    background: linear-gradient(180deg, rgba(230,57,70,0.03) 0%, transparent 100%);
    border-top: 1px solid rgba(230,57,70,0.1);
    border-bottom: 1px solid rgba(230,57,70,0.1);
    margin: 1rem 0 0;
}
.brand-logos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}
.brand-logos-header { text-align: center; margin-bottom: 2rem; }
.brand-logos-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
.brand-logos-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--gold));
    margin: 0.5rem auto;
    border-radius: 3px;
}
.brand-logos-subtitle {
    font-size: clamp(0.7rem, 3vw, 0.85rem);
    color: var(--text-dim);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.brand-logo-item {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}
.brand-logo-item:nth-child(1) { animation-delay: 0.05s; }
.brand-logo-item:nth-child(2) { animation-delay: 0.10s; }
.brand-logo-item:nth-child(3) { animation-delay: 0.15s; }
.brand-logo-item:nth-child(4) { animation-delay: 0.20s; }
.brand-logo-item:nth-child(5) { animation-delay: 0.25s; }
.brand-logo-item:nth-child(6) { animation-delay: 0.30s; }
.brand-logo-item:nth-child(7) { animation-delay: 0.35s; }
.brand-logo-item:nth-child(8) { animation-delay: 0.40s; }

/* ==================== LIGHTBOX ==================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}
.lightbox.active { display: flex; }
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}
.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
}
.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(180deg, #0d0d0d, #050505);
    padding: 3rem 1rem 1.5rem;
    margin-top: 3rem;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), var(--gold), var(--primary-red), transparent);
    animation: glowMoveFooter 3s linear infinite;
}
@keyframes glowMoveFooter {
    0% { left: -100%; }
    100% { left: 100%; }
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.footer-col h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}
.footer-col p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}
.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.8rem;
}
.footer-col a:hover { color: var(--primary-red); }
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.footer-social a:hover { transform: translateY(-3px); }
.footer-social a:nth-child(1):hover { background: #E4405F; }
.footer-social a:nth-child(2):hover { background: #000000; }
.footer-social a:nth-child(3):hover { background: #FF0000; }
.footer-social a:nth-child(4):hover { background: #25D366; }
.location-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold) !important;
    margin-bottom: 1rem;
}
.location-link:hover {
    color: var(--primary-red) !important;
    transform: translateX(5px);
}
.btn-send-message {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    margin-top: 1rem;
    font-size: 0.8rem;
}
.btn-send-message:hover { transform: translateX(5px); }
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.7rem;
}
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    .footer-social { justify-content: center; }
    .location-link { justify-content: center; }
}

/* ==================== TOAST NOTIFICATION ==================== */
.toast-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.toast-content {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-red);
    padding: 0.75rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
}

/* ==================== SECTION HEADER ==================== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title {
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-red), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--gold));
    margin: 1rem auto;
    border-radius: 2px;
}
.section-subtitle {
    color: var(--text-dim);
    font-size: 0.85rem;
}
@media (max-width: 768px) { .section-title { font-size: 1.5rem; } }

/* ==================== LOADING SKELETON ==================== */
.featured-image-card.loading .featured-image-wrapper {
    background: linear-gradient(90deg, var(--bg-light) 25%, var(--bg-card) 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: loadingShimmer 1.5s infinite;
}
@keyframes loadingShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==================== IMAGE PROTECTION ==================== */
.featured-image, .lightbox-content img, .brand-logo-img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    user-drag: none;
    -webkit-user-drag: none;
}
.brand-logo-wrapper { position: relative; display: flex; align-items: center; justify-content: center; }
.protective-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 999;
    cursor: default;
}
@media print {
    .brand-logos-section, .brand-logo-item, .brand-logo-img, 
    .featured-images-section, .hero, body { display: none !important; }
}

/* ==================== INVESTMENT PROTECTION ==================== */
.investment-section, .investment-card, .investment-stats, 
.data-section, .data-table, .modal-content {
    -webkit-user-select: none !important;
    user-select: none !important;
}
.investment-section input, .investment-section textarea,
.form-group input, .form-group textarea {
    -webkit-user-select: text !important;
    user-select: text !important;
}
.protected-data-notice {
    background: rgba(230,57,70,0.1);
    border-left: 3px solid #e63946;
    padding: 8px 12px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-align: center;
    margin-bottom: 15px;
    border-radius: 8px;
}
.investment-card { position: relative; overflow: hidden; }
.investment-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(230,57,70,0.02) 20px, rgba(230,57,70,0.02) 40px);
    border-radius: 20px;
}

/* ==================== MUSIC PLAYER ==================== */
.music-player-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}
.music-toggle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e63946, #c1121f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230,57,70,0.4);
    transition: all 0.3s ease;
    border: none;
    color: white;
    font-size: 1.5rem;
}
@media (max-width: 480px) {
    .music-toggle { width: 42px; height: 42px; font-size: 1.2rem; }
}

/* ==================== ADMIN LAYOUT ==================== */
.admin-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: var(--admin-bg);
}

.sidebar, .admin-sidebar {
    width: 280px;
    background: var(--admin-sidebar);
    border-right: 1px solid var(--admin-border);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    transition: transform 0.3s ease;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: var(--admin-border); }
.sidebar::-webkit-scrollbar-thumb { background: var(--admin-accent); border-radius: 4px; }

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--admin-border);
}
.sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--admin-accent), #ff9f6e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.sidebar-header p {
    font-size: 11px;
    color: var(--admin-text-muted);
    margin-top: 4px;
}

.menu-group { margin-bottom: 20px; }
.menu-group-title {
    padding: 8px 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--admin-text-muted);
}
.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    margin: 2px 12px;
    color: #9aa2b0;
    text-decoration: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}
.menu-item i { width: 20px; font-size: 15px; text-align: center; }
.menu-item:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--admin-accent);
}
.menu-item.active {
    background: rgba(255, 107, 53, 0.12);
    color: var(--admin-accent);
}
.menu-badge {
    background: var(--danger);
    color: white;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 20px;
    margin-left: auto;
    display: none;
}
.menu-badge.show { display: inline-block; }

.main-content {
    flex: 1;
    margin-left: 280px;
    width: calc(100% - 280px);
    min-height: 100vh;
    padding: 20px 28px;
    background: var(--admin-bg);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}
.page-title h1 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}
.page-title p {
    font-size: 13px;
    color: var(--admin-text-muted);
    margin-top: 4px;
}
.logout-btn {
    background: rgba(255, 59, 48, 0.1);
    color: #ff6b6b;
    padding: 8px 18px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}
.logout-btn:hover {
    background: rgba(255, 59, 48, 0.2);
    transform: translateY(-2px);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.stats-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--admin-card);
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--admin-accent);
}
.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 6px;
}
.stat-label {
    font-size: 12px;
    color: var(--admin-text-muted);
}
.stat-card.pending .stat-value { color: var(--warning); }
.stat-card.approved .stat-value { color: var(--success); }
.stat-card.rejected .stat-value { color: var(--danger); }

/* Card */
.card {
    background: var(--admin-card);
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    overflow: hidden;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--admin-border);
    flex-wrap: wrap;
    gap: 10px;
}
.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.card-title i { color: var(--admin-accent); }

/* Table */
.table-wrapper { overflow-x: auto; }
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.data-table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--admin-sidebar);
    color: #9aa2b0;
    font-weight: 500;
    border-bottom: 1px solid var(--admin-border);
}
.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.data-table tr:hover { background: rgba(255,255,255,0.02); }

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}
.badge-success { background: rgba(0,200,83,0.12); color: var(--success); }
.badge-warning { background: rgba(255,149,0,0.12); color: var(--warning); }
.badge-danger { background: rgba(255,59,48,0.12); color: var(--danger); }
.badge-info { background: rgba(0,122,255,0.12); color: var(--info); }

/* Admin Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--admin-accent), #e55a2b);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}
.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--admin-text);
    border: 1px solid #2a303a;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
}
.btn-secondary:hover {
    background: rgba(255,107,53,0.15);
    border-color: var(--admin-accent);
    transform: translateY(-2px);
}

/* Alert */
.alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 13px;
}
.alert-success {
    background: rgba(0,200,83,0.08);
    border: 1px solid rgba(0,200,83,0.25);
    color: var(--success);
}
.alert-error {
    background: rgba(255,59,48,0.08);
    border: 1px solid rgba(255,59,48,0.25);
    color: var(--danger);
}

/* Filter Bar */
.filter-bar {
    background: var(--admin-card);
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}
.filter-bar a {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}
.filter-bar a:hover, .filter-bar a.active {
    background: var(--admin-accent);
    color: white;
}
.search-box {
    display: inline-flex;
    gap: 10px;
    margin-left: auto;
}
.search-box input {
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    color: white;
    font-size: 12px;
}
.search-box button {
    padding: 6px 16px;
    background: rgba(0,122,255,0.2);
    border: 1px solid rgba(0,122,255,0.3);
    border-radius: 20px;
    color: var(--info);
    cursor: pointer;
}

/* Form Elements */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #2a2f38;
    border: 1px solid #3a3f48;
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 13px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--admin-accent);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}
.modal.active { display: flex; }
.modal-content {
    background: var(--admin-card);
    border: 1px solid #2a303a;
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 550px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
}

.mobile-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: var(--admin-accent);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 200;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    align-items: center;
    justify-content: center;
}

/* Notification Popup */
.notification-popup-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
}
.notification-popup {
    background: #1a1e26;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    border-left: 4px solid var(--admin-accent);
    overflow: hidden;
    cursor: pointer;
    animation: slideInRight 0.3s ease;
}
.notification-popup-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
}
.notification-popup-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,107,53,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.notification-popup-text { flex: 1; }
.notification-popup-title {
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
}
.notification-popup-message {
    font-size: 12px;
    color: #9aa2b0;
}
.notification-popup-close {
    background: none;
    border: none;
    color: #5f6673;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive Admin */
@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 16px;
    }
    .mobile-toggle { display: flex; }
    .stats-grid, .stats-grid-4 { grid-template-columns: 1fr; gap: 12px; }
    .grid-2 { grid-template-columns: 1fr; gap: 16px; }
    .card-header { flex-direction: column; align-items: flex-start; }
    .stat-value { font-size: 22px; }
    .top-bar { flex-direction: column; text-align: center; }
    .data-table th, .data-table td { padding: 8px 10px; font-size: 11px; }
}
@media (max-width: 480px) {
    .main-content { padding: 12px; }
    .stat-card { padding: 14px; }
    .card-header { padding: 12px 16px; }
    .filter-bar { padding: 12px; }
    .filter-bar a { margin-bottom: 6px; }
}