/* ============================================
   CSS Variables - Company Color Scheme
   ============================================ */
:root {
    --color-dark-grey: #2c2c2c;
    --color-black: #1a1a1a;
    --color-blue: #0066ff;
    --color-blue-light: #3399ff;
    --color-blue-dark: #0052cc;
    --color-white: #ffffff;
    --color-light-grey: #f5f5f5;
    --color-grey: #e0e0e0;
    --color-text: #333333;
    --color-text-light: #666666;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Brand Typography
   ============================================ */
.brand-link {
    text-decoration: none;
    display: inline-block;
}

.brand-link:hover .brand-text,
.brand-link:hover .brand-ai {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.brand-text {
    font-weight: 700;
    color: var(--color-dark-grey);
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.brand-ai {
    color: var(--color-blue);
}

.brand-text-large {
    font-weight: 800;
    color: var(--color-dark-grey);
    font-size: 4rem;
    letter-spacing: -1px;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .brand-text-large {
        font-size: 2.5rem;
    }
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-blue);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-blue);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-dark-grey);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: var(--spacing-md);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: var(--spacing-sm);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    padding-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

/* Animated Stars */
.stars, .stars2, .stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 60px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 50px 50px, #fff, transparent),
        radial-gradient(1px 1px at 80px 10px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, #fff, transparent),
        radial-gradient(1px 1px at 160px 30px, rgba(255,255,255,0.6), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: move-stars 200s linear infinite;
    opacity: 0.8;
}

.stars2 {
    background-image: 
        radial-gradient(1px 1px at 25px 35px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 45px 65px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 55px 55px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 75px 15px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 95px 45px, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 125px 85px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 155px 35px, rgba(255,255,255,0.5), transparent);
    background-size: 250px 250px;
    animation: move-stars 150s linear infinite;
    opacity: 0.6;
}

.stars3 {
    background-image: 
        radial-gradient(1px 1px at 30px 40px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 50px 70px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 60px 60px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 80px 20px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 100px 50px, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 130px 90px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 160px 40px, rgba(255,255,255,0.4), transparent);
    background-size: 300px 300px;
    animation: move-stars 100s linear infinite;
    opacity: 0.4;
}

@keyframes move-stars {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-2000px);
    }
}

