/* 
    CoSale.in - Midnight Gold Luxury Design System 
    Version: 4.0 (Company Showcase Edition)
*/

:root {
    --primary: #FFD700;       /* Liquid Gold */
    --primary-glow: rgba(255, 215, 0, 0.4);
    --secondary: #00FF88;      /* Neon Emerald */
    --whatsapp: #25D366;      /* Official WA Green */
    --bg-deep: #030712;       /* Deep Space Blue/Black */
    --bg-card: rgba(17, 24, 39, 0.6);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 215, 0, 0.15);
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-deep);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 🌌 Background Atmosphere */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 136, 0.02) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

/* 💎 Premium Glass Effect */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* 🏷️ Typography Utilities */
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold { color: var(--primary); }
.text-center { text-align: center; }

/* 🧭 Elevated Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo img {
    height: 48px;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

/* 🚀 Hyper Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* 🛍️ Luxurious Product Cards */
.ad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.ad-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.ad-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.1);
}

.ad-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.ad-card:hover img {
    transform: scale(1.05);
}

.price-tag {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0.5rem 0 1.5rem;
}

/* 🔘 Advanced Action Buttons */
.btn {
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 15px;
}

.btn-primary:hover {
    box-shadow: 0 0 25px var(--primary-glow);
    transform: scale(1.05);
}

.btn-wa {
    background: var(--whatsapp);
    color: #fff;
    border-radius: 12px;
}

.btn-call {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.btn-call:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 📱 Responsive Adjustments */
@media (max-width: 768px) {
    /* Header optimization - Icons Only */
    .nav-actions { display: flex !important; gap: 0.5rem; }
    .btn-text { display: none; }
    .mobile-icon-btn { padding: 0.6rem !important; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
    .call-icon { display: block !important; }
    
    .header-slogan { display: none; }
    
    .hero { padding-top: 80px; min-height: 70vh; }
    .hero-title { font-size: 2.8rem; letter-spacing: -1px; }
    .hero-subtitle { font-size: 1rem; padding: 0 1rem; margin-bottom: 2rem; }
    
    .glass-panel.search-bar { 
        flex-direction: column; 
        border-radius: 15px; 
        padding: 1rem;
    }
    .glass-panel.search-bar input { margin-bottom: 0.5rem; text-align: center; }
    .glass-panel.search-bar button { width: 100%; border-radius: 10px; }

    .section-header { flex-direction: column; align-items: flex-start !important; gap: 1rem; }
    .section-title { font-size: 2rem !important; }
    
    .ad-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .ad-card { padding: 1rem; border-radius: 20px; }
    .ad-card img { height: 200px; border-radius: 12px; }
    
    .footer { padding: 3rem 1rem !important; }
    .footer-links-container { flex-direction: column; gap: 1.5rem !important; }
}
