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

:root {
    --bg-dark: #060b13; /* Very deep navy/black */
    --bg-surface: #0a111f; /* Slightly lighter navy for cards */
    --accent-gold: #e5b352; /* Premium Gold */
    --accent-gold-glow: rgba(229, 179, 82, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(10, 17, 31, 0.6);
    --gradient-glow: radial-gradient(circle at 50% 0%, rgba(229,179,82,0.15) 0%, rgba(6,11,19,0) 50%);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Glassmorphism Navbar */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1440px;
    margin: 0 auto;
}

.logo-container h1 {
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
}

.lang-toggle a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.lang-toggle a.active {
    color: var(--accent-gold);
}

/* Premium Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    opacity: 0.4;
    filter: contrast(1.1) saturate(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(6,11,19,0.95) 0%, rgba(6,11,19,0.7) 50%, rgba(6,11,19,0.2) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    padding-top: 80px;
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h2 {
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero h2 span {
    color: var(--accent-gold);
    display: block;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--bg-dark);
    box-shadow: 0 10px 30px var(--accent-gold-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(229, 179, 82, 0.4);
}

/* Sections */
.section {
    padding: 8rem 5%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin-bottom: 4rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.value-card p, .value-card ul {
    color: var(--text-secondary);
}

.value-card ul {
    list-style: none;
}

.value-card ul li {
    margin-bottom: 0.8rem;
}

.value-card ul li strong {
    color: var(--accent-gold);
}

/* Products Grid */
.products-bg {
    background: var(--bg-dark);
    position: relative;
}

.products-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    z-index: 0;
    pointer-events: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border-color: rgba(229, 179, 82, 0.3);
}

.product-img {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-surface), transparent);
}

