/* ============================================
   CORPORATE PREMIUM 3.0 - ROOT VARIABLES
============================================ */
:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1a2333;
    --bg-card-hover: #1f2a3f;

    --primary-blue: #3b82f6;
    --primary-purple: #8b5cf6;
    --primary-gold: #f59e0b;
    --primary-cyan: #22d3ee;
    --primary-pink: #ec4899;

    --gradient-main: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-gold: linear-gradient(135deg, #f59e0b, #f97316);
    --gradient-cyber: linear-gradient(135deg, #22d3ee, #3b82f6);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-light: #ffffff;

    --border-light: rgba(148, 163, 184, 0.08);
    --border-medium: rgba(148, 163, 184, 0.12);
    --border-glow: rgba(59, 130, 246, 0.15);

    --shadow-sm: 0 4px 24px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 48px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 80px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.08);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* ============================================
   MODE CLAIR
============================================ */
[data-theme="light"] {
    --bg-primary: #f0f4f8;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-light: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .premium-navbar {
    background: rgba(255, 255, 255, 0.92) !important;
}

[data-theme="light"] .premium-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
}

[data-theme="light"] .hero-premium {
    background: #e8edf3;
}

[data-theme="light"] .footer-premium {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
}

[data-theme="light"] .card-premium {
    background: #ffffff;
}

[data-theme="light"] .card-premium:hover {
    background: #f8fafc;
}

[data-theme="light"] .partner-premium {
    background: #ffffff;
}

[data-theme="light"] .partner-premium:hover {
    background: #f8fafc;
}

[data-theme="light"] .search-premium {
    background: #f0f4f8;
}

[data-theme="light"] .search-premium input {
    color: var(--text-primary);
}

[data-theme="light"] .dropdown-premium {
    background: rgba(255, 255, 255, 0.98) !important;
}

[data-theme="light"] .dropdown-premium .dropdown-item {
    color: #475569 !important;
}

[data-theme="light"] .dropdown-premium .dropdown-item:hover {
    color: var(--primary-blue) !important;
}

[data-theme="light"] .mobile-search-premium {
    background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .mobile-search-premium input {
    background: #f0f4f8;
    color: var(--text-primary);
}

[data-theme="light"] .logo-premium-text {
    color: #0f172a;
}

[data-theme="light"] .logo-premium-badge {
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.08);
}

[data-theme="light"] .menu-premium .nav-link {
    color: #475569 !important;
}

[data-theme="light"] .menu-premium .nav-link:hover,
[data-theme="light"] .menu-premium .nav-link.active {
    color: var(--primary-blue) !important;
}

[data-theme="light"] .hero-title .light-text {
    color: #0f172a;
}

[data-theme="light"] .hero-subtitle {
    color: #475569;
}

[data-theme="light"] .hero-badge {
    background: rgba(59, 130, 246, 0.06);
    border-color: rgba(59, 130, 246, 0.08);
}

[data-theme="light"] .section-title {
    color: #0f172a;
}

[data-theme="light"] .footer-premium h4,
[data-theme="light"] .footer-premium h5 {
    color: #0f172a;
}

[data-theme="light"] .footer-premium p,
[data-theme="light"] .footer-premium li {
    color: #475569;
}

[data-theme="light"] .footer-premium a {
    color: #475569;
}

[data-theme="light"] .footer-premium .social-link {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .footer-premium .social-link:hover {
    background: rgba(59, 130, 246, 0.06);
    border-color: var(--primary-blue);
}

[data-theme="light"] .btn-secondary-premium {
    color: #0f172a !important;
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .btn-secondary-premium:hover {
    color: var(--primary-blue) !important;
    background: rgba(59, 130, 246, 0.04);
    border-color: var(--primary-blue);
}

[data-theme="light"] .cta-premium {
    color: #fff !important;
}

[data-theme="light"] .cta-premium:hover {
    color: #fff !important;
}

[data-theme="light"] .admin-header h1 {
    color: #0f172a;
}

[data-theme="light"] .stat-card .stat-number {
    color: #0f172a;
}

[data-theme="light"] .quick-action {
    color: #0f172a;
}

[data-theme="light"] .quick-action:hover {
    color: #0f172a;
}

[data-theme="light"] .recent-activity .activity-text {
    color: #475569;
}

[data-theme="light"] .recent-activity .activity-text strong {
    color: #0f172a;
}

[data-theme="light"] .recent-activity .activity-time {
    color: #94a3b8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding-top: 76px;
    overflow-x: hidden;
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ============================================
   SCROLLBAR PREMIUM
============================================ */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--gradient-main);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* ============================================
   SELECTION PREMIUM
============================================ */
::selection {
    background: var(--primary-blue);
    color: #fff;
}

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

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.1); }
    50% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.2); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   NAVBAR - CORPORATE PREMIUM
