/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    height: 200vh;
    background: radial-gradient(circle at center, #0a0f1f 0%, #05070e 100%);
    color: #eaeaea;
}

/* Background particles container */
.background-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Main Container */
.container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.orb {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,
        #007AFF 0%,
        #4A90E2 25%,
        #7B6EF6 60%,
        #A020F0 85%,
        #6B1B7B 100%);
    box-shadow:
        0 0 60px 25px rgba(0, 122, 255, 0.4),
        inset 0 0 40px rgba(255, 255, 255, 0.2),
        inset 0 0 80px rgba(0, 122, 255, 0.1);
    animation: pulse 6s ease-in-out infinite;
    position: relative;
    transition: 
        filter 0.8s ease-out,
        box-shadow 0.8s ease-out,
        transform 0.6s ease-out;
    cursor: pointer;
}

.orb:hover {
    filter: brightness(1.4) saturate(1.5);
    box-shadow:
        0 0 80px 35px rgba(0, 122, 255, 0.6),
        inset 0 0 50px rgba(255, 255, 255, 0.3),
        inset 0 0 90px rgba(0, 122, 255, 0.15);
    animation-duration: 3s;
}

/* Aura around the orb */
.orb::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -60px;
    right: -60px;
    bottom: -60px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(0, 122, 255, 0.15) 0%,
        rgba(123, 110, 246, 0.1) 40%,
        rgba(160, 32, 240, 0.05) 70%,
        transparent 90%);
    filter: blur(30px);
    animation: auraBreath 8s ease-in-out infinite;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    z-index: -1;
}

.orb::after {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    right: -100px;
    bottom: -100px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(0, 122, 255, 0.08) 0%,
        rgba(123, 110, 246, 0.05) 50%,
        transparent 80%);
    filter: blur(50px);
    animation: auraBreath 12s ease-in-out infinite reverse;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    z-index: -2;
}

.orb:hover::before {
    animation-duration: 4s;
}

.orb:hover::after {
    animation-duration: 6s;
}

.orb-clicked {
    animation-duration: 0.8s !important;
    transform: scale(1.05);
}

/* Footer Hint */
.footer-hint {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0 !important;
    transition: all 1s ease-out;
    z-index: 10;
}

.footer-hint.visible {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0);
}

.arrow-up {
    color: rgba(0, 122, 255, 0.8);
    animation: arrowBounce 2s ease-in-out infinite;
}

.arrow-up svg {
    filter: drop-shadow(0 0 8px rgba(0, 122, 255, 0.4));
}

.hint-text {
    font-size: 0.9rem;
    color: rgba(234, 234, 234, 0.8);
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(0, 122, 255, 0.2);
}



/* Floating particles for cosmic feel */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s linear infinite;
}

/* Orbital particles that dance around the orb */
.orb-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(0, 122, 255, 0.8) 0%, 
        rgba(123, 110, 246, 0.6) 50%, 
        rgba(160, 32, 240, 0.4) 100%);
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.5);
    pointer-events: none;
}

/* Orbital ring animations */
.orb-particle.ring-inner,
.orb-particle.ring-middle,
.orb-particle.ring-outer {
    animation: orbit var(--orbit-duration, 12s) linear infinite;
    transform-origin: calc(var(--orbit-radius, 200px) * -1) 0;
    left: 50%;
    top: 50%;
    transform: rotate(var(--start-angle, 0deg)) translateX(var(--orbit-radius, 200px));
}

.orb-particle.reverse {
    animation-direction: reverse;
}

/* Dancing particles with figure-8 and spiral patterns */
.orb-particle.dancing {
    left: 50%;
    top: 50%;
    transform: translate(
        calc(-50% + var(--initial-offset-x, 0px)),
        calc(-50% + var(--initial-offset-y, 0px))
    );
}

.orb-particle.dancing[style*="--dance-type: 0"] {
    animation: dance-figure8 var(--dance-duration, 15s) ease-in-out infinite;
}

