:root {
            --primary-color: #3b82f6;
            --secondary-color: #1d4ed8;
            --accent-color: #60a5fa;
            --bg-light: #f8fafc;
            --bg-lighter: #ffffff;
            --bg-card: rgba(255, 255, 255, 0.95);
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --success-color: #10b981;
            --danger-color: #ef4444;
            --warning-color: #f59e0b;
            --grid-color: rgba(59, 130, 246, 0.08);
            --glow-color: rgba(59, 130, 246, 0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Grid Background */
        .page__background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--bg-light);
            background-image:
                linear-gradient(var(--grid-color) 1px, transparent 1px),
                linear-gradient(90deg, var(--grid-color) 1px, transparent 1px),
                linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
            background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
            background-position: 0 0, 0 0, 0 0, 0 0;
            z-index: -1;
            animation: gridMove 30s linear infinite;
        }

        @keyframes gridMove {
            0% {
                background-position: 0 0, 0 0, 0 0, 0 0;
            }

            100% {
                background-position: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
            }
        }

        /* Navigation */
        nav {
            background: var(--bg-card);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--primary-color);
            box-shadow: 0 0 20px var(--glow-color);
        }

        .nav__container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav__logo {
            font-size: 1.5rem;
            font-weight: bold;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 30px var(--glow-color);
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .nav__logo img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid var(--primary-color);
            box-shadow: 0 0 15px var(--glow-color);
            animation: logoSpin 3s ease-in-out infinite;
        }

        @keyframes logoSpin {

            0%,
            100% {
                transform: rotate(0deg);
            }

            50% {
                transform: rotate(360deg);
            }
        }

        .nav__links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav__links a {
            color: var(--text-primary);
            text-decoration: none;
            transition: all 0.3s;
            position: relative;
        }

        .nav__links a:hover {
            color: var(--primary-color);
        }

        .nav__links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: width 0.3s;
        }

        .nav__links a:hover::after {
            width: 100%;
        }

        /* Container */
        .page__container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* Hero Section */
        .hero {
            padding: 8rem 0 6rem;
            text-align: center;
            position: relative;
        }

        .hero__ai-avatar {
            width: 150px;
            height: 150px;
            margin: 0 auto 2rem;
            border-radius: 50%;
            border: 3px solid var(--primary-color);
            box-shadow: 0 0 40px var(--glow-color), 0 0 80px var(--glow-color);
            animation: float 3s ease-in-out infinite;
            display: block;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-20px);
            }
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 50px var(--glow-color);
            animation: glow 2s ease-in-out infinite alternate;
        }

        @keyframes glow {
            from {
                filter: drop-shadow(0 0 10px var(--glow-color));
            }

            to {
                filter: drop-shadow(0 0 20px var(--glow-color));
            }
        }

        .hero p {
            font-size: 1.3rem;
            color: var(--text-secondary);
            margin-bottom: 3rem;
        }

        /* Search Box */
        .search-box {
            max-width: 700px;
            margin: 0 auto;
            position: relative;
        }

        .search-box__input {
            width: 100%;
            padding: 1.5rem 2rem;
            font-size: 1.1rem;
            background: var(--bg-card);
            border: 2px solid var(--primary-color);
            border-radius: 50px;
            color: var(--text-primary);
            outline: none;
            transition: all 0.3s;
            box-shadow: 0 0 20px var(--glow-color);
        }

        .search-box__input:focus {
            box-shadow: 0 0 30px var(--glow-color);
            transform: translateY(-2px);
        }

        .search-box__btn {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            padding: 1rem 2.5rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border: none;
            border-radius: 50px;
            color: var(--bg-dark);
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
        }

        .search-box__btn:hover {
            transform: translateY(-50%) scale(1.05);
            box-shadow: 0 5px 20px var(--glow-color);
        }

        /* Features Grid */
        .features {
            padding: 4rem 0;
        }

        .features__grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .features__card {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 15px;
            border: 1px solid rgba(0, 255, 136, 0.3);
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .features__card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
            transition: left 0.5s;
        }

        .features__card:hover::before {
            left: 100%;
        }

        .features__card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 40px var(--glow-color);
            border-color: var(--primary-color);
        }

        .features__icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .features__card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }

        .features__card p {
            color: var(--text-secondary);
        }

        /* Stats Section */
        .stats {
            padding: 4rem 0;
            background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(0, 212, 255, 0.05));
        }

        .section__title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }

        .section__subtitle {
            text-align: center;
            color: var(--text-secondary);
            margin-bottom: 3rem;
        }

        .stats__grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.5rem;
            margin-top: 3rem;
        }

        @media (min-width: 768px) {
            .stats__grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .stats__grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        @media (min-width: 1400px) {
            .stats__grid {
                grid-template-columns: repeat(6, 1fr);
            }
        }

        .stats__card {
            background: var(--bg-card);
            padding: 1.8rem 1.5rem;
            border-radius: 15px;
            text-align: center;
            border: 1px solid rgba(251, 191, 36, 0.2);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        .stats__card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
            transition: left 0.6s;
        }

        .stats__card:hover::before {
            left: 100%;
        }

        .stats__card:hover {
            transform: translateY(-8px) scale(1.03);
            box-shadow: 0 15px 40px var(--glow-color);
            border-color: var(--primary-color);
        }

        .stats__number {
            font-size: 2.8rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 0.8rem;
            line-height: 1;
            letter-spacing: -0.02em;
            position: relative;
            z-index: 1;
        }

        .stats__label {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.4;
            font-weight: 500;
            position: relative;
            z-index: 1;
        }

        .stats__card:hover .stats__number {
            transform: scale(1.1);
            transition: transform 0.3s ease;
        }

        .stats__card:hover .stats__label {
            color: #ffffff;
        }

        /* Market Data Tables */
        .market-data {
            padding: 4rem 0;
        }

        .market-data__grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .market-data__table {
            background: var(--bg-card);
            border-radius: 15px;
            padding: 2rem;
            border: 1px solid rgba(0, 255, 136, 0.3);
            overflow: hidden;
        }

        .market-data__title {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: var(--primary-color);
            text-align: center;
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        th {
            background: rgba(0, 255, 136, 0.1);
            padding: 1rem;
            text-align: left;
            color: var(--primary-color);
            border-bottom: 2px solid var(--primary-color);
        }

        td {
            padding: 1rem;
            border-bottom: 1px solid rgba(0, 255, 136, 0.1);
        }

        tr:hover {
            background: rgba(0, 255, 136, 0.05);
        }

        .market-data__rank {
            font-weight: bold;
            color: var(--secondary-color);
        }

        .market-data__symbol {
            font-weight: bold;
            color: var(--primary-color);
        }

        .market-data__score {
            font-weight: bold;
            color: var(--success-color);
        }

        /* Insights Section */
        .insights {
            padding: 4rem 0;
        }

        .insights__grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .insights__card {
            background: var(--bg-card);
            padding: 2rem;
            border-radius: 15px;
            border: 1px solid rgba(0, 212, 255, 0.3);
            position: relative;
            overflow: hidden;
        }

        .insights__card::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100px;
            height: 100px;
            background: radial-gradient(circle, var(--glow-color), transparent);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .insights__card:hover::after {
            opacity: 1;
        }

        .insights__image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 212, 255, 0.2));
            border-radius: 10px;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            position: relative;
            overflow: hidden;
        }

        .insights__image::before {
            content: '';
            position: absolute;
            width: 200%;
            height: 200%;
            background: repeating-linear-gradient(45deg,
                    transparent,
                    transparent 10px,
                    rgba(0, 255, 136, 0.1) 10px,
                    rgba(0, 255, 136, 0.1) 20px);
            animation: slide 20s linear infinite;
        }

        @keyframes slide {
            0% {
                transform: translate(0, 0);
            }

            100% {
                transform: translate(50%, 50%);
            }
        }

        .insights__image img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 2px solid var(--primary-color);
            z-index: 1;
            box-shadow: 0 0 20px var(--glow-color);
        }

        .insights__card h3 {
            font-size: 1.4rem;
            margin-bottom: 1rem;
            color: var(--secondary-color);
        }

        .insights__card p {
            color: var(--text-secondary);
            line-height: 1.8;
        }

        /* CTA Section */
        .cta {
            padding: 6rem 0;
            text-align: center;
            background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 212, 255, 0.1));
        }

        .cta h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }

        .cta p {
            font-size: 1.2rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
        }

        .cta__btn {
            padding: 1.2rem 3rem;
            font-size: 1.1rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border: none;
            border-radius: 50px;
            color: var(--bg-dark);
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 5px 20px var(--glow-color);
        }

        .cta__btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 40px var(--glow-color);
        }

        /* Footer */
        footer {
            background: var(--bg-darker);
            padding: 3rem 0 1rem;
            border-top: 1px solid var(--primary-color);
        }

        .footer__content {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 3rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .footer__content > div {
            flex: 1;
            min-width: 250px;
        }

        .footer__links {
            list-style: none;
        }

        .footer__links li {
            margin-bottom: 0.5rem;
        }

        .footer__links a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer__links a:hover {
            color: var(--primary-color);
        }

        .footer__bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(0, 255, 136, 0.2);
            color: var(--text-secondary);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .nav__links {
                gap: 1rem;
                font-size: 0.9rem;
            }

            .market-data__grid,
            .features__grid,
            .insights__grid {
                grid-template-columns: 1fr;
            }

            .search-box__btn {
                position: static;
                transform: none;
                width: 100%;
                margin-top: 1rem;
            }
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .u-fade-in {
            animation: fadeIn 0.6s ease-out;
        }

        /* Ticker Animation */
        .ticker {
            background: rgba(0, 255, 136, 0.1);
            padding: 1rem 0;
            overflow: hidden;
            border-top: 1px solid var(--primary-color);
            border-bottom: 1px solid var(--primary-color);
        }

        .ticker__content {
            display: flex;
            animation: ticker 30s linear infinite;
        }

        .ticker__item {
            padding: 0 3rem;
            white-space: nowrap;
            color: var(--text-secondary);
        }

        .ticker__up {
            color: var(--success-color);
        }

        .ticker__down {
            color: var(--danger-color);
        }

        @keyframes ticker {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(5, 8, 20, 0.95);
            backdrop-filter: blur(10px);
            animation: modalFadeIn 0.3s ease-out;
        }

        .modal--active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        @keyframes modalFadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .modal__content {
            background: var(--bg-card);
            border: 2px solid var(--primary-color);
            border-radius: 20px;
            padding: 3rem;
            max-width: 600px;
            width: 90%;
            position: relative;
            box-shadow: 0 0 50px var(--glow-color), 0 0 100px var(--glow-color);
            animation: modalSlideIn 0.4s ease-out;
            text-align: center;
        }

        @keyframes modalSlideIn {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal__close {
            position: absolute;
            top: 1rem;
            right: 1.5rem;
            font-size: 2rem;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.3s;
            background: none;
            border: none;
            line-height: 1;
        }

        .modal__close:hover {
            color: var(--primary-color);
            transform: rotate(90deg);
        }

        .modal__ai-avatar {
            width: 100px;
            height: 100px;
            margin: 0 auto 2rem;
            border-radius: 50%;
            border: 3px solid var(--primary-color);
            box-shadow: 0 0 30px var(--glow-color);
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                transform: scale(1);
                box-shadow: 0 0 30px var(--glow-color);
            }

            50% {
                transform: scale(1.05);
                box-shadow: 0 0 50px var(--glow-color);
            }
        }

        .modal__title {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .modal__text {
            color: var(--text-secondary);
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 2rem;
        }

        .modal__notice {
            color: var(--warning-color);
            font-size: 0.95rem;
            margin-bottom: 2rem;
            padding: 1rem;
            background: rgba(245, 158, 11, 0.1);
            border-radius: 10px;
            border: 1px solid rgba(245, 158, 11, 0.3);
        }

        .modal__btn {
            padding: 1.2rem 3rem;
            font-size: 1.1rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border: none;
            border-radius: 50px;
            color: var(--bg-dark);
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 5px 20px var(--glow-color);
            display: block;
            margin: 0 auto;
        }

        .modal__btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 40px var(--glow-color);
        }

        /* Analysis Progress Styles */
        .analysis-progress {
            margin: 2rem 0;
            text-align: left;
        }

        .progress-bar {
            position: relative;
            width: 100%;
            height: 12px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50px;
            overflow: hidden;
            margin-bottom: 2rem;
            border: 1px solid rgba(251, 191, 36, 0.3);
        }

        .progress-bar__fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
            border-radius: 50px;
            transition: width 0.5s ease-out;
            position: relative;
            box-shadow: 0 0 20px var(--glow-color);
        }

        .progress-bar__fill::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .progress-bar__percentage {
            position: absolute;
            right: 0;
            top: -25px;
            font-size: 0.9rem;
            font-weight: bold;
            color: var(--primary-color);
            text-shadow: 0 0 10px var(--glow-color);
        }

        /* Loading Dots Animation */
        .loading-dots {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin-top: 1.5rem;
        }

        .loading-dots span {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--primary-color);
            animation: loadingDot 1.4s ease-in-out infinite;
            box-shadow: 0 0 10px var(--glow-color);
        }

        .loading-dots span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .loading-dots span:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes loadingDot {
            0%, 60%, 100% {
                transform: scale(1);
                opacity: 0.7;
            }
            30% {
                transform: scale(1.3);
                opacity: 1;
            }
        }

        /* Cookie Banner */
        .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--bg-card);
            backdrop-filter: blur(10px);
            border-top: 2px solid var(--primary-color);
            padding: 1.5rem;
            z-index: 9998;
            box-shadow: 0 -5px 30px var(--glow-color);
            transform: translateY(100%);
            transition: transform 0.4s ease-out;
        }

        .cookie-banner--show {
            transform: translateY(0);
        }

        .cookie-banner__content {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .cookie-banner__text {
            flex: 1;
            min-width: 300px;
        }

        .cookie-banner__text h4 {
            color: var(--primary-color);
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        .cookie-banner__text p {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .cookie-banner__text a {
            color: var(--secondary-color);
            text-decoration: none;
            transition: color 0.3s;
        }

        .cookie-banner__text a:hover {
            color: var(--primary-color);
        }

        .cookie-banner__buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .cookie-banner__btn {
            padding: 0.8rem 2rem;
            border: none;
            border-radius: 50px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.95rem;
        }

        .cookie-banner__btn--accept {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: var(--bg-dark);
            box-shadow: 0 3px 15px var(--glow-color);
        }

        .cookie-banner__btn--accept:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 25px var(--glow-color);
        }

        .cookie-banner__btn--decline {
            background: transparent;
            color: var(--text-secondary);
            border: 1px solid var(--text-secondary);
        }

        .cookie-banner__btn--decline:hover {
            color: var(--primary-color);
            border-color: var(--primary-color);
        }

        @media (max-width: 768px) {
            .cookie-banner__content {
                flex-direction: column;
                align-items: flex-start;
            }

            .cookie-banner__buttons {
                width: 100%;
            }

            .cookie-banner__btn {
                flex: 1;
            }
        }