============================================ */
.premium-navbar {
    background: rgba(15, 23, 42, 0.92) !important;
    backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-navbar.scrolled {
    padding: 8px 0;
    background: rgba(15, 23, 42, 0.98) !important;
    box-shadow: var(--shadow-md);
    border-bottom-color: rgba(59, 130, 246, 0.08);
}

/* Logo Premium */
.logo-premium {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
}

.logo-premium-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-main);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.logo-premium-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 60%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translate(-50%, -50%) scale(0); }
    50% { transform: translate(0, 0) scale(1.5); opacity: 0.8; }
    100% { transform: translate(50%, 50%) scale(0); opacity: 0; }
}

.logo-premium:hover .logo-premium-icon {
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.35);
}

.logo-premium-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.logo-premium-text .highlight {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-premium-badge {
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(59, 130, 246, 0.12);
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

/* Menu Navigation */
.menu-premium {
    display: flex;
    align-items: center;
    gap: 2px;
}

.menu-premium .nav-link {
    color: var(--text-secondary) !important;
    padding: 8px 20px !important;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.menu-premium .nav-link::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.menu-premium .nav-link:hover::before,
.menu-premium .nav-link.active::before {
    width: 40%;
}

.menu-premium .nav-link:hover {
    color: var(--text-primary) !important;
    background: rgba(59, 130, 246, 0.04);
}

.menu-premium .nav-link.active {
    color: var(--text-primary) !important;
    background: rgba(59, 130, 246, 0.06);
}

.menu-premium .nav-link .nav-icon {
    margin-right: 6px;
    font-size: 0.75rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.menu-premium .nav-link:hover .nav-icon,
.menu-premium .nav-link.active .nav-icon {
    opacity: 1;
    color: var(--primary-blue);
}

/* Dropdown Premium */
.dropdown-premium {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-md) !important;
    padding: 8px !important;
    box-shadow: var(--shadow-lg) !important;
    min-width: 240px !important;
    backdrop-filter: blur(20px);
    transition: background 0.3s ease;
}

.dropdown-premium .dropdown-item {
    color: var(--text-secondary) !important;
    padding: 10px 16px !important;
    border-radius: var(--radius-sm) !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-premium .dropdown-item i {
    color: var(--primary-blue);
    font-size: 0.9rem;
    width: 22px;
    text-align: center;
}

.dropdown-premium .dropdown-item:hover {
    background: rgba(59, 130, 246, 0.06) !important;
    color: var(--text-primary) !important;
    transform: translateX(4px);
}

.dropdown-premium .dropdown-item .item-shortcut {
    margin-left: auto;
    font-size: 0.6rem;
    color: var(--text-muted);
    background: rgba(148, 163, 184, 0.06);
    padding: 1px 8px;
    border-radius: var(--radius-full);
}

.dropdown-premium .dropdown-divider {
    border-color: var(--border-light) !important;
}

/* Search Bar Premium */
.search-premium {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 3px;
    transition: all 0.3s ease;
    min-width: 180px;
}

.search-premium:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.04);
    background: rgba(255, 255, 255, 0.05);
}

.search-premium input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 6px 16px;
    font-size: 0.85rem;
    width: 100%;
    outline: none;
}

.search-premium input::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

.search-premium .search-btn {
    background: var(--gradient-main);
    border: none;
    color: #fff;
    border-radius: var(--radius-full);
    padding: 6px 18px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-premium .search-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.25);
}

/* CTA Button Premium */
.cta-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-main);
    color: #fff !important;
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.12);
    position: relative;
    overflow: hidden;
}

.cta-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.25);
    color: #fff !important;
}

