 :root {
            --primary-cosmic-blue: #0a0e27;
            --secondary-deep-space: #1a1f3a;
            --accent-neon-cyan: #00d4ff;
            --accent-electric-purple: #8b5cf6;
            --accent-quantum-gold: #fbbf24;
            --accent-laser-red: #ef4444;
            --neutral-stellar-white: #ffffff;
            --neutral-cosmic-gray: #64748b;
            --gradient-cosmic-primary: linear-gradient(135deg, var(--primary-cosmic-blue) 0%, var(--secondary-deep-space) 50%, #2d1b69 100%);
            --gradient-neon-accent: linear-gradient(45deg, var(--accent-neon-cyan), var(--accent-electric-purple));
            --gradient-energy-burst: linear-gradient(45deg, var(--accent-quantum-gold), var(--accent-laser-red));
            --shadow-quantum-glow: 0 0 30px rgba(0, 212, 255, 0.3);
            --shadow-deep-space: 0 20px 60px rgba(0, 0, 0, 0.4);
            --animation-cosmic-float: cosmic-float 6s ease-in-out infinite;
            --animation-quantum-pulse: quantum-pulse 2s ease-in-out infinite;
            --animation-stellar-rotation: stellar-rotation 20s linear infinite;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .cosmic-foundation {
            font-family: 'Arial', 'Helvetica Neue', sans-serif;
            line-height: 1.6;
            color: var(--neutral-stellar-white);
            overflow-x: hidden;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            background: var(--gradient-cosmic-primary);
            min-height: 100vh;
            position: relative;
        }

        .quantum-grid-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
            background-size: 50px 50px;
            pointer-events: none;
            z-index: 1;
        }

        .stellar-particles-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 2;
            overflow: hidden;
        }

        .cosmic-particle {
            position: absolute;
            width: 3px;
            height: 3px;
            background: var(--accent-neon-cyan);
            border-radius: 50%;
            opacity: 0.6;
        }

        .cosmic-particle:nth-child(1) { left: 10%; top: 20%; }
        .cosmic-particle:nth-child(2) { left: 20%; top: 80%; }
        .cosmic-particle:nth-child(3) { left: 80%; top: 30%; }
        .cosmic-particle:nth-child(4) { left: 70%; top: 70%; }
        .cosmic-particle:nth-child(5) { left: 40%; top: 10%; }
        .cosmic-particle:nth-child(6) { left: 60%; top: 90%; }

        .ai-container-wrapper {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 10;
        }

        .hero-quantum-section {
            padding: 30px 0 20px;
            text-align: center;
            position: relative;
            z-index: 10;
        }

        .ai-badge-indicator {
            display: inline-block;
            background: var(--gradient-neon-accent);
            color: var(--neutral-stellar-white);
            padding: 6px 16px;
            border-radius: 25px;
            font-size: 0.85em;
            font-weight: 600;
            margin-bottom: 15px;
            box-shadow: var(--shadow-quantum-glow);
            animation: var(--animation-quantum-pulse);
        }

        .cosmic-title-primary {
            font-size: 3.2em;
            font-weight: 900;
            margin-bottom: 15px;
            background: var(--gradient-neon-accent);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradient-shift 3s ease-in-out infinite;
            line-height: 1.2;
            text-shadow: var(--shadow-quantum-glow);
        }

        .stellar-subtitle-description {
            font-size: 1.3em;
            margin-bottom: 20px;
            color: var(--neutral-cosmic-gray);
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.7;
        }

        .ai-visual-showcase-container {
            margin: 20px 0;
            position: relative;
        }

        .quantum-enhanced-image {
            max-width: 200px;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            border: 3px solid var(--accent-neon-cyan);
            box-shadow: var(--shadow-deep-space), var(--shadow-quantum-glow);
            object-fit: cover;
        }

        .neural-input-analysis-section {
            background: rgba(26, 31, 58, 0.8);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(0, 212, 255, 0.3);
            border-radius: 25px;
            padding: 30px 25px;
            margin: 20px 0;
            box-shadow: var(--shadow-deep-space);
            position: relative;
            overflow: hidden;
        }

        .neural-input-analysis-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
            animation: var(--animation-stellar-rotation);
            pointer-events: none;
        }

        .ai-input-interface-container {
            position: relative;
            z-index: 2;
        }

        .quantum-input-field-wrapper {
            margin-bottom: 30px;
        }

        .neural-text-input-element {
            width: 100%;
            padding: 18px 25px;
            font-size: 1.1em;
            background: rgba(10, 14, 39, 0.7);
            border: 2px solid var(--accent-neon-cyan);
            border-radius: 15px;
            color: var(--neutral-stellar-white);
            outline: none;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .neural-text-input-element:focus {
            border-color: var(--accent-electric-purple);
            box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
            transform: scale(1.02);
        }

        .neural-text-input-element::placeholder {
            color: var(--neutral-cosmic-gray);
            font-style: italic;
        }

        .quantum-action-button-primary {
            background: var(--gradient-energy-burst);
            color: var(--neutral-stellar-white);
            border: none;
            padding: 18px 40px;
            font-size: 1.2em;
            font-weight: 700;
            border-radius: 50px;
            cursor: pointer;
            box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            animation: var(--animation-quantum-pulse);
        }

        .quantum-action-button-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            animation: button-shine 3s infinite;
        }

        .quantum-action-button-primary:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 15px 40px rgba(251, 191, 36, 0.6);
            animation-play-state: paused;
        }

        .neural-processing-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            backdrop-filter: blur(10px);
        }

        .ai-processing-container-modal {
            background: var(--gradient-cosmic-primary);
            border: 2px solid var(--accent-neon-cyan);
            border-radius: 25px;
            padding: 40px;
            text-align: center;
            max-width: 500px;
            width: 90%;
            box-shadow: var(--shadow-deep-space), var(--shadow-quantum-glow);
            position: relative;
        }

        .quantum-close-button-interface {
            position: absolute;
            top: 10px;
            right: 15px;
            background: rgba(0, 0, 0, 0.5);
            border: 2px solid var(--accent-neon-cyan);
            color: var(--neutral-stellar-white);
            font-size: 20px;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1001;
        }

        .quantum-close-button-interface:hover {
            color: var(--accent-laser-red);
        }

        .circular-progress-quantum-indicator {
            width: 120px;
            height: 120px;
            border: 8px solid rgba(0, 212, 255, 0.2);
            border-top: 8px solid var(--accent-neon-cyan);
            border-radius: 50%;
            animation: progress-spin 1s linear infinite;
            margin: 0 auto 20px;
            position: relative;
        }

        .progress-percentage-display {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 1.5em;
            font-weight: bold;
            color: var(--accent-neon-cyan);
        }

        .ai-analysis-status-text {
            font-size: 1.1em;
            margin-bottom: 15px;
            color: var(--neutral-cosmic-gray);
        }

        .neural-processing-steps-list {
            list-style: none;
            margin-top: 20px;
        }

        .neural-processing-steps-list li {
            padding: 5px 0;
            color: var(--accent-quantum-gold);
            font-size: 0.95em;
        }

        .completion-report-modal-container {
            background: var(--gradient-cosmic-primary);
            border: 2px solid var(--accent-electric-purple);
            border-radius: 25px;
            padding: 40px;
            text-align: center;
            max-width: 500px;
            width: 90%;
            box-shadow: var(--shadow-deep-space), 0 0 30px rgba(139, 92, 246, 0.4);
        }

        .stellar-compliance-disclaimer-section {
            background: rgba(26, 31, 58, 0.9);
            border-top: 3px solid var(--accent-quantum-gold);
            padding: 25px;
            margin-top: 30px;
            border-radius: 20px;
            backdrop-filter: blur(10px);
        }

        .compliance-warning-title-highlight {
            color: var(--accent-quantum-gold);
            font-size: 1.4em;
            font-weight: bold;
            margin-bottom: 20px;
            text-align: center;
        }

        .regulatory-disclaimer-text-content {
            font-size: 0.95em;
            color: var(--neutral-cosmic-gray);
            line-height: 1.8;
            max-width: 900px;
            margin: 0 auto;
        }

        .regulatory-disclaimer-text-content ul {
            list-style: none;
            padding: 0;
        }

        .regulatory-disclaimer-text-content li {
            margin-bottom: 8px;
            padding-left: 20px;
            position: relative;
        }

        .regulatory-disclaimer-text-content li::before {
            content: '•';
            color: var(--accent-neon-cyan);
            position: absolute;
            left: 0;
        }

        .legal-footer-navigation-section {
            background: var(--primary-cosmic-blue);
            color: var(--neutral-stellar-white);
            padding: 30px 0;
            text-align: center;
            margin-top: 40px;
        }

        .footer-legal-links-container {
            margin-top: 20px;
        }

        .footer-legal-links-container a {
            color: var(--accent-neon-cyan);
            text-decoration: none;
            margin: 0 25px;
            transition: color 0.3s ease;
            font-weight: 600;
        }

        .footer-legal-links-container a:hover {
            color: var(--accent-electric-purple);
        }

        @keyframes cosmic-float {
            0%, 100% { 
                transform: translateY(0px) scale(1); 
                opacity: 0.7;
            }
            50% { 
                transform: translateY(-20px) scale(1.1); 
                opacity: 1;
            }
        }

        @keyframes quantum-pulse {
            0%, 100% { 
                transform: scale(1);
                box-shadow: var(--shadow-quantum-glow);
            }
            50% { 
                transform: scale(1.05);
                box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
            }
        }

        @keyframes stellar-rotation {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes gradient-shift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        @keyframes button-shine {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        @keyframes progress-spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @media (max-width: 768px) {
            .cosmic-title-primary {
                font-size: 2.2em;
                margin-bottom: 10px;
            }
            
            .stellar-subtitle-description {
                font-size: 1em;
                margin-bottom: 15px;
                line-height: 1.5;
            }
            
            .ai-container-wrapper {
                padding: 0 15px;
            }
            
            .hero-quantum-section {
                padding: 20px 0 15px;
            }
            
            .ai-badge-indicator {
                font-size: 0.8em;
                padding: 5px 12px;
                margin-bottom: 10px;
            }
            
            .ai-visual-showcase-container {
                margin: 15px 0;
            }
            
            .quantum-enhanced-image {
                width: 150px;
                height: 150px;
                max-width: 150px;
            }
            
            .neural-input-analysis-section {
                padding: 25px 15px;
                margin: 15px 0;
            }
            
            .quantum-input-field-wrapper {
                margin-bottom: 20px;
            }
            
            .ai-processing-container-modal,
            .completion-report-modal-container {
                width: 95%;
                padding: 30px 20px;
            }
        }

        .quantum-scroll-reveal-element {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease;
        }

        .quantum-scroll-reveal-element.stellar-revealed {
            opacity: 1;
            transform: translateY(0);
        }