.orb-particle.dancing[style*="--dance-type: 1"] {
    animation: dance-spiral var(--dance-duration, 18s) linear infinite;
}

.orb-particle.dancing[style*="--dance-type: 2"] {
    animation: dance-wave var(--dance-duration, 20s) ease-in-out infinite;
}

/* Orb particles that float around the sphere */
.orb-particle {
    position: absolute;
    background: radial-gradient(circle, 
        rgba(0, 122, 255, 0.8) 0%, 
        rgba(123, 110, 246, 0.6) 50%, 
        transparent 100%);
    border-radius: 50%;
    animation: orbFloat 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.4);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 0 60px 25px rgba(0, 122, 255, 0.4),
            inset 0 0 40px rgba(255, 255, 255, 0.2),
            inset 0 0 80px rgba(0, 122, 255, 0.1);
        filter: brightness(1) saturate(1);
    }
    50% {
        transform: scale(1.08);
        box-shadow:
            0 0 100px 35px rgba(0, 122, 255, 0.6),
            inset 0 0 50px rgba(255, 255, 255, 0.3),
            inset 0 0 90px rgba(0, 122, 255, 0.15);
        filter: brightness(1.2) saturate(1.3);
    }
}

@keyframes auraBreath {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes float {
    0% { 
        transform: translateY(0) scale(1); 
        opacity: 0.2; 
    }
    50% { 
        opacity: 0.4; 
    }
    100% { 
        transform: translateY(-800px) scale(0.8); 
        opacity: 0; 
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Orbital dance animations */
@keyframes orbit {
    0% {
        transform: rotate(var(--start-angle, 0deg)) translateX(var(--orbit-radius, 200px));
    }
    100% {
        transform: rotate(calc(var(--start-angle, 0deg) + 360deg)) translateX(var(--orbit-radius, 200px));
    }
}

@keyframes dance-figure8 {
    0% {
        transform: translate(calc(-50% + var(--initial-offset-x, 0px)), calc(-50% + var(--initial-offset-y, 0px))) rotate(0deg) translateX(150px) rotate(0deg);
    }
    25% {
        transform: translate(calc(-50% + var(--initial-offset-x, 0px)), calc(-50% + var(--initial-offset-y, 0px))) rotate(90deg) translateX(200px) rotate(-90deg);
    }
    50% {
        transform: translate(calc(-50% + var(--initial-offset-x, 0px)), calc(-50% + var(--initial-offset-y, 0px))) rotate(180deg) translateX(150px) rotate(-180deg);
    }
    75% {
        transform: translate(calc(-50% + var(--initial-offset-x, 0px)), calc(-50% + var(--initial-offset-y, 0px))) rotate(270deg) translateX(200px) rotate(-270deg);
    }
    100% {
        transform: translate(calc(-50% + var(--initial-offset-x, 0px)), calc(-50% + var(--initial-offset-y, 0px))) rotate(360deg) translateX(150px) rotate(-360deg);
    }
}

@keyframes dance-spiral {
    0% {
        transform: translate(calc(-50% + var(--initial-offset-x, 0px)), calc(-50% + var(--initial-offset-y, 0px))) rotate(0deg) translateX(100px) scale(1);
    }
    25% {
        transform: translate(calc(-50% + var(--initial-offset-x, 0px)), calc(-50% + var(--initial-offset-y, 0px))) rotate(90deg) translateX(200px) scale(1.2);
    }
    50% {
        transform: translate(calc(-50% + var(--initial-offset-x, 0px)), calc(-50% + var(--initial-offset-y, 0px))) rotate(180deg) translateX(300px) scale(0.8);
    }
    75% {
        transform: translate(calc(-50% + var(--initial-offset-x, 0px)), calc(-50% + var(--initial-offset-y, 0px))) rotate(270deg) translateX(200px) scale(1.1);
    }
    100% {
        transform: translate(calc(-50% + var(--initial-offset-x, 0px)), calc(-50% + var(--initial-offset-y, 0px))) rotate(360deg) translateX(100px) scale(1);
    }
}

@keyframes dance-wave {
    0% {
        transform: translate(calc(-50% + var(--initial-offset-x, 0px)), calc(-50% + var(--initial-offset-y, 0px))) translateX(-250px) translateY(0px);
    }
    25% {
        transform: translate(calc(-50% + var(--initial-offset-x, 0px)), calc(-50% + var(--initial-offset-y, 0px))) translateX(0px) translateY(-200px);
    }
    50% {
        transform: translate(calc(-50% + var(--initial-offset-x, 0px)), calc(-50% + var(--initial-offset-y, 0px))) translateX(250px) translateY(0px);
    }
    75% {
        transform: translate(calc(-50% + var(--initial-offset-x, 0px)), calc(-50% + var(--initial-offset-y, 0px))) translateX(0px) translateY(200px);
    }
    100% {
        transform: translate(calc(-50% + var(--initial-offset-x, 0px)), calc(-50% + var(--initial-offset-y, 0px))) translateX(-250px) translateY(0px);
    }
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(0px) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(-50%, -50%) rotate(90deg) translateX(20px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) translateX(0px) scale(0.8);
        opacity: 1;
    }
    75% {
        transform: translate(-50%, -50%) rotate(270deg) translateX(-20px) scale(1.1);
        opacity: 0.7;
    }
}



/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .orb {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .orb {
        width: 120px;
        height: 120px;
    }
}
/* He
ro Screen Styles */
.hero-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, #0a0f1f 0%, #05070e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease-out;
    z-index: 100;
}

.hero-screen.active {
    opacity: 1;
    visibility: visible;
}

.hero-content {
    max-width: 600px;
    text-align: center;
    padding: 2rem;
    animation: heroFadeIn 1.5s ease-out;
}

.hero-logo {
    margin-bottom: 3rem;
}

.brand-name {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, 
        #007AFF 0%, 
        #4A90E2 25%, 
        #7B6EF6 60%, 
        #A020F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(0, 122, 255, 0.2));
}

.brand-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #007AFF 50%, transparent 100%);
    opacity: 0.6;
}