.cta-premium:hover::after {
    opacity: 1;
}

/* Mobile Search */
.mobile-search-premium {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease, background 0.3s ease;
}

.mobile-search-premium.visible {
    transform: translateY(0);
}

.mobile-search-premium form {
    display: flex;
    gap: 8px;
}

.mobile-search-premium input {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
}

.mobile-search-premium input:focus {
    border-color: var(--primary-blue);
}

.mobile-search-premium button {
    background: var(--gradient-main);
    border: none;
    border-radius: var(--radius-full);
    padding: 10px 24px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-search-premium button:hover {
    transform: scale(1.02);
}

/* ============================================
   HERO SECTION - CORPORATE PREMIUM
============================================ */
.hero-premium {
    min-height: 85vh;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

/* Background Effects */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero-glow-orb.orb-1 {
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.08);
}

.hero-glow-orb.orb-2 {
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.06);
}

.hero-glow-orb.orb-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03), transparent 70%);
}

/* Floating Particles */
.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0.2;
    z-index: 0;
}

.hero-particle:nth-child(1) { top: 15%; left: 8%; animation: floatParticle 10s ease-in-out infinite; }
.hero-particle:nth-child(2) { top: 25%; right: 12%; animation: floatParticle 12s ease-in-out infinite 1s; }
.hero-particle:nth-child(3) { bottom: 30%; left: 5%; animation: floatParticle 8s ease-in-out infinite 2s; }
.hero-particle:nth-child(4) { top: 60%; right: 5%; animation: floatParticle 14s ease-in-out infinite 0.5s; }
.hero-particle:nth-child(5) { bottom: 15%; right: 20%; animation: floatParticle 9s ease-in-out infinite 1.5s; }
.hero-particle:nth-child(6) { top: 40%; left: 2%; animation: floatParticle 11s ease-in-out infinite 2.5s; }

@keyframes floatParticle {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
    25% { transform: translate(30px, -50px) scale(1.8); opacity: 0.4; }
    50% { transform: translate(-20px, -100px) scale(1); opacity: 0.15; }
    75% { transform: translate(40px, -40px) scale(1.4); opacity: 0.3; }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 20px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.5); }
}

.hero-title {
    font-size: calc(3rem + 1.8vw);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.hero-title .gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .light-text {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 540px;
    margin-bottom: 28px;
    transition: color 0.3s ease;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 28px;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.hero-stat .stat-line {
    width: 24px;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
    margin-top: 6px;
}

/* Hero Globe */
.hero-globe-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-globe-icon {
    font-size: 200px;
    color: rgba(59, 130, 246, 0.04);
    position: relative;
    z-index: 1;
    animation: floatSlow 6s ease-in-out infinite;
}

.hero-globe-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.04);
    animation: ringExpand 4s ease-in-out infinite;
}

.hero-globe-ring:nth-child(2) {
    width: 260px;
    height: 260px;
    animation-delay: 0.6s;
}

.hero-globe-ring:nth-child(3) {
    width: 340px;
    height: 340px;
    animation-delay: 1.2s;
}

.hero-globe-ring:nth-child(4) {
    width: 420px;
    height: 420px;
    animation-delay: 1.8s;
    border-color: rgba(139, 92, 246, 0.03);
}

@keyframes ringExpand {
    0% { transform: scale(0.7); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.1; }
    100% { transform: scale(0.7); opacity: 0.6; }
}

/* ============================================
   BUTTONS PREMIUM
============================================ */
.btn-primary-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--gradient-main);
    color: #fff !important;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(59, 130, 246, 0.25);
    color: #fff !important;
}

.btn-primary-premium:hover::after {
    opacity: 1;
}

.btn-secondary-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.btn-secondary-premium:hover {
    background: rgba(59, 130, 246, 0.04);
    border-color: var(--primary-blue);
    color: var(--primary-blue) !important;
    transform: translateY(-2px);
}

.btn-outline-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-blue) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-premium:hover {
    background: rgba(59, 130, 246, 0.04);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.04);
}

/* ============================================
   CARDS - CORPORATE PREMIUM
============================================ */
.card-premium {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 0%, rgba(59, 130, 246, 0.02), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-premium:hover::before {
    opacity: 1;
}

.card-premium:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.1);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card-hover);
}