/* Earth */
.earth {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: 
        /* Ocean base */
        radial-gradient(circle at 30% 30%, #4a90e2 0%, #2c5aa0 50%, #1a3a5a 100%),
        /* Continents - Africa/Europe */
        radial-gradient(ellipse at 45% 55%, #4a7c59 0%, #3d6b4a 20%, transparent 35%),
        /* Continents - Americas */
        radial-gradient(ellipse at 25% 50%, #5a8c6a 0%, #4a7c59 25%, transparent 40%),
        /* Continents - Asia */
        radial-gradient(ellipse at 70% 45%, #6b9c7a 0%, #5a8c6a 20%, transparent 35%),
        /* Continents - Australia */
        radial-gradient(ellipse at 75% 70%, #5a8c6a 0%, #4a7c59 30%, transparent 45%),
        /* Desert regions */
        radial-gradient(ellipse at 50% 50%, rgba(210, 180, 140, 0.4) 0%, transparent 25%),
        /* Ocean */
        radial-gradient(circle at 30% 30%, #4a90e2 0%, #2c5aa0 50%, #1a3a5a 100%);
    border-radius: 50%;
    box-shadow: 
        inset -30px -30px 60px rgba(0, 0, 0, 0.6),
        inset 20px 20px 40px rgba(255, 255, 255, 0.1),
        0 0 80px rgba(74, 144, 226, 0.4),
        0 0 120px rgba(74, 144, 226, 0.2);
    animation: rotate-earth 20s linear infinite;
    z-index: 3;
    overflow: hidden;
}

/* Earth's atmosphere/glow */
.earth::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(135, 206, 250, 0.15) 0%, 
        rgba(135, 206, 250, 0.05) 50%, 
        transparent 100%);
    border-radius: 50%;
    filter: blur(15px);
    z-index: 1;
}

/* Clouds overlay */
.earth::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Cloud patterns */
        radial-gradient(ellipse at 40% 30%, rgba(255, 255, 255, 0.6) 0%, transparent 20%),
        radial-gradient(ellipse at 60% 50%, rgba(255, 255, 255, 0.5) 0%, transparent 25%),
        radial-gradient(ellipse at 25% 60%, rgba(255, 255, 255, 0.4) 0%, transparent 22%),
        radial-gradient(ellipse at 70% 70%, rgba(255, 255, 255, 0.5) 0%, transparent 20%),
        radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 18%);
    border-radius: 50%;
    opacity: 0.7;
    animation: rotate-clouds 30s linear infinite;
    z-index: 2;
    filter: blur(2px);
}

@keyframes rotate-clouds {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Moon */
.moon {
    position: absolute;
    bottom: -100px;
    left: 50%;
    width: 80px;
    height: 80px;
    background: 
        radial-gradient(circle at 30% 30%, #e8e8e8 0%, #c0c0c0 40%, #a0a0a0 70%, #808080 100%);
    border-radius: 50%;
    box-shadow: 
        inset -10px -10px 20px rgba(0, 0, 0, 0.4),
        inset 10px 10px 20px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(200, 200, 200, 0.5),
        0 0 60px rgba(200, 200, 200, 0.2);
    z-index: 2;
    transform-origin: 0 200px;
    animation: orbit-moon 15s linear infinite;
}

.moon::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 25%;
    height: 25%;
    background: radial-gradient(circle, rgba(150, 150, 150, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(3px);
}

.moon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 60%;
    width: 15%;
    height: 15%;
    background: radial-gradient(circle, rgba(100, 100, 100, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(2px);
}

@keyframes orbit-moon {
    0% {
        transform: rotate(0deg) translateY(-400px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateY(-400px) rotate(-360deg);
    }
}

@keyframes rotate-earth {
    from {
        transform: translateX(-50%) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

/* AI Agent Robots - Protecting Earth */
.ai-agent {
    position: absolute;
    bottom: 150px;
    left: 50%;
    width: 60px;
    height: 70px;
    z-index: 4;
    transform-origin: center;
}

.ai-agent::before {
    content: '🤖';
    font-size: 60px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(0, 102, 255, 1)) 
            drop-shadow(0 0 40px rgba(51, 153, 255, 0.6));
    animation: robot-float 3s ease-in-out infinite;
    transform-origin: center;
}

/* Multiple robots orbiting/protecting Earth */
.ai-agent-1 {
    animation: orbit-earth-1 12s linear infinite, defend-pulse 2s ease-in-out infinite;
    bottom: 0;
    left: 50%;
    transform-origin: 0 200px;
}

.ai-agent-2 {
    animation: orbit-earth-2 15s linear infinite, defend-pulse 2.5s ease-in-out infinite;
    bottom: 0;
    left: 50%;
    transform-origin: 0 200px;
}

.ai-agent-3 {
    animation: orbit-earth-3 14s linear infinite, defend-pulse 2.2s ease-in-out infinite;
    bottom: 0;
    left: 50%;
    transform-origin: 0 200px;
}

.ai-agent-4 {
    animation: orbit-earth-4 13s linear infinite, defend-pulse 2.3s ease-in-out infinite;
    bottom: 0;
    left: 50%;
    transform-origin: 0 200px;
}

.ai-agent-5 {
    animation: orbit-earth-5 16s linear infinite, defend-pulse 2.4s ease-in-out infinite;
    bottom: 0;
    left: 50%;
    transform-origin: 0 200px;
}

.ai-agent-6 {
    animation: orbit-earth-6 11s linear infinite, defend-pulse 2.1s ease-in-out infinite;
    bottom: 0;
    left: 50%;
    transform-origin: 0 200px;
}

/* Orbit animations for robots around Earth */
@keyframes orbit-earth-1 {
    0% {
        transform: rotate(0deg) translateY(-180px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateY(-180px) rotate(-360deg);
    }
}

@keyframes orbit-earth-2 {
    0% {
        transform: rotate(60deg) translateY(-200px) rotate(-60deg);
    }
    100% {
        transform: rotate(420deg) translateY(-200px) rotate(-420deg);
    }
}

@keyframes orbit-earth-3 {
    0% {
        transform: rotate(120deg) translateY(-170px) rotate(-120deg);
    }
    100% {
        transform: rotate(480deg) translateY(-170px) rotate(-480deg);
    }
}

@keyframes orbit-earth-4 {
    0% {
        transform: rotate(180deg) translateY(-190px) rotate(-180deg);
    }
    100% {
        transform: rotate(540deg) translateY(-190px) rotate(-540deg);
    }
}

@keyframes orbit-earth-5 {
    0% {
        transform: rotate(240deg) translateY(-185px) rotate(-240deg);
    }
    100% {
        transform: rotate(600deg) translateY(-185px) rotate(-600deg);
    }
}

@keyframes orbit-earth-6 {
    0% {
        transform: rotate(300deg) translateY(-195px) rotate(-300deg);
    }
    100% {
        transform: rotate(660deg) translateY(-195px) rotate(-660deg);
    }
}

/* Defense pulse animation */
@keyframes defend-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 102, 255, 1));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(0, 102, 255, 1)) 
                drop-shadow(0 0 50px rgba(51, 153, 255, 0.8));
    }
}

@keyframes robot-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(3deg);
    }
}

/* Work-float emojis approaching Earth */
.work-float {
    position: absolute;
    font-size: 40px;
    z-index: 3;
    filter: drop-shadow(0 0 10px rgba(255, 200, 0, 0.6));
    animation: approach-earth 8s linear infinite;
}

.work-float-1 {
    top: 10%;
    left: 20%;
    animation: approach-earth-1 10s linear infinite;
}

.work-float-2 {
    top: 15%;
    left: 80%;
    animation: approach-earth-2 9s linear infinite;
}

.work-float-3 {
    top: 5%;
    left: 50%;
    animation: approach-earth-3 11s linear infinite;
}

.work-float-4 {
    top: 20%;
    left: 10%;
    animation: approach-earth-4 8.5s linear infinite;
}

.work-float-5 {
    top: 8%;
    left: 90%;
    animation: approach-earth-5 10.5s linear infinite;
}

.work-float-6 {
    top: 25%;
    left: 70%;
    animation: approach-earth-6 9.5s linear infinite;
}

.work-float-7 {
    top: 12%;
    left: 30%;
    animation: approach-earth-7 11.5s linear infinite;
}

.work-float-8 {
    top: 18%;
    left: 60%;
    animation: approach-earth-8 10s linear infinite;
}

/* Work-float approaching animations - robots intercept them */
@keyframes approach-earth-1 {
    0% {
        top: 10%;
        left: 20%;
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    40% {
        opacity: 1;
        transform: scale(1.3) rotate(180deg);
    }
    60% {
        opacity: 0.6;
        transform: scale(0.8) rotate(360deg);
    }
    100% {
        top: 75%;
        left: 45%;
        opacity: 0;
        transform: scale(0.3) rotate(540deg);
    }
}

@keyframes approach-earth-2 {
    0% {
        top: 15%;
        left: 80%;
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    40% {
        opacity: 1;
        transform: scale(1.3) rotate(-180deg);
    }
    60% {
        opacity: 0.6;
        transform: scale(0.8) rotate(-360deg);
    }
    100% {
        top: 75%;
        left: 55%;
        opacity: 0;
        transform: scale(0.3) rotate(-540deg);
    }
}

@keyframes approach-earth-3 {
    0% {
        top: 5%;
        left: 50%;
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    40% {
        opacity: 1;
        transform: scale(1.3) rotate(180deg);
    }
    60% {
        opacity: 0.6;
        transform: scale(0.8) rotate(360deg);
    }
    100% {
        top: 75%;
        left: 50%;
        opacity: 0;
        transform: scale(0.3) rotate(540deg);
    }
}

@keyframes approach-earth-4 {
    0% {
        top: 20%;
        left: 10%;
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    40% {
        opacity: 1;
        transform: scale(1.3) rotate(-180deg);
    }
    60% {
        opacity: 0.6;
        transform: scale(0.8) rotate(-360deg);
    }
    100% {
        top: 75%;
        left: 40%;
        opacity: 0;
        transform: scale(0.3) rotate(-540deg);
    }
}

@keyframes approach-earth-5 {
    0% {
        top: 8%;
        left: 90%;
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    40% {
        opacity: 1;
        transform: scale(1.3) rotate(180deg);
    }
    60% {
        opacity: 0.6;
        transform: scale(0.8) rotate(360deg);
    }
    100% {
        top: 75%;
        left: 60%;
        opacity: 0;
        transform: scale(0.3) rotate(540deg);
    }
}

@keyframes approach-earth-6 {
    0% {
        top: 25%;
        left: 70%;
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    40% {
        opacity: 1;
        transform: scale(1.3) rotate(-180deg);
    }
    60% {
        opacity: 0.6;
        transform: scale(0.8) rotate(-360deg);
    }
    100% {
        top: 75%;
        left: 52%;
        opacity: 0;
        transform: scale(0.3) rotate(-540deg);
    }
}

@keyframes approach-earth-7 {
    0% {
        top: 12%;
        left: 30%;
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    40% {
        opacity: 1;
        transform: scale(1.3) rotate(180deg);
    }
    60% {
        opacity: 0.6;
        transform: scale(0.8) rotate(360deg);
    }
    100% {
        top: 75%;
        left: 48%;
        opacity: 0;
        transform: scale(0.3) rotate(540deg);
    }
}

@keyframes approach-earth-8 {
    0% {
        top: 18%;
        left: 60%;
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    40% {
        opacity: 1;
        transform: scale(1.3) rotate(-180deg);
    }
    60% {
        opacity: 0.6;
        transform: scale(0.8) rotate(-360deg);
    }
    100% {
        top: 75%;
        left: 50%;
        opacity: 0;
        transform: scale(0.3) rotate(-540deg);
    }
}

/* Overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.4) 0%,
        rgba(26, 26, 46, 0.6) 50%,
        rgba(22, 33, 62, 0.8) 100%
    );
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title {
    margin-bottom: var(--spacing-sm);
}

.hero-title .brand-text-large {
    color: var(--color-white);
    text-shadow: 0 0 30px rgba(0, 102, 255, 0.5), 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--color-blue-light);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 0 20px rgba(0, 102, 255, 0.6), 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-blue);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-blue);
    border-color: var(--color-blue);
}

.btn-secondary:hover {
    background: var(--color-blue);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: var(--spacing-xl) 0;
}

.section-alt {
    background: var(--color-light-grey);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark-grey);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--color-text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.8;
}

/* ============================================
   Summary Grid
   ============================================ */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.summary-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.summary-card h3 {
    color: var(--color-blue);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.summary-card p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   Company Info
   ============================================ */
.company-info {
    max-width: 900px;
    margin: 0 auto;
}

.mission-statement {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.mission-statement h3 {
    color: var(--color-dark-grey);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.mission-text {
    font-size: 1.2rem;
    color: var(--color-text);
    line-height: 1.8;
    font-weight: 500;
}

.founder-info {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.founder-info h3 {
    color: var(--color-dark-grey);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.founder-text {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.founder-text strong {
    color: var(--color-blue);
    font-weight: 600;
}

.company-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.detail-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
}

.detail-item h4 {
    color: var(--color-blue);
    margin-bottom: var(--spacing-xs);
}

/* ============================================
   Products Grid
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.product-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 4px solid var(--color-blue);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.2);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.product-card h3 {
    color: var(--color-dark-grey);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.product-card ul {
    list-style: none;
    padding: 0;
}

.product-card ul li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text-light);
    position: relative;
    padding-left: var(--spacing-md);
}

.product-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-blue);
    font-weight: bold;
}

/* ============================================
   Trusted Companies
   ============================================ */
.trusted-companies-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md) 0;
    white-space: nowrap;
}

.trusted-companies-wrapper:hover .trusted-companies {
    animation-play-state: paused;
}

.trusted-companies {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: var(--spacing-lg);
    align-items: center;
    justify-content: flex-start;
    animation: scroll-horizontal 40s linear infinite;
    will-change: transform;
    width: max-content;
    min-width: 200%;
    white-space: nowrap;
}

.trusted-companies > * {
    flex-shrink: 0 !important;
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.company-logo {
    flex: 0 0 auto !important;
    width: auto;
    min-width: 140px;
    height: 60px;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: var(--transition);
    padding: 0 var(--spacing-sm);
}

.company-logo:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.company-logo img {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: var(--transition);
}

.company-logo:hover img {
    opacity: 0.8;
}

.logo-placeholder {
    color: var(--color-text-light);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    opacity: 0.7;
    transition: var(--transition);
    line-height: 1.3;
    word-break: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo:hover .logo-placeholder {
    opacity: 1;
    color: var(--color-blue);
}

@media (max-width: 768px) {
    .trusted-companies {
        gap: var(--spacing-md);
        animation-duration: 30s;
    }
    
    .company-logo {
        min-width: 120px;
        height: 50px;
    }
    
    .company-logo img {
        max-width: 120px;
        max-height: 50px;
    }
    
    .logo-placeholder {
        font-size: 0.9rem;
    }
}

/* ============================================
   Market Content
   ============================================ */
.market-content {
    max-width: 1000px;
    margin: 0 auto;
}

.market-section {
    margin-bottom: var(--spacing-lg);
}

.market-section h3 {
    color: var(--color-dark-grey);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.market-section p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.target-market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.target-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
}

.target-item h4 {
    color: var(--color-blue);
    margin-bottom: var(--spacing-xs);
}

.target-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ============================================
   Competitive Advantages
   ============================================ */
.competitive-advantages {
    margin-top: var(--spacing-md);
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.competitive-advantages h4 {
    color: var(--color-blue);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.competitive-advantages h4:first-child {
    margin-top: 0;
}

.competitive-advantages p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.competitive-advantages ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-md);
}

.competitive-advantages ul li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text-light);
    position: relative;
    padding-left: var(--spacing-md);
    line-height: 1.7;
}

.competitive-advantages ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-blue);
    font-weight: bold;
}

.competitive-advantages ul li strong {
    color: var(--color-dark-grey);
}

/* ============================================
   SWOT Analysis
   ============================================ */
.swot-section {
    margin-top: var(--spacing-lg);
}

.swot-section h3 {
    color: var(--color-dark-grey);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.swot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.swot-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.swot-card h4 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.swot-strength h4 {
    color: var(--color-blue);
}

.swot-weakness h4 {
    color: var(--color-blue);
}

.swot-opportunity h4 {
    color: var(--color-blue);
}

.swot-threat h4 {
    color: var(--color-blue);
}

.swot-card ul {
    list-style: none;
    padding: 0;
}

.swot-card ul li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text-light);
    position: relative;
    padding-left: var(--spacing-md);
}

.swot-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-blue);
    font-weight: bold;
}

/* ============================================
   Strategy Content
   ============================================ */
.strategy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.strategy-section {
    margin-bottom: var(--spacing-lg);
}

.strategy-section h3 {
    color: var(--color-dark-grey);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.strategy-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.strategy-item h4 {
    color: var(--color-blue);
    margin-bottom: var(--spacing-xs);
}

.strategy-item p {
    color: var(--color-text-light);
    line-height: 1.7;
}

.pricing-intro {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.pricing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.pricing-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid var(--color-blue);
}

.pricing-card h4 {
    color: var(--color-blue);
    margin-bottom: var(--spacing-xs);
    font-size: 1.3rem;
}

.pricing-card p {
    color: var(--color-text-light);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--color-dark-grey);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.contact-info p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.contact-details {
    margin-top: var(--spacing-md);
}

.contact-details p {
    margin-bottom: var(--spacing-xs);
}

.contact-form {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--color-dark-grey);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--color-grey);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue);
}

.form-group textarea {
    resize: vertical;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-dark-grey);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-brand .brand-text {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.footer-tagline {
    color: var(--color-blue-light);
    font-size: 1rem;
}

.footer-column h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column ul li a {
    color: var(--color-grey);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--color-blue-light);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-grey);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ============================================
   Careers Page Styles
   ============================================ */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.job-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.job-header h3 {
    color: var(--color-dark-grey);
    font-size: 1.5rem;
    margin: 0;
}

.job-type {
    color: var(--color-blue);
    font-weight: 500;
    font-size: 0.9rem;
}

.job-description {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.job-requirements {
    margin-bottom: var(--spacing-md);
}

.job-requirements h4 {
    color: var(--color-dark-grey);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.job-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-requirements ul li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text-light);
    position: relative;
    padding-left: var(--spacing-md);
    line-height: 1.7;
}

.job-requirements ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.benefit-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.benefit-item h4 {
    color: var(--color-blue);
    margin-bottom: var(--spacing-xs);
    font-size: 1.2rem;
}

.benefit-item p {
    color: var(--color-text-light);
    line-height: 1.7;
}

.contact-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--color-grey);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--color-blue);
}

@media (max-width: 768px) {
    .job-header {
        flex-direction: column;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .summary-grid,
    .products-grid,
    .swot-grid,
    .strategy-grid,
    .pricing-options {
        grid-template-columns: 1fr;
    }

    /* Responsive hero video background */
    .earth {
        width: 200px;
        height: 200px;
        bottom: -50px;
    }

    .moon {
        width: 50px;
        height: 50px;
        transform-origin: 0 125px;
    }

    @keyframes orbit-moon {
        0% {
            transform: rotate(0deg) translateY(-250px) rotate(0deg);
        }
        100% {
            transform: rotate(360deg) translateY(-250px) rotate(-360deg);
        }
    }

    .ai-agent {
        width: 40px;
        height: 50px;
    }

    .ai-agent::before {
        font-size: 40px;
    }

    /* Adjust orbit radius for mobile */
    @keyframes orbit-earth-1 {
        0% { transform: rotate(0deg) translateY(-120px) rotate(0deg); }
        100% { transform: rotate(360deg) translateY(-120px) rotate(-360deg); }
    }
    
    @keyframes orbit-earth-2 {
        0% { transform: rotate(60deg) translateY(-140px) rotate(-60deg); }
        100% { transform: rotate(420deg) translateY(-140px) rotate(-420deg); }
    }
    
    @keyframes orbit-earth-3 {
        0% { transform: rotate(120deg) translateY(-110px) rotate(-120deg); }
        100% { transform: rotate(480deg) translateY(-110px) rotate(-480deg); }
    }
    
    @keyframes orbit-earth-4 {
        0% { transform: rotate(180deg) translateY(-130px) rotate(-180deg); }
        100% { transform: rotate(540deg) translateY(-130px) rotate(-540deg); }
    }
    
    @keyframes orbit-earth-5 {
        0% { transform: rotate(240deg) translateY(-125px) rotate(-240deg); }
        100% { transform: rotate(600deg) translateY(-125px) rotate(-600deg); }
    }
    
    @keyframes orbit-earth-6 {
        0% { transform: rotate(300deg) translateY(-135px) rotate(-300deg); }
        100% { transform: rotate(660deg) translateY(-135px) rotate(-660deg); }
    }

    .work-float {
        font-size: 30px;
    }
}

/* ============================================
   Live Demo Section (Namespaced)
   ============================================ */
.demo-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 660px; /* Increased by 10% from 600px */
    border: 1px solid var(--color-grey);
}

/* Sidebar */
.demo-sidebar {
    background: #f8f9fa;
    border-right: 1px solid var(--color-grey);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
}

.demo-sidebar-header h3 {
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
    color: var(--color-dark-grey);
}

.demo-agent-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex: 1;
}

.demo-agent-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    background: white;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    width: 100%;
}

.demo-agent-btn:hover {
    border-color: var(--color-blue);
    background: rgba(0, 102, 255, 0.05);
}

.demo-agent-btn.active {
    border-color: var(--color-blue);
    background: rgba(0, 102, 255, 0.1);
}

.demo-agent-icon {
    font-size: 1.5rem;
    min-width: 30px;
    text-align: center;
}

.demo-agent-info {
    display: flex;
    flex-direction: column;
}

.demo-agent-name {
    font-weight: 600;
    color: var(--color-dark-grey);
    font-size: 0.95rem;
}

.demo-agent-role {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.demo-suggestions {
    margin-top: auto;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-grey);
}

.demo-suggestions h4 {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demo-suggestions ul {
    list-style: none;
    padding: 0;
}

.demo-suggestions li {
    font-size: 0.85rem;
    color: var(--color-blue);
    padding: 6px 0;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px dashed var(--color-grey);
}

.demo-suggestions li:last-child {
    border-bottom: none;
}

.demo-suggestions li:hover {
    color: var(--color-blue-dark);
    padding-left: 5px;
}

/* Chat Area */
.demo-chat-area {
    display: flex;
    flex-direction: column;
    background: white;
    height: 100%;
    overflow: hidden;
}

/* Custom Scrollbar for Chat Messages - Forced Visibility */
.demo-messages-container {
    flex: 1;
    padding: var(--spacing-md);
    /* overflow-y: scroll;  Forces scrollbar track to appear always */
    overflow-y: auto; /* Changed back to auto but defined track below */
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    background: #fff;
    min-height: 0; /* Critical for scrolling in nested flex */
}

.demo-messages-container::-webkit-scrollbar {
    width: 12px; /* Even wider */
    display: block; /* Force display */
}

.demo-messages-container::-webkit-scrollbar-track {
    background: #e0e0e0; /* Darker track */
    border-radius: 4px;
    border: 1px solid #dcdcdc;
}

.demo-messages-container::-webkit-scrollbar-thumb {
    background: #888; /* Darker thumb */
    border-radius: 4px;
    border: 2px solid #e0e0e0; /* Padding */
}

.demo-messages-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ============================================
   Restored Header & Profile Styles
   ============================================ */
.demo-chat-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    width: 100%;
}

.demo-profile {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex: 0 0 auto; /* Don't grow, don't shrink */
}

.demo-header-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto; /* Don't grow, don't shrink */
    margin-left: auto; /* Push to the right */
}