.brand-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    color: rgba(234, 234, 234, 0.7);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-text {
    margin-bottom: 3rem;
}

.hero-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #eaeaea;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(234, 234, 234, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
}

.waitlist-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #eaeaea;
    margin-bottom: 1.5rem;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #eaeaea;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 20px rgba(0, 122, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.input-group input::placeholder {
    color: rgba(234, 234, 234, 0.5);
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #007AFF 0%, #7B6EF6 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.submit-btn:hover {
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.4);
}

.submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.form-note {
    font-size: 0.9rem;
    color: rgba(234, 234, 234, 0.6);
    margin: 0;
}

.success-message {
    display: none;
    text-align: center;
    padding: 2rem;
}

.success-message.show {
    display: block;
    animation: successFadeIn 0.8s ease-out;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00C851 0%, #007E33 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1rem;
    animation: successPulse 0.6s ease-out;
}

.success-message p {
    font-size: 1.2rem;
    color: #eaeaea;
    margin: 0;
}

/* Dissolution particle styles */
.dissolution-particle {
    transition: all 0.3s ease-out;
}

/* Animations */
@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes successFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes successPulse {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Design for Hero */
@media (max-width: 768px) {
    .hero-content {
        padding: 1rem;
    }
    
    .brand-name {
        font-size: 2.8rem;
        letter-spacing: -0.01em;
    }
    
    .brand-tagline {
        font-size: 0.85rem;
        letter-spacing: 0.12em;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .waitlist-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2.2rem;
        letter-spacing: 0;
    }
    
    .brand-tagline {
        font-size: 0.8rem;
        letter-spacing: 0.1em;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .waitlist-form {
        padding: 1.5rem;
    }
}

/* Experience Screen Styles */
.experience-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, #0a0f1f 0%, #05070e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-out;
    z-index: 50;
    overflow-y: auto;
    padding: 2rem;
}

.experience-screen.active {
    opacity: 1;
    visibility: visible;
}

.experience-content {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Welcome Header (stays visible) */
.welcome-header {
    text-align: center;
    animation: welcomeFadeIn 1s ease-out;
}

.welcome-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #007AFF 0%, #4A90E2 35%, #7B6EF6 70%, #A020F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 0 30px rgba(0, 122, 255, 0.3));
}

.welcome-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(234, 234, 234, 0.8);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Loading State */
.demo-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem;
    animation: loadingFadeIn 0.5s ease-out;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #007AFF;
    border-radius: 50%;
    animation: spinnerRotate 1s linear infinite;
}

