/* =========================================================================
   GLOBAL STYLESHEET - PORTFOLIO RÉJUSTE WENOUMI
   Unified, optimized, and token-driven CSS architecture.
   ========================================================================= */

/* ===== 1. RESET & BASE ELEMENTS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--rw-font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--rw-text);
    background-color: var(--rw-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Spacing for fixed desktop navbar */
    padding-top: 85px;
    transition: background-color 0.3s ease;
    min-height: 100vh;
}

/* Background mesh overlay for a premium feel */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(circle at center, transparent 0%, rgba(8, 9, 48, 0.02) 100%),
        linear-gradient(rgba(8, 9, 48, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 9, 48, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 45px 45px, 45px 45px;
    z-index: -1;
    pointer-events: none;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--rw-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--rw-gold);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--rw-gold-dark);
}

/* Selection */
::selection {
    background: var(--rw-gold);
    color: var(--rw-primary);
}

/* Links */
a {
    color: var(--rw-primary-light);
    text-decoration: none;
    transition: var(--rw-transition-smooth);
}
a:hover {
    color: var(--rw-gold-dark);
}

/* ===== 2. FLUID TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--rw-font-heading);
    color: var(--rw-dark);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

/* Responsive clamp titles */
h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 4vw, 2rem); }
h4 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h5 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.15rem); }

p {
    margin-bottom: 1.25rem;
}

.text-gradient {
    background: var(--rw-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gold {
    color: var(--rw-gold-dark);
}

/* Handwritten title styles (Hero accent) */
.handwritten-title {
    font-family: var(--rw-font-heading);
    color: var(--rw-light);
}
.handwritten-subtitle {
    font-family: var(--rw-font-body);
    color: var(--rw-light);
}

/* ===== 3. GLOBAL MOTION & REVEAL SYSTEM ===== */
[data-reveal] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: transform, opacity;
}
[data-reveal="up"] { transform: translateY(30px); }
[data-reveal="down"] { transform: translateY(-30px); }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="zoom"] { transform: scale(0.95); }

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

[data-rw-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-rw-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

/* Micro-animations */
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(247, 209, 56, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(247, 209, 56, 0); }
    100% { box-shadow: 0 0 0 0 rgba(247, 209, 56, 0); }
}
.animate-pulse-gold {
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.02); filter: brightness(1.05); }
}

/* ===== 4. ULTRA PREMIUM DESKTOP NAVBAR ===== */
@keyframes slideInNav {
    0% { transform: translateY(-100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    /* Rich Somber Glass background */
    background: linear-gradient(135deg, rgba(8, 9, 48, 0.96) 0%, rgba(15, 18, 96, 0.95) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(247, 209, 56, 0.2);
    color: var(--rw-light);
    padding: 8px 40px;
    margin: 8px 20px;
    width: calc(100% - 40px);
    border-radius: 22px;
    z-index: 9999;
    transition: var(--rw-transition);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(247, 209, 56, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    display: none;
    animation: slideInNav 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Top elegant gold line */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--rw-gold), #ffe066, var(--rw-gold), transparent);
    border-radius: 0 0 2px 2px;
    opacity: 0.8;
}

.navbar.scrolled {
    padding: 6px 40px;
    margin: 4px 20px;
    background: linear-gradient(135deg, rgba(8, 9, 48, 0.98) 0%, rgba(10, 11, 55, 0.98) 100%);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(247, 209, 56, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    border-color: rgba(247, 209, 56, 0.3);
}

.navbar .menu {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar .menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    align-items: center;
}

.navbar .menu ul li {
    position: relative;
}

.navbar .menu ul li a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    padding: 8px 18px;
    display: block;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.4px;
    border-radius: 10px;
    transition: var(--rw-transition);
    position: relative;
    border: 1px solid transparent;
}

/* Gold animated underline */
.navbar .menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    right: 18px;
    height: 1.5px;
    background: linear-gradient(90deg, var(--rw-gold), #ffe066, var(--rw-gold));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.navbar .menu ul li a:hover {
    background: rgba(247, 209, 56, 0.1);
    color: var(--rw-gold);
    border-color: rgba(247, 209, 56, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(247, 209, 56, 0.1);
}
.navbar .menu ul li a:hover::after {
    transform: scaleX(1);
}

/* Submenus dropdown */
.navbar .menu ul li .submenu {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    background: linear-gradient(135deg, rgba(8, 9, 48, 0.98) 0%, rgba(10, 11, 55, 0.98) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 10px;
    border: 1px solid rgba(247, 209, 56, 0.2);
    border-radius: 14px;
    min-width: 220px;
    z-index: 10000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateY(-8px);
    transition: var(--rw-transition);
}

.navbar .menu ul li .submenu::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 24px;
    width: 14px;
    height: 14px;
    background: rgba(10, 11, 55, 0.98);
    border-left: 1px solid rgba(247, 209, 56, 0.2);
    border-top: 1px solid rgba(247, 209, 56, 0.2);
    transform: rotate(45deg);
}

.navbar .menu ul li:hover .submenu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Language switcher in nav */
.lang-switcher-nav {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* ===== 5. MOBILE SIDEBAR MENU & OVERLAY ===== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--rw-transition-smooth);
}
.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    width: 280px;
    background: linear-gradient(135deg, rgba(8, 9, 48, 0.98) 0%, rgba(15, 18, 96, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(247, 209, 56, 0.2);
    height: 100vh;
    position: fixed;
    top: 0;
    right: -280px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 30px 24px;
    color: var(--rw-light);
    z-index: 10001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    right: 0;
}

/* Close Button */
.sidebar .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--rw-transition);
}
.sidebar .close-btn:hover {
    color: var(--rw-gold);
    transform: rotate(90deg);
}

/* Sidebar Profile */
.sidebar .profile {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar .profile img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--rw-gold);
    box-shadow: 0 8px 20px rgba(247, 209, 56, 0.3);
    object-fit: cover;
    margin-bottom: 12px;
}
.sidebar .profile h2 {
    font-size: 1.15rem;
    font-weight: 700;
}

/* Sidebar Navigation */
.sidebar nav {
    flex: 1;
    overflow-y: auto;
}
.sidebar nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sidebar nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sidebar nav ul li:last-child {
    border-bottom: none;
}
.sidebar nav ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
    border-radius: 8px;
    transition: var(--rw-transition-smooth);
}
.sidebar nav ul li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--rw-gold);
    transform: translateX(4px);
}