.demo-avatar {
    width: 40px;
    height: 40px;
    background: var(--color-light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--color-grey);
}

.demo-status-wrapper {
    display: flex;
    flex-direction: column;
}

#demo-current-agent-name {
    font-weight: 600;
    color: var(--color-dark-grey);
}

.demo-status-indicator {
    font-size: 0.8rem;
    color: #10b981; /* Green */
    display: flex;
    align-items: center;
    gap: 4px;
}

.demo-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

.demo-reset-btn {
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-reset-btn:hover {
    background: var(--color-light-grey);
    color: var(--color-dark-grey);
    transform: rotate(180deg);
}

/* ============================================
   Missing Styles Restore (Squad, Scenarios, Modes)
   ============================================ */

/* Squad Branding */
.demo-squad-badge {
    background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0, 102, 255, 0.2);
}

/* Scenario Buttons */
.demo-scenarios-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-scenario-btn {
    background: white;
    border: 1px solid var(--color-blue);
    color: var(--color-blue);
    padding: 10px;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.demo-scenario-btn:hover {
    background: var(--color-blue);
    color: white;
    transform: translateX(5px);
}

/* Input Overlay */
.demo-input-container {
    position: relative;
}

.demo-input-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-blue);
    z-index: 10;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    transition: opacity 0.3s ease;
}