.product-category {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(6, 11, 19, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
}

.product-info {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.product-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Contact & Map Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.contact-form {
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.3s ease;
}

body.light-mode .form-control {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(229, 179, 82, 0.1);
}

.form-control::placeholder {
    color: #64748b;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.map-box {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    filter: grayscale(80%) invert(90%) hue-rotate(180deg);
    transition: filter 0.5s ease;
}

body.light-mode .map-box {
    filter: grayscale(20%) contrast(1.2);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background: #04080e;
    border-top: 1px solid var(--glass-border);
    padding: 6rem 5% 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-brand h2 span {
    color: var(--accent-gold);
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.footer-col p, .footer-col a {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile Navigation Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.menu-toggle:hover {
    color: var(--accent-gold);
}

@media (max-width: 992px) {
    .hero h2 { font-size: 3.5rem; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .map-box { min-height: 300px; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 17, 31, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 999;
        transition: right 0.4s cubic-bezier(0.1, 0.9, 0.2, 1);
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .hero h2 { font-size: 2.8rem; }
    .section { padding: 5rem 5%; }
    
    /* Layout and Grid Refinements on Mobile */
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 2rem;
    }

    .product-card {
        max-width: 100%;
    }

    .product-img {
        height: 220px;
    }

    .product-info {
        padding: 1.5rem;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    /* Modal responsive updates */
    .modal-card {
        padding: 2rem 1.5rem;
        width: 95%;
        border-radius: 16px;
    }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modal-img-container {
        height: 220px;
    }

    .modal-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    /* Floating Buttons responsive updates */
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .floating-actions {
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero h2 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; margin-bottom: 2rem; }
    .btn { padding: 1rem 2.2rem; font-size: 0.95rem; }
    .section-title { font-size: 2.2rem; }
    .contact-form { padding: 1.5rem; }
}

/* Light Mode Overrides */
body.light-mode {
    --bg-dark: #f8fafc;
    --bg-surface: #ffffff;
    --accent-gold: #c2410c; /* Deeper contrast gold/orange for light mode */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --gradient-glow: radial-gradient(circle at 50% 0%, rgba(217, 119, 6, 0.05) 0%, rgba(248, 250, 252, 0) 50%);
}

body.light-mode footer {
    background: #f1f5f9;
}
body.light-mode .footer-brand h2,
body.light-mode .footer-col h4 {
    color: #0f172a;
}
body.light-mode .product-category {
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-gold);
}

/* Header Utilities */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--accent-gold);
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.1);
}

.wa-btn {
    background: #25D366;
}

.wa-btn:hover {
    background: #128C7E;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.chat-btn {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

.chat-btn:hover {
    box-shadow: 0 8px 25px var(--accent-gold-glow);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.fade-left {
    transform: translateX(-50px);
}

.reveal.fade-right {
    transform: translateX(50px);
}

.reveal.fade-left.active, .reveal.fade-right.active {
    transform: translateX(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* ==========================================================================
   INTERACTIVE PRODUCT MODAL & SUCCESS TOAST STYLES
   ========================================================================== */

/* Interactive Product Detail Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 8, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    width: 90%;
    max-width: 900px;
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--accent-gold);
}

.modal-body {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 3rem;
    align-items: center;
}

.modal-img-container {
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
    border: 1px solid var(--glass-border);
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info-container {
    display: flex;
    flex-direction: column;
}

.modal-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.modal-divider {
    height: 2px;
    background: linear-gradient(to right, var(--accent-gold), transparent);
    width: 100%;
    margin-bottom: 1.5rem;
}

.modal-label {
    font-size: 0.9rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.modal-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-wa-modal {
    background: #25D366;
    color: #fff;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-wa-modal:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .modal-img-container {
        height: 220px;
    }
    .modal-card {
        padding: 2rem;
        max-height: 90vh;
        overflow-y: auto;
    }
    .modal-title {
        font-size: 1.8rem;
    }
}

/* Success Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 2.5rem;
    left: 2.5rem;
    background: rgba(10, 17, 31, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 16px;
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 3000;
    animation: slideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.light-mode .toast-notification {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body.light-mode .toast-message span {
    color: var(--text-primary);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast-content i {
    color: #25D366;
    font-size: 1.5rem;
}

.toast-message span {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.3s;
}

.toast-close:hover {
    color: #fff;
}

body.light-mode .toast-close:hover {
    color: var(--text-primary);
}

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

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* Truncated Text helper */
.product-desc-truncated {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Button size & variants styling */
.btn-sm {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

body.light-mode .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.03);
}

/* Floating Live Chat Box Styles */
.live-chat-box {
    position: fixed;
    bottom: 95px;
    right: 30px;
    width: 395px;
    height: 570px;
    background: rgba(10, 17, 31, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.live-chat-box.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.live-chat-header {
    background: linear-gradient(135deg, rgba(10, 17, 31, 0.9) 0%, rgba(6, 11, 19, 0.95) 100%);
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(229, 179, 82, 0.1);
    border: 1.5px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chat-avatar i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.chat-avatar .active-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 9px;
    height: 9px;
    background: #10b981;
    border: 1.5px solid #060b13;
    border-radius: 50%;
}

.chat-header-info h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}

.chat-header-info span {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
    display: block;
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.6rem;
    cursor: pointer;
    transition: color 0.3s;
}

.chat-close:hover {
    color: #fff;
}

#chatFormContainer {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

#liveChatForm {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.live-chat-messages {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-msg {
    display: flex;
    flex-direction: column;
}

.chat-msg.system {
    align-items: center;
    text-align: center;
}

.chat-msg.system .chat-msg-bubble {
    font-size: 0.78rem;
    color: var(--accent-gold);
    background: rgba(229, 179, 82, 0.06);
    border: 1px solid rgba(229, 179, 82, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    max-width: 100%;
}

.chat-msg.operator {
    align-items: flex-start;
}

.chat-msg.operator .chat-msg-bubble {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-msg-bubble {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.9rem 1.2rem;
    border-radius: 16px 16px 16px 4px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 85%;
}

.chat-form-group {
    margin-bottom: 0px;
}

.chat-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.chat-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
}

.chat-textarea {
    min-height: 110px;
    resize: none;
}

.btn-chat-submit {
    background: var(--accent-gold);
    color: #060b13;
    border: none;
    width: 100%;
    padding: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--accent-gold-glow);
    transition: all 0.3s;
    margin-top: 0.4rem;
}

.btn-chat-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(229,179,82,0.3);
}

.chat-welcome-banner {
    background: rgba(229, 179, 82, 0.05);
    border: 1px solid rgba(229, 179, 82, 0.12);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-welcome-banner i {
    color: var(--accent-gold);
    font-size: 1.4rem;
}

.chat-welcome-banner p {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.4;
    margin: 0;
}

.chat-followup-bar {
    padding: 12px 18px;
    background: rgba(10, 17, 31, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Typing bubble dots */
.typing-dots {
    display: flex;
    gap: 4px;
    padding: 0.5rem 0.8rem;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Light mode overrides for chat support */
body.light-mode .live-chat-box {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

body.light-mode .chat-avatar {
    background: rgba(194, 65, 12, 0.08);
}

body.light-mode .live-chat-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .chat-header-info h4 {
    color: #0f172a;
}

body.light-mode .chat-msg-bubble {
    background: #f1f5f9;
    border-color: rgba(0, 0, 0, 0.03);
    color: #334155;
}

body.light-mode .chat-input {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.08);
    color: #0f172a;
}

body.light-mode .chat-input:focus {
    background: #fff;
    border-color: var(--accent-gold);
}

body.light-mode .chat-msg.operator .chat-msg-bubble {
    background: #e2e8f0;
    color: #0f172a;
}

body.light-mode .btn-chat-submit {
    color: #060b13;
}

/* ==========================================
   ADMIN PORTAL PREMIUM STYLING SYSTEM
   ========================================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background-color: #060b13;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.9rem 1.2rem;
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.sidebar-menu li a i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.sidebar-menu li.active a {
    background: rgba(229, 179, 82, 0.1) !important;
    color: var(--accent-gold) !important;
    border: 1px solid rgba(229, 179, 82, 0.15) !important;
}

.sidebar-menu li.active a i {
    color: var(--accent-gold) !important;
}

.sidebar-menu li a:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    color: #ffffff !important;
}

.sidebar-menu li a:hover i {
    color: #ffffff !important;
}

/* Slick & Compact dashboard button overrides */
.admin-layout .btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.88rem !important;
    border-radius: 8px !important;
    letter-spacing: 0px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.btn-logout {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.15);
    padding: 0.65rem 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.btn-logout:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Compact Slate-Grey B2B Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: #111827 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: 10px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: none !important;
}

.stat-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.stat-info .label {
    font-size: 0.82rem !important;
    color: #9ca3af !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-info .value {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px !important;
    background: #1f2937 !important;
    color: #9ca3af !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
}

/* Elegant B2B Table Layout */
.table-section {
    background: #111827 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 1.8rem 2.2rem !important;
    border-radius: 12px !important;
    margin-bottom: 2.5rem;
}

.table-section h3 {
    font-size: 1.15rem !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
}

.table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.85rem;
    color: #d1d5db;
}

.admin-table th {
    background: #1f2937 !important;
    color: #9ca3af !important;
    padding: 0.85rem 1rem !important;
    font-weight: 600 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 0.95rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    vertical-align: middle !important;
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.015);
}

.admin-table strong {
    color: #ffffff;
    font-weight: 600;
}

/* Solid Clean B2B Badges */
.badge {
    display: inline-block !important;
    padding: 0.22rem 0.6rem !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    background: #1f2937 !important;
    color: #d1d5db !important;
    border: 1px solid #374151 !important;
    box-shadow: none !important;
}

.badge.badge-success {
    background: rgba(16, 185, 129, 0.08) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.15) !important;
}

.badge.badge-warning {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.15) !important;
}

/* Sleek Action Buttons */
.btn-action-group {
    display: flex !important;
    gap: 8px !important;
}

.btn-action {
    background: #1f2937 !important;
    border: 1px solid #374151 !important;
    color: #9ca3af !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 0.85rem !important;
    transition: all 0.2s ease !important;
}

.btn-action:hover {
    background: #374151 !important;
    color: #ffffff !important;
    border-color: #4b5563 !important;
}

.btn-action.btn-action-read:hover {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #10b981 !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
}

.btn-action.btn-action-reply:hover {
    background: rgba(229, 179, 82, 0.12) !important;
    color: var(--accent-gold) !important;
    border-color: rgba(229, 179, 82, 0.25) !important;
}

.btn-action.btn-action-delete:hover {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.25) !important;
}



