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

:root {
    /* Core Background Colors - Deep space theme */
    --primary-bg: #0a0a0f;
    --secondary-bg: #151520;
    --accent-bg: #1e1e2e;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b4b4c7;
    --text-muted: #8b8ba7;
    
    /* Primary Brand Colors - Electric blue theme */
    --accent-blue: #0ea5e9;
    --accent-blue-light: #38bdf8;
    --accent-blue-dark: #0284c7;
    
    /* Success & Growth */
    --accent-green: #10b981;
    --accent-green-light: #34d399;
    --accent-green-dark: #059669;
    
    /* Warning & Energy */
    --accent-orange: #f59e0b;
    --accent-orange-light: #fbbf24;
    --accent-orange-dark: #d97706;
    
    /* Error & Danger */
    --accent-red: #ef4444;
    --accent-red-light: #f87171;
    --accent-red-dark: #dc2626;
    
    /* Premium & Luxury */
    --accent-purple: #8b5cf6;
    --accent-purple-light: #a78bfa;
    --accent-purple-dark: #7c3aed;
    
    /* Vibrant Accents */
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-yellow: #eab308;
    
    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-rainbow: linear-gradient(45deg, #0ea5e9, #3b82f6, #8b5cf6, #a855f7, #ec4899, #f472b6);
    --gradient-cyber: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 25%, #ec4899 50%, #3b82f6 75%, #0ea5e9 100%);
    --gradient-neon: linear-gradient(45deg, #ec4899, #8b5cf6, #0ea5e9, #3b82f6, #f472b6);
    --gradient-aurora: linear-gradient(45deg, #0ea5e9 0%, #8b5cf6 25%, #ec4899 50%, #3b82f6 75%, #06b6d4 100%);
    
    /* Enhanced Shadows */
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-hard: 0 16px 64px rgba(0, 0, 0, 0.6);
    --shadow-neon: 0 0 20px rgba(14, 165, 233, 0.6), 0 0 40px rgba(139, 92, 246, 0.4), 0 0 60px rgba(236, 72, 153, 0.3);
    --shadow-rainbow: 0 0 30px rgba(14, 165, 233, 0.4), 0 0 60px rgba(16, 185, 129, 0.3), 0 0 90px rgba(139, 92, 246, 0.3);
    --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.3);
    
    /* Interactive States */
    --hover-overlay: rgba(255, 255, 255, 0.1);
    --active-overlay: rgba(255, 255, 255, 0.15);
    --focus-ring: rgba(14, 165, 233, 0.3);
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-bg);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--glass-border);
}

/* Button Reset and Standardization */
button {
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

button:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

button:active {
    transform: scale(0.98);
}

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

/* Live Notification System - Fixed */
.notification-container {
    position: fixed;
    top: 100px;
    right: 2rem;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.live-notification {
    background: rgba(30, 30, 46, 0.95);
    border: 1px solid rgba(14, 165, 233, 0.4);
    border-radius: 15px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 1.5rem;
    min-width: 300px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(14, 165, 233, 0.3);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.live-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(14, 165, 233, 0.1) 0%, 
        rgba(59, 130, 246, 0.1) 20%,
        rgba(139, 92, 246, 0.1) 40%, 
        rgba(168, 85, 247, 0.1) 60%,
        rgba(236, 72, 153, 0.1) 80%, 
        rgba(244, 114, 182, 0.1) 100%);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.live-notification.show {
    transform: translateX(0);
    opacity: 1;
    border-color: rgba(14, 165, 233, 0.6);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(14, 165, 233, 0.4),
        0 0 60px rgba(139, 92, 246, 0.2);
}

.live-notification.show::before {
    opacity: 1;
}

.live-notification.hide {
    transform: translateX(400px);
    opacity: 0;
}

.live-notification:hover {
    transform: translateX(-5px);
    border-color: rgba(14, 165, 233, 0.8);
    box-shadow: 
        0 16px 64px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(14, 165, 233, 0.6),
        0 0 80px rgba(236, 72, 153, 0.3);
}

.live-notification:hover::before {
    opacity: 0.8;
}

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

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.notification-icon {
    font-size: 1.5rem;
    animation: iconFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
    }
    50% { 
        transform: translateY(-3px) scale(1.05); 
    }
}

.notification-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.notification-message {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.notification-time {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 1.8rem;
    animation: float 3s ease-in-out infinite, rainbowGlow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

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

@keyframes rainbowGlow {
    0% { 
        filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.8));
        transform: scale(1);
    }
    14% { 
        filter: drop-shadow(0 0 15px rgba(255, 127, 0, 0.8));
        transform: scale(1.05);
    }
    28% { 
        filter: drop-shadow(0 0 10px rgba(255, 255, 0, 0.8));
        transform: scale(1);
    }
    42% { 
        filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.8));
        transform: scale(1.05);
    }
    57% { 
        filter: drop-shadow(0 0 10px rgba(0, 0, 255, 0.8));
        transform: scale(1);
    }
    71% { 
        filter: drop-shadow(0 0 15px rgba(75, 0, 130, 0.8));
        transform: scale(1.05);
    }
    85% { 
        filter: drop-shadow(0 0 10px rgba(148, 0, 211, 0.8));
        transform: scale(1);
    }
    100% { 
        filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.8));
        transform: scale(1);
    }
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

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

