
/* ============================================
   Cyrah Neural Intelligence Platform
   Landing Page & SPA Chat Styles
   ============================================ */
/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --emerald: #00ff00;
    --cyan: #22d3ee;
    --purple: #a78bfa;
    --pink: #f472b6;
}
html,
body {
    min-height: 100%;
    background: #050505;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}
body {
    overflow-y: auto;
    overflow-x: hidden;
    touch-action: manipulation;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: auto;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}
/* ===== Background Canvas ===== */
#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}
.neural-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0, 255, 0, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse at 15% 70%, rgba(34, 211, 238, 0.04) 0%, transparent 40%),
        radial-gradient(ellipse at 85% 80%, rgba(168, 85, 247, 0.04) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(244, 114, 182, 0.03) 0%, transparent 35%);
}
/* ===== Glass & Card Styles ===== */
.glass-premium {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.glass-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.holo-card {
    position: relative;
    background: linear-gradient(145deg, rgba(0, 255, 0, 0.03), rgba(34, 211, 238, 0.02), rgba(168, 85, 247, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 24px;
}
.holo-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.2), rgba(34, 211, 238, 0.2), transparent);
}
.holo-card:hover {
    border-color: rgba(0, 255, 0, 0.12);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 255, 0, 0.04);
    transform: translateY(-3px);
}
/* ===== Text Effects ===== */
.text-neon-emerald {
    color: #33ff33;
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.3), 0 0 30px rgba(51, 255, 51, 0.1);
}
.text-neon-cyan {
    color: #22d3ee;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.3), 0 0 30px rgba(34, 211, 238, 0.1);
}
.text-neon-purple {
    color: #a78bfa;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.3), 0 0 30px rgba(168, 85, 247, 0.1);
}
.text-neon-pink {
    color: #f472b6;
    text-shadow: 0 0 10px rgba(244, 114, 182, 0.3), 0 0 30px rgba(244, 114, 182, 0.1);
}
.holographic-text {
    background: linear-gradient(135deg, #00ff00, #22d3ee, #a78bfa, #f472b6);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holographicShift 6s ease-in-out infinite;
}
/* ===== Animations & Keyframes ===== */
@keyframes holographicShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 50%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes borderGlow {
    0%, 100% { border-color: rgba(0, 255, 0, 0.3); box-shadow: 0 0 15px rgba(0, 255, 0, 0.1); }
    50% { border-color: rgba(0, 255, 0, 0.6); box-shadow: 0 0 30px rgba(0, 255, 0, 0.25); }
}
@keyframes neonPulseGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(0, 255, 0, 0.2), 0 0 20px rgba(0, 255, 0, 0.05); }
    50% { box-shadow: 0 0 16px rgba(0, 255, 0, 0.4), 0 0 40px rgba(0, 255, 0, 0.1); }
}
/* ===== Animation Utility Classes ===== */
.anim-fade {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.anim-fade-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.anim-scale {
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}
.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}
.animate-spin {
    animation: spin 1s linear infinite;
}
.shimmer-neon {
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.04), rgba(34, 211, 238, 0.04), transparent);
    background-size: 200% 100%;
    animation: shimmer 4s ease-in-out infinite;
}
/* ===== Buttons ===== */
.app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.app-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}
.app-btn:hover::before {
    opacity: 1;
}
.app-btn:active {
    transform: scale(0.97);
}
.app-btn-primary {
    background: linear-gradient(135deg, #00cc00, #00ff00);
    color: #fff;
    box-shadow: 0 4px 24px rgba(0, 255, 0, 0.25);
}
.app-btn-primary:hover {
    box-shadow: 0 8px 40px rgba(0, 255, 0, 0.35);
    transform: translateY(-2px);
}
.app-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.app-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}
.app-btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
}
.app-btn-ghost:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.03);
}
/* ===== Stats ===== */
.stats-number {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
/* ===== Features ===== */
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
/* ===== Grid & Divider ===== */
.cyber-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.15), rgba(34, 211, 238, 0.1), rgba(168, 85, 247, 0.1), transparent);
    border: none;
    margin: 24px 0;
}
.cyber-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
}
/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(0, 255, 0, 0.3), rgba(34, 211, 238, 0.2), rgba(167, 139, 250, 0.2));
    border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(0, 255, 0, 0.5), rgba(34, 211, 238, 0.3), rgba(167, 139, 250, 0.3));
}
/* ===== Neon Border Effects ===== */
.neon-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.3), rgba(34, 211, 238, 0.15), rgba(168, 85, 247, 0.15), rgba(0, 255, 0, 0.3));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
}
.neon-border:hover::before {
    opacity: 1;
}
.neon-pulse-glow {
    animation: neonPulseGlow 3s ease-in-out infinite;
}
/* ===== Shadows ===== */
.shadow-neon {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.08), 0 0 60px rgba(0, 255, 0, 0.03);
}
.shadow-neon-strong {
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.15), 0 0 80px rgba(0, 255, 0, 0.05);
}
/* ===== Responsive ===== */
@media (max-width: 768px) {
    .stats-number {
        font-size: 24px;
    }
    .feature-icon {
        width: 40px;
        height: 40px;
    }
}
#main-sidebar.open {
    transform: translateX(0) !important;
}
#main-sidebar {
    z-index: 9999;
}
#main-sidebar::-webkit-scrollbar {
    width: 4px;
}
#main-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
#main-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}


