/* ============================================
   REVOLUTIONARY AI DESIGN SYSTEM
   Next-Gen, Futuristic, Cutting-Edge AI Interface
   Inspired by: ChatGPT, Claude, Gemini, Advanced AI Platforms
   ============================================ */

:root {
    /* Premium Color Palette */
    --ai-primary: #67e8f9;        /* Cyan pulse */
    --ai-secondary: #a855f7;      /* Neon violet */
    --ai-accent: #0ea5e9;         /* Electric blue */
    --ai-glow: #f472b6;           /* Magenta haze */
    
    /* Advanced Neural Network Colors */
    --neural-blue: #4c5ce0;
    --neural-purple: #9333ea;
    --neural-pink: #fb7185;
    --neural-teal: #14b8a6;
    
    /* Status Colors */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #38bdf8;
    
    /* Dark Theme */
    --bg-primary: #030712;
    --bg-secondary: #060b1a;
    --bg-tertiary: #0b1124;
    --bg-card: rgba(15, 23, 42, 0.65);
    
    /* Subtle Glass Morphism */
    --glass-bg: rgba(15, 23, 42, 0.55);
    --glass-border: rgba(103, 232, 249, 0.18);
    --glass-glow: 0 0 30px rgba(14, 165, 233, 0.25);
    
    /* Softer Shadows & Glows */
    --shadow-ai: 0 20px 60px rgba(2, 132, 199, 0.25);
    --glow-sm: 0 0 10px rgba(14, 165, 233, 0.35);
    --glow-md: 0 0 25px rgba(168, 85, 247, 0.35);
    --glow-lg: 0 0 60px rgba(59, 130, 246, 0.35);
    
    /* Text */
    --text-primary: #f8fafc;
    --text-secondary: rgba(248, 250, 252, 0.84);
    --text-tertiary: rgba(248, 250, 252, 0.64);
    --text-muted: rgba(248, 250, 252, 0.45);
    --text-accent: #67e8f9;

    /* General Accent Tokens */
    --primary: #0ea5e9;
    --secondary: #a855f7;
    --accent: #67e8f9;
    --highlight: #f0abfc;
    --accent-light: #c5f6ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   AI NEURAL NETWORK BACKGROUND
   Dynamic, Animated, Futuristic
   ============================================ */

body::before {
    content: '';
    position: fixed;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(103, 232, 249, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(168, 85, 247, 0.25) 0%, transparent 55%),
        radial-gradient(circle at 30% 75%, rgba(14, 165, 233, 0.2) 0%, transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(244, 114, 182, 0.18) 0%, transparent 60%),
        linear-gradient(135deg, #030712 0%, #0b1124 35%, #111c3d 70%, #050816 100%);
    animation: neuralPulse 20s ease-in-out infinite, rotate 90s linear infinite;
    z-index: -2;
    pointer-events: none;
    filter: blur(40px);
}

@keyframes neuralPulse {
    0%, 100% {
        opacity: 0.5;
        filter: blur(60px);
    }
    50% {
        opacity: 0.8;
        filter: blur(90px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* AI Grid Network */
#send-btn:active {
    transform: translateY(0);
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.65;
}

/* ============================================
   REVOLUTIONARY AI GLASS MORPHISM
   Neural Network Style with Glowing Borders
   ============================================ */

.glass-morph {
    background: linear-gradient(135deg, rgba(91, 111, 130, 0.08) 0%, rgba(79, 106, 95, 0.08) 100%);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(91, 111, 130, 0.15),
        0 0 20px rgba(79, 106, 95, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-morph::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 20%,
        rgba(91, 111, 130, 0.15) 50%,
        transparent 80%
    );
    animation: aiShine 10s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.glass-morph:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(91, 111, 130, 0.4);
    box-shadow: 
        0 12px 48px rgba(91, 111, 130, 0.25),
        0 0 30px rgba(79, 106, 95, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-morph:hover::before {
    opacity: 1;
}

@keyframes aiShine {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.interface-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding: 2.5rem clamp(1rem, 4vw, 4rem) 3rem;
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 2rem;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: var(--glass-glow);
    position: relative;
    overflow: hidden;
}

.glass-panel::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.is-hidden {
    display: none !important;
}

.status-rail {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.rail-heading {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

.rail-heading small {
    color: var(--text-tertiary);
}

.rail-stream {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rail-stream li {
    padding: 1rem 1.2rem;
    border-radius: 20px;
    border: 1px solid rgba(103, 232, 249, 0.12);
    background: rgba(8, 15, 32, 0.6);
    box-shadow: inset 0 0 20px rgba(14, 165, 233, 0.08);
}

.stream-label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    text-transform: uppercase;
}

.stream-value {
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.35rem;
    color: var(--text-secondary);
}

.stream-pill {
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid currentColor;
}

.stream-pill.green { color: #34d399; }
.stream-pill.amber { color: #fbbf24; }
.stream-pill.cyan { color: #22d3ee; }
.stream-pill.violet { color: #c084fc; }

.rail-footer {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.rail-footer span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-accent);
}

.rail-trigger {
    margin-top: 0.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(103, 232, 249, 0.4);
    background: rgba(8, 15, 32, 0.65);
    color: var(--text-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: inset 0 0 15px rgba(14, 165, 233, 0.25);
}

.rail-trigger i {
    font-size: 0.9rem;
    color: var(--accent);
}

.rail-trigger:hover,
.rail-trigger:focus-visible {
    background: linear-gradient(120deg, rgba(14, 165, 233, 0.25), rgba(168, 85, 247, 0.25));
    border-color: rgba(103, 232, 249, 0.7);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.25);
    transform: translateY(-2px);
}

.rail-trigger:active {
    transform: translateY(0);
}

.main-stage {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.command-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: clamp(2rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero-background .grid-layer {
    position: absolute;
    inset: -20%;
    background-image: linear-gradient(rgba(103, 232, 249, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 232, 249, 0.08) 1px, transparent 1px);
    background-size: 140px 140px;
    animation: gridDrift 20s linear infinite;
    opacity: 0.35;
}

.hero-background .grid-layer.offset {
    animation-duration: 28s;
    opacity: 0.18;
    transform: rotate(12deg) scale(1.1);
}

.hero-sweep {
    position: absolute;
    width: 120%;
    height: 180px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.28), transparent 65%);
    filter: blur(30px);
    opacity: 0.8;
}

.sweep-one {
    top: -60px;
    left: -20%;
    animation: sweepDrift 18s ease-in-out infinite;
}

.sweep-two {
    bottom: -80px;
    right: -25%;
    animation: sweepDrift 24s ease-in-out infinite reverse;
}

@keyframes gridDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-80px, -60px, 0) scale(1.05); }
}

@keyframes sweepDrift {
    0% { transform: translate3d(-5%, 0, 0) rotate(0deg); }
    50% { transform: translate3d(10%, 5%, 0) rotate(6deg); }
    100% { transform: translate3d(-5%, 0, 0) rotate(0deg); }
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: relative;
    z-index: 1;
}
.id-card {
    padding: 1.75rem;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(168, 85, 247, 0.18));
    border: 1px solid rgba(103, 232, 249, 0.2);
    box-shadow: 0 30px 80px rgba(8, 145, 178, 0.15);
    position: relative;
    overflow: hidden;
    animation: heroFloat 6s ease-in-out infinite;
}

.id-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(103, 232, 249, 0.25), transparent 55%);
    opacity: 0.4;
    animation: pulseGlow 8s ease-in-out infinite;
    pointer-events: none;
}

.id-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.2);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}

.id-rank {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.id-card h1 {
    font-size: clamp(2.2rem, 3.3vw, 3.1rem);
    margin: 0.4rem 0 0.8rem;
    color: var(--text-primary);
}

.id-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

.id-meta-row {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.id-meta-pill {
    display: inline-flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.9rem 1.2rem;
    border-radius: 18px;
    border: 1px solid rgba(103, 232, 249, 0.25);
    background: rgba(3, 7, 18, 0.65);
    min-width: 150px;
    animation: pillPulse 4s ease-in-out infinite;
}

.id-meta-pill i {
    color: var(--accent);
}

.id-meta-pill strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.id-meta-pill small {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.id-scan-line {
    position: absolute;
    left: -20%;
    width: 140%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.6), transparent);
    animation: cardScan 5s linear infinite;
    bottom: 30px;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes cardScan {
    0% { transform: translateY(60px); opacity: 0; }
    40% { opacity: 1; }
    60% { opacity: 1; }
    100% { transform: translateY(-80px); opacity: 0; }
}

@keyframes pillPulse {
    0%, 100% { box-shadow: 0 0 0 rgba(103, 232, 249, 0); }
    50% { box-shadow: 0 0 30px rgba(103, 232, 249, 0.25); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}




.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-orb-zone {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}



.core-orb {
    width: 220px;
    height: 220px;
    position: relative;
    margin: 0 auto;
}

.orb-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(103, 232, 249, 0.25);
    animation: orbPulse 8s linear infinite;
}

.ring-2 { inset: 10px; animation-delay: 1.5s; }
.ring-3 { inset: 20px; animation-delay: 3s; }

.orb-core {
    position: absolute;
    inset: 35px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(103, 232, 249, 0.9) 0%, rgba(15, 23, 42, 0.9) 65%);
    box-shadow: 0 0 60px rgba(103, 232, 249, 0.5);
    animation: orbSpin 12s linear infinite;
}

.orb-glow {
    position: absolute;
    inset: -25px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(103, 232, 249, 0.12), transparent 70%);
    filter: blur(20px);
}

@keyframes orbPulse {
    0% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.6; }
}

@keyframes orbSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}



.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero-btn {
    padding: 0.95rem 2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn span {
    text-transform: none;
    letter-spacing: 0.02em;
}

.hero-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.hero-btn:hover::after {
    opacity: 1;
}

.hero-btn i {
    font-size: 1.2rem;
}

.primary-btn {
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary));
    color: #030712;
    box-shadow: 0 25px 60px rgba(14, 165, 233, 0.35);
}