.nav-cta {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.nav-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 
        0 12px 40px rgba(14, 165, 233, 0.4),
        0 4px 20px rgba(14, 165, 233, 0.3);
    background: var(--accent-blue-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at center, #1e1e2e 0%, #0a0a0f 70%),
        linear-gradient(45deg, rgba(14, 165, 233, 0.1) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(236, 72, 153, 0.1) 100%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        background-position: 0% 50%, 0% 0%;
        filter: hue-rotate(0deg);
    }
    25% {
        background-position: 25% 25%, 25% 25%;
        filter: hue-rotate(90deg);
    }
    50% {
        background-position: 50% 75%, 50% 50%;
        filter: hue-rotate(180deg);
    }
    75% {
        background-position: 75% 25%, 75% 75%;
        filter: hue-rotate(270deg);
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.4), transparent),
        radial-gradient(3px 3px at 40px 70px, rgba(14, 165, 233, 0.6), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(236, 72, 153, 0.5), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(59, 130, 246, 0.4), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(139, 92, 246, 0.5), transparent),
        radial-gradient(1px 1px at 200px 100px, rgba(168, 85, 247, 0.4), transparent),
        radial-gradient(3px 3px at 250px 60px, rgba(244, 114, 182, 0.6), transparent);
    background-size: 200px 200px, 150px 150px, 180px 180px, 220px 220px, 160px 160px, 190px 190px, 170px 170px;
    animation: sparkle 15s linear infinite, colorShift 8s ease-in-out infinite;
}

@keyframes sparkle {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-200px) translateX(50px) rotate(90deg); }
    50% { transform: translateY(-400px) translateX(-50px) rotate(180deg); }
    75% { transform: translateY(-600px) translateX(100px) rotate(270deg); }
    100% { transform: translateY(-800px) translateX(0px) rotate(360deg); }
}

@keyframes colorShift {
    0% { opacity: 0.8; filter: hue-rotate(0deg); }
    25% { opacity: 1; filter: hue-rotate(90deg); }
    50% { opacity: 0.9; filter: hue-rotate(180deg); }
    75% { opacity: 1; filter: hue-rotate(270deg); }
    100% { opacity: 0.8; filter: hue-rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(60px);
    animation: slideInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { 
    animation-delay: 0.4s;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.title-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    background-clip: padding-box;
}

.cta-primary {
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.95) 0%, rgba(21, 21, 32, 0.95) 100%);
    color: white;
    border: 3px solid transparent;
    box-shadow: 
        var(--shadow-neon),
        inset 0 0 20px rgba(14, 165, 233, 0.2);
    animation: breathe 6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #0ea5e9, #3b82f6, #8b5cf6, #a855f7, #ec4899, #f472b6, #0ea5e9);
    background-size: 400% 400%;
    border-radius: 60px;
    z-index: -1;
    animation: rainbowBorderFlow 4s linear infinite;
}