.demo-input-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* System Message Style */
.demo-message-system {
    align-self: center;
    background: #fff3cd; /* Warning Yellow-ish */
    color: #856404;
    border: 1px solid #ffeeba;
    font-size: 0.85rem;
    font-weight: 500;
    max-width: 90%;
    text-align: center;
    border-radius: 8px !important;
}

.demo-message-system.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.demo-message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    animation: fadeIn 0.3s ease;
}

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

.demo-message-agent {
    background: #f0f4f8;
    color: var(--color-text);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.demo-message-user {
    background: var(--color-blue);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.demo-typing-indicator {
    align-self: flex-start;
    background: #f0f4f8;
    padding: 12px 16px;
    border-radius: 12px;
    border-bottom-left-radius: 2px;
    display: flex;
    gap: 4px;
    align-items: center;
    height: 40px;
}

.demo-typing-dot {
    width: 6px;
    height: 6px;
    background: var(--color-text-light);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
    opacity: 0.6;
}

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

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

.demo-input-container {
    padding: var(--spacing-md);
    border-top: 1px solid var(--color-grey);
    display: flex;
    gap: var(--spacing-sm);
    background: white;
}

.demo-input-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--color-grey);
    border-radius: 24px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.demo-input-field:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.demo-send-button {
    background: var(--color-blue);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.demo-send-button:hover {
    background: var(--color-blue-dark);
    transform: scale(1.05);
}

.demo-send-button:disabled {
    background: var(--color-grey);
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .demo-wrapper {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 660px; /* Increased by 10% from 600px */
    }

    .demo-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--color-grey);
        padding: var(--spacing-sm);
    }

    .demo-agent-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .demo-agent-btn {
        min-width: 200px;
    }

    .demo-suggestions {
        display: none; /* Hide suggestions on mobile to save space */
    }

    .demo-chat-area {
        height: 500px;
    }
}