.loading-text {
    font-size: 1.1rem;
    color: rgba(234, 234, 234, 0.6);
    font-weight: 400;
}

@keyframes welcomeFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loadingFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes spinnerRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Hidden state */
.hidden {
    display: none !important;
}

.hidden-backup {
    display: none !important;
}

/* Demo Container (shown after loading) */
.demo-container {
    width: 100%;
    max-width: 900px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: demoSlideUp 0.8s ease-out;
}

.demo-container.hidden {
    display: none;
}

/* Waitlist Container (shown after demo) */
.waitlist-container {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: waitlistFadeIn 0.8s ease-out;
}

.waitlist-container.hidden {
    display: none;
}

@keyframes demoSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes waitlistFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Experience Screen */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 2.5rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .demo-container {
        height: 500px;
    }

    .waitlist-container {
        padding: 2rem;
    }

    .experience-screen {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 2rem;
    }

    .welcome-subtitle {
        font-size: 0.9rem;
    }

    .demo-container {
        height: 450px;
        border-radius: 16px;
    }

    .waitlist-container {
        padding: 1.5rem;
    }

    .experience-screen {
        padding: 1rem;
    }

    .loading-spinner {
        width: 40px;
        height: 40px;
    }

    .loading-text {
        font-size: 1rem;
    }
}

/* Old Demo Screen Styles (now part of demo-container) */
.demo-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, #0a0f1f 0%, #05070e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease-out;
    z-index: 50;
}

.demo-screen.active {
    opacity: 1;
    visibility: visible;
}

.demo-container {
    width: 90%;
    max-width: 900px;
    height: 80vh;
    max-height: 700px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: demoFadeIn 1s ease-out;
}

.demo-header {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-info {
    font-size: 0.9rem;
    color: rgba(234, 234, 234, 0.6);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.demo-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 200, 81, 0.15);
    border: 1px solid rgba(0, 200, 81, 0.3);
    border-radius: 12px;
    color: #00C851;
    font-size: 0.8rem;
    font-weight: 500;
}