.primary-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 35px 80px rgba(14, 165, 233, 0.45);
}

.secondary-btn {
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.15), rgba(168, 85, 247, 0.15));
    color: var(--text-primary);
    border-color: rgba(103, 232, 249, 0.35);
}

.secondary-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(103, 232, 249, 0.5);
}

.tertiary-btn {
    background: rgba(15, 23, 42, 0.7);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.tertiary-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.35);
}

.hero-instructions {
    margin-top: 0.25rem;
    padding: 1rem 1.25rem;
    background: rgba(3, 7, 18, 0.65);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    border-radius: 18px;
    text-align: center;
}



.chat-wrapper {
    position: relative;
    margin-top: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.chat-meta-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding: 1rem clamp(1.25rem, 3vw, 2.25rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(6, 9, 20, 0.85);
    backdrop-filter: blur(18px);
}

.meta-item span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    position: relative;
    z-index: 1;
}

.meta-item strong {
    display: block;
    margin-top: 0.4rem;
    font-size: 1.1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

/* ============================================
   REVOLUTIONARY HEADER
   ============================================ */

.header {
    padding: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-section {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex: 1;
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Professional Avatar - Clean */
.avatar-container {
    position: relative;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary), var(--ai-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 
        0 0 40px rgba(0, 217, 255, 0.5),
        var(--shadow-ai),
        inset 0 0 20px rgba(0, 217, 255, 0.2);
    border: 3px solid rgba(0, 217, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: aiFloat 4s ease-in-out infinite;
}

@keyframes aiFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        box-shadow: 
            0 0 40px rgba(0, 217, 255, 0.5),
            var(--shadow-ai),
            inset 0 0 20px rgba(0, 217, 255, 0.2);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
        box-shadow: 
            0 0 60px rgba(0, 217, 255, 0.7),
            0 10px 30px rgba(0, 217, 255, 0.3),
            inset 0 0 30px rgba(0, 217, 255, 0.3);
    }
}

.avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 217, 255, 0.3),
        transparent
    );
    animation: rotate 6s linear infinite;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.avatar:hover::before {
    opacity: 1;
}