.card-premium-icon {
    font-size: 2.4rem;
    color: var(--primary-blue);
    margin-bottom: 16px;
    display: inline-block;
    background: rgba(59, 130, 246, 0.04);
    padding: 12px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.card-premium:hover .card-premium-icon {
    background: rgba(59, 130, 246, 0.08);
    transform: scale(1.05);
}

.card-premium-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.card-premium-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.card-premium-badge {
    display: inline-block;
    padding: 3px 16px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.04);
    border: 1px solid rgba(59, 130, 246, 0.06);
    letter-spacing: 0.3px;
}

.card-premium-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card-premium:hover .card-premium-border {
    transform: scaleX(1);
}

/* ============================================
   SECTION TITLES
============================================ */
.section-tag {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.section-title {
    font-size: calc(1.8rem + 0.8vw);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.section-title .gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-line {
    width: 50px;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
    margin: 8px 0 16px;
}

.section-line.centered {
    margin: 8px auto 16px;
}

/* ============================================
   PARTNER CARDS
============================================ */
.partner-premium {
    padding: 18px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.partner-premium:hover {
    border-color: rgba(59, 130, 246, 0.1);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    background: var(--bg-card-hover);
}

.partner-premium-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* ============================================
   FOOTER PREMIUM
============================================ */
.footer-premium {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 30px;
    margin-top: auto;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.footer-premium h4, .footer-premium h5 {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.footer-premium p, .footer-premium li {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-premium a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-premium a:hover {
    color: var(--primary-blue);
}

.footer-premium .social-link {
    display: inline-block;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    text-align: center;
    line-height: 38px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-premium .social-link:hover {
    background: rgba(59, 130, 246, 0.06);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 992px) {
    body { padding-top: 68px; }
    .hero-title { font-size: calc(2.2rem + 1vw); }
    .hero-globe-icon { font-size: 120px; }
    .hero-stats { gap: 24px; }
    .search-premium { display: none !important; }
    .cta-premium { display: none !important; }
    .mobile-search-premium.visible { transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero-premium { min-height: 70vh; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .hero-stat-number { font-size: 1.5rem; }
    .hero-globe-icon { font-size: 80px; }
    .hero-globe-ring:nth-child(2) { width: 180px; height: 180px; }
    .hero-globe-ring:nth-child(3) { width: 220px; height: 220px; }
    .hero-globe-ring:nth-child(4) { width: 260px; height: 260px; }
}

@media (max-width: 576px) {
    body { padding-top: 60px; }
    .logo-premium-text { font-size: 0.95rem; }
    .logo-premium-badge { display: none; }
    .hero-premium { min-height: 60vh; }
    .hero-title { font-size: 1.5rem; }
    .hero-badge { font-size: 0.55rem; padding: 4px 14px; }
    .hero-globe-icon { font-size: 60px; }
    .section-title { font-size: 1.4rem; }
}

/* ============================================
   ANIMATIONS LUMINEUSES AVANCÉES
============================================ */

/* 1. NEON PULSE SUR LES TITRES */
@keyframes neonPulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(59, 130, 246, 0.1), 0 0 20px rgba(59, 130, 246, 0.05);
    }
    50% {
        text-shadow: 0 0 20px rgba(59, 130, 246, 0.3), 0 0 40px rgba(59, 130, 246, 0.15), 0 0 60px rgba(59, 130, 246, 0.05);
    }
}

.hero-title .gradient-text {
    animation: neonPulse 3s ease-in-out infinite;
}

.section-title .gradient-text {
    animation: neonPulse 4s ease-in-out infinite;
}

/* 2. GLOW BORDER SUR LES CARTES */
@keyframes borderGlow {
    0% { box-shadow: 0 0 5px rgba(59, 130, 246, 0.05), inset 0 0 5px rgba(59, 130, 246, 0.02); }
    50% { box-shadow: 0 0 25px rgba(59, 130, 246, 0.15), inset 0 0 15px rgba(59, 130, 246, 0.05); }
    100% { box-shadow: 0 0 5px rgba(59, 130, 246, 0.05), inset 0 0 5px rgba(59, 130, 246, 0.02); }
}

.card-premium {
    animation: borderGlow 4s ease-in-out infinite;
}

/* 3. TWINKLE STARS (ÉTOILES CLIGNOTANTES) */
@keyframes twinkle {
    0%, 100% { opacity: 0.1; transform: scale(0.8); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

.hero-particle {
    animation: twinkle 3s ease-in-out infinite;
}

.hero-particle:nth-child(2) { animation-delay: 0.5s; }
.hero-particle:nth-child(3) { animation-delay: 1s; }
.hero-particle:nth-child(4) { animation-delay: 1.5s; }
.hero-particle:nth-child(5) { animation-delay: 2s; }
.hero-particle:nth-child(6) { animation-delay: 2.5s; }

/* 4. SCANNER LINE (LIGNE DE SCAN) */
@keyframes scanLine {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.6), rgba(59, 130, 246, 0.2), transparent);
    z-index: 0;
    animation: scanLine 6s ease-in-out infinite;
    pointer-events: none;
}

/* 5. GLOW PULSE SUR LES BOUTONS */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(59, 130, 246, 0.1), 0 0 20px rgba(59, 130, 246, 0.05); }
    50% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.3), 0 0 60px rgba(59, 130, 246, 0.15), 0 0 80px rgba(59, 130, 246, 0.05); }
}

.btn-primary-premium {
    animation: glowPulse 3s ease-in-out infinite;
}

.cta-premium {
    animation: glowPulse 2.5s ease-in-out infinite;
}

/* 6. FLOATING GLOW (LUEUR FLOTTANTE) */
@keyframes floatingGlow {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0.8;
    }
}

.hero-glow-orb.orb-1 {
    animation: floatingGlow 8s ease-in-out infinite;
}

.hero-glow-orb.orb-2 {
    animation: floatingGlow 10s ease-in-out infinite 1s;
}

.hero-glow-orb.orb-3 {
    animation: floatingGlow 12s ease-in-out infinite 2s;
}

/* 7. NEON TEXT FLICKER (EFFET CLIGNOTANT SUR LE TEXTE) */
@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 5px rgba(59, 130, 246, 0.2), 0 0 10px rgba(59, 130, 246, 0.1);
    }
    20%, 24%, 55% {
        text-shadow: 0 0 20px rgba(59, 130, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.2), 0 0 60px rgba(59, 130, 246, 0.1);
    }
}

