/* Base Styles */
* { scrollbar-width: thin; scrollbar-color: rgba(99, 102, 241, 0.5) transparent; }
html { scroll-behavior: smooth; }
body { background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #0f0f23 100%); min-height: 100vh; }

/* Liquid Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%) brightness(1.1);
    -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.glass-button {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(139, 92, 246, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-button:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 1) 0%, rgba(139, 92, 246, 1) 100%);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.glass-input {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
    outline: none;
}

/* Background Grid */
.bg-grid {
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    pointer-events: none;
}

/* Log Stream Animation */
.log-stream { font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.6; }
.log-line { animation: fadeSlide 0.5s ease-out forwards; opacity: 0; }
@keyframes fadeSlide { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }

/* Nav Link Hover */
.nav-link { position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, #6366f1, #a855f7); transition: width 0.3s ease; }
.nav-link:hover::after { width: 100%; }

/* Status Colors */
.status-healthy { color: #34d399; }
.status-warning { color: #fbbf24; }
.status-error { color: #fb7185; }
.status-info { color: #22d3ee; }

/* Pricing Card Popular */
.pricing-popular {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(99, 102, 241, 0.4);
}

/* Feature Icon Glow */
.feature-icon { transition: all 0.3s ease; }
.glass-card:hover .feature-icon { filter: drop-shadow(0 0 20px currentColor); }

/* Mobile Menu */
.mobile-menu { transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.mobile-menu.active { transform: translateX(0); }

/* Page Header */
.page-header {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
}

/* Form Styles */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #d1d5db; }

/* Code Block */
.code-block {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 1rem;
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
}

/* Timeline */
.timeline-item { position: relative; padding-left: 2rem; }
.timeline-item::before { content: ''; position: absolute; left: 0; top: 0.5rem; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: #6366f1; }
.timeline-item::after { content: ''; position: absolute; left: 0.3rem; top: 1.5rem; bottom: -1rem; width: 2px; background: rgba(99, 102, 241, 0.3); }
.timeline-item:last-child::after { display: none; }
