header, .cta-btn, .card, footer, .back {
        -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
    }
    :root { 
        --bg: #050505; --fg: #ffffff; --muted: #888888; --accent: #d7bf7c; 
        --glass: rgba(255, 255, 255, 0.02); --border: rgba(255, 255, 255, 0.06); 
    }
    * { box-sizing:border-box; margin:0; padding:0; }
    
    body {
      min-height: 100dvh; display: flex; flex-direction: column; justify-content: space-between; align-items: center;
      background: var(--bg); color: var(--fg); font-family: 'Montserrat', sans-serif; text-align: center;
      overflow-y: scroll; overflow-x: hidden; overscroll-behavior: none;
    }

    .noise-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E"); z-index: -1; pointer-events: none; }
    .spotlight { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0) 60%); z-index: -2; pointer-events: none; }
    .grid-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px); background-size: 80px 80px; z-index: -3; pointer-events: none; }

    header { width:100%; padding:30px 60px; display:flex; justify-content:space-between; align-items:center; position:fixed; top:0; left:0; z-index:10; backdrop-filter: blur(5px); }
    
    .logo { display: flex; flex-direction: row; align-items: baseline; gap: 12px; text-decoration: none; opacity: 0.9; position: relative; z-index: 20; }
    .brand-logo { font-size: 20px; letter-spacing: 0.05em; font-weight: 600; color: var(--fg); }
    .logo-slogan { font-size: 9px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); font-weight: 400; transition: color 0.3s ease; white-space: nowrap; }
    .logo:hover .logo-slogan { color: var(--fg); }
    
    .logo-p1 { color: var(--fg); transition: color 0.3s ease; }
    .logo-dot { color: var(--accent); transition: color 0.3s ease; }
    .logo-p2 { color: var(--accent); transition: color 0.3s ease; }
    .brand-logo:hover .logo-p1 { color: var(--accent); } 
    .brand-logo:hover .logo-p2 { color: var(--fg); }     
    
    nav { display:flex; gap:30px; }
    nav a { color: var(--muted); text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; font-weight: 500; transition: color 0.3s ease; position: relative; }
    nav a:hover, nav a[aria-current="page"] { color: var(--fg); }
    nav a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 1px; background: var(--accent); transition: width 0.3s ease; }
    nav a:hover::after, nav a[aria-current="page"]::after { width: 100%; }

    .menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 24px; height: 16px; background: transparent; border: none; cursor: pointer; z-index: 20; padding: 0; }
    /* Цвет линий бутерброда изменен на золотой */
    .menu-toggle span { display: block; width: 100%; height: 1.5px; background-color: var(--accent); transition: all 0.3s ease; transform-origin: center; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(7.25px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-7.25px) rotate(-45deg); }

    main { display:flex; flex-direction:column; justify-content:center; align-items:center; flex-grow: 1; width:100%; padding-top: 120px; padding-bottom: 60px; animation:fadeIn 1.5s ease forwards; }
    .hero-container { max-width: 900px; width: 100%; padding: 0 20px; display: flex; flex-direction: column; align-items: center; }
    .top-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--accent); margin-bottom: 24px; opacity: 0.8; }
    .main-stat-block { margin-bottom: 50px; position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; }
    .big-number { font-size: clamp(60px, 10vw, 120px); font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--fg); display: inline-block; font-variant-numeric: tabular-nums; }
    .big-number span { font-size: 0.4em; color: var(--muted); font-weight: 300; vertical-align: top; margin-left: 5px; }
    .stat-desc { font-size: clamp(16px, 3vw, 22px); font-weight: 400; color: var(--muted); letter-spacing: 0.05em; margin-top: 10px; }
    .disclaimer { font-size: 10px; color: #555; margin-top: 12px; letter-spacing: 0.02em; }

    .stat-item { display: flex; flex-direction: column; text-align: left; gap: 2px; }
    .stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); line-height: 1; }
    .stat-value { font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1; margin-top: 2px; }
    .gain-val { color: #4caf50; }
    .drawdown-val { color: #cc5555; }
    
    .stats-right { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex-shrink: 0; }
    .stat-badge { display: flex; align-items: center; gap: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); line-height: 1; }
    .stat-verified { font-size: 9px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; line-height: 1; }
    .live-dot { width: 6px; height: 6px; background-color: #4caf50; border-radius: 50%; box-shadow: 0 0 8px #4caf50; animation: pulse 2s infinite; }

    .live-stats-widget { 
        display: flex; gap: 20px; align-items: center; justify-content: space-between; 
        margin: 30px auto 0; padding: 24px 30px; border: 1px solid rgba(255,255,255,0.06); 
        border-radius: 8px; background: rgba(255,255,255,0.02); backdrop-filter: blur(5px); 
        text-decoration: none; transition: background 0.3s, border-color 0.3s;
        max-width: 560px; width: 100%; overflow: hidden;
    }
    .live-stats-widget:hover { background: rgba(255,255,255,0.04); border-color: rgba(215, 191, 124, 0.3); }
    .stats-left { display: flex; gap: 30px; flex-shrink: 0; }
    .sparkline-box { flex-grow: 1; height: 40px; margin: 0 15px; position: relative; display: flex; align-items: center; min-width: 80px; }
    .stats-divider { width: 1px; height: 35px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

    .invest-large-widget {
        display: flex; flex-direction: column; gap: 20px;
        margin: 0 0 30px 0; padding: 24px; border: 1px solid rgba(255,255,255,0.06); 
        border-radius: 8px; background: rgba(255,255,255,0.02); backdrop-filter: blur(5px); 
        text-decoration: none; transition: background 0.3s, border-color 0.3s;
        width: 100%; box-sizing: border-box; position: relative;
    }
    .invest-large-widget:hover { background: rgba(255,255,255,0.04); border-color: rgba(215, 191, 124, 0.3); }
    
    .large-chart-container {
        position: relative; height: 180px; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 10px;
    }
    .chart-grid {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none;
    }
    .grid-line {
        width: 100%; border-top: 1px dashed rgba(255,255,255,0.05); position: relative;
    }
    .grid-line span {
        position: absolute; top: -14px; left: 0; font-size: 9px; color: var(--muted); opacity: 0.5; font-variant-numeric: tabular-nums;
    }
    .x-axis {
        position: absolute; bottom: -20px; left: 0; width: 100%; display: flex; justify-content: space-between; font-size: 9px; color: var(--muted); opacity: 0.5; text-transform: uppercase; letter-spacing: 0.1em;
    }
    .large-widget-stats {
        display: flex; justify-content: space-between; align-items: flex-end;
    }

    .chart-path-line { animation: drawLine 2.5s ease forwards; stroke-linecap: round; stroke-linejoin: round; }
    .large-chart-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: visible; }
    .sparkline-svg { width: 100%; height: 100%; overflow: visible; }

    .cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; margin-bottom: 60px; }
    .card { border-top: 1px solid var(--border); padding: 20px 10px; text-align: center; transition: border-color 0.3s ease; }
    .card:hover { border-color: var(--accent); }
    .card h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--fg); margin-bottom: 10px; font-weight: 600; }
    .card p { font-size: 12px; color: var(--muted); line-height: 1.5; font-weight: 400; }

    .action-area { display: flex; flex-direction: column; align-items: center; gap: 30px; position: relative; }
    .phrase { font-size: 12px; letter-spacing: 0.2em; color: var(--fg); text-transform: uppercase; animation: fadeUp 1s ease forwards; opacity: 0.8; transition: opacity 0.6s ease; }

    .cta-btn { text-decoration: none; background: var(--accent); color: var(--bg); padding: 16px 48px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; border-radius: 2px; transition: all 0.3s ease; box-shadow: 0 0 25px rgba(215, 191, 124, 0.3); cursor: pointer; display: inline-block; }
    .cta-btn:hover { box-shadow: 0 0 50px rgba(215, 191, 124, 0.6); color: var(--bg); }

    #content { opacity:0; transition:opacity .6s ease; color:var(--muted); font-size:clamp(14px,1.6vw,17px); line-height:1.7; letter-spacing:0.05em; text-align:center; width: 100%; max-width: 700px; padding-top: 120px; padding-left: 20px; padding-right: 20px; flex-grow: 1; transition: max-width 0.5s ease; }
    #content.visible { opacity:1; }
    #content p { margin-bottom:1.2em; }
    .back { display:block; margin-top:32px; color:var(--accent); font-size:12px; text-transform:uppercase; letter-spacing:.1em; text-decoration:none; cursor:pointer; }
    .back:hover { color:var(--fg); }

    .timeline { position: relative; margin: 0 0 30px 0; padding-left: 30px; text-align: left; }
    .timeline::before { content: ''; position: absolute; top: 0; left: 11px; width: 1px; height: 100%; background: rgba(255, 255, 255, 0.1); }
    .t-step { position: relative; margin-bottom: 30px; }
    .t-step:last-child { margin-bottom: 0; }
    .t-icon { position: absolute; left: -30px; top: 0; width: 24px; height: 24px; background: var(--bg); border: 1px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); z-index: 2; box-shadow: 0 0 10px rgba(215, 191, 124, 0.1); }
    .t-content { color: var(--muted); font-size: 13px; line-height: 1.6; padding-top: 2px; }
    .t-content strong { color: var(--fg); font-weight: 500; font-size: 14px; display: inline-block; margin-bottom: 4px; }
    .t-content a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(215, 191, 124, 0.3); transition: all 0.3s; }
    .t-content a:hover { border-bottom-color: var(--accent); }
    .t-box { margin-top: 12px; padding: 12px; border-left: 2px solid var(--accent); background: rgba(215, 191, 124, 0.03); font-size: 12px; }

    footer { width: 100%; padding: 40px 60px; display: flex; justify-content: space-between; align-items: flex-end; font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); position: relative; z-index: 5; }
    .f-left { text-align: left; flex: 1; }
    .f-center { text-align: center; flex: 1; display: flex; justify-content: center; }
    .f-right { text-align: right; flex: 1; display: flex; justify-content: flex-end; gap: 24px; }
    .f-link { color: var(--muted); text-decoration: none; transition: color 0.3s; position: relative; }
    .f-link:hover { color: var(--fg); }
    .f-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0%; height: 1px; background: var(--accent); transition: width 0.3s; }
    .f-link:hover::after { width: 100%; }

    @media (max-width: 768px) {
        footer { flex-direction: column-reverse; align-items: center; gap: 30px; padding: 40px 20px; }
        .f-left, .f-center, .f-right { text-align: center; justify-content: center; flex: auto; width: 100%; }
        .f-right { gap: 20px; flex-wrap: wrap; }
        .cards-grid { grid-template-columns: 1fr; gap: 0; max-width: 400px; } 
        .card { border-top: none; border-bottom: 1px solid var(--border); padding: 20px; }
        .card:last-child { border-bottom: none; }
        header { padding: 20px 24px; }
        
        .menu-toggle { display: flex; }
        .logo { gap: 8px; }
        .logo-slogan { font-size: 8px; }
        
        nav {
            position: fixed; top: 0; left: 0; width: 100%; height: 100dvh;
            background: rgba(5, 5, 5, 0.98); backdrop-filter: blur(10px);
            flex-direction: column; justify-content: center; align-items: center; gap: 40px;
            opacity: 0; pointer-events: none; transition: opacity 0.4s ease; z-index: 15;
        }
        nav.open { opacity: 1; pointer-events: auto; }
        nav a { font-size: 16px; letter-spacing: 0.15em; }

        .main-stat-block { margin-bottom: 30px; }
        .live-stats-widget { flex-direction: column; gap: 15px; align-items: flex-start; padding: 24px; }
        .stats-divider { display: none; }
        .stats-left { width: 100%; justify-content: space-between; gap: 20px; }
        .sparkline-box { display: flex; width: 100%; margin: 10px 0; height: 30px; }
        .stats-right { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; }
        
        .large-widget-stats { flex-direction: column; align-items: flex-start; gap: 15px; width: 100%; }
        .large-widget-stats .stats-left { width: 100%; justify-content: space-between; }
        .large-widget-stats .stats-right { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 12px; }

        /* About: метрики профиля — 2 колонки, UAE на всю ширину */
        .profile-metrics { grid-template-columns: repeat(2, 1fr) !important; }
        .profile-metrics .metric-uae { grid-column: span 2; }

        /* About: убираем лишний верхний отступ перед нижними карточками */
        .about-bottom-cards { margin-top: 30px !important; }

        /* Contact: убираем лишний padding-top у правой колонки */
        .contact-right-col { padding-top: 0 !important; }

        /* Главная: testimonials — одна колонка */
        .testimonials-grid { grid-template-columns: 1fr !important; }

        /* Invest: support card вертикально, кнопка на всю ширину */
        .support-card { flex-direction: column !important; align-items: stretch !important; text-align: center; }
        .support-card > div:first-child { flex-direction: column !important; text-align: center !important; gap: 10px !important; }
        .support-card a { text-align: center; }
    }

    @media (min-width: 481px) and (max-width: 768px) {
        .profile-metrics { grid-template-columns: repeat(3, 1fr) !important; }
        .profile-metrics .metric-uae { grid-column: auto; }
    }

    /* Testimonials hover */
    .t-card { display: flex; flex-direction: column; }
    .t-card p { flex-grow: 1; }
    .t-card:hover { border-color: rgba(215, 191, 124, 0.3) !important; }

    /* Brokers block */
    .brokers-grid > div { transition: border-color 0.3s ease; }
    .brokers-grid > div:hover { border-color: rgba(215, 191, 124, 0.4) !important; }
    .brokers-grid a { transition: color 0.3s ease; }
    .brokers-grid a:hover { color: var(--fg) !important; }
    @media (max-width: 600px) {
        .brokers-grid { grid-template-columns: 1fr !important; }
    }

    /* Return Estimator slider */
    #depositSlider::-webkit-slider-thumb {
        -webkit-appearance: none; appearance: none;
        width: 18px; height: 18px; border-radius: 50%;
        background: var(--accent); cursor: pointer;
        box-shadow: 0 0 10px rgba(215, 191, 124, 0.5);
        transition: transform 0.2s ease;
    }
    #depositSlider::-webkit-slider-thumb:hover { transform: scale(1.15); }
    #depositSlider::-moz-range-thumb {
        width: 18px; height: 18px; border-radius: 50%;
        background: var(--accent); cursor: pointer; border: none;
        box-shadow: 0 0 10px rgba(215, 191, 124, 0.5);
    }
    
    @keyframes fadeIn { from{opacity:0; transform: translateY(10px);} to{opacity:1; transform: translateY(0);} }
    @keyframes fadeUp { from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
    @keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } 100% { opacity: 1; transform: scale(1); } }
    @keyframes drawLine { to { stroke-dashoffset: 0; } }
    
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--accent); }
    html { scrollbar-width: thin; scrollbar-color: #333 var(--bg); }
    ::selection { background: var(--accent); color: var(--bg); }
    ::-moz-selection { background: var(--accent); color: var(--bg); }

    /* Secondary CTA below primary on home */
    .cta-secondary {
        display: inline-block; margin-top: -10px;
        font-size: 11px; color: var(--muted); text-transform: uppercase;
        letter-spacing: 0.2em; text-decoration: none;
        padding: 8px 0; transition: color 0.3s;
    }
    .cta-secondary:hover { color: var(--accent); }

    /* Notes (blog) cards */
    .note-card:hover { border-color: rgba(215, 191, 124, 0.4) !important; background: rgba(215, 191, 124, 0.02) !important; }
    .note-body p { margin-bottom: 18px; }
    .note-body p:last-child { margin-bottom: 0; }

    /* Notes pagination — mobile compact */
    @media (max-width: 480px) {
        .notes-pagination > div { margin: 0 !important; gap: 4px !important; }
        .notes-pagination a, .notes-pagination span { min-width: 30px !important; height: 30px !important; padding: 0 6px !important; font-size: 10px !important; }
    }

    /* Comparison table mobile */
    @media (max-width: 600px) {
        .compare-table { font-size: 10px !important; min-width: 480px !important; }
        .compare-table th, .compare-table td { padding: 10px 6px !important; }
    }

    /* Collapsible cards (How It Compares, Risk Parameters, Return Estimator) */
    .collapsible-card summary::-webkit-details-marker { display: none; }
    .collapsible-card summary::marker { content: ''; display: none; }
    .collapsible-summary:hover .collapsible-icon { color: var(--fg); }
    .collapsible-card[open] .collapsible-icon { transform: rotate(45deg); }
    .collapsible-card[open] .collapsible-summary { border-bottom: 1px solid #222; }

    /* Focus visible for keyboard navigation */
    a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 3px;
        border-radius: 2px;
    }
    a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.001ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.001ms !important;
            scroll-behavior: auto !important;
        }
        .live-dot { animation: none !important; }
        .chart-path-line { animation: none !important; stroke-dashoffset: 0 !important; }
        .phrase { transition: none !important; }
    }
/* About: "What I Don't Do" list — keep text left-aligned when wrapping */
.dont-list > div {
    text-align: left;
}
.dont-list > div > span:last-child {
    text-align: left;
    flex: 1;
}