.cta-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.95) 0%, rgba(21, 21, 32, 0.95) 100%);
    border-radius: 50px;
    z-index: -1;
}

.cta-primary:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 
        0 0 30px rgba(14, 165, 233, 0.5),
        0 0 60px rgba(139, 92, 246, 0.3),
        0 0 90px rgba(236, 72, 153, 0.2),
        0 15px 35px rgba(0, 0, 0, 0.25);
    filter: brightness(1.15);
    text-shadow: 
        0 0 12px rgba(255, 255, 255, 0.9),
        0 0 25px rgba(14, 165, 233, 0.7);
}

.cta-secondary {
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.9) 0%, rgba(21, 21, 32, 0.9) 100%);
    color: white;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.cta-secondary::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #f472b6, #ec4899, #a855f7, #8b5cf6, #3b82f6, #0ea5e9, #f472b6);
    background-size: 400% 400%;
    border-radius: 60px;
    z-index: -1;
    animation: rainbowBorderFlow 4s linear infinite reverse;
}

.cta-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.9) 0%, rgba(21, 21, 32, 0.9) 100%);
    border-radius: 50px;
    z-index: -1;
}

.cta-secondary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 
        0 0 30px rgba(244, 114, 182, 0.5),
        0 0 60px rgba(139, 92, 246, 0.3),
        0 0 90px rgba(14, 165, 233, 0.2),
        0 15px 35px rgba(0, 0, 0, 0.25);
    text-shadow: 
        0 0 12px rgba(255, 255, 255, 0.9),
        0 0 25px rgba(244, 114, 182, 0.7);
}

@keyframes rainbowBorderFlow {
    0% { 
        background-position: 0% 50%;
    }
    50% { 
        background-position: 100% 50%;
    }
    100% { 
        background-position: 0% 50%;
    }
}

@keyframes breathe {
    0%, 100% { 
        transform: scale(1);
        box-shadow: var(--shadow-neon);
        filter: brightness(1);
    }
    25% {
        transform: scale(1.005);
        box-shadow: 
            0 0 20px rgba(14, 165, 233, 0.6), 
            0 0 40px rgba(139, 92, 246, 0.4), 
            0 0 60px rgba(236, 72, 153, 0.3);
        filter: brightness(1.05);
    }
    50% { 
        transform: scale(1.015);
        box-shadow: 
            0 0 35px rgba(14, 165, 233, 0.9), 
            0 0 70px rgba(139, 92, 246, 0.7), 
            0 0 105px rgba(236, 72, 153, 0.5);
        filter: brightness(1.1);
    }
    75% {
        transform: scale(1.008);
        box-shadow: 
            0 0 25px rgba(14, 165, 233, 0.7), 
            0 0 50px rgba(139, 92, 246, 0.5), 
            0 0 75px rgba(236, 72, 153, 0.4);
        filter: brightness(1.06);
    }
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateX(60px);
    animation: slideInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.trading-interface {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.trading-interface:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: var(--shadow-hard);
}

.interface-header {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-tabs {
    display: flex;
    gap: 0.5rem;
}

.tab {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: var(--accent-bg);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    background: var(--accent-blue);
    color: white;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse 2s ease-in-out infinite;
}

.stock-card {
    background: var(--accent-bg);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

.stock-symbol {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stock-price {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.stock-change {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.stock-change.positive {
    color: var(--accent-green);
}

.stock-change.negative {
    color: var(--accent-red);
}

.mini-chart {
    height: 60px;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.chart-line {
    fill: none;
    stroke: var(--accent-green);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 2s ease-in-out 2s forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Section Styles */
.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Agents Section */
.agents-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.agent-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.8s ease;
}

.agent-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, var(--accent-cyan) 90deg, transparent 180deg, var(--accent-pink) 270deg, transparent 360deg);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
    animation: conicSpin 8s linear infinite;
}

.agent-card:hover::before {
    left: 100%;
}

.agent-card:hover::after {
    opacity: 0.3;
}

.agent-card:hover {
    transform: translateY(-15px) scale(1.03) rotateX(10deg);
    box-shadow: 
        var(--shadow-hard),
        0 0 40px rgba(14, 165, 233, 0.4),
        0 0 80px rgba(139, 92, 246, 0.3);
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.08);
}

.agent-card[data-agent="trading"]:hover {
    box-shadow: 
        var(--shadow-hard),
        0 0 40px rgba(16, 185, 129, 0.6),
        0 0 80px rgba(245, 158, 11, 0.4);
    border-color: var(--accent-green);
}

.agent-card[data-agent="news"]:hover {
    box-shadow: 
        var(--shadow-hard),
        0 0 40px rgba(14, 165, 233, 0.6),
        0 0 80px rgba(139, 92, 246, 0.4);
    border-color: var(--accent-blue);
}

.agent-card[data-agent="research"]:hover {
    box-shadow: 
        var(--shadow-hard),
        0 0 40px rgba(236, 72, 153, 0.6),
        0 0 80px rgba(234, 179, 8, 0.4);
    border-color: var(--accent-pink);
}

.agent-card[data-agent="market"]:hover {
    box-shadow: 
        var(--shadow-hard),
        0 0 40px rgba(139, 92, 246, 0.6),
        0 0 80px rgba(6, 182, 212, 0.4);
    border-color: var(--accent-purple);
}

@keyframes conicSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.agent-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite, iconGlow 3s ease-in-out infinite;
    transition: all 0.4s ease;
}

.agent-card:hover .agent-icon {
    transform: scale(1.2) rotateY(360deg);
    text-shadow: 0 0 20px currentColor;
    animation: bounce 1s ease-in-out infinite, iconGlow 1.5s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }
    50% { 
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8)) drop-shadow(0 0 30px rgba(255, 0, 146, 0.6));
    }
}