.avatar:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 60px rgba(0, 217, 255, 0.8),
        0 0 100px rgba(124, 58, 237, 0.4),
        inset 0 0 40px rgba(0, 217, 255, 0.4);
}

.avatar i {
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background: var(--ai-glow);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 
        0 0 20px var(--ai-glow),
        0 0 40px rgba(0, 255, 170, 0.5);
    animation: aiPulse 2s ease-in-out infinite;
}

@keyframes aiPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px var(--ai-glow),
            0 0 40px rgba(0, 255, 170, 0.5);
    }
    50% {
        box-shadow: 
            0 0 30px var(--ai-glow),
            0 0 60px rgba(0, 255, 170, 0.8);
    }
}

/* ============================================
   ANIMATED GRADIENT TEXT
   ============================================ */

.profile-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    line-height: 1.2;
}

.title {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    min-height: 40px;
}

.typed-text {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-accent);
}

.cursor {
    animation: blink 1s infinite;
    color: var(--text-accent);
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* ============================================
   NEON CONTACT BADGES
   ============================================ */

/* ============================================
   PROFESSIONAL ANIMATIONS
   ============================================ */

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In From Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In From Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Rotate Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   ANIMATED ELEMENTS
   ============================================ */

/* Header Animation */
.header {
    padding: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease;
}

/* Profile Section Animation */
.profile-section {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex: 1;
    animation: slideInLeft 0.8s ease;
}

/* Avatar Animation */
.avatar-container {
    position: relative;
    animation: scaleIn 0.8s ease 0.2s both;
}

/* ============================================
   REVOLUTIONARY ENHANCED EFFECTS
   ============================================ */

/* Enhanced Avatar with Multiple Glows */
.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 
        0 0 20px rgba(91, 111, 130, 0.3),
        var(--shadow-lg);
    border: 3px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 30px rgba(91, 111, 130, 0.5),
        var(--shadow-xl);
}

.avatar i {
    position: relative;
    z-index: 1;
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background: var(--success);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: var(--shadow-sm);
    animation: pulse 2s ease-in-out infinite;
}

/* Profile Info Animation */
.profile-info {
    animation: slideInRight 0.8s ease 0.3s both;
}

.profile-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(
        135deg,
        #00d9ff 0%,
        #0f766e 25%,
        #10b981 50%,
        #00ffaa 75%,
        #00d9ff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: aiGradientText 5s linear infinite;
    filter: drop-shadow(0 0 25px rgba(0, 217, 255, 0.5));
    line-height: 1.2;
}

@keyframes aiGradientText {
    to {
        background-position: 200% center;
    }
}

.title {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    min-height: 40px;
    animation: fadeIn 0.8s ease 0.5s both;
}

/* Modern Badge Design */
.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.badge-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.badge-modern svg {
    flex-shrink: 0;
    stroke: #00d9ff;
}

.badge-modern.whatsapp svg {
    fill: #25d366;
    stroke: none;
}

.badge-modern.linkedin svg {
    fill: #0077b5;
    stroke: none;
}

.badge-modern span {
    color: #fff;
}

.contact-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Modern Badge Design with SVG Icons */
.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.badge-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.badge-modern svg {
    flex-shrink: 0;
    stroke: #00d9ff;
}

.badge-modern.whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.badge-modern.linkedin:hover {
    border-color: rgba(0, 119, 181, 0.5);
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.3);
}

.badge-modern.whatsapp svg {
    fill: #25d366;
    stroke: none;
}

.badge-modern.linkedin svg {
    fill: #0077b5;
    stroke: none;
}

.badge-modern span {
    color: #fff;
}

/* ============================================
   REVOLUTIONARY WELCOME CARD
   ============================================ */

.welcome-card {
    padding: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    animation: fadeIn 0.8s ease 0.2s both;
}

