:root {
            --bg-primary: #080D1B;
            --bg-secondary: #0D1421;
            --bg-card: rgba(17, 24, 39, 0.7);
            --bg-card-solid: #111827;
            --bg-card-hover: rgba(26, 35, 50, 0.9);
            --accent-blue: #1199FA;
            --accent-blue-light: #4DB5FF;
            --accent-blue-glow: #92D1FF;
            --accent-blue-dim: rgba(17, 153, 250, 0.15);
            --accent-blue-bg: rgba(17, 153, 250, 0.08);
            --text-primary: #F7F9FA;
            --text-secondary: #9CA3AF;
            --text-muted: #6B7280;
            --border-color: rgba(255, 255, 255, 0.06);
            --border-hover: rgba(17, 153, 250, 0.4);
            --success: #10B981;
            --warning: #F59E0B;
            --danger: #EF4444;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 24px;
            --glass-bg: rgba(13, 20, 33, 0.8);
            --glass-border: rgba(255, 255, 255, 0.08);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: #0B1419;
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            padding-top: 46px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
            font-feature-settings: 'kern' 1, 'liga' 1;
        }

        /* ==================== TOP TICKER ==================== */
        .top-ticker {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 46px;
            background: #0B1419;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            z-index: 1000;
        }

        .top-ticker .tradingview-widget-container {
            height: 46px !important;
        }

        /* TradingView Ticker - Larger on Mobile */
        @media (max-width: 768px) {
            .top-ticker,
            .top-ticker .tradingview-widget-container {
                height: 46px !important;
            }

            .top-ticker .tradingview-widget-container iframe {
                height: 46px !important;
            }
        }

        /* ==================== NAVIGATION ==================== */
        .navbar {
            position: fixed;
            top: 46px;
            left: 0;
            right: 0;
            height: 72px;
            background: rgba(11, 20, 25, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            z-index: 999;
            display: flex;
            align-items: center;
            padding: 0 40px;
            transition: all 0.3s ease;
        }

        .navbar.scrolled {
            background: rgba(11, 20, 25, 0.98);
        }

        .nav-container {
            max-width: 1400px;
            width: 100%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            transition: transform 0.3s ease;
        }

        .nav-logo:hover {
            transform: scale(1.02);
        }

        .nav-logo img {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(17, 153, 250, 0.3);
            transition: box-shadow 0.3s ease;
        }

        .nav-logo:hover img {
            box-shadow: 0 0 30px rgba(17, 153, 250, 0.5);
        }

        .nav-logo-text {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: -0.5px;
        }

        .nav-logo-text span {
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-glow));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 8px;
            list-style: none;
        }

        .nav-links a, .nav-dropdown-trigger {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            padding: 10px 16px;
            border-radius: var(--radius-md);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 6px;
            left: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-light));
            transition: all 0.3s ease;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .nav-links a:hover::after, .nav-links a.active::after {
            width: calc(100% - 32px);
        }

        .nav-links a:hover, .nav-dropdown-trigger:hover {
            color: var(--text-primary);
            background: var(--accent-blue-bg);
        }

        .nav-links a.active {
            color: var(--accent-blue-light);
            background: var(--accent-blue-bg);
        }

        .nav-dropdown-trigger::after {
            content: '';
            border: solid var(--text-secondary);
            border-width: 0 2px 2px 0;
            padding: 2px;
            transform: rotate(45deg);
            margin-top: -2px;
            transition: transform 0.3s ease;
        }

        .nav-item:hover .nav-dropdown-trigger::after {
            transform: rotate(-135deg);
            margin-top: 2px;
        }

        .nav-item {
            position: relative;
        }

        .nav-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            background: #0F1A20;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: var(--radius-lg);
            padding: 10px;
            min-width: 240px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }

        .nav-item:hover .nav-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        .nav-dropdown a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            border-radius: var(--radius-md);
            font-size: 0.9rem;
            transition: all 0.2s ease;
        }

        .nav-dropdown a::after {
            display: none;
        }

        .nav-dropdown a:hover {
            background: var(--accent-blue-bg);
            transform: translateX(4px);
        }

        .nav-cta {
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light)) !important;
            color: var(--bg-primary) !important;
            font-weight: 600 !important;
            box-shadow: 0 0 20px rgba(17, 153, 250, 0.4);
            position: relative;
            overflow: hidden;
        }

        .nav-cta::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.5s ease;
        }

        .nav-cta:hover::before {
            left: 100%;
        }

        .nav-cta:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 0 30px rgba(17, 153, 250, 0.6), 0 10px 30px rgba(17, 153, 250, 0.3) !important;
        }

        .nav-cta::after {
            display: none !important;
        }

        /* Mobile menu */
        .menu-toggle {
            display: none;
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
            border: none;
            border-radius: var(--radius-md);
            width: 44px;
            height: 44px;
            cursor: pointer;
            color: var(--bg-primary);
            font-size: 20px;
            box-shadow: 0 0 20px rgba(17, 153, 250, 0.3);
            transition: all 0.3s ease;
        }

        .menu-toggle:hover {
            box-shadow: 0 0 30px rgba(17, 153, 250, 0.5);
            transform: scale(1.05);
        }

        .mobile-menu {
            position: fixed;
            top: 46px;
            right: -100%;
            width: 100%;
            max-width: 320px;
            height: calc(100vh - 46px);
            background: #0D171D;
            border-left: 1px solid rgba(255, 255, 255, 0.06);
            z-index: 1001;
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            overflow-y: auto;
            padding: 20px;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu-overlay {
            position: fixed;
            top: 46px;
            left: 0;
            width: 100%;
            height: calc(100vh - 46px);
            background: rgba(0, 0, 0, 0.6);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .mobile-menu a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            border-radius: var(--radius-md);
            transition: all 0.2s;
            margin-bottom: 4px;
        }

        .mobile-menu a:hover, .mobile-menu a.active {
            color: var(--text-primary);
            background: var(--accent-blue-dim);
        }

        /* ==================== HERO SECTION ==================== */
        .hero {
            min-height: calc(100vh - 118px);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 160px 20px 100px;
            position: relative;
            z-index: 1;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.04));
            border: 1px solid rgba(245, 158, 11, 0.25);
            border-radius: 100px;
            padding: 12px 28px;
            margin-bottom: 36px;
            animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            box-shadow: 0 0 30px rgba(245, 158, 11, 0.1);
            transition: all 0.3s ease;
        }

        .hero-badge:hover {
            box-shadow: 0 0 40px rgba(245, 158, 11, 0.2);
            transform: translateY(-2px);
        }

        .hero-badge-icon {
            font-size: 1.2rem;
            animation: pulse 2s ease-in-out infinite;
        }

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

        .hero-badge-text {
            font-size: 0.85rem;
            font-weight: 600;
            color: #F59E0B;
            letter-spacing: 0.5px;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 6vw, 5rem);
            font-weight: 800;
            line-height: 1.05;
            margin-bottom: 28px;
            letter-spacing: -2px;
            animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
        }

        .hero h1 .highlight {
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-glow), var(--accent-blue-light));
            background-size: 200% 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradientShift 5s ease infinite;
            position: relative;
        }

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

        .hero-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.35rem);
            color: var(--text-secondary);
            max-width: 650px;
            margin-bottom: 48px;
            font-weight: 400;
            line-height: 1.8;
            animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
            animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 16px 32px;
            border-radius: var(--radius-md);
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            border: none;
            position: relative;
            overflow: hidden;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
            color: var(--bg-primary);
            box-shadow: 0 0 30px rgba(17, 153, 250, 0.4), 0 4px 15px rgba(17, 153, 250, 0.3);
        }

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

        .btn-primary:hover::before {
            left: 100%;
        }

        .btn-primary:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 0 50px rgba(17, 153, 250, 0.5), 0 15px 40px rgba(17, 153, 250, 0.4);
        }

        .btn-secondary {
            background: rgba(17, 153, 250, 0.1);
            color: var(--accent-blue-glow);
            border: 1px solid rgba(17, 153, 250, 0.3);
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            background: rgba(17, 153, 250, 0.2);
            border-color: rgba(17, 153, 250, 0.5);
            transform: translateY(-3px);
            box-shadow: 0 0 30px rgba(17, 153, 250, 0.2);
        }

        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            color: var(--text-muted);
            font-size: 0.85rem;
            animation: bounce 2s infinite;
            opacity: 0.7;
            transition: opacity 0.3s ease;
        }

        .scroll-indicator:hover {
            opacity: 1;
        }

        @keyframes bounce {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(8px); }
        }

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

        /* ==================== SECTIONS ==================== */
        .section {
            padding: 120px 20px;
            position: relative;
            z-index: 1;
        }

        .section-dark {
            background: #0D171D;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 70px;
        }

        .section-header h2 {
            font-size: clamp(1.75rem, 4vw, 2.75rem);
            font-weight: 700;
            margin-bottom: 18px;
            letter-spacing: -1px;
            background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-header p {
            color: var(--text-secondary);
            font-size: 1.15rem;
            max-width: 550px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* ==================== SERVICES GRID ==================== */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }

        .service-card {
            background: #0F1A20;
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: var(--radius-lg);
            padding: 36px;
            text-decoration: none;
            color: inherit;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-light));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .service-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at top right, rgba(17, 153, 250, 0.1), transparent 50%);
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
        }

        .service-card:hover {
            background: #132028;
            border-color: rgba(17, 153, 250, 0.3);
            transform: translateY(-8px);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-card:hover::after {
            opacity: 1;
        }

        .service-icon {
            width: 48px;
            height: 48px;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(17, 153, 250, 0.15), rgba(17, 153, 250, 0.05));
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .service-icon svg {
            width: 24px;
            height: 24px;
            stroke: var(--accent-blue);
            stroke-width: 2;
            fill: none;
        }

        .service-card:hover .service-icon {
            background: linear-gradient(135deg, rgba(17, 153, 250, 0.25), rgba(17, 153, 250, 0.1));
            transform: scale(1.05);
        }

        .service-card h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text-primary);
            transition: color 0.3s ease;
        }

        .service-card:hover h3 {
            color: var(--accent-blue-light);
        }

        .service-card p {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 16px;
        }

        .service-tag {
            display: inline-block;
            background: var(--accent-blue-bg);
            color: var(--accent-blue-light);
            padding: 8px 14px;
            border-radius: 100px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border: 1px solid rgba(17, 153, 250, 0.2);
            transition: all 0.3s ease;
        }

        .service-card:hover .service-tag {
            background: rgba(17, 153, 250, 0.2);
            box-shadow: 0 0 15px rgba(17, 153, 250, 0.3);
        }

        /* ==================== NEWS GRID ==================== */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 24px;
        }

        .news-card {
            background: #0F1A20;
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .news-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(17, 153, 250, 0.05), transparent);
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
        }

        .news-card:hover {
            border-color: var(--border-hover);
            transform: translateY(-6px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(17, 153, 250, 0.1);
        }

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

        .news-card-content {
            padding: 28px;
            position: relative;
            z-index: 1;
        }

        .news-source {
            display: inline-block;
            background: var(--accent-blue-bg);
            color: var(--accent-blue-light);
            padding: 6px 12px;
            border-radius: 100px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 14px;
            border: 1px solid rgba(17, 153, 250, 0.2);
        }

        .news-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 12px;
            line-height: 1.5;
        }

        .news-title a {
            color: var(--text-primary);
            text-decoration: none;
            transition: color 0.3s ease;
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
            -webkit-background-clip: text;
            background-clip: text;
        }

        .news-title a:hover {
            -webkit-text-fill-color: transparent;
        }

        .news-date {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        /* ==================== PATTERN TESTER ==================== */
        .tester-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 40px;
            max-width: 800px;
            margin: 0 auto;
            backdrop-filter: blur(20px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .tester-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #f7931a, #627eea, transparent);
            animation: cryptoBorderSlide 4s ease-in-out infinite;
        }

        @keyframes cryptoBorderSlide {
            0% { left: -100%; }
            50% { left: 100%; }
            100% { left: 100%; }
        }

        .tester-card h3 {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #f7931a, #627eea);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 30px rgba(247, 147, 26, 0.3);
        }

        .tester-card > p {
            font-size: 1.1rem;
            color: #b0b0b0;
            margin-bottom: 30px;
            line-height: 1.6;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .crypto-disclaimer {
            background: linear-gradient(135deg, rgba(247, 147, 26, 0.1), rgba(98, 126, 234, 0.05));
            border: 2px solid rgba(247, 147, 26, 0.3);
            border-radius: 15px;
            padding: 20px;
            margin: 25px 0;
            text-align: left;
            position: relative;
            overflow: hidden;
        }

        .crypto-disclaimer::before {
            content: '\26A0\FE0F';
            position: absolute;
            top: 12px;
            right: 16px;
            font-size: 1.8rem;
            opacity: 0.3;
        }

        .crypto-disclaimer p {
            color: #f7931a;
            font-size: 0.9rem;
            line-height: 1.6;
            margin: 0;
            font-weight: 500;
        }

        .crypto-disclaimer strong {
            color: #fbbf24;
            font-size: 0.95rem;
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-group label {
            display: block;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 10px;
        }

        .form-group select {
            width: 100%;
            padding: 14px 18px;
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            color: var(--text-primary);
            font-size: 1rem;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.2s;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231199FA' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
        }

        .form-group select:hover,
        .form-group select:focus {
            border-color: var(--accent-blue);
            outline: none;
        }

        .form-group select option {
            background: var(--bg-secondary);
            color: var(--text-primary);
        }

        .submit-btn {
            width: 100%;
            padding: 16px;
            background: var(--accent-blue);
            border: none;
            border-radius: var(--radius-md);
            color: var(--bg-primary);
            font-size: 1rem;
            font-weight: 600;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .submit-btn:hover {
            background: var(--accent-blue-light);
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(17, 153, 250, 0.3);
        }

        #loading {
            display: none;
            text-align: center;
            padding: 40px;
        }

        .loading-spinner {
            font-size: 2.5rem;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        #result {
            display: none;
            margin-top: 24px;
        }

        /* Result Styles */
        .analysis-success {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 24px;
        }

        .analysis-header {
            text-align: center;
            margin-bottom: 24px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-color);
        }

        .analysis-title {
            font-size: 1.25rem;
            color: var(--accent-blue);
            margin-bottom: 6px;
        }

        .crypto-symbol {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .pattern-section {
            text-align: center;
            margin-bottom: 24px;
        }

        .pattern-label {
            color: var(--text-muted);
            font-size: 0.85rem;
            margin-bottom: 10px;
        }

        .pattern-badge {
            display: inline-block;
            background: var(--accent-blue-dim);
            border: 1px solid var(--border-hover);
            padding: 12px 24px;
            border-radius: 100px;
            font-size: 1rem;
            font-weight: 600;
            color: var(--accent-blue);
        }

        .confidence-display {
            margin-top: 20px;
            padding: 16px;
            background: var(--bg-card);
            border-radius: var(--radius-md);
        }

        .confidence-bar {
            height: 8px;
            background: var(--border-color);
            border-radius: 4px;
            overflow: hidden;
        }

        .confidence-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-light));
            border-radius: 4px;
            transition: width 1s ease;
        }

        .trading-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 12px;
            margin-top: 24px;
        }

        .trading-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 16px;
            text-align: center;
        }

        .card-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-bottom: 6px;
        }

        .card-value {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 4px;
        }

        .card-value.price-value {
            color: var(--accent-blue);
        }

        .card-subtitle {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .direction-card {
            grid-column: 1 / -1;
            padding: 24px;
            border-radius: var(--radius-lg);
            text-align: center;
        }

        .direction-card.buy {
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.3);
        }

        .direction-card.sell {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
        }

        .direction-icon {
            font-size: 2.5rem;
            margin-bottom: 12px;
        }

        .direction-text {
            font-size: 1.75rem;
            font-weight: 800;
            letter-spacing: 2px;
        }

        .direction-text.buy { color: var(--success); }
        .direction-text.sell { color: var(--danger); }

        .signal-strength {
            margin-top: 12px;
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        .market-data {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-top: 20px;
            padding: 16px;
            background: var(--bg-card);
            border-radius: var(--radius-md);
        }

        .market-item {
            text-align: center;
        }

        .market-label {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-bottom: 4px;
        }

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

        .analysis-info {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 32px;
            text-align: center;
        }

        .info-icon {
            font-size: 3rem;
            margin-bottom: 16px;
        }

        .info-title {
            font-size: 1.25rem;
            margin-bottom: 12px;
        }

        .info-message {
            color: var(--text-secondary);
            margin-bottom: 16px;
        }

        .info-details {
            text-align: left;
            background: var(--bg-secondary);
            padding: 16px;
            border-radius: var(--radius-md);
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.8;
        }

        /* ==================== CHART SECTION ==================== */
        .chart-container {
            background: #0F1A20;
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: var(--radius-xl);
            height: 500px;
            overflow: hidden;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
        }

        /* ==================== DISCLAIMER ==================== */
        .disclaimer {
            background: rgba(245, 158, 11, 0.08);
            border: 1px solid rgba(245, 158, 11, 0.2);
            border-radius: var(--radius-lg);
            padding: 24px 28px;
            margin-top: 48px;
        }

        .disclaimer p {
            color: #D97706;
            font-size: 0.9rem;
            line-height: 1.7;
        }

        .disclaimer strong {
            color: #F59E0B;
        }

        /* ==================== FOOTER ==================== */
        footer {
            background: #0D171D;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding: 80px 20px 40px;
            position: relative;
            z-index: 1;
        }

        .footer-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 28px;
            margin-bottom: 36px;
        }

        .footer-links a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .footer-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-light));
            transition: width 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--accent-blue-light);
        }

        .footer-links a:hover::after {
            width: 100%;
        }

        <a href="https://t.me/swissquantch" target="_blank" rel="noopener" class="footer-telegram"><svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor"><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg> Join our Telegram Channel</a>
        .footer-copyright {
            text-align: center;
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        /* ==================== RESPONSIVE ==================== */
        @media (max-width: 991px) {
            .navbar {
                padding: 0 20px;
            }

            .nav-links {
                display: none;
            }

            .menu-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .hero {
                padding: 140px 20px 80px;
            }
        }

        @media (max-width: 768px) {
            body {
                padding-top: 46px;
            }

            .top-ticker {
                height: 46px;
            }

            .top-ticker .tradingview-widget-container {
                height: 46px !important;
            }

            .navbar {
                top: 60px;
                height: 64px;
            }

            .hero {
                min-height: auto;
                padding: 120px 20px 60px;
            }

            .hero h1 {
                letter-spacing: -1px;
            }

            .hero-buttons {
                flex-direction: column;
                width: 100%;
                max-width: 280px;
            }

            .btn {
                justify-content: center;
            }

            .section {
                padding: 60px 20px;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            .news-grid {
                grid-template-columns: 1fr;
            }

            .tester-card {
                padding: 24px;
            }

            .market-data {
                grid-template-columns: 1fr;
            }

            .scroll-indicator {
                display: none;
            }
        }

        @media (min-width: 992px) {
            .mobile-menu, .mobile-menu-overlay {
                display: none !important;
            }
        }

        /* Telegram Nav Button */
        .nav-telegram {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            background: linear-gradient(135deg, #0088cc, #0077b5);
            color: #fff !important;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none !important;
            transition: all 0.3s ease;
            white-space: nowrap;
        }
        .nav-telegram:hover {
            background: linear-gradient(135deg, #00a2ed, #0088cc);
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
        }
        .nav-telegram svg {
            flex-shrink: 0;
        }
        /* Footer Telegram */
        .footer-telegram {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 12px;
            padding: 10px 20px;
            background: linear-gradient(135deg, #0088cc, #0077b5);
            color: #fff !important;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none !important;
            transition: all 0.3s ease;
        }
        .footer-telegram:hover {
            background: linear-gradient(135deg, #00a2ed, #0088cc);
            box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
            transform: translateY(-2px);
        }
        .footer-telegram svg {
            width: 20px;
            height: 20px;
        }
    
        /* OSHI Nav Button */
        .nav-oshi {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 8px 16px;
            background: linear-gradient(135deg, #8B5CF6, #6D28D9);
            color: #fff !important;
            border-radius: 8px;
            font-family: 'Inter', -apple-system, sans-serif;
            font-size: 13px;
            font-weight: 900;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            text-decoration: none !important;
            transition: all 0.3s ease;
            white-space: nowrap;
            cursor: pointer;
        }
        .nav-oshi:hover {
            background: linear-gradient(135deg, #A78BFA, #8B5CF6);
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
        }
        .nav-oshi img, .footer-oshi img {
            width: 20px;
            height: 20px;
            border-radius: 4px;
            flex-shrink: 0;
        }
        .nav-oshi span, .footer-oshi span {
            position: relative;
            top: -1px;
        }
        /* Footer OSHI */
        .footer-oshi {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 12px;
            margin-left: 12px;
            padding: 10px 20px;
            background: linear-gradient(135deg, #8B5CF6, #6D28D9);
            color: #fff !important;
            border-radius: 10px;
            font-family: 'Inter', -apple-system, sans-serif;
            font-size: 14px;
            font-weight: 900;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            text-decoration: none !important;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        .footer-oshi:hover {
            background: linear-gradient(135deg, #A78BFA, #8B5CF6);
            box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
            transform: translateY(-2px);
        }
        /* Footer Telegram */
        .footer-telegram {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 12px;
            padding: 10px 20px;
            background: linear-gradient(135deg, #0088cc, #0077b5);
            color: #fff !important;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none !important;
            transition: all 0.3s ease;
        }
        .footer-telegram:hover {
            background: linear-gradient(135deg, #00a2ed, #0088cc);
            box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
            transform: translateY(-2px);
        }
        .footer-telegram svg {
            width: 20px;
            height: 20px;
        }
        /* Contact Button - Premium Style */
        .nav-cta {
            background: linear-gradient(135deg, #1199FA, #4DB5FF) !important;
            color: #080D1B !important;
            font-weight: 600 !important;
            box-shadow: 0 0 20px rgba(17, 153, 250, 0.4);
            position: relative;
            overflow: hidden;
        }
        .nav-cta::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.5s ease;
        }
        .nav-cta:hover::before {
            left: 100%;
        }
        .nav-cta:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 0 30px rgba(17, 153, 250, 0.6), 0 10px 30px rgba(17, 153, 250, 0.3) !important;
        }
        .nav-cta::after {
            display: none !important;
        }

    
        /* Terminal Link */
        a.terminal-link { color: #f59e0b !important; font-weight: 700 !important; position: relative; }
        a.terminal-link:hover { color: #f97316 !important; }
        .t-badge {
            display: inline-block;
            background: linear-gradient(135deg, #f59e0b, #f97316);
            color: #1a1a2e; font-size: 0.55rem; font-weight: 700;
            padding: 2px 6px; border-radius: 4px; margin-left: 5px;
            vertical-align: middle; text-transform: uppercase;
        }
        .t-live {
            display: inline-block; width: 6px; height: 6px;
            background: #22c55e; border-radius: 50%;
            margin-left: 5px; vertical-align: middle;
            animation: tLivePulse 2s ease-in-out infinite;
        }
        @keyframes tLivePulse {
            0%, 100% { opacity: 1; box-shadow: 0 0 3px #22c55e; }
            50% { opacity: 0.4; box-shadow: 0 0 6px #22c55e; }
        }
/* SEO content - visible to crawlers and screen readers, below fold */
.seo-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    color: var(--text-secondary, #8899AA);
    font-size: 0.9rem;
    line-height: 1.7;
}
.seo-content h2 {
    color: var(--text, #F1F5F9);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}
.seo-content h3 {
    color: var(--text, #F1F5F9);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
}
.seo-content p {
    margin-bottom: 1rem;
}


/* Video popup styles (extracted from inline) */
.video-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
    cursor: pointer;
}
.video-popup-inner {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: #000;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    cursor: default;
}
.video-popup-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 100000;
    background: #e74c3c;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    line-height: 1;
}
.video-popup-close:hover {
    transform: scale(1.15);
}
.video-popup-bar {
    padding: 12px 16px;
    background: linear-gradient(135deg, #0B1419, #131E28);
    text-align: center;
}
.video-popup-brand {
    color: #1199FA;
    font-weight: 700;
    font-size: 14px;
    font-family: Inter, sans-serif;
}
.video-popup-subtitle {
    color: #666;
    font-size: 13px;
    margin-left: 8px;
}

/* Footer copyright */
.footer-copyright {
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    padding: 15px;
}

/* Mobile OSHI link */
.mobile-oshi-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    color: #fff;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px 0;
    text-decoration: none;
    font-family: Inter, -apple-system, sans-serif;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* Mobile menu links (extracted from inline) */
.mobile-telegram-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #229ED9, #1DA1F2);
    color: #fff;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px 0;
    text-decoration: none;
    font-family: Inter, -apple-system, sans-serif;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.mobile-bloomberg-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px 0;
    text-decoration: none;
    font-family: Inter, -apple-system, sans-serif;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.mobile-live-badge {
    background: #22c55e;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    animation: pulse 2s infinite;
    font-weight: 600;
}
.mobile-oshi-icon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
}
.noscript-text {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
}
.disclaimer-text {
    color: var(--text-muted);
    margin-top: 15px;
}
.video-popup-player {
    display: block;
    border-radius: 16px 16px 0 0;
}
.text-up {
    position: relative;
    top: -1px;
}