.demo-status::before {
    content: '●';
    font-size: 0.6rem;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Demo Main Area - Split Layout */
.demo-main-area {
    flex: 1;
    display: flex;
    gap: 1rem;
    overflow: hidden;
}

.chat-window {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Parallel Work Windows Container */
.work-windows-container {
    width: 320px;
    flex-shrink: 0;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Individual Work Window */
.work-window {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0;
    animation: workWindowSlideIn 0.5s ease-out;
    overflow: hidden;
}

.work-window-header {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.work-window-avatar {
    font-size: 1rem;
}

.work-window-title {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(234, 234, 234, 0.9);
}

.work-window-status {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: rgba(0, 122, 255, 0.2);
    border: 1px solid rgba(0, 122, 255, 0.3);
    border-radius: 8px;
    color: #4A90E2;
}

.work-window-status.active {
    background: rgba(0, 200, 81, 0.2);
    border-color: rgba(0, 200, 81, 0.3);
    color: #00C851;
    animation: statusPulse 2s ease-in-out infinite;
}

.work-window-content {
    padding: 1rem;
    max-height: 250px;
    overflow-y: auto;
}

/* Mini Work Activity */
.work-activity {
    margin-bottom: 0.75rem;
    animation: activityFadeIn 0.4s ease-out;
}

.work-activity-text {
    font-size: 0.8rem;
    color: rgba(234, 234, 234, 0.8);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* Mini Calls within Work Windows */
.mini-call {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-top: 0.5rem;
    animation: miniCallSlideIn 0.4s ease-out;
}

.mini-call-avatar {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.mini-call-content {
    flex: 1;
    min-width: 0;
}

.mini-call-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(234, 234, 234, 0.9);
    margin-bottom: 0.25rem;
}

.mini-call-badge {
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
    background: rgba(0, 122, 255, 0.2);
    border: 1px solid rgba(0, 122, 255, 0.3);
    border-radius: 6px;
    color: #4A90E2;
    margin-left: 0.25rem;
}

.mini-call-text {
    font-size: 0.75rem;
    color: rgba(234, 234, 234, 0.75);
    line-height: 1.3;
}

/* Progress Indicator */
.work-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(0, 200, 81, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.work-progress-icon {
    font-size: 1rem;
    color: #00C851;
}

.work-progress-text {
    font-size: 0.75rem;
    color: #00C851;
    font-weight: 500;
}

@keyframes workWindowSlideIn {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes activityFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes miniCallSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Message Styles */
.message {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    opacity: 0;
    animation: messageSlideIn 0.5s ease-out forwards;
}

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.message.user .message-avatar {
    background: linear-gradient(135deg, #7B6EF6 0%, #A020F0 100%);
}

.message.user.user-2 .message-avatar {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
}

.message.user.user-3 .message-avatar {
    background: linear-gradient(135deg, #FFA502 0%, #FF7979 100%);
}

.message.agent .message-avatar {
    background: linear-gradient(135deg, #007AFF 0%, #4A90E2 100%);
}

.message.agent.agent-2 .message-avatar {
    background: linear-gradient(135deg, #00C851 0%, #007E33 100%);
}

.message.agent.agent-3 .message-avatar {
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
}

/* User badges for team members */
.user-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    background: rgba(123, 110, 246, 0.2);
    border: 1px solid rgba(123, 110, 246, 0.3);
    border-radius: 12px;
    color: #7B6EF6;
    font-weight: 500;
}

.message-content {
    flex: 1;
    max-width: 70%;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.message.user .message-header {
    justify-content: flex-end;
}

.message-sender {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(234, 234, 234, 0.9);
}

.agent-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    background: rgba(0, 122, 255, 0.2);
    border: 1px solid rgba(0, 122, 255, 0.3);
    border-radius: 12px;
    color: #4A90E2;
    font-weight: 500;
}

.message.agent.agent-2 .agent-badge {
    background: rgba(0, 200, 81, 0.2);
    border-color: rgba(0, 200, 81, 0.3);
    color: #00C851;
}

.message.agent.agent-3 .agent-badge {
    background: rgba(155, 89, 182, 0.2);
    border-color: rgba(155, 89, 182, 0.3);
    color: #9B59B6;
}

.message-bubble {
    padding: 1rem 1.25rem;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(234, 234, 234, 0.9);
    position: relative;
}

.message.user .message-bubble {
    background: linear-gradient(135deg, rgba(123, 110, 246, 0.3) 0%, rgba(160, 32, 240, 0.2) 100%);
    border: 1px solid rgba(123, 110, 246, 0.3);
}

.message.agent .message-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem 0;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: rgba(234, 234, 234, 0.5);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* Agent invitation UI */
.agent-invitation {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 12px;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    animation: invitationPulse 0.5s ease-out;
}

.invitation-icon {
    font-size: 1.2rem;
}

.invitation-text {
    flex: 1;
    color: rgba(234, 234, 234, 0.8);
}

.invitation-agent {
    font-weight: 600;
    color: #00C851;
}

/* Agent joining animation */
.agent-joined {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 200, 81, 0.1);
    border: 1px solid rgba(0, 200, 81, 0.2);
    border-radius: 12px;
    font-size: 0.9rem;
    color: #00C851;
    font-weight: 500;
    margin: 1rem 0;
    animation: agentJoinSlide 0.6s ease-out;
}

.agent-joined-icon {
    font-size: 1.2rem;
}

.demo-footer {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.demo-hint {
    font-size: 0.9rem;
    color: rgba(234, 234, 234, 0.5);
    font-style: italic;
}

/* Animations */
@keyframes demoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes messageSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

@keyframes invitationPulse {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes agentJoinSlide {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design for Demo */
@media (max-width: 768px) {
    .demo-container {
        width: 95%;
        height: 85vh;
    }

    .demo-header {
        padding: 1.25rem 1.5rem;
    }

    .demo-title {
        font-size: 1.5rem;
    }

    .demo-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .demo-status {
        font-size: 0.75rem;
    }

    .demo-main-area {
        flex-direction: column;
    }

    .chat-window {
        padding: 1.5rem;
    }

    .work-windows-container {
        width: 100%;
        max-height: 200px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.75rem;
    }

    .work-window {
        max-height: 150px;
    }

    .message-content {
        max-width: 80%;
    }

    .message-bubble {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .demo-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }

    .demo-header {
        padding: 1rem;
    }

    .demo-title {
        font-size: 1.3rem;
    }

    .chat-window {
        padding: 1rem;
    }

    .chat-messages {
        gap: 1.25rem;
    }

    .message-avatar {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .message-content {
        max-width: 85%;
    }

    .message-bubble {
        padding: 0.75rem 0.875rem;
        font-size: 0.85rem;
    }

    .message-sender {
        font-size: 0.8rem;
    }

    .agent-badge {
        font-size: 0.65rem;
    }
}

/* Privacy Consent Checkbox */
.privacy-consent {
    margin-bottom: 1rem;
}

.consent-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: rgba(234, 234, 234, 0.7);
    line-height: 1.5;
}

.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007AFF;
    cursor: pointer;
    flex-shrink: 0;
}

.consent-text {
    flex: 0 1 auto;
    user-select: none;
    text-align: left;
}

.privacy-link {
    color: #007AFF;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 122, 255, 0.3);
    transition: all 0.2s ease;
}

.privacy-link:hover {
    color: #4A90E2;
    border-bottom-color: #4A90E2;
}

.consent-label:hover .consent-text {
    color: rgba(234, 234, 234, 0.9);
}

/* Privacy Policy Modal */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.privacy-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    background: rgba(15, 20, 35, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #eaeaea;
    margin: 0;
    background: linear-gradient(135deg, #007AFF 0%, #7B6EF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(234, 234, 234, 0.6);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #eaeaea;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal-body h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #eaeaea;
    margin: 1.5rem 0 0.75rem;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    color: rgba(234, 234, 234, 0.8);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.modal-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.modal-body ul li {
    color: rgba(234, 234, 234, 0.8);
    line-height: 1.7;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.modal-body ul li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: #007AFF;
    font-weight: bold;
}

.modal-body strong {
    color: #eaeaea;
    font-weight: 600;
}

.modal-footer-text {
    font-size: 0.85rem;
    color: rgba(234, 234, 234, 0.5);
    margin-top: 2rem;
    font-style: italic;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
}

.modal-accept-btn {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #007AFF 0%, #7B6EF6 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive checkbox */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .modal-header {
        padding: 1.25rem 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-footer {
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .consent-label {
        font-size: 0.8rem;
    }

    .consent-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .modal-body h3 {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 1.25rem;
    }
}