/* Enhanced Welcome Icon */
.welcome-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 
        0 0 20px rgba(91, 111, 130, 0.3),
        var(--shadow-lg);
    animation: scaleIn 0.6s ease 0.4s both, float 4s ease-in-out infinite 1s;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.welcome-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: rotate 8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.welcome-icon:hover::before {
    opacity: 0.6;
}

.welcome-icon:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 30px rgba(91, 111, 130, 0.5),
        0 0 50px rgba(124, 122, 150, 0.3),
        var(--shadow-xl);
}

.welcome-icon i {
    position: relative;
    z-index: 1;
    animation: float 2s ease-in-out infinite;
}

.welcome-card h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeIn 0.8s ease 0.5s both;
}

.welcome-card p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.8s ease 0.6s both;
}

/* Feature Pills with Neon */
.feature-pills {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeIn 0.8s ease 0.7s both;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem;
    background: rgba(91, 111, 130, 0.02) !important;
    border: 1px solid rgba(91, 111, 130, 0.1) !important;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.03),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
}

.pill:hover::before {
    left: 100%;
}

.pill:hover {
    background: rgba(91, 111, 130, 0.05) !important;
    border-color: rgba(91, 111, 130, 0.2) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
    color: white !important;
}

.pill i {
    font-size: 1rem;
    color: var(--text-accent);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.pill:hover i {
    transform: scale(1.15);
}

/* ============================================
   REVOLUTIONARY BUTTONS
   ============================================ */

.open-chat-btn {
    margin-top: 1.5rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, rgba(91, 111, 130, 0.03), rgba(124, 122, 150, 0.03)) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border: 2px solid rgba(91, 111, 130, 0.15) !important;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    animation: fadeIn 0.8s ease 0.8s both;
}

.open-chat-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
}

.open-chat-btn:hover::before {
    left: 100%;
}

.open-chat-btn:hover {
    background: linear-gradient(135deg, rgba(91, 111, 130, 0.06), rgba(124, 122, 150, 0.06)) !important;
    border-color: rgba(91, 111, 130, 0.25) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6) !important;
    color: white !important;
}

.open-chat-btn:active {
    transform: translateY(-1px);
}

.open-chat-btn i:last-child {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.open-chat-btn:hover i:last-child {
    transform: translateX(5px);
}

/* ============================================
   CHAT CONTAINER - REVOLUTIONARY DESIGN
   ============================================ */

.chat-container {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border: 1px solid rgba(103, 232, 249, 0.18);
    border-radius: 36px;
    background:
        linear-gradient(135deg, rgba(103, 232, 249, 0.12), rgba(168, 85, 247, 0.12)) border-box,
        radial-gradient(circle at top, rgba(14, 165, 233, 0.35), rgba(2, 6, 23, 0.95)) padding-box;
    box-shadow: 0 30px 90px rgba(5, 8, 22, 0.8);
    backdrop-filter: blur(25px);
    min-height: clamp(500px, 60vh, 720px);
    transform-origin: top;
    transition: transform 0.4s ease, opacity 0.4s ease;
    position: relative;
}

.chat-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(130deg, rgba(103, 232, 249, 0.4), rgba(168, 85, 247, 0.35));
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
}

.chat-container::after {
    content: '';
    position: absolute;
    inset: 40% -20% auto -20%;
    height: 200px;
    background: radial-gradient(circle, rgba(103, 232, 249, 0.2), transparent 70%);
    filter: blur(40px);
    opacity: 0.35;
    pointer-events: none;
}

.chat-header {
    padding: 1.35rem clamp(1.5rem, 3vw, 2.5rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(4, 7, 18, 0.98), rgba(6, 11, 26, 0.85));
    position: relative;
    overflow: hidden;
    border-radius: 32px 32px 0 0;
    box-shadow: inset 0 -1px 0 rgba(103, 232, 249, 0.12);
}

.chat-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(103, 232, 249, 0.15), transparent 60%);
    opacity: 0.4;
    mix-blend-mode: screen;
    animation: sheenSweep 8s linear infinite;
}

.chat-header > * {
    position: relative;
    z-index: 1;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    border: 1px solid rgba(103, 232, 249, 0.35);
    background: rgba(103, 232, 249, 0.1);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.chat-back-btn:hover {
    background: rgba(103, 232, 249, 0.18);
    border-color: rgba(103, 232, 249, 0.6);
    transform: translateX(-2px);
}

.chat-controls {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(6, 9, 20, 0.9);
    backdrop-filter: blur(18px);
    text-transform: uppercase;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 
        0 0 20px var(--success),
        inset 0 0 10px rgba(16, 185, 129, 0.5);
    animation: pulse-dot 2s ease-in-out infinite;
}

.icon-btn-sm {

.meta-item {
    padding: 1.1rem 1.2rem 1.25rem;
    border-radius: 22px;
    border: 1px solid rgba(103, 232, 249, 0.15);
    background: linear-gradient(140deg, rgba(3, 7, 18, 0.85), rgba(12, 18, 38, 0.85));
    position: relative;
    overflow: hidden;
}

.meta-item::after {
    content: '';
    position: absolute;
    inset: -30% -20% auto -20%;
    height: 120px;
    background: radial-gradient(circle, rgba(103, 232, 249, 0.25), transparent 70%);
    opacity: 0.4;
    animation: metaGlow 10s ease-in-out infinite;
}

.meta-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(103, 232, 249, 0.12);
    opacity: 0.6;
    pointer-events: none;
}

@keyframes sheenSweep {
    0% { transform: translateX(-40%); opacity: 0; }
    40% { opacity: 0.35; }
    60% { opacity: 0.35; }
    100% { transform: translateX(40%); opacity: 0; }
}

@keyframes metaGlow {
    0%, 100% { transform: translateY(0); opacity: 0.25; }
    50% { transform: translateY(-10px); opacity: 0.55; }
}
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.icon-btn-sm:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

#clearChat {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.2) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

#clearChat:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.35) 0%, rgba(220, 38, 38, 0.35) 100%);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.chat-messages {
    padding: 2rem clamp(1.5rem, 3vw, 2.75rem);
    height: 560px;
    overflow-y: auto;
    scroll-behavior: smooth;
    background: radial-gradient(circle at top, rgba(15, 118, 255, 0.18), rgba(3, 6, 20, 0.92));
    position: relative;
}