.sidebar nav ul li .submenu {
    display: none;
    list-style-type: none;
    padding-left: 15px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    margin-bottom: 8px;
}
.sidebar nav ul li .submenu li a {
    font-size: 13.5px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.7);
}
.sidebar nav ul li .submenu li a:hover {
    color: var(--rw-gold);
}

/* Mobile Header Sticky (Small Devices) */
#mobile-sticky-header {
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(247, 209, 56, 0.15);
}

/* ===== 6. DESIGN SYSTEM UI COMPONENTS ===== */

/* Standardized Breadcrumbs */
.rw-breadcrumb {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    color: var(--rw-text-muted);
}
.rw-breadcrumb a {
    color: var(--rw-primary);
    text-decoration: none;
    transition: var(--rw-transition-smooth);
}
.rw-breadcrumb a:hover {
    color: var(--rw-gold-dark);
}
.rw-breadcrumb .current {
    color: var(--rw-text);
    font-weight: 700;
}

/* Section Headers */
.rw-section-header {
    text-align: center;
    margin-bottom: var(--rw-spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.rw-section-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--rw-gold-dark);
    margin-bottom: 0.75rem;
}
.rw-section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 1.25rem;
}
.rw-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--rw-gradient-gold);
    border-radius: var(--rw-radius-full);
}
.rw-section-desc {
    font-size: 1.05rem;
    color: var(--rw-text-muted);
    line-height: 1.7;
}

/* Cards System */
.rw-card {
    background: var(--rw-light);
    border-radius: var(--rw-radius-lg);
    border: 1px solid var(--rw-border);
    transition: var(--rw-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.rw-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--rw-shadow-premium);
    border-color: rgba(8, 9, 48, 0.22);
}

.rw-card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.rw-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.rw-card:hover .rw-card-img {
    transform: scale(1.08);
}

.rw-card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--rw-gradient-primary);
    color: var(--rw-light);
    padding: 0.38rem 0.9rem;
    border-radius: var(--rw-radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--rw-shadow-sm);
}

.rw-card-icon-wrapper {
    width: 65px;
    height: 65px;
    background: var(--rw-bg-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--rw-transition);
    color: var(--rw-primary);
    font-size: 1.6rem;
}
.rw-card:hover .rw-card-icon-wrapper {
    background: var(--rw-primary);
    color: var(--rw-light);
    transform: rotateY(360deg);
}