.hero-badge {
    animation: neonFlicker 4s ease-in-out infinite;
}

/* 8. PULSE RING (ANNEAU PULSÉ) */
@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 0.8; box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.1); }
    50% { opacity: 0.3; box-shadow: 0 0 0 30px rgba(59, 130, 246, 0); }
    100% { transform: scale(1.2); opacity: 0; }
}

.hero-globe-ring {
    animation: pulseRing 4s ease-in-out infinite;
}

.hero-globe-ring:nth-child(2) { animation-delay: 0.8s; }
.hero-globe-ring:nth-child(3) { animation-delay: 1.6s; }
.hero-globe-ring:nth-child(4) { animation-delay: 2.4s; }

/* 9. SHIMMER EFFECT SUR LES CARTES */
@keyframes cardShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.card-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
    background-size: 200% 100%;
    animation: cardShimmer 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* 10. RIPPLE EFFECT SUR LES LIENS */
@keyframes ripple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(2); opacity: 0; }
}

.menu-premium .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
    animation: ripple 2s ease-in-out infinite;
}

/* 11. GLOW LINE SUR LE FOOTER */
@keyframes glowLine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.footer-premium hr {
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    background-size: 200% 100%;
    animation: glowLine 4s ease-in-out infinite;
    height: 1px !important;
    border: none !important;
}

/* 12. PULSE DOT SUR LES STATS */
@keyframes pulseStat {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(0.8); opacity: 1; }
}

.hero-stat .stat-line {
    animation: pulseStat 2s ease-in-out infinite;
}

/* 13. NEON BORDER SUR LA NAVBAR */
@keyframes neonBorder {
    0%, 100% { border-bottom-color: rgba(59, 130, 246, 0.05); }
    50% { border-bottom-color: rgba(59, 130, 246, 0.15); }
}

.premium-navbar {
    animation: neonBorder 3s ease-in-out infinite;
}