.agent-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.agent-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.agent-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--accent-green);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse 2s ease-in-out infinite;
}

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

/* Orchestration Flow */
.orchestration-flow {
    background: var(--accent-bg);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
}

.flow-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
}

.flow-visualization {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.flow-node {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 15px;
    padding: 1rem 2rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.flow-node.request {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 122, 255, 0.3);
}

.flow-node.result {
    border-color: var(--accent-green);
    box-shadow: 0 0 20px rgba(48, 209, 88, 0.3);
}

.flow-arrows {
    display: flex;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

.arrow {
    width: 2px;
    height: 40px;
    background: var(--accent-blue);
    position: relative;
    opacity: 0;
    animation: flowDown 0.8s ease-in-out forwards;
}

.arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid var(--accent-blue);
}

.arrow-1 { animation-delay: 0.5s; }
.arrow-2 { animation-delay: 0.7s; }
.arrow-3 { animation-delay: 0.9s; }
.arrow-4 { animation-delay: 1.1s; }

@keyframes flowDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.flow-agents {
    display: flex;
    gap: 2rem;
}

.flow-agent {
    background: var(--accent-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.flow-agent:nth-child(1) { animation-delay: 1.5s; }
.flow-agent:nth-child(2) { animation-delay: 1.7s; }
.flow-agent:nth-child(3) { animation-delay: 1.9s; }
.flow-agent:nth-child(4) { animation-delay: 2.1s; }

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.flow-merge {
    position: relative;
}

.merge-arrow {
    width: 2px;
    height: 40px;
    background: var(--accent-green);
    position: relative;
    opacity: 0;
    animation: flowDown 0.8s ease-in-out 2.5s forwards;
}

.merge-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid var(--accent-green);
}

/* Analysis Section */
.analysis-section {
    padding: 6rem 0;
    background: var(--secondary-bg);
}

.demo-interface {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 600px;
}

.demo-sidebar {
    background: var(--accent-bg);
    padding: 2rem;
    border-right: 1px solid var(--glass-border);
}

.search-box {
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    outline: none;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.search-btn {
    width: 100%;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 5;
}

.search-btn:hover {
    background: var(--accent-blue-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(14, 165, 233, 0.3),
        0 4px 12px rgba(14, 165, 233, 0.2);
}

.analysis-types {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.analysis-type {
    padding: 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.analysis-type:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
}

.analysis-type.active {
    background: var(--accent-blue);
    color: white;
}

.demo-main {
    padding: 2rem;
}

.analysis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.symbol-info h3 {
    font-size: 2rem;
    font-weight: 700;
}

.company-name {
    color: var(--text-secondary);
    font-size: 1rem;
}

.analysis-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: var(--accent-bg);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-blue);
    width: 0%;
    border-radius: 2px;
    animation: fillProgress 3s ease-in-out infinite;
}

@keyframes fillProgress {
    0% { width: 0%; }
    50% { width: 75%; }
    100% { width: 100%; }
}

.progress-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.analysis-content {
    position: relative;
}

.analysis-card {
    display: none;
    background: var(--accent-bg);
    border-radius: 15px;
    padding: 2rem;
}

.analysis-card.active {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.indicators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.indicator {
    background: var(--glass-bg);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

.indicator-name {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.indicator-value {
    font-size: 1.25rem;
    font-weight: 600;
}

.indicator-value.bullish { color: var(--accent-green); }
.indicator-value.bearish { color: var(--accent-red); }
.indicator-value.neutral { color: var(--accent-orange); }

.chart-container {
    height: 200px;
    background: var(--glass-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-chart {
    width: 100%;
    height: 100%;
}

.research-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.metric {
    text-align: center;
}

.metric-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-blue);
}

.investment-summary {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.summary-score {
    text-align: center;
}

.score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-green) 0deg 295deg, var(--accent-bg) 295deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.score-circle::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--accent-bg);
    border-radius: 50%;
}

.score-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
    position: relative;
    z-index: 1;
}

.score-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.summary-text {
    flex: 1;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* AI Chat Section */
.chat-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--secondary-bg) 0%, var(--accent-bg) 100%);
}

.chat-demo {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.chat-header {
    background: var(--accent-bg);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ai-avatar {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chat-title h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.online-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse 2s ease-in-out infinite;
}

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

.message {
    display: flex;
    gap: 1rem;
    max-width: 80%;
}

.ai-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: var(--accent-blue);
}

.message-content {
    background: var(--accent-bg);
    border-radius: 15px;
    padding: 1rem 1.25rem;
    line-height: 1.6;
}

.user-message .message-content {
    background: var(--accent-blue);
}

.message-content ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.message-content li {
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.chat-input {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--glass-border);
    background: var(--accent-bg);
    gap: 1rem;
}

.chat-input input {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.send-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-blue);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
    position: relative;
    z-index: 5;
}

.send-button:hover {
    transform: scale(1.08) translateY(-1px);
    box-shadow: 
        0 8px 25px rgba(14, 165, 233, 0.4),
        0 4px 12px rgba(14, 165, 233, 0.3);
    background: var(--accent-blue-light);
}

.send-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Notifications Section */
.notifications-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--accent-bg) 0%, var(--primary-bg) 100%);
}