.rw-card-body {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.rw-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--rw-dark);
}
.rw-card-text {
    color: var(--rw-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}
.rw-card-footer {
    padding-top: 1.25rem;
    border-top: 1px solid var(--rw-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Buttons System */
.rw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--rw-radius-full);
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--rw-transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.rw-btn-primary {
    background: var(--rw-gradient-primary);
    color: var(--rw-light) !important;
    box-shadow: 0 8px 16px rgba(8, 9, 48, 0.15);
}
.rw-btn-primary:hover {
    transform: translateY(-2.5px);
    box-shadow: 0 12px 24px rgba(8, 9, 48, 0.25);
    opacity: 0.95;
}

.rw-btn-outline {
    background: transparent;
    border: 2px solid var(--rw-primary);
    color: var(--rw-primary) !important;
}
.rw-btn-outline:hover {
    background: var(--rw-primary);
    color: var(--rw-light) !important;
    transform: translateY(-2.5px);
}

.rw-btn-gold {
    background: var(--rw-gradient-gold);
    color: #1a1a1a !important;
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.15);
}
.rw-btn-gold:hover {
    transform: translateY(-2.5px);
    box-shadow: 0 12px 24px rgba(212, 175, 55, 0.3);
}

/* Language switcher buttons */
.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--rw-light);
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 11px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--rw-transition);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    text-transform: uppercase;
}
.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--rw-gold);
    color: var(--rw-gold);
}
.lang-btn.active {
    background: var(--rw-gold);
    color: var(--rw-primary);
    border-color: var(--rw-gold);
    box-shadow: 0 0 15px rgba(247, 209, 56, 0.3);
}

/* ===== 7. LAYOUT & SECTIONS ===== */
.container-premium {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}
.py-section {
    padding: var(--rw-spacing-lg) 0;
}
.bg-subtle {
    background: var(--rw-bg-subtle);
}

/* Premium Footer */
.premium-footer {
    background: linear-gradient(135deg, rgba(2, 4, 26, 0.9) 0%, rgba(8, 9, 48, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--rw-light);
    padding: 70px 0 30px;
    border-top: 1px solid rgba(247, 209, 56, 0.25);
    position: relative;
}
.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-title {
    font-size: 1.35rem;
    color: var(--rw-gold);
    margin-bottom: 5px;
}
.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--rw-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.95rem;
    transition: var(--rw-transition);
}
.footer-social a:hover {
    background: var(--rw-gold);
    color: var(--rw-primary);
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(247, 209, 56, 0.35);
    border-color: var(--rw-gold);
}
.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a, .footer-contact a, .footer-contact span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    transition: var(--rw-transition);
}
.footer-links a:hover, .footer-contact a:hover {
    color: var(--rw-gold);
    padding-left: 4px;
}
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-contact li i {
    color: var(--rw-gold);
    font-size: 0.95rem;
}
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    max-width: 1300px;
    margin: 40px auto 20px;
    width: calc(100% - 4rem);
}
.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer-tagline {
    font-weight: 600;
    color: var(--rw-gold);
}

/* Minimalist Accordion FAQ */
.minimalist-faq .faq-item {
    border-bottom: 1px solid rgba(8, 9, 48, 0.08);
}
.faq-trigger {
    cursor: pointer;
    font-family: var(--rw-font-heading);
    font-weight: 700;
    color: var(--rw-dark);
}
.faq-trigger .icon-state {
    transition: transform 0.3s ease;
}
.faq-trigger:not(.collapsed) .icon-state {
    transform: rotate(45deg);
}

/* ===== 8. CHATBOT FLOATING WIDGET ===== */
#chatbot-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 10001;
    font-family: var(--rw-font-body);
}
#chatbot-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--rw-gold);
    color: var(--rw-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(247, 209, 56, 0.4);
    transition: var(--rw-transition);
    border: none;
}
#chatbot-btn:hover {
    transform: scale(1.1) rotate(5deg);
}
#chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 500px;
    background: rgba(8, 9, 48, 0.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(247, 209, 56, 0.3);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    animation: slideIn 0.4s ease-out;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
#chat-header {
    padding: 15px 20px;
    background: rgba(247, 209, 56, 0.1);
    border-bottom: 1px solid rgba(247, 209, 56, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}
.bot-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--rw-gold);
}
#chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.message {
    max-width: 85%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.5;
}
.bot-msg {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    color: #eee;
    border-bottom-left-radius: 2px;
}
.user-msg {
    align-self: flex-end;
    background: var(--rw-gold);
    color: var(--rw-primary);
    border-bottom-right-radius: 2px;
    font-weight: 500;
}
#chat-footer {
    padding: 15px;
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
#chat-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 8px 12px;
    color: white;
    font-size: 14px;
}
#chat-input:focus { outline: none; border-color: var(--rw-gold); }
#send-btn {
    background: var(--rw-gold);
    color: var(--rw-primary);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== 9. STANDARD RESPONSIVE GRID BREAKPOINTS ===== */
@media (max-width: 1280px) {
    .container-premium { max-width: 1100px; }
}

@media (max-width: 1024px) {
    body { padding-top: 65px; }
    .container-premium { max-width: 900px; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .navbar { display: none !important; }
    .container-premium { padding: 0 1.5rem; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .footer-divider { margin: 30px auto 15px; }
}

@media (max-width: 480px) {
    #chat-window {
        width: calc(100vw - 40px);
        height: 70vh;
        right: -5px;
    }
}