/* 14. SCROLL PROGRESS GLOW */
@keyframes progressGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(59, 130, 246, 0.2); }
    50% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.5), 0 0 60px rgba(59, 130, 246, 0.2); }
}

#scrollProgress {
    animation: progressGlow 2s ease-in-out infinite;
}

/* 15. FADE IN GLOW POUR LES SECTIONS */
@keyframes fadeInGlow {
    0% { opacity: 0; transform: translateY(30px); filter: blur(5px); }
    50% { filter: blur(0); }
    100% { opacity: 1; transform: translateY(0); }
}

section[data-aos] {
    animation: fadeInGlow 1s ease-out forwards;
}

/* 16. PULSE SUR LES BADGES */
@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.1);
        border-color: rgba(59, 130, 246, 0.1);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.3);
    }
}

.card-premium-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

/* 17. SPARKLE SUR LE LOGO */
@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}

.logo-premium-icon::before {
    content: '✦';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 10px;
    color: var(--primary-gold);
    animation: sparkle 3s ease-in-out infinite;
}

/* 18. GLOW SUR LES ICÔNES SOCIALES */
@keyframes socialGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.05);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
        transform: translateY(-3px);
    }
}

.social-link {
    animation: socialGlow 3s ease-in-out infinite;
}

.social-link:nth-child(2) { animation-delay: 0.5s; }
.social-link:nth-child(3) { animation-delay: 1s; }
.social-link:nth-child(4) { animation-delay: 1.5s; }

/* 19. RAINBOW GLOW SUR LE TEXTE GRADIENT (EFFET ARC-EN-CIEL) */
@keyframes rainbowGlow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.hero-title .gradient-text {
    animation: neonPulse 3s ease-in-out infinite, rainbowGlow 8s linear infinite;
}

/* 20. PARTICLE BURST (ÉCLATS DE PARTICULES) */
@keyframes particleBurst {
    0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(var(--tx), var(--ty)) scale(0.5); opacity: 0.4; }
    100% { transform: translate(calc(var(--tx) * 2), calc(var(--ty) * 2)) scale(0); opacity: 0; }
}

.hero-particle {
    --tx: 30px;
    --ty: -50px;
    animation: particleBurst 8s ease-in-out infinite;
}

.hero-particle:nth-child(1) { --tx: 40px; --ty: -60px; animation-delay: 0s; }
.hero-particle:nth-child(2) { --tx: -30px; --ty: -70px; animation-delay: 1s; }
.hero-particle:nth-child(3) { --tx: 50px; --ty: -40px; animation-delay: 2s; }
.hero-particle:nth-child(4) { --tx: -40px; --ty: -80px; animation-delay: 3s; }
.hero-particle:nth-child(5) { --tx: 60px; --ty: -30px; animation-delay: 4s; }
.hero-particle:nth-child(6) { --tx: -50px; --ty: -50px; animation-delay: 5s; }

/* ============================================
   STYLES CHAT - CORRECTION DES CHAMPS BLOQUÉS
============================================ */
#chatForm input,
#chatForm button {
    pointer-events: auto !important;
    cursor: text !important;
    z-index: 10 !important;
    position: relative !important;
}

#chatForm input:focus {
    outline: 2px solid var(--primary-blue) !important;
    outline-offset: 2px;
}

#chatForm button {
    cursor: pointer !important;
}

.chat-message {
    margin-bottom: 12px;
    padding: 8px 12px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-blue);
}

/* ============================================ */
/* CHATBOT WIDGET                              */
/* ============================================ */
#chatbotWidget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-main);
    border: none;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.6);
}