.notifications-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.alert-builder, .alerts-feed {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
}

.alert-builder h3, .alerts-feed h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-input, .form-select {
    background: var(--accent-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-submit {
    background: var(--accent-green);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    position: relative;
    z-index: 5;
}

.form-submit:hover {
    background: #28a745;
    transform: translateY(-2px);
}

.alert-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    background: var(--accent-bg);
    transition: all 0.3s ease;
}

.alert-item:hover {
    background: var(--glass-bg);
    transform: translateX(4px);
}

.alert-item.new {
    border-left: 4px solid var(--accent-green);
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-icon {
    font-size: 1.5rem;
    min-width: 2rem;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.alert-message {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.alert-time {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Platform Performance Stats */
.stats-section {
    padding: 6rem 0;
    background: var(--primary-bg);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.8s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hard);
    border-color: var(--accent-blue);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 0.25rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Pricing Section */
.pricing-section {
    padding: 6rem 0;
    background: var(--secondary-bg);
}

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

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(20px);
    text-align: center;
    position: relative;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
    animation: cardPulse 4s ease-in-out infinite;
}

.pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        var(--shadow-hard),
        0 0 40px rgba(14, 165, 233, 0.3),
        0 0 80px rgba(139, 92, 246, 0.2);
    border-color: var(--accent-blue);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.featured {
    border: 2px solid transparent;
    background: var(--glass-bg);
    background-image: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(236, 72, 153, 0.1) 100%);
    background-size: 400% 400%;
    animation: featuredGlow 6s ease infinite, cardFloat 4s ease-in-out infinite;
    transform: scale(1.05);
    box-shadow: 
        0 0 60px rgba(14, 165, 233, 0.5),
        0 0 120px rgba(139, 92, 246, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    padding: 2px;
    background: var(--gradient-rainbow);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: rainbowBorder 4s linear infinite;
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-15px);
    box-shadow: 
        0 0 80px rgba(14, 165, 233, 0.7),
        0 0 160px rgba(139, 92, 246, 0.5),
        0 30px 60px rgba(0, 0, 0, 0.4);
}

@keyframes featuredGlow {
    0% { 
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% { 
        background-position: 100% 50%;
        filter: brightness(1.2);
    }
    100% { 
        background-position: 0% 50%;
        filter: brightness(1);
    }
}

@keyframes cardFloat {
    0%, 100% { transform: scale(1.05) translateY(0px); }
    50% { transform: scale(1.05) translateY(-8px); }
}

@keyframes cardPulse {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 0.3; transform: scale(1.2); }
}

@keyframes rainbowBorder {
    0% { filter: hue-rotate(0deg) brightness(1.2); }
    100% { filter: hue-rotate(360deg) brightness(1.2); }
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-neon);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.6);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { 
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 20px rgba(236, 72, 153, 0.6);
    }
    50% { 
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 0 30px rgba(236, 72, 153, 0.8), 0 0 60px rgba(14, 165, 233, 0.4);
    }
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.pricing-card.featured .plan-name {
    color: var(--text-primary);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.plan-price {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: priceGlow 3s ease-in-out infinite;
}

.pricing-card.featured .price-amount {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: priceGlow 3s ease-in-out infinite;
    /* Removed rainbow animation for better readability */
}

@keyframes priceGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)); }
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.plan-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-features li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: bold;
}