.chat-messages::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 140px 140px;
    opacity: 0.35;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.8), transparent 70%);
}

/* Custom Scrollbar */
.chat-messages::-webkit-scrollbar {
    width: 10px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(91, 111, 130, 0.1);
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 10px;
    box-shadow: 
        0 0 15px rgba(91, 111, 130, 0.6),
        0 0 10px rgba(6, 182, 212, 0.4);
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary), var(--accent), var(--highlight));
}

/* ============================================
   MESSAGE BUBBLES - 3D EFFECT
   ============================================ */

.message {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    animation: messageSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    position: relative;
    padding: 0.25rem 0;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.message-avatar:hover {
    transform: scale(1.1) rotate(5deg);
}

.bot-avatar {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    color: white;
    box-shadow: 
        0 5px 25px rgba(91, 111, 130, 0.5),
        0 0 25px rgba(59, 130, 246, 0.4),
        0 0 15px rgba(6, 182, 212, 0.3);
}

.user-avatar {
    background: linear-gradient(135deg, var(--highlight), var(--accent-light));
    color: white;
    box-shadow: 
        0 5px 25px rgba(20, 184, 166, 0.5),
        0 0 25px rgba(6, 182, 212, 0.4),
        0 0 15px rgba(176, 196, 205, 0.3);
}

.message-bubble {
    max-width: 75%;
    animation: fadeIn 0.5s ease;
    transition: all 0.3s ease;
}

.message-bubble:hover {
    transform: scale(1.02);
}

.message-content {
    background: rgba(30, 30, 40, 0.6) !important;
    padding: 1.8rem 2rem;
    border-radius: 24px 24px 24px 4px;
    color: #e0e0e0;
    line-height: 1.9;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(80, 80, 90, 0.3) !important;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    font-size: 17px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.message-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: rgba(100, 100, 120, 0.4);
    border-radius: 0 4px 4px 0;
}

.message-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.02),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
}

.message:hover .message-content::after {
    left: 100%;
}

.message-content:hover {
    border-color: rgba(100, 100, 120, 0.4) !important;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
    background: rgba(35, 35, 45, 0.65) !important;
}

.user-message .message-content {
    background: rgba(40, 40, 50, 0.6) !important;
    border-color: rgba(90, 90, 100, 0.3) !important;
    border-radius: 24px 24px 4px 24px;
}

.user-message .message-content::before {
    left: auto;
    right: 0;
    background: rgba(110, 110, 130, 0.4);
    border-radius: 4px 0 0 4px;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0 0.5rem;
}