.chatbot-toggle:active {
    transform: scale(0.95);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    max-width: 80vw;
    height: 450px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-header {
    background: var(--gradient-main);
    padding: 14px 20px;
    color: #fff;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--bg-secondary);
}

.message {
    max-width: 80%;
    padding: 10px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.message.bot {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.user {
    background: var(--gradient-main);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-input {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}

.chatbot-input input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 50px;
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
    color: var(--text-primary);
    outline: none;
    font-size: 0.9rem;
}

.chatbot-input input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.chatbot-input button {
    background: var(--gradient-main);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 18px;
}

.chatbot-input button:hover {
    transform: scale(1.05);
}

/* ============================================ */
/* MICRO-INTERACTIONS                          */
/* ============================================ */
.card-premium,
.partner-premium,
.social-link,
.btn-primary-premium,
.btn-secondary-premium,
.btn-outline-premium {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-premium:hover,
.partner-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.btn-primary-premium:hover,
.btn-secondary-premium:hover,
.btn-outline-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
}

/* ============================================ */
/* AMÉLIORATIONS DARK MODE                     */
/* ============================================ */
body[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
}

body[data-theme="light"] .premium-navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

body[data-theme="light"] .premium-navbar .nav-link {
    color: #1e293b !important;
}

body[data-theme="light"] .premium-navbar .nav-link.active {
    color: #3b82f6 !important;
}

body[data-theme="light"] .premium-navbar .nav-link::after {
    background: #3b82f6 !important;
}

body[data-theme="light"] .dropdown-premium {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

body[data-theme="light"] .dropdown-premium .dropdown-item {
    color: #1e293b;
}

body[data-theme="light"] .dropdown-premium .dropdown-item:hover {
    background: #f1f5f9;
}

body[data-theme="light"] .hero-premium {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

body[data-theme="light"] .hero-title .light-text {
    color: #0f172a;
}

body[data-theme="light"] .hero-subtitle {
    color: #334155;
}

body[data-theme="light"] .section-title {
    color: #0f172a;
}

body[data-theme="light"] .footer-premium {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    color: #1e293b;
}

body[data-theme="light"] .footer-premium a {
    color: #1e293b;
}

body[data-theme="light"] .footer-premium .social-link {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

body[data-theme="light"] .chatbot-window {
    background: #ffffff;
}

body[data-theme="light"] .chatbot-messages {
    background: #f8fafc;
}

body[data-theme="light"] .message.bot {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #0f172a;
}

body[data-theme="light"] .chatbot-input {
    background: #ffffff;
    border-top-color: #e2e8f0;
}

body[data-theme="light"] .chatbot-input input {
    background: #f8fafc;
    color: #0f172a;
    border-color: #e2e8f0;
}

/* ============================================ */
/* CHATBOT - SUGGESTIONS                       */
/* ============================================ */
.suggestion-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px 0;
    justify-content: flex-start;
}

.suggestion-btn {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.8rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.suggestion-btn:hover {
    background: var(--gradient-main);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.suggestion-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Style pour les liens dans les messages du bot */
.message.bot a {
    color: var(--primary-blue);
    text-decoration: underline;
    font-weight: 500;
}

.message.bot a:hover {
    text-decoration: none;
}

/* ============================================ */
/* THREE.JS SCROLL ANIMATION                   */
/* ============================================ */
#three-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

#three-section {
    position: relative;
    overflow: hidden;
}

/* ============================================ */
/* RÉALITÉ AUGMENTÉE (AR)                      */
/* ============================================ */
#ar-container {
    position: relative;
    transition: all 0.3s ease;
}

#ar-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

#ar-activate-btn {
    background: var(--gradient-main);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#ar-activate-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(59,130,246,0.3);
}

/* Mode sombre/clair pour les conteneurs 3D */
body[data-theme="light"] #three-container,
body[data-theme="light"] #ar-container {
    background: #f8fafc;
    border-color: #e2e8f0;
}

body[data-theme="light"] #three-container canvas,
body[data-theme="light"] #ar-container canvas {
    background: #f8fafc;
}

/* ============================================ */
/* THREE.JS CONTAINER                          */
/* ============================================ */
#three-container {
    position: relative;
    width: 100%;
    height: 400px;
    max-height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.05), rgba(10, 10, 26, 0.8));
}

#three-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* ============================================ */
/* MODEL-VIEWER AR                             */
/* ============================================ */
model-viewer {
    width: 100%;
    height: 500px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

/* ============================================ */
/* BOUTON AR                                   */
/* ============================================ */
.ar-trigger {
    transition: all 0.3s ease;
}
.ar-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

/* Correction modal AR en mode clair */
body[data-theme="light"] .modal-content {
    background: #ffffff;
}
body[data-theme="light"] .modal-header {
    border-bottom-color: #e2e8f0;
}
body[data-theme="light"] .modal-header .btn-close {
    filter: invert(1);
}