.plan-button {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

.plan-button:hover {
    background: var(--glass-border);
    transform: translateY(-2px);
}

.plan-button.primary {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.plan-button.primary:hover {
    background: var(--accent-blue-dark);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.4);
}

/* API Section */
.api-section {
    padding: 6rem 0;
    background: var(--accent-bg);
}

.api-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.code-example, .api-response {
    background: var(--primary-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
}

.code-header, .response-header {
    background: var(--glass-bg);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-title {
    font-weight: 500;
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #28ca42; }

.code-content, .response-content {
    padding: 1.5rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

.response-header {
    background: var(--accent-green);
    color: white;
}

/* Footer */
.footer {
    background: var(--primary-bg);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}



/* Scroll Animations */
@keyframes fadeInOnScroll {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Animations for Demo */
.typing-animation {
    overflow: hidden;
    border-right: 2px solid var(--accent-blue);
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-blue); }
}

/* Additional utility animations */
.negative {
    color: var(--accent-red) !important;
}

@keyframes slideOutRight {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100px);
    }
}

.floating-particle {
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-10px) translateX(5px);
    }
    50% {
        transform: translateY(-20px) translateX(-5px);
    }
    75% {
        transform: translateY(-10px) translateX(5px);
    }
}

/* Enhanced Animation Keyframes */
@keyframes rippleExpand {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--vx, 0), var(--vy, 0)) scale(0);
        opacity: 0;
    }
}

@keyframes sparkleOut {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(0) rotate(360deg);
        opacity: 0;
    }
}

@keyframes clickRipple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) scale(0);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0) rotateZ(0deg); 
    }
    10% { 
        transform: translateY(-5px) rotateZ(-2deg); 
    }
    40% { 
        transform: translateY(-10px) rotateZ(2deg); 
    }
    60% { 
        transform: translateY(-5px) rotateZ(-1deg); 
    }
}

/* Additional vivid styles */
.notification-sparkles {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8rem;
    animation: sparkleGlow 2s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
    opacity: 0.7;
}

