﻿ :root {
            --primary-purple: #4a2c6d;
            --dark-purple: #2d1b4e;
            --light-purple: #6b4e8a;
            --gold: #d4af37;
            --light-gold: #f4e4a9;
            --text-light: #f8f9fa;
            --text-dark: #333;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
            color: var(--text-light);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 5px;
        }
        
        .stock-analysis-container {
            width: 100%;
            max-width: 700px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            border: 0px solid rgba(212, 175, 55, 0.2);
        }
        
        .stock-header {
            background: linear-gradient(90deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
            padding: 25px 20px;
            text-align: center;
            border-bottom: 2px solid var(--gold);
        }
        
        .stock-header h1 {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--gold);
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            letter-spacing: 1px;
        }
        
        .stock-main {
            padding: 30px;
        }
        
        .input-section {
            margin-bottom: 30px;
            text-align: center;
        }
        
        .input-section p {
            margin-bottom: 15px;
            font-size: 1.1rem;
            color: var(--light-gold);
        }
        
        .stock-input {
            width: 100%;
            max-width: 400px;
            padding: 14px 20px;
            border: 2px solid var(--light-purple);
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-light);
            font-size: 1rem;
            margin-bottom: 20px;
            transition: all 0.3s ease;
        }
        
        .stock-input:focus {
            outline: none;
            border-color: var(--gold);
            box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
        }
        
        .analyze-btn {
            background: linear-gradient(135deg, var(--gold) 0%, #b8941f 100%);
            color: var(--dark-purple);
            border: none;
            border-radius: 50px;
            padding: 14px 40px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
        }
        
        .analyze-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
        }
        
        .analyze-btn:active {
            transform: translateY(1px);
        }
        
        .report-container {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 15px;
            padding: 25px;
            margin-top: 20px;
            border: 1px solid rgba(212, 175, 55, 0.2);
            transition: all 0.5s ease;
        }
        
        .spinner-container {
            text-align: center;
            padding: 20px;
            display: none;
        }
        
        .hint {
            display: block;
            margin-bottom: 20px;
            font-size: 1.1rem;
            color: var(--light-gold);
        }
        
        .progress-container {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .progress-circle-background {
            fill: none;
            stroke: rgba(255, 255, 255, 0.1);
            stroke-width: 8;
        }
        
        .progress-circle {
            fill: none;
            stroke: var(--gold);
            stroke-width: 8;
            stroke-linecap: round;
            transform: rotate(-90deg);
            transform-origin: 50% 50%;
            transition: stroke-dashoffset 0.3s ease;
        }
        
        .spinner-text {
            fill: var(--gold);
            font-size: 14px;
            font-weight: bold;
            text-anchor: middle;
            dominant-baseline: central;
        }
        
        .report-content {
            line-height: 1.6;
            font-size: 1.05rem;
            color: rgba(255, 255, 255, 0.9);
        }
        
        .join-team-link {
            display: block;
            text-align: center;
            margin-top: 25px;
            padding: 15px;
            background: rgba(212, 175, 55, 0.15);
            border-radius: 10px;
            color: var(--light-gold);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 1px solid rgba(212, 175, 55, 0.3);
        }
        
        .join-team-link:hover {
            background: rgba(212, 175, 55, 0.25);
            transform: translateY(-2px);
        }
        
        .stock-footer {
            padding: 20px;
            text-align: center;
            background: rgba(0, 0, 0, 0.2);
            border-top: 1px solid rgba(212, 175, 55, 0.2);
        }
        
        .disclaimer {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 15px;
            line-height: 1.5;
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        .footer-links a {
            color: var(--light-gold);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s ease;
            padding: 8px 15px;
            border-radius: 5px;
            background: rgba(212, 175, 55, 0.1);
        }
        
        .footer-links a:hover {
            color: var(--gold);
            background: rgba(212, 175, 55, 0.2);
            text-decoration: none;
        }
        
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .modal-content {
            background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
            padding: 30px;
            border-radius: 15px;
            max-width: 600px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
            border: 2px solid var(--gold);
        }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            border-bottom: 1px solid var(--gold);
            padding-bottom: 10px;
        }
        
        .modal-title {
            font-size: 1.5rem;
            color: var(--gold);
            font-weight: 600;
        }
        
        .close-btn {
            background: none;
            border: none;
            color: var(--light-gold);
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.3s ease;
        }
        
        .close-btn:hover {
            color: var(--gold);
        }
        
        .modal-body {
            line-height: 1.6;
        }
        
        .modal-body h3 {
            color: var(--light-gold);
            margin: 15px 0 10px;
        }
        
        .modal-body p {
            margin-bottom: 15px;
        }
        
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 20px;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
        }
        
        .contact-item i {
            color: var(--gold);
            font-size: 1.2rem;
            width: 24px;
            text-align: center;
        }
        
        .contact-item a {
            color: var(--light-gold);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .contact-item a:hover {
            color: var(--gold);
            text-decoration: underline;
        }
        
        @media (max-width: 600px) {
            .stock-header h1 {
                font-size: 1.8rem;
            }
            
            .stock-main {
                padding: 20px;
            }
            
            .footer-links {
                flex-direction: column;
                gap: 10px;
            }
            
            .modal-content {
                padding: 20px;
            }
        }