.message-sender {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.message-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content strong {
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.message-content code {
    background: rgba(0, 0, 0, 0.4);
    padding: 3px 8px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    border: 1px solid rgba(91, 111, 130, 0.3);
    color: var(--accent-light);
}

/* ============================================
   NEW PROFESSIONAL CHAT DESIGN
   ============================================ */

.message-bubble-new {
    max-width: 78%;
    padding: 0;
    margin-bottom: 0.5rem;
    animation: slideUp 0.3s ease;
    position: relative;
}

.message-bubble-new::before {
    content: attr(data-speaker);
    position: absolute;
    top: -0.95rem;
    left: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.user-message .message-bubble-new::before {
    left: auto;
    right: 0.5rem;
    text-align: right;
}

.message-bubble-new::after {
    content: '';
    position: absolute;
    inset: -8px -12px;
    border-radius: 28px;
    border: 1px solid transparent;
    background: linear-gradient(130deg, rgba(103, 232, 249, 0.4), rgba(168, 85, 247, 0.2)) border-box;
    mask:
        linear-gradient(#000 0 0) padding-box,
        linear-gradient(#000 0 0);
    -webkit-mask:
        linear-gradient(#000 0 0) padding-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.35;
    pointer-events: none;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-content-new {
    background: rgba(15, 23, 42, 0.45);
    padding: 1.35rem 1.6rem;
    border-radius: 22px;
    color: #e2e8f0;
    line-height: 1.7;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 45px rgba(3, 6, 20, 0.6);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.message-content-new:hover {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(103, 232, 249, 0.4);
    transform: translateY(-1px);
}

.user-message .message-bubble-new {
    margin-left: auto;
}

.message[data-role="assistant"] .message-content-new {
    background: linear-gradient(140deg, rgba(30, 64, 175, 0.35), rgba(17, 94, 166, 0.2));
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 25px 60px rgba(15, 118, 255, 0.25);
}

.message[data-role="user"] .message-content-new {
    background: linear-gradient(140deg, rgba(103, 232, 249, 0.18), rgba(103, 232, 249, 0.05));
    border-color: rgba(103, 232, 249, 0.45);
    color: #e0f2fe;
}

.message-time-new {
    font-size: 0.7rem;
    color: rgba(226, 232, 240, 0.7);
    padding: 0.25rem 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.65);
}

.message[data-role="user"] .message-time-new {
    border-color: rgba(103, 232, 249, 0.35);
    color: rgba(224, 242, 254, 0.8);
}

.message-link {
    color: #93c5fd !important;
    text-decoration: underline;
    font-weight: 500;
}

.message-link:hover {
    color: #bfdbfe !important;
}

.message-link i {
    font-size: 12px;
}

.message-content-new strong {
    color: #fff;
    font-weight: 600;
}

/* ============================================
   INPUT CONTAINER - FUTURISTIC DESIGN
   ============================================ */

.input-container {
    padding: 1.25rem 1.75rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(6, 10, 22, 0.92);
    border-top: 1px solid rgba(103, 232, 249, 0.15);
    position: relative;
}

.input-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0 0 32px 32px;
    background: radial-gradient(circle at 10% 10%, rgba(103, 232, 249, 0.15), transparent 50%);
    opacity: 0.4;
    pointer-events: none;
}

.input-status-hint {
    margin-top: -0.3rem;
    padding: 0 1.35rem 0.8rem;
    min-height: 1.1rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.input-status-hint.visible {
    opacity: 1;
    color: var(--text-accent);
}

/* AI Call Container */
.ai-call-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    margin-bottom: 1rem;
}

.ai-call-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border: 3px solid #00d9ff;
    border-radius: 60px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(124, 58, 237, 0.1));
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(0, 217, 255, 0.3),
        0 0 60px rgba(124, 58, 237, 0.2),
        inset 0 0 20px rgba(0, 217, 255, 0.1);
}

.ai-call-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ai-call-button:hover::before {
    width: 300px;
    height: 300px;
}

.ai-call-button:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: #0f766e;
    box-shadow: 
        0 0 50px rgba(0, 217, 255, 0.5),
        0 0 80px rgba(124, 58, 237, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

.ai-call-button i {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.ai-call-button span {
    position: relative;
    z-index: 1;
}

/* Active Call State */
.ai-call-button.active-call {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    border-color: #ef4444;
    animation: pulse-call 2s infinite;
}

@keyframes pulse-call {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(239, 68, 68, 0.4),
            0 0 60px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 
            0 0 50px rgba(239, 68, 68, 0.6),
            0 0 100px rgba(220, 38, 38, 0.5);
    }
}

/* Call Status Display */
.call-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border: 2px solid rgba(0, 217, 255, 0.4);
    border-radius: 40px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    font-weight: 600;
    color: #00d9ff;
    transition: all 0.3s ease;
}

.call-status.hidden {
    display: none;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00d9ff;
    animation: pulse-indicator 1.5s infinite;
}

@keyframes pulse-indicator {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Status States */
.call-status.status-listening .status-indicator {
    background: #00d9ff;
}

.call-status.status-processing .status-indicator {
    background: #0f766e;
    animation: spin-indicator 1s linear infinite;
}

@keyframes spin-indicator {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.call-status.status-thinking .status-indicator {
    background: #10b981;
    animation: pulse-indicator 0.8s infinite;
}

.call-status.status-speaking .status-indicator {
    background: #10b981;
    animation: wave-indicator 1s infinite;
}

@keyframes wave-indicator {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

.call-status.status-error .status-indicator {
    background: #ef4444;
    animation: none;
}

#user-input {
    flex: 1;
    padding: 1.1rem 1.35rem;
    border: 1px solid rgba(103, 232, 249, 0.25);
    border-radius: 16px;
    background: rgba(8, 11, 18, 0.92);
    color: #e2e8f0;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: inset 0 0 20px rgba(2, 6, 23, 0.8);
}

#user-input::placeholder {
    color: rgba(226, 232, 240, 0.5);
}

#user-input:focus {
    outline: none;
    border-color: rgba(103, 232, 249, 0.8);
    box-shadow: 0 0 25px rgba(103, 232, 249, 0.3);
}

#user-input:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(8, 11, 18, 0.6);
}

#send-btn {
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.9), rgba(168, 85, 247, 0.9));
    color: #030712;
    font-size: 1.25rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.35);
}

#send-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 25px 55px rgba(14, 165, 233, 0.45);
}

#send-btn:active {
    transform: translateY(0);
}

#send-btn:disabled {
    background: rgba(91, 111, 130, 0.35);
    color: rgba(255, 255, 255, 0.55);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ============================================
   SUGGESTION BUTTONS - NEON DESIGN
   ============================================ */

.suggestions {
    padding: 3rem;
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease 0.5s both;
}

.suggestions h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    animation: fadeIn 0.6s ease 0.6s both;
}

.suggestion-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.suggestion-buttons button {
    padding: 1.5rem 2rem;
    background: rgba(91, 111, 130, 0.02) !important;
    border: 2px solid rgba(91, 111, 130, 0.1) !important;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-align: left;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.5s ease both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}