@keyframes sparkleGlow {
    0%, 100% { 
        opacity: 0.7;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Enhanced glow effects */
.glow-effect {
    filter: drop-shadow(0 0 10px currentColor);
}

.rainbow-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Removed rainbow animation for readability */
}

@keyframes rainbowShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(180deg); }
}

/* Enhanced section dividers with animation */
.section-divider {
    height: 2px;
    background: var(--gradient-rainbow);
    margin: 4rem 0;
    border-radius: 1px;
    animation: dividerPulse 4s ease-in-out infinite;
}

@keyframes dividerPulse {
    0%, 100% { 
        opacity: 0.6;
        transform: scaleX(1);
    }
    50% { 
        opacity: 1;
        transform: scaleX(1.02);
    }
}

/* Price period style enhancement */
.price-period {
    color: var(--text-secondary);
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.pricing-card.featured .price-period {
    color: var(--text-secondary);
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

/* Responsive glow adjustments */
@media (max-width: 768px) {
    .live-notification {
        animation: gradientShift 4s ease infinite;
    }
    
    .cta-primary {
        animation: breathe 6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    
    .floating-particles {
        animation: sparkle 20s linear infinite, colorShift 12s ease-in-out infinite;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-neon: 0 0 20px rgba(255, 255, 255, 0.8);
        --shadow-rainbow: 0 0 30px rgba(255, 255, 255, 0.6);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .logo-icon {
        animation: none;
    }
    
    .floating-particles {
        animation: none;
        opacity: 0.3;
    }
    
    .cta-primary {
        animation: none;
    }
    
    .pricing-card.featured {
        animation: none;
    }
    
    .live-notification {
        animation: none;
    }
}

/* Typing indicator animation */
.typing-indicator .message-content {
    padding: 1rem 1.25rem 0.5rem;
}

.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 20px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
    animation: typingDots 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0ms;
}

.typing-dots span:nth-child(2) {
    animation-delay: 200ms;
}

.typing-dots span:nth-child(3) {
    animation-delay: 400ms;
}

@keyframes typingDots {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Touch Active States */
.touch-active {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease !important;
    opacity: 0.9;
}

/* Swipe gesture indicators */
.live-notification {
    position: relative;
}

.live-notification::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.live-notification:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .live-notification::after {
        opacity: 0.6;
    }
    
    /* Additional mobile touch improvements */
    .nav-link, .mobile-nav-link, .tab, .analysis-type {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Better spacing for small screens */
    .hero-cta {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Optimize scrolling */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent zoom on inputs */
    input, select, textarea {
        font-size: 16px;
    }
} 

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    z-index: 999;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.mobile-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    display: block;
}

.mobile-nav-link:hover {
    color: var(--accent-blue);
    transform: translateX(10px);
    border-color: var(--accent-blue);
}

.mobile-nav-cta {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    min-height: 48px;
}

.mobile-nav-cta:hover {
    background: var(--accent-blue-light);
    transform: translateY(-2px);
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .demo-interface {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .demo-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .notifications-demo, .api-demo {
        grid-template-columns: 1fr;
    }

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

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

    .pricing-card.featured {
        transform: scale(1.02);
    }

    .pricing-card.featured:hover {
        transform: scale(1.05) translateY(-8px);
    }
    
    .flow-arrows {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .flow-agents {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    /* Typography */
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    /* Container and Spacing */
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 4rem 0 !important;
    }
    
    /* Hero Section */
    .hero {
        min-height: 80vh;
        padding-top: 6rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 300px;
        padding: 1.25rem 2rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    /* Trading Interface */
    .trading-interface {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .interface-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .header-tabs {
        width: 100%;
        justify-content: space-between;
    }
    
    .tab {
        flex: 1;
        text-align: center;
        font-size: 0.8rem;
        padding: 0.5rem 0.25rem;
    }
    
    .live-indicator {
        font-size: 0.8rem;
    }
    
    .stock-price {
        font-size: 1.5rem;
    }
    
    /* Agents Section */
    .agents-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .agent-card {
        padding: 1.5rem;
    }
    
    .agent-icon {
        font-size: 2.5rem;
    }
    
    .agent-title {
        font-size: 1.25rem;
    }
    
    /* Orchestration Flow */
    .orchestration-flow {
        padding: 2rem 1rem;
    }
    
    .flow-arrows {
        flex-direction: column;
        gap: 0.5rem;
        height: 60px;
    }
    
    .flow-agents {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .flow-agent {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    /* Analysis Section */
    .demo-interface {
        display: block;
    }
    
    .analysis-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .progress-bar {
        width: 100%;
        max-width: 200px;
    }
    
    .indicators-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .indicator {
        padding: 0.75rem;
    }
    
    .indicator-value {
        font-size: 1rem;
    }
    
    .investment-summary {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .research-metrics {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.75rem;
    }

    /* Chat Section */
    .chat-messages {
        height: 300px;
        padding: 1rem;
        gap: 1rem;
    }

    .message {
        max-width: 100%;
    }
    
    .message-avatar {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .message-content {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .chat-input {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .chat-input input {
        font-size: 1rem;
        padding: 0.875rem 1rem;
        min-height: 44px;
    }
    
    .send-button {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    /* Notifications */
    .notification-container {
        right: 1rem;
        left: 1rem;
        top: 80px;
    }

    .live-notification {
        min-width: auto;
        padding: 0.875rem 1rem;
    }
    
    .notification-header {
        gap: 0.5rem;
        margin-bottom: 0.375rem;
    }
    
    .notification-icon {
        font-size: 1.25rem;
    }
    
    .notification-title {
        font-size: 0.9rem;
    }
    
    .notification-message {
        font-size: 0.8rem;
    }

    .notifications-demo {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .alert-builder, .alerts-feed {
        padding: 1.5rem;
    }
    
    .form-input, .form-select {
        padding: 0.875rem 1rem;
        min-height: 44px;
        font-size: 1rem;
    }
    
    .form-submit {
        padding: 1rem;
        min-height: 48px;
        font-size: 1rem;
    }

    /* Stats Section */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-suffix {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }

    /* Pricing Section */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
        margin: 0;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .plan-badge {
        font-size: 0.8rem;
        padding: 0.375rem 1rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .plan-features {
        margin-bottom: 1.5rem;
    }
    
    .plan-features li {
        padding: 0.375rem 0;
        font-size: 0.9rem;
    }
    
    .plan-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
    }

    /* API Section */
    .api-demo {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .code-content, .response-content {
        padding: 1rem;
        font-size: 0.8rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
        font-size: 0.9rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .cta-primary, .cta-secondary {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .trading-interface {
        padding: 0.75rem;
    }
    
    .stock-symbol {
        font-size: 1.25rem;
    }
    
    .stock-price {
        font-size: 1.25rem;
    }
    
    .agent-card {
        padding: 1.25rem;
    }
    
    .agent-icon {
        font-size: 2rem;
    }
    
    .indicators-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-messages {
        height: 250px;
        padding: 0.75rem;
    }
    
    .notification-container {
        right: 0.75rem;
        left: 0.75rem;
    }
    
    .live-notification {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .mobile-menu-content {
        padding: 1.5rem;
    }
    
    .mobile-nav-link {
        font-size: 1.1rem;
    }
}

/* Touch-friendly improvements */
@media (pointer: coarse) {
    .nav-link, .mobile-nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .tab {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .analysis-type {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .agent-card, .pricing-card, .stat-item {
        min-height: 44px;
        cursor: default;
    }
    
    button, .form-input, .form-select, input[type="text"], input[type="number"] {
        min-height: 44px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .chart-line {
        stroke-width: 1.5;
    }
    
    .hamburger-line {
        height: 2px;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 5rem;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    
    .chat-messages {
        height: 200px;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    .floating-particles {
        display: none;
    }
    
    .pricing-card.featured {
        animation: none;
    }
    
    .agent-card::after {
        display: none;
    }
    
    .live-notification {
        animation: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .live-notification.show {
        animation: slideInFromRight 0.4s ease;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Reduced motion for mobile accessibility */
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-animate {
        opacity: 1;
        transform: translateY(0);
    }
}