/* Reset and Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #22c55e;
    --secondary: #3b82f6;
    --accent: #a855f7;
    --gold: #f59e0b;
    --cyan: #06b6d4;
    --bg-light: #f0fdf4;
    --bg-section: #ecfdf5;
    --text-dark: #064e3b;
    --text-light: #047857;
    --text-muted: #059669;
    --gradient-primary: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-accent: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    --gradient-genomics: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 50%, #d1fae5 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--gradient-genomics);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.dna-logo {
    width: 32px;
    height: 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dna-logo::before,
.dna-logo::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 28px;
    border-radius: 2px;
    animation: helixRotate 4s linear infinite;
}

.dna-logo::before {
    background: linear-gradient(45deg, #22c55e 0%, #16a34a 50%, #22c55e 100%);
    transform: translateX(-8px) rotateZ(15deg);
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.dna-logo::after {
    background: linear-gradient(45deg, #3b82f6 0%, #1d4ed8 50%, #3b82f6 100%);
    transform: translateX(8px) rotateZ(-15deg);
    animation-delay: -2s;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.4);
}

.dna-logo .helix-connector {
    position: absolute;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #22c55e 0%, #f59e0b 50%, #3b82f6 100%);
    border-radius: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: connectorPulse 3s ease-in-out infinite;
    box-shadow: 0 0 4px rgba(245, 158, 11, 0.6);
}

@keyframes helixRotate {
    0% { 
        transform: translateX(-8px) rotateZ(15deg) rotateY(0deg);
        opacity: 1;
    }
    25% { 
        transform: translateX(0px) rotateZ(0deg) rotateY(90deg);
        opacity: 0.7;
    }
    50% { 
        transform: translateX(8px) rotateZ(-15deg) rotateY(180deg);
        opacity: 1;
    }
    75% { 
        transform: translateX(0px) rotateZ(0deg) rotateY(270deg);
        opacity: 0.7;
    }
    100% { 
        transform: translateX(-8px) rotateZ(15deg) rotateY(360deg);
        opacity: 1;
    }
}

@keyframes connectorPulse {
    0%, 100% { 
        opacity: 0.4; 
        transform: translate(-50%, -50%) scaleX(0.8) rotateZ(0deg);
    }
    33% { 
        opacity: 0.8; 
        transform: translate(-50%, -50%) scaleX(1.1) rotateZ(5deg);
    }
    66% { 
        opacity: 0.6; 
        transform: translate(-50%, -50%) scaleX(1.0) rotateZ(-5deg);
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--text-dark);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.login-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-genomics);
    padding-top: 120px;
}

.dna-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#dnaCanvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: 2rem;
}

.subtitle {
    display: block;
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.main-title {
    display: block;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.tagline {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-light);
    font-style: italic;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    min-width: 150px;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-3px);
}

.btn-primary.large,
.btn-secondary.large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

.full-width {
    width: 100%;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: pulse 3s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-icon.genomics {
    background: var(--gradient-primary);
}

.feature-icon.genomics::before {
    content: '🏗️';
    font-size: 2.5rem;
    filter: none;
}

.feature-icon.proteomics {
    background: var(--gradient-secondary);
    animation-delay: 0.5s;
}

.feature-icon.proteomics::before {
    content: '⚡';
    font-size: 2.5rem;
    filter: none;
}

.feature-icon.metabolomics {
    background: var(--gradient-accent);
    animation-delay: 1s;
}

.feature-icon.metabolomics::before {
    content: '🧬';
    font-size: 2.5rem;
    filter: none;
}

.feature-icon.integration {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    animation-delay: 1.5s;
}

.feature-icon.integration::before {
    content: '🧠';
    font-size: 2.5rem;
    filter: none;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* Demo Section */
.demo-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.demo-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.1);
    margin-bottom: 4rem;
}

#moleculeCanvas {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    background: #f8fafc;
}

/* Pipeline Orchestration Demo */
.pipeline-demo {
    width: 100%;
    min-height: 500px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid rgba(34, 197, 94, 0.2);
}

.workflow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.workflow-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.status-indicator {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.status-indicator.active {
    background: #dcfce7;
    color: #166534;
}

.pipeline-stages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stage {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.stage.completed {
    background: #f0fdf4;
    border-color: #22c55e;
}

.stage.active {
    background: #eff6ff;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.stage.pending {
    background: #f9fafb;
    border-color: #d1d5db;
    opacity: 0.7;
}

.stage-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
}

.stage-info {
    flex: 1;
}

.stage-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text-dark);
}

.stage-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0 0 0.5rem 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.stage-status {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.resource-panel {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.resource-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.resource-item span:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.gpu-detected {
    color: #059669;
    font-weight: 600;
}

.cloud-ready {
    color: #0ea5e9;
    font-weight: 600;
}

.demo-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.demo-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-section);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-btn.active,
.demo-btn:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.pipeline-demo .demo-btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #bbf7d0 0%, #a7f3d0 100%);
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    animation: genomicFlow 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes genomicFlow {
    0%, 100% { 
        transform: translateX(0) scale(1);
        opacity: 0.3;
    }
    33% { 
        transform: translateX(-10px) scale(1.1);
        opacity: 0.5;
    }
    66% { 
        transform: translateX(10px) scale(0.9);
        opacity: 0.4;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .logo {
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.link-group h5 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    max-width: 400px;
    width: 90%;
    position: relative;
    z-index: 1;
    animation: modalSlideIn 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-content h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-form input {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.login-footer a:hover {
    opacity: 0.7;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a:not(.login-btn) {
        display: none;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .stats-container {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 200px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .pipeline-demo {
        padding: 1rem;
        min-height: 400px;
    }
    
    .stage {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .stage-info {
        order: 2;
    }
    
    .stage-status {
        order: 3;
    }
    
    .workflow-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .resource-panel {
        padding: 1rem;
    }
    
    .resource-item {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
}
/* Chat Demo Interface */
.chat-demo {
    width: 100%;
    min-height: 500px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.chat-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 350px;
    overflow-y: auto;
}

.chat-message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    max-width: 80%;
    animation: messageSlideIn 0.5s ease-out;
}

.chat-message.user {
    background: var(--gradient-primary);
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

.chat-message.assistant {
    background: #f1f5f9;
    color: var(--text-dark);
    align-self: flex-start;
    border: 1px solid #e2e8f0;
}

.chat-message.assistant.typing {
    background: #eff6ff;
    border-color: #3b82f6;
}

.chat-message strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.typing-indicator {
    display: inline-block;
    width: 20px;
    animation: typingDots 1.5s infinite;
}

@keyframes typingDots {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    80%, 100% { opacity: 0; }
}

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

.chat-input {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    background: #f9fafb;
}

.chat-input button {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.6;
}
EOF < /dev/null