.suggestion-buttons button:nth-child(1) { animation-delay: 0.7s; }
.suggestion-buttons button:nth-child(2) { animation-delay: 0.75s; }
.suggestion-buttons button:nth-child(3) { animation-delay: 0.8s; }
.suggestion-buttons button:nth-child(4) { animation-delay: 0.85s; }

.suggestion-buttons button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.03),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
}

.suggestion-buttons button:hover::before {
    left: 100%;
}

.suggestion-buttons button:hover {
    transform: translateY(-3px);
    background: rgba(91, 111, 130, 0.05) !important;
    border-color: rgba(91, 111, 130, 0.2) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6) !important;
    color: white !important;
}

.suggestion-buttons button i {
    margin-right: 1rem;
    font-size: 1.3rem;
    color: var(--text-accent);
    transition: transform 0.3s ease;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

.suggestion-buttons button:hover i {
    transform: scale(1.15);
    opacity: 1;
}

/* ============================================
   INFO CARDS - 3D FLOATING EFFECT
   ============================================ */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(91, 111, 130, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(91, 111, 130, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    background: rgba(91, 111, 130, 0.2);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 55px rgba(91, 111, 130, 0.5),
        0 0 35px rgba(59, 130, 246, 0.4),
        0 0 25px rgba(6, 182, 212, 0.3);
    border-color: var(--primary);
}

.info-card i {
    font-size: 2rem;
    color: var(--accent);
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.6));
}

.info-card:hover i {
    transform: scale(1.3) rotate(10deg);
    filter: drop-shadow(0 0 25px rgba(6, 182, 212, 0.9));
}

.info-card span {
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-card:hover span {
    color: var(--accent);
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* ============================================
   TYPING INDICATOR - NEON STYLE
   ============================================ */

.typing-indicator-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
}

.typing-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.typing-text i {
    color: var(--accent);
    animation: brain-pulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.6));
}

@keyframes brain-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5));
    }
    50% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.8));
    }
}

.typing-dots {
    display: flex;
    gap: 0.5rem;
}

.typing-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary), var(--highlight));
    animation: typing 1.4s infinite;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-15px);
        opacity: 1;
    }
}

.typing-bubble {
    background: rgba(91, 111, 130, 0.15);
    border: 1px solid rgba(91, 111, 130, 0.4);
}

.typing-indicator-message .message-content-new {
    padding: 0.9rem 1.2rem;
}

.thinking-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.thinking-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(91, 111, 130, 0.35);
    background: rgba(91, 111, 130, 0.18);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    color: var(--accent);
}

.thinking-chip i {
    font-size: 0.9rem;
}

.thinking-step-text {
    color: var(--text-primary);
    min-height: 1.2em;
}

@media (max-width: 640px) {
    .message-bubble-new {
        max-width: 90%;
    }
    .typing-indicator-message .message-content-new {
        padding: 0.8rem 1rem;
    }
    .thinking-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
}

/* ============================================
   LANGUAGE SELECTOR - REFINED DESIGN
   ============================================ */

/* Language dropdown styles now handled within hero context */

/* ============================================
   NAVIGATION - FLOATING DESIGN
   ============================================ */

.nav-toggle-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 
        0 10px 45px rgba(91, 111, 130, 0.6),
        0 0 35px rgba(59, 130, 246, 0.5),
        0 0 25px rgba(6, 182, 212, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-toggle-btn:hover {
    transform: scale(1.15) rotate(90deg);
    box-shadow: 
        0 15px 55px rgba(91, 111, 130, 0.8),
        0 0 45px rgba(59, 130, 246, 0.7),
        0 0 35px rgba(6, 182, 212, 0.6);
}

.top-nav {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    z-index: 1000;
    background: rgba(91, 111, 130, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(91, 111, 130, 0.3);
    box-shadow: 
        0 10px 45px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(91, 111, 130, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-item {
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.nav-item:hover {
    background: rgba(91, 111, 130, 0.25);
    transform: translateY(-3px);
    box-shadow: 
        0 5px 25px rgba(91, 111, 130, 0.5),
        0 0 15px rgba(6, 182, 212, 0.3);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    box-shadow: 
        0 5px 25px rgba(91, 111, 130, 0.5),
        0 0 25px rgba(59, 130, 246, 0.4),
        0 0 15px rgba(6, 182, 212, 0.3);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .interface-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem 1.25rem 2rem;
    }

    .status-rail {
        order: 2;
        display: none;
    }

    .glass-panel {
        padding: 1.5rem;
    }

    .command-hero {
        grid-template-columns: 1fr;
        padding: 1.75rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-instructions {
        border-radius: 12px;
        margin-top: 0.25rem;
    }

    .core-orb {
        width: 180px;
        height: 180px;
    }

    .hero-background,
    .hero-orb-zone,
    .signal-stack {
        display: none;
    }

    .core-readouts {
        order: 3;
    }

    .id-card h1 {
        font-size: 1.9rem;
    }

    .stat-card strong {
        font-size: 1.35rem;
    }

    .hero-typed {
        font-size: 0.7rem;
        letter-spacing: 0.25em;
    }

    .chat-meta-strip {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .container {
        padding: 1rem;
    }
    
    .header {
        flex-direction: column;
        padding: 2rem 1.5rem;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .welcome-card {
        padding: 2rem 1.5rem;
    }
    
    .welcome-card h2 {
        font-size: 1.8rem;
    }
    
    .chat-messages {
        height: 400px;
        padding: 1rem;
    }
    
    .message-bubble {
        max-width: 85%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .suggestion-buttons {
        grid-template-columns: 1fr;
    }

    .guide-steps {
        grid-template-columns: 1fr;
    }

    .guide-steps::before {
        display: none;
    }
    
    .input-container {
        flex-wrap: wrap;
        padding: 1rem;
    }
    
    #user-input {
        width: 100%;
    }
}

@media (max-width: 620px) {
    body {
        font-size: 0.9rem;
    }

    .interface-grid {
        gap: 0.85rem;
        padding: 0.9rem 0.85rem 1.25rem;
    }

    .glass-panel {
        padding: 1rem;
        border-radius: 22px;
    }

    .id-card {
        padding: 1rem;
    }

    .rail-stream li {
        padding: 0.75rem 0.85rem;
    }

    .stat-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.65rem;
    }

    .command-hero {
        padding: 1rem;
    }

    .chat-container {
        border-radius: 18px;
        min-height: auto;
    }

    .chat-header {
        padding: 0.9rem 1rem;
    }

    .chat-messages {
        height: min(45vh, 320px);
        padding: 1rem;
    }

    .input-container {
        padding: 0.75rem 0.9rem;
    }

    .guide-step {
        padding: 1rem 0.9rem 1.1rem;
    }

    .hero-cta {
        gap: 0.5rem;
    }

    .hero-btn {
        font-size: 0.85rem;
        padding: 0.75rem 1.4rem;
    }

    .id-tags span {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
}

/* ============================================
   ADDITIONAL ENHANCEMENTS FROM PREVIOUS
   ============================================ */

/* Keep all previous enhancements (toast, scroll indicator, etc.) */
/* They're already integrated above */

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--highlight));
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 
        0 0 15px rgba(91, 111, 130, 0.6),
        0 0 10px rgba(6, 182, 212, 0.4);
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    padding: 1.25rem 2rem;
    background: rgba(17, 17, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(91, 111, 130, 0.3);
    border-radius: 16px;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 320px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(91, 111, 130, 0.3);
    animation: slideInRight 0.3s ease;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast.info {
    border-left: 4px solid var(--primary);
}

/* FAB */
.fab {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    color: white;
    border: none;
    box-shadow: 
        0 10px 45px rgba(91, 111, 130, 0.6),
        0 0 35px rgba(59, 130, 246, 0.5),
        0 0 25px rgba(6, 182, 212, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.fab:hover {
    transform: scale(1.15) rotate(90deg);
    box-shadow: 
        0 15px 55px rgba(91, 111, 130, 0.8),
        0 0 45px rgba(59, 130, 246, 0.7),
        0 0 35px rgba(6, 182, 212, 0.6);
}

/* Highlight box */
.highlight-box {
    background: rgba(91, 111, 130, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(91, 111, 130, 0.25);
    box-shadow: 0 0 20px rgba(91, 111, 130, 0.15);
}

.highlight-box p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.highlight-box ul {
    margin-top: 0.75rem;
    padding-left: 1.5rem;
}

.highlight-box li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    text-align: center;
    color: var(--text-tertiary);
    padding: 2rem;
    font-size: 0.9rem;
}

.footer p {
    margin: 0.5rem 0;
}

/* Icon button */
.icon-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(91, 111, 130, 0.1);
    border: 1px solid rgba(91, 111, 130, 0.3);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.icon-btn:hover {
    background: rgba(91, 111, 130, 0.2);
    border-color: var(--primary);
    transform: scale(1.1) rotate(10deg);
    box-shadow: 
        0 5px 25px rgba(91, 111, 130, 0.5),
        0 0 15px rgba(6, 182, 212, 0.3);
}

/* ============================================
   SMART FEATURES STYLES
   ============================================ */

/* Smart Loading */
.smart-loading {
    animation: pulse 2s ease-in-out infinite;
}

.smart-loading-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.loading-dots {
    display: flex;
    gap: 0.5rem;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: loadingDot 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loadingDot {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.loading-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

/* Smart Tooltips */
.smart-tooltip {
    position: fixed;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(12px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(91, 111, 130, 0.2);
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
}

.smart-tooltip::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(30, 41, 59, 0.95);
}

.smart-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

/* Auto-resize textarea */
#user-input {
    resize: none;
    min-height: 48px;
    max-height: 150px;
    overflow-y: auto;
    transition: height 0.2s ease;
}

/* Enhanced animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleInBounce {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Smooth transitions for all interactive elements */
button, .badge, .pill, .suggestion-buttons button, .open-chat-btn {
    will-change: transform, opacity, box-shadow;
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove cursor effects - keep it simple */
button, .badge, .pill, .suggestion-buttons button, .open-chat-btn, a {
    cursor: pointer;
}

/* Simple ripple effect */
button, .badge, .pill {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleAnimation 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============================================
   REVOLUTIONARY TRANSITIONS & EFFECTS
   ============================================ */

.glass-morph,
.badge,
.pill,
.suggestion-buttons button,
.open-chat-btn,
.avatar,
.welcome-icon,
.message-content {
    transition: transform 0.3s ease,
                opacity 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode is default - no changes needed */
