/*
Theme Name: Axia Power Corporate
Author: Axia Power
Description: High-end custom theme
Version: 1.0.1
*/

/* Дальше идет весь твой код с переменными :root и т.д. */









/* =========================================
   1. GLOBAL VARIABLES & RESET
========================================= */
:root {
    /* --- Layout --- */
    --header-height: 90px;
    --container-width: 1440px;

    /* --- Theme Colors (Dark Header/Footer) --- */
    --theme-dark-bg: #0B101A;        /* Глубокий темно-синий */
    --theme-dark-bg-soft: #151E2E;   /* Чуть светлее для ховеров */
    --theme-text-main: #FFFFFF;      /* Белый */
    --theme-text-muted: #94A3B8;     /* Серый металлик */
    --theme-border: rgba(255, 255, 255, 0.1);

    /* --- Page Colors (Light Content) --- */
    --page-bg: #F8FAFC;              /* Холодный белый/светло-серый */
    --page-text: #0F172A;            /* Почти черный для текста */
    --page-text-muted: #64748B;      /* Серый для описаний */

    /* --- Accents --- */
    --accent-blue: #3B82F6;          /* Корпоративный синий */
    --accent-blue-hover: #2563EB;
    
    /* --- Typography --- */
    --font-primary: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Дорогая анимация */
}

/* Базовые настройки страницы (СВЕТЛАЯ) */
body {
    background-color: var(--page-bg);
    color: var(--page-text);
    font-family: var(--font-primary);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; /* Сглаживание шрифтов (MacOS style) */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}























/* =========================================
   2. HEADER & NAVIGATION (REBORN)
========================================= */
:root {
    --header-height: 85px;
    --cyber-blue: #3b82f6;
}

.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: var(--header-height);
    background: rgba(11, 16, 26, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 9999;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 992px) { .header-container { padding: 0 40px; } }

/* --- Logo --- */
.logo-link {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -1px;
}
.logo-accent { color: var(--cyber-blue); font-weight: 300; }

/* --- Desktop Nav --- */
.desktop-nav { display: none; }
@media (min-width: 992px) {
    .desktop-nav { display: block; position: absolute; left: 50%; transform: translateX(-50%); }
    .nav-list { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
    .nav-list a { 
        color: rgba(255,255,255,0.5); 
        font-size: 13px; font-weight: 700; 
        text-transform: uppercase; text-decoration: none; 
        transition: 0.3s; letter-spacing: 1px;
    }
    .nav-list a:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }
}

/* --- PREMIUM BUSINESS CTA (Morgan Stanley Tech Style) --- */
.btn-business {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    
    /* Типографика */
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    
    /* Основа */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px; /* Почти острые углы для строгости */
    
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Скрытый слой заливки */
.btn-business::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Начинаем за пределами */
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(59, 130, 246, 0.4), 
        var(--accent-blue)
    );
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

/* Эффект мерцающей грани */
.btn-business::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0);
    transition: all 0.3s ease;
}

/* --- HOVER EFFECTS --- */
.btn-business:hover {
    color: #ffffff;
    letter-spacing: 2.2px; /* Текст слегка "раздвигается" */
    border-color: rgba(59, 130, 246, 0.5);
    
    /* Мягкое свечение вокруг кнопки */
    box-shadow: 
        0 0 30px rgba(59, 130, 246, 0.3),
        0 10px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.btn-business:hover::before {
    left: 0; /* Плавный заезд заливки */
}

.btn-business:hover::after {
    box-shadow: inset 0 0 15px rgba(59, 130, 246, 0.2);
}

/* Активное состояние (клик) */
.btn-business:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* Фикс для десктопа */
.desktop-only { display: none !important; }
@media (min-width: 992px) { 
    .desktop-only { display: inline-flex !important; } 
}

/* --- БУРГЕР И КРЕСТИК (ВИДИМОСТЬ 100%) --- */
.header-actions { display: flex; align-items: center; gap: 20px; }

.burger-btn {
    position: relative;
    width: 44px; height: 44px;
    background: none; border: none; cursor: pointer;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    z-index: 10001 !important; /* Выше всего */
    padding: 0;
}

@media (min-width: 992px) { .burger-btn { display: none; } }

.line {
    display: block;
    width: 26px; height: 2px;
    background-color: #ffffff !important; /* ЯРКО-БЕЛЫЙ */
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin: 3px 0;
}
.line-2 { width: 16px; margin-left: 10px; }

/* АНИМАЦИЯ КРЕСТИКА */
.menu-open .line { background-color: var(--cyber-blue) !important; }
.menu-open .line-1 { transform: translateY(8px) rotate(45deg); width: 28px; }
.menu-open .line-2 { transform: translateY(-8px) rotate(-45deg); width: 28px; margin-left: 0; }

/* --- МОБИЛЬНАЯ ПАНЕЛЬ (3/4) --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    visibility: hidden; z-index: 10000;
}

.menu-backdrop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    opacity: 0; transition: 0.4s;
}

.mobile-menu-drawer {
    position: absolute;
    top: 0; right: 0;
    width: 30%; /* ТЕ САМЫЕ 3/4 */
    height: 100%;
    background: #0B101A;
    padding: 120px 40px;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 50px rgba(0,0,0,0.8);
}

.mobile-menu-overlay.active { visibility: visible; }
.mobile-menu-overlay.active .menu-backdrop { opacity: 1; }
.mobile-menu-overlay.active .mobile-menu-drawer { transform: translateX(0); }

/* Списки в моб меню */
.mobile-nav-list { list-style: none; padding: 0; margin-bottom: 50px; }
.mobile-nav-list li { margin-bottom: 30px; }
.mobile-nav-list a { 
    font-size: 24px; color: #fff; font-weight: 800; 
    text-transform: uppercase; text-decoration: none; 
}

body.no-scroll { overflow: hidden; }























/* =========================================
   SUPREME FOOTER: LIQUID OBSIDIAN DESIGN
========================================= */
:root {
    --accent-blue: #3b82f6;
    --neon-glow: rgba(59, 130, 246, 0.5);
    --f-bg: #030508;
}

.monolith-footer {
    position: relative;
    background-color: var(--f-bg);
    padding: 120px 0 40px;
    color: #fff;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Эффект зернистости (Noise) для дорогой текстуры */
.monolith-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    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)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

/* ГИГАНТСКИЙ ТЕКСТ AXIA (GLASS OUTLINE) */
.footer-bg-text {
    position: absolute;
    bottom: -5%;
    left: -2%;
    font-size: 30vw;
    font-weight: 900;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
    pointer-events: none;
    z-index: 0;
    user-select: none;
    font-family: var(--font-primary);
}

/* ЛАЗЕРНЫЙ СКАНЕР (RADAR PULSE) */
.footer-scan-line {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    box-shadow: 0 0 15px var(--accent-blue);
    opacity: 0;
    animation: scan-pulse 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: 2;
}

@keyframes scan-pulse {
    0% { top: 0; opacity: 0; }
    5% { opacity: 0.5; }
    95% { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
}

.footer-container {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    z-index: 10;
}

/* СЕТКА КОЛОНОК */
.footer-top-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 80px;
    margin-bottom: 100px;
}

/* --- BRANDING --- */
.brand-title {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin: 0 0 20px 0;
}
.brand-title .highlight {
    color: var(--accent-blue);
    font-weight: 300;
    text-shadow: 0 0 20px var(--neon-glow);
}
.brand-mission {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    max-width: 350px;
}

/* STATUS BADGE */
.system-status { margin-top: 30px; }
.status-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
}
.status-text { font-size: 10px; font-weight: 800; letter-spacing: 2px; color: #fff; }
.pulse-dot {
    width: 8px; height: 8px;
    background: #00ff41;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff41;
    animation: dot-glow 2s infinite;
}

@keyframes dot-glow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* --- NAVIGATION HOVERS (THE SEX) --- */
.tiny-heading {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.2);
    margin-bottom: 35px;
}

.monolith-menu { list-style: none; padding: 0; margin: 0; }
.monolith-menu li { margin-bottom: 18px; }
.monolith-menu a {
    position: relative;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
}

.monolith-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
    transition: width 0.4s ease;
}

.monolith-menu a:hover {
    color: #fff;
    transform: translateX(10px);
    letter-spacing: 1px;
}

.monolith-menu a:hover::after { width: 100%; }

/* --- CONTACTS (DATA NODES) --- */
.footer-contact-items { display: flex; flex-direction: column; gap: 30px; }
.f-contact-item { 
    display: flex; 
    flex-direction: column; 
    gap: 6px;
    padding: 15px;
    background: rgba(255,255,255,0.02);
    border-left: 2px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.f-contact-item:hover {
    background: rgba(59, 130, 246, 0.05);
    border-left-color: var(--accent-blue);
    transform: scale(1.02);
}

.f-c-label { font-size: 10px; font-weight: 900; color: var(--accent-blue); letter-spacing: 1px; }
.f-c-val { font-size: 15px; font-weight: 600; }
.f-c-val.link { text-decoration: none; color: inherit; transition: 0.3s; }
.f-c-val.link:hover { color: var(--accent-blue); }

/* --- BOTTOM BAR --- */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright { font-size: 12px; color: rgba(255,255,255,0.3); font-weight: 500; }
.coords-display {
    font-family: monospace;
    font-size: 12px;
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
    padding: 5px 12px;
    border-radius: 4px;
    letter-spacing: 2px;
}

/* =========================================
   MOBILE ADAPTATION (ULTRA COMPACT)
========================================= */
@media (max-width: 992px) {
    .footer-top-section { grid-template-columns: 1fr; gap: 60px; }
    .footer-bg-text { display: none; }
    
    .footer-brand, .footer-nav-block, .footer-contact-block {
        text-align: center;
    }
    
    .brand-mission { margin: 0 auto; }
    .f-contact-item { border-left: none; border-bottom: 2px solid rgba(255,255,255,0.05); }
    .f-contact-item:hover { border-bottom-color: var(--accent-blue); }

    .monolith-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}









































/* =========================================
   FRONT PAGE SECTIONS
========================================= */

/* --- Common Layout --- */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0; /* Стандартный отступ */
}

/* На мобильном сжимаем отступы до минимума */
@media (max-width: 768px) {
    section { padding: 50px 0; }
    .container { padding: 0 20px; }
}
















/* =========================================
   1. HERO SECTION (THE REACTOR CORE - COMPACT)
========================================= */
.hero-section {
    position: relative;
    background-color: var(--theme-dark-bg);
    color: white;
    /* Убрали min-height: 100vh, теперь высота по контенту */
    padding-top: 150px; /* Отступ сверху под хедер + воздух */
    padding-bottom: 80px; /* Аккуратный отступ снизу */
    overflow: hidden;
    z-index: 1;
}

/* Анимированный пульс "реактора" на фоне (чуть спокойнее) */
.hero-bg-overlay {
    position: absolute;
    top: -50%; right: -20%; width: 150%; height: 150%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.12) 0%, transparent 60%);
    animation: reactor-pulse 10s ease-in-out infinite alternate;
    z-index: -1;
    pointer-events: none;
}

@keyframes reactor-pulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.4; }
    100% { transform: scale(1.05) translate(-1%, 1%); opacity: 0.8; }
}

/* Строгая сетка */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 90%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 90%);
}

.hero-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Центрируем контент и 3D блок по вертикали */
    gap: 40px;
}

.hero-content {
    max-width: 720px;
}

/* Лейбл в стиле HUD-интерфейса */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 25px;
    font-weight: 800;
    padding: 8px 18px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    background: rgba(59, 130, 246, 0.05);
    backdrop-filter: blur(4px);
}

/* Пульсирующая точка */
.hero-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Металлический градиентный текст (чуть меньше) */
.hero-title {
    font-size: clamp(38px, 5vw, 64px); /* Уменьшил максимальный размер */
    line-height: 1.05;
    font-weight: 900;
    margin: 0 0 25px 0;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #ffffff 0%, #8A9BB3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-desc {
    font-size: clamp(15px, 1.8vw, 18px); /* Чуть компактнее текст */
    color: var(--theme-text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* Кнопка: Жесткий контраст */
.btn-hero {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-text-main);
    color: var(--theme-dark-bg);
    padding: 16px 36px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    z-index: 1;
    border-radius: 2px;
}

/* Заливка синим при наведении */
.btn-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--accent-blue);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.btn-hero:hover {
    color: #fff;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
}

.btn-hero:hover::before {
    transform: translateY(0);
}

/* Ссылка со стрелкой */
.link-arrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 13px;
    color: var(--theme-text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    position: relative;
    text-decoration: none;
}

.link-arrow::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--theme-text-main);
    transition: width 0.3s ease;
}

.link-arrow:hover::after { width: 100%; }
.link-arrow:hover .arrow { transform: translateX(6px); color: var(--accent-blue); }

/* --- Блок статистики: 3D Кибер-Стекло --- */
.hero-graphic {
    display: none;
}

@media (min-width: 992px) {
    .hero-graphic {
        display: block;
        perspective: 1000px;
    }
    
    .stat-box {
        background: rgba(11, 16, 26, 0.7); /* Чуть темнее стекло */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding: 35px;
        min-width: 260px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.5), 
                    inset 0 0 0 1px rgba(59, 130, 246, 0.05);
        transform: rotateY(-15deg) rotateX(5deg);
        transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
        position: relative;
        overflow: hidden;
    }

    /* Блик сканера */
    .stat-box::after {
        content: '';
        position: absolute;
        top: 0; left: -100%; width: 50%; height: 100%;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
        transform: skewX(-20deg);
        transition: 0.5s;
    }

    /* Ховер */
    .stat-box:hover {
        transform: rotateY(0deg) rotateX(0deg) translateY(-5px);
        border-color: rgba(59, 130, 246, 0.3);
        box-shadow: 0 30px 60px rgba(0,0,0,0.7), 
                    0 0 30px rgba(59, 130, 246, 0.15);
    }
    
    .stat-box:hover::after {
        left: 200%;
        transition: 0.8s ease-in-out;
    }

    .stat-value {
        display: block;
        font-size: 58px; /* Чуть меньше цифра */
        font-weight: 900;
        line-height: 1;
        margin-bottom: 8px;
        background: linear-gradient(to bottom, #ffffff, var(--accent-blue));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }
    
    .stat-label {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: var(--theme-text-muted);
    }
}

/* =========================================
   MOBILE ADAPTATION (SUPER COMPACT)
========================================= */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-container {
        padding: 0 24px;
    }
    
    .hero-label { 
        margin-bottom: 15px; 
        font-size: 9px; 
        padding: 6px 14px; 
    }
    
    .hero-title { 
        margin-bottom: 15px; 
        font-size: 34px; 
        letter-spacing: -1px; 
    }
    
    .hero-desc { 
        margin-bottom: 30px; 
        font-size: 15px; 
        line-height: 1.6;
    }
    
    /* МАГИЯ ТУТ: Убираем колонку, ставим в гибкий ряд */
    .hero-actions {
        flex-direction: row; 
        flex-wrap: wrap; /* Если экран микроскопический - ссылка съедет вниз, но не сломается */
        align-items: center;
        gap: 20px 25px;
    }
    
    /* Кнопка: Компактная, как в банковском приложении */
    .btn-hero {
        width: auto; /* Убили растягивание на 100% */
        padding: 14px 28px;
        font-size: 11px;
    }

    .link-arrow {
        font-size: 12px; /* Чуть мельче для баланса с кнопкой */
    }
}
























/* =========================================
   2. USP SECTION (LIGHT CYBER CORPORATE)
========================================= */
.usp-section {
    background-color: var(--page-bg); /* Светлый фон страницы */
    position: relative;
    z-index: 10;
    padding: 100px 0; /* ВЕРНУЛИ ВОЗДУХ! Теперь тут солидное расстояние */
}

.usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 0; /* Убрали отрицательный марджин, больше никакого прилипания */
}

@media (min-width: 992px) {
    .usp-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        /* И тут убрали наезд */
    }
}

/* --- Светлый Монолит (Карточка) --- */
.usp-item {
    position: relative;
    background: #FFFFFF; /* Идеально белый, дорогой фон */
    padding: 50px 40px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05); /* Мягкая, дорогая тень */
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

/* Ховер: Карточка всплывает, тень становится кибер-синей */
.usp-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08), 
                0 10px 30px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Лазерная обводка сверху */
.usp-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--accent-blue);
    box-shadow: 0 0 15px var(--accent-blue);
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.usp-item:hover::before {
    width: 100%;
}

/* --- Огромная фоновая цифра (Водяной знак) --- */
.usp-icon {
    position: absolute;
    top: -20px; right: 10px;
    font-size: 160px;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.03);
    line-height: 1;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
    pointer-events: none;
    letter-spacing: -5px;
}

.usp-item:hover .usp-icon {
    color: rgba(59, 130, 246, 0.06);
    transform: scale(1.05) translate(-10px, 10px);
}

/* --- Типографика --- */
.usp-item h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 20px 0;
    color: var(--page-text);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.usp-item:hover h3 {
    color: var(--accent-blue);
}

/* Текст описания */
.usp-item p {
    font-size: 15px;
    color: var(--page-text-muted);
    margin: 0;
    line-height: 1.7;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
}

/* Кибер-индикатор слева от текста */
.usp-item p::before {
    content: '';
    position: absolute;
    left: 0; top: 5px; bottom: 5px;
    width: 2px;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    transform-origin: top;
}

.usp-item:hover p::before {
    background: var(--accent-blue);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* =========================================
   MOBILE ADAPTATION (COMPACT)
========================================= */
@media (max-width: 768px) {
    .usp-section {
        padding: 60px 0; /* На мобиле отступ поменьше, чтобы не было дыры */
    }

    .usp-grid {
        gap: 20px;
    }
    
    .usp-item {
        padding: 35px 25px;
    }
    
    .usp-icon {
        font-size: 120px;
        top: -10px; right: 0;
    }
    
    .usp-item h3 { font-size: 18px; margin-bottom: 15px; }
    .usp-item p { font-size: 14px; padding-left: 15px; }
}





















/* =========================================
   3. PRODUCTS (DYNAMIC CORPORATE CARDS)
========================================= */
.products-section {
    background-color: var(--page-bg);
    padding: 100px 0;
}

/* --- Заголовок секции: Строгий и дорогой --- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    border-bottom: 2px solid var(--theme-dark-bg); /* Мощная черная линия */
    padding-bottom: 20px;
    position: relative;
}

/* Декоративный скан-блок на линии */
.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 60px; height: 2px;
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
    transition: width 0.5s ease;
}

.products-section:hover .section-header::after {
    width: 120px; /* Линия удлиняется, когда мышь в секции */
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    margin: 0;
    color: var(--theme-dark-bg);
    text-transform: uppercase;
}

.view-all-link {
    font-size: 12px;
    font-weight: 800;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.view-all-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.view-all-link:hover {
    color: var(--theme-dark-bg);
}

.view-all-link:hover::after {
    transform: translateX(5px);
}

/* --- Сетка --- */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* --- СТИЛЬ КАРТОЧКИ: Финансовый монолит --- */
.corp-card {
    background: #ffffff;
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 320px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Анимированный синий градиент снизу при ховере */
.corp-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 0;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.05), transparent);
    transition: height 0.4s ease;
    z-index: 0;
}

.corp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

.corp-card:hover::before {
    height: 100%; /* Заливка градиентом */
}

/* Весь контент поверх заливки */
.card-top, .card-body, .card-footer {
    position: relative;
    z-index: 1;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

/* Иконка: Стиль элемента таблицы Менделеева */
.element-symbol {
    font-size: 22px;
    font-weight: 900;
    color: var(--theme-dark-bg);
    background: transparent;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 0, 0, 0.1); /* Жесткая рамка */
    transition: all 0.4s ease;
}

.corp-card:hover .element-symbol {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.card-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-blue);
    opacity: 0.8;
}

.card-body h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: var(--theme-dark-bg);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.corp-card:hover .card-body h3 {
    color: var(--accent-blue);
}

.card-body p {
    font-size: 14px;
    color: var(--page-text-muted);
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

.card-footer {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.learn-more {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--theme-dark-bg);
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.learn-more::after {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--accent-blue);
}

.corp-card:hover .learn-more {
    color: var(--accent-blue);
}

.corp-card:hover .learn-more::after {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   MOBILE: CLEAN BUSINESS ADAPTATION
========================================= */
@media (max-width: 768px) {
    .products-section { 
        padding: 60px 0; 
    }
    
    .section-header {
        margin-bottom: 35px;
        padding-bottom: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .section-title { 
        font-size: 26px; /* Чуть крупнее, чтобы читалось как заголовок */
        line-height: 1.2;
    }

    /* Увеличил зазор, 12px было слишком мало, выглядело как каша */
    .products-grid { 
        gap: 20px; 
    } 
    
    .corp-card {
        padding: 30px 25px; /* Вернул воздух внутри карточки */
        min-height: auto; 
        display: flex;
        flex-direction: column;
        gap: 15px; /* Автоматический отступ между элементами внутри */
    }
    
    .card-top { 
        margin-bottom: 5px; 
        display: flex;
        justify-content: space-between;
        align-items: center; 
    }
    
    .element-symbol {
        width: 45px; 
        height: 45px; 
        font-size: 18px;
        border-width: 1px; /* Тоньше рамка на мобе */
    }
    
    .card-cat { 
        font-size: 10px; 
        letter-spacing: 1.5px; 
    }
    
    .card-body h3 {
        font-size: 20px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    /* Текст теперь не обрезается так жестко, даем ему 3 строки */
    .card-body p {
        font-size: 14px;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 3; 
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: var(--page-text-muted);
    }
    
    .card-footer {
        margin-top: 10px;
        padding-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .learn-more { 
        font-size: 11px;
        letter-spacing: 1.5px;
    }
}

























/* =========================================
   4. MARKET DATA (LIGHT TECH ELITE)
========================================= */
.market-section {
    position: relative;
    background-color: #f8fafc; /* Ультра-светлый премиальный серый */
    color: var(--page-text);
    padding: 120px 0;
    overflow: hidden;
    z-index: 1;
}

/* Мягкое фоновое свечение (Ambient Glow) */
.market-section::before {
    content: '';
    position: absolute;
    top: 20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    z-index: -1;
}

.market-bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

.market-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .market-wrapper {
        grid-template-columns: 1.1fr 1fr;
        gap: 100px;
    }
}

/* --- Заголовок с градиентом --- */
.market-heading {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 25px 0;
    /* Градиент на тексте — это пиздец как стильно */
    background: linear-gradient(135deg, #0f172a 30%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
}

.market-desc {
    color: #64748b;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 45px;
    max-width: 520px;
}

/* --- Кнопка (Исправленная и Сексуальная) --- */
.btn-terminal {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #ffffff;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.btn-terminal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-terminal:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
}

.btn-terminal:hover::before {
    transform: translateX(100%);
}

/* --- Блок Статистики (Стеклянный Терминал) --- */
.market-stats {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #ffffff;
    border-radius: 12px;
    padding: 15px 0;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(59, 130, 246, 0.05); /* Тонкий синий контур */
    transition: transform 0.5s ease;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 35px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.stat-row:last-child { border-bottom: none; }

/* Ховер на строку — эффект сканирования */
.stat-row:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.04) 0%, transparent 100%);
    padding-left: 45px;
}

/* Вертикальный индикатор при ховере */
.stat-row::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--accent-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    box-shadow: 0 0 15px var(--accent-blue);
}

.stat-row:hover::before {
    transform: scaleY(1);
}

.s-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
}

.s-value {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -1px;
}

/* Зеленый статус для Bull Market */
.stat-row.highlight .s-value {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    padding: 4px 12px;
    border-radius: 6px;
}

/* =========================================
   MOBILE ADAPTATION
========================================= */
@media (max-width: 768px) {
    .market-section { padding: 80px 0; }
    
    .market-heading { font-size: 34px; text-align: left; }
    
    .market-desc { font-size: 15px; margin-bottom: 35px; }

    /* ФИКС КНОПКИ: Больше не шпала */
    .btn-terminal {
        width: fit-content; /* Ширина по контенту */
        min-width: 240px;   /* Но не слишком мелкая */
        justify-content: center;
        margin: 0;
        padding: 18px 30px;
    }

    .market-stats {
        padding: 5px 0;
        margin-top: 10px;
    }

    .stat-row {
        padding: 22px 20px;
    }

    .s-label { font-size: 11px; max-width: 55%; }
    .s-value { font-size: 20px; }
}







































/* =========================================
   PAGE: PRODUCTS (ISOLATED & EVOLVED)
========================================= */

/* --- Базовые настройки страницы --- */
.pg-prod-wrapper {
    background-color: #F8FAFC;
    color: #0F172A;
    padding-top: var(--header-height, 80px); /* Фолбэк если переменная не задана */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

.pg-prod-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- 1. HERO SECTION --- */
.pg-prod-hero {
    position: relative;
    padding: 120px 0 100px;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

/* Живая аура на фоне */
.pg-prod-hero-aura {
    position: absolute;
    top: -30%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    animation: pg-aura-pulse 10s infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes pg-aura-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

.pg-prod-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: 2px;
    margin-bottom: 25px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 100px;
    position: relative;
    z-index: 1;
}

.pg-prod-title {
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 30px;
    color: #020617; /* Глубокий черный */
    letter-spacing: -2px;
    position: relative;
    z-index: 1;
}

.pg-prod-highlight {
    color: #3b82f6; /* Чистый синий акцент */
    display: inline-block;
}

.pg-prod-desc {
    font-size: 18px;
    color: #475569; /* Насыщенный серый */
    max-width: 650px;
    line-height: 1.6;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* --- 2. STRATEGY GRID --- */
.pg-prod-strategy { padding: 100px 0; }

.pg-prod-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.pg-prod-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.pg-prod-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.12);
    border-color: #3b82f6;
}

.pg-prod-icon {
    font-size: 32px;
    color: #3b82f6;
    margin-bottom: 25px;
    background: #EFF6FF;
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    transition: 0.3s;
}

.pg-prod-card:hover .pg-prod-icon {
    background: #3b82f6;
    color: #fff;
    transform: rotate(-10deg);
}

.pg-prod-card h3 { font-size: 24px; font-weight: 800; color: #0F172A; margin-bottom: 15px; }
.pg-prod-card p { color: #64748B; font-size: 16px; line-height: 1.6; }

/* --- 3. URANIUM SECTION --- */
.pg-prod-uranium { 
    padding: 100px 0; 
    background: #FFFFFF;
    border-top: 1px solid #F1F5F9;
    border-bottom: 1px solid #F1F5F9;
}

.pg-prod-heading {
    font-size: 36px;
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 60px;
    padding-left: 20px;
    border-left: 5px solid #3b82f6;
}
.pg-prod-heading .thin { font-weight: 300; color: #94A3B8; }

.pg-element-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 40px;
    transition: all 0.4s ease;
}

.pg-element-card:hover {
    background: #FFFFFF;
    border-color: #3b82f6;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transform: translateY(-5px);
}

.pg-element-box {
    min-width: 90px; height: 90px;
    border: 2px solid #CBD5E1;
    border-radius: 8px;
    background: #fff;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 8px;
    font-family: monospace;
    color: #64748B;
    transition: 0.4s;
    flex-shrink: 0;
}

.pg-element-card:hover .pg-element-box {
    border-color: #3b82f6;
    background: #3b82f6;
    color: #fff;
}

.pg-atom-sym { font-size: 32px; font-weight: 900; align-self: center; }
.pg-atom-num { font-size: 12px; font-weight: 700; }
.pg-atom-mass { font-size: 10px; text-align: right; }

.pg-element-info h3 { font-size: 24px; font-weight: 800; color: #0F172A; margin: 0 0 10px; }
.pg-sub-tag { 
    font-size: 11px; font-weight: 700; letter-spacing: 1px; 
    color: #3b82f6; display: inline-block; margin-bottom: 15px; 
    text-transform: uppercase; background: rgba(59,130,246,0.05);
    padding: 4px 8px; border-radius: 4px;
}
.pg-element-info p { color: #64748B; font-size: 15px; line-height: 1.6; }

/* --- 4. METALS GRID --- */
.pg-prod-metals { padding: 100px 0; }

.pg-prod-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pg-metal-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 35px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.pg-metal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.04);
    border-color: #3b82f6;
}

.pg-metal-header {
    display: flex; gap: 15px; align-items: center;
    margin-bottom: 20px; padding-bottom: 15px;
    border-bottom: 1px solid #F1F5F9;
}

.pg-m-sym { font-size: 28px; font-weight: 900; color: #3b82f6; font-family: monospace; }
.pg-m-name { font-size: 16px; font-weight: 800; color: #0F172A; text-transform: uppercase; }

/* --- 5. CTA --- */
.pg-prod-cta { padding: 120px 0; }

.pg-cta-box {
    max-width: 800px; margin: 0 auto;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #fff;
    padding: 70px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
    position: relative;
    overflow: hidden;
}

/* Блик на фоне CTA */
.pg-cta-box::after {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.pg-cta-box h2 { font-size: 36px; font-weight: 900; margin-bottom: 20px; color: #fff; position: relative; }
.pg-cta-box p { color: #94A3B8; margin-bottom: 40px; font-size: 16px; position: relative; }

.pg-btn-action {
    display: inline-block;
    padding: 16px 36px;
    background: #fff;
    color: #0F172A;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
    position: relative;
    letter-spacing: 1px;
}

.pg-btn-action:hover {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 10px 20px rgba(59,130,246,0.3);
    transform: translateY(-2px);
}

/* --- MOBILE ADAPTIVE --- */
@media (max-width: 992px) {
    .pg-prod-grid-2 { gap: 20px; }
    .pg-prod-grid-3 { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 768px) {
    .pg-prod-hero { padding: 60px 0; }
    .pg-prod-title { font-size: 36px; margin-bottom: 20px; }
    
    .pg-prod-grid-2, .pg-prod-grid-3 { grid-template-columns: 1fr; }
    
    .pg-element-card { flex-direction: row; padding: 25px; }
    /* Если очень узкий экран */
    @media (max-width: 400px) {
        .pg-element-card { flex-direction: column; }
    }
    
    .pg-cta-box { padding: 50px 20px; border-radius: 12px; }
    .pg-cta-box h2 { font-size: 28px; }
}











































/* =========================================
   PAGE: ABOUT US (LIGHT PREMIUM EVOLVED)
========================================= */

.pg-abt-wrapper {
    background-color: #F8FAFC;
    color: #0F172A;
    padding-top: var(--header-height, 80px);
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.pg-abt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- ТИПОГРАФИКА (ГЛОБАЛЬНАЯ ДЛЯ ЭТОЙ СТРАНИЦЫ) --- */
.pg-abt-section-title {
    font-size: 36px;
    font-weight: 900;
    color: #020617;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.pg-abt-section-title .thin { font-weight: 300; color: #94A3B8; }
.pg-abt-section-subtitle { font-size: 18px; color: #64748B; max-width: 600px; }
.pg-abt-header-center { text-align: center; margin-bottom: 60px; display: flex; flex-direction: column; align-items: center; }


/* --- 1. HERO SECTION --- */
.pg-abt-hero {
    position: relative;
    padding: 130px 0 100px;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.pg-abt-hero-glow {
    position: absolute;
    top: -20%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    animation: pg-abt-aura-move 8s infinite alternate;
}

@keyframes pg-abt-aura-move {
    0% { transform: scale(1) translate(0,0); }
    100% { transform: scale(1.1) translate(30px, -20px); }
}

.pg-abt-hero-content { position: relative; z-index: 1; }

.pg-abt-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: 2px;
    margin-bottom: 25px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 100px;
}

.pg-abt-title {
    font-size: clamp(48px, 6vw, 84px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 30px;
    color: #020617;
    letter-spacing: -2px;
}

.pg-abt-highlight {
    background: linear-gradient(120deg, #3b82f6, #0F172A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pg-abt-desc {
    font-size: 20px;
    color: #475569;
    max-width: 700px;
    line-height: 1.6;
    font-weight: 500;
}

/* --- 2. EXCLUSIVITY STATEMENT --- */
.pg-abt-statement {
    padding: 100px 0;
    background: #F8FAFC;
}

.pg-abt-statement-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 70px 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.04);
}

.pg-abt-statement-bg {
    position: absolute;
    top: 0; right: 0;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05));
    z-index: 0;
}

.pg-abt-statement-content { position: relative; z-index: 1; max-width: 800px; }

.pg-abt-license-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #10B981; 
    background: rgba(16, 185, 129, 0.08);
    padding: 8px 16px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.pg-abt-pulse-ring {
    width: 8px; height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    animation: pg-abt-pulse-green 2s infinite;
}

@keyframes pg-abt-pulse-green {
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pg-abt-statement-box h2 {
    font-size: 34px;
    font-weight: 900;
    color: #020617;
    margin-bottom: 25px;
    line-height: 1.3;
}

.pg-abt-statement-box p {
    font-size: 18px;
    color: #475569;
    line-height: 1.7;
}

/* --- 3. STRATEGIC FOCUS (NEW) --- */
.pg-abt-focus {
    padding: 100px 0;
    background: #FFFFFF;
    border-top: 1px solid #F1F5F9;
}

.pg-abt-focus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pg-abt-focus-text p {
    font-size: 17px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}

.pg-abt-focus-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pg-abt-stat-item {
    background: #F8FAFC;
    border-left: 4px solid #3b82f6;
    padding: 25px 30px;
    border-radius: 0 8px 8px 0;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.pg-abt-stat-item:hover {
    background: #EFF6FF;
    transform: translateX(10px);
}

.pg-abt-stat-num {
    font-size: 32px;
    font-weight: 900;
    color: #020617;
    margin-bottom: 5px;
}

.pg-abt-stat-desc {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748B;
    font-weight: 700;
}


/* --- 4. CORE PRINCIPLES --- */
.pg-abt-values {
    padding: 100px 0;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
}

.pg-abt-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pg-abt-value-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.pg-abt-value-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.08);
    transform: translateY(-5px);
}

.pg-abt-value-icon {
    font-size: 36px;
    margin-bottom: 20px;
    filter: grayscale(1) contrast(1.2);
    transition: 0.4s;
}

.pg-abt-value-card:hover .pg-abt-value-icon {
    transform: scale(1.1) rotate(5deg);
    filter: grayscale(0) brightness(1.2);
}

.pg-abt-value-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 15px;
}

.pg-abt-value-card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

.pg-abt-card-line {
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: #3b82f6;
    transition: width 0.5s ease;
}

.pg-abt-value-card:hover .pg-abt-card-line { width: 100%; }


/* --- 5. BOTTOM CTA --- */
.pg-abt-cta {
    padding: 120px 0;
    background: #FFFFFF;
}

.pg-abt-cta-wrap {
    background: #0F172A; 
    border-radius: 16px;
    padding: 60px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
    position: relative;
    overflow: hidden;
}

.pg-abt-cta-wrap::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.pg-abt-cta-text h2 {
    color: #FFFFFF;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
    position: relative;
}

.pg-abt-cta-text p { color: #94A3B8; font-size: 16px; margin: 0; position: relative;}

.pg-abt-cta-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
    position: relative;
}

.pg-abt-btn-primary {
    display: inline-flex;
    padding: 16px 28px;
    background: #3b82f6;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.pg-abt-btn-primary:hover {
    background: #2563EB;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.pg-abt-btn-secondary {
    display: inline-flex;
    padding: 16px 28px;
    background: transparent;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    transition: 0.3s;
}

.pg-abt-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #FFFFFF;
}

/* --- MOBILE ADAPTATION --- */
@media (max-width: 992px) {
    .pg-abt-focus-grid { grid-template-columns: 1fr; gap: 40px; }
    .pg-abt-cta-wrap { flex-direction: column; text-align: center; }
    .pg-abt-cta-actions { flex-direction: column; width: 100%; }
    .pg-abt-btn-primary, .pg-abt-btn-secondary { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
    .pg-abt-hero { padding: 80px 0 60px; }
    .pg-abt-title { font-size: 42px; }
    .pg-abt-desc { font-size: 16px; }

    .pg-abt-statement { padding: 40px 0; }
    .pg-abt-statement-box { padding: 40px 25px; border-radius: 12px; }
    .pg-abt-statement-box h2 { font-size: 26px; }

    .pg-abt-focus { padding: 60px 0; }
    .pg-abt-focus-grid { gap: 30px; }

    .pg-abt-values { padding: 60px 0; }
    .pg-abt-values-grid { grid-template-columns: 1fr; gap: 20px; }
    .pg-abt-value-card { padding: 30px 25px; }

    .pg-abt-cta { padding: 60px 0; }
    .pg-abt-cta-wrap { padding: 40px 25px; border-radius: 12px; }
    .pg-abt-cta-text h2 { font-size: 26px; }
}


























































/* =========================================
   PAGE: CONTACTS (COMMAND CENTER)
========================================= */

.pg-cnt-wrapper {
    background-color: #F8FAFC;
    color: #0F172A;
    padding-top: var(--header-height, 80px);
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.pg-cnt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- 1. HERO --- */
.pg-cnt-hero {
    position: relative;
    padding: 120px 0 80px;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.pg-cnt-aura {
    position: absolute;
    top: -20%; right: 10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
    animation: pg-cnt-float 8s infinite alternate;
}

@keyframes pg-cnt-float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.05); }
}

.pg-cnt-hero-content { position: relative; z-index: 1; }

.pg-cnt-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: 2px;
    margin-bottom: 25px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 100px;
}

.pg-cnt-title {
    font-size: clamp(48px, 6vw, 84px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 30px;
    color: #020617;
    letter-spacing: -2px;
}

.pg-cnt-highlight {
    background: linear-gradient(120deg, #3b82f6, #0F172A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pg-cnt-desc {
    font-size: 19px;
    color: #475569;
    max-width: 650px;
    line-height: 1.6;
    font-weight: 500;
}

/* --- 2. LAYOUT GRID --- */
.pg-cnt-core { padding: 100px 0; }

.pg-cnt-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.pg-cnt-col-title {
    font-size: 28px;
    font-weight: 900;
    color: #020617;
    margin-bottom: 40px;
    letter-spacing: -1px;
}
.pg-cnt-col-title .thin { font-weight: 300; color: #94A3B8; }

/* --- LEFT: INFO CARDS --- */
.pg-cnt-info-col { display: flex; flex-direction: column; gap: 20px; }

.pg-cnt-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    z-index: 1;
}

.pg-cnt-card.link-card { cursor: pointer; }

.pg-cnt-card-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
    border-radius: 50%;
}

.pg-cnt-card:hover {
    transform: translateX(10px);
    border-color: #3b82f6;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.pg-cnt-card:hover .pg-cnt-card-glow { width: 300px; height: 300px; }

.pg-cnt-card-icon {
    font-size: 32px;
    width: 60px; height: 60px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    filter: grayscale(1) contrast(1.2);
    transition: 0.4s;
    flex-shrink: 0;
}

.pg-cnt-card:hover .pg-cnt-card-icon {
    filter: grayscale(0) brightness(1.1);
    background: #EFF6FF;
    border-color: #BFDBFE;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.pg-cnt-card-data { display: flex; flex-direction: column; gap: 5px; }

.pg-cnt-data-label {
    font-size: 11px;
    font-weight: 800;
    color: #94A3B8;
    letter-spacing: 1.5px;
}

.pg-cnt-data-val {
    font-size: 16px;
    color: #0F172A;
    font-weight: 600;
    line-height: 1.5;
    transition: 0.3s;
}

.pg-cnt-card:hover .highlight-val { color: #3b82f6; }

/* --- RIGHT: FORM --- */
.pg-cnt-form-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.03);
    position: relative;
}

.pg-cnt-form-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 30px;
}

.pg-cnt-secure-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 10px; font-weight: 800; color: #10B981; letter-spacing: 1px;
    background: rgba(16, 185, 129, 0.08); padding: 4px 10px; border-radius: 4px;
}
.pg-cnt-secure-badge .dot { width: 6px; height: 6px; background: #10B981; border-radius: 50%; animation: blink 2s infinite; }

.pg-cnt-form { display: flex; flex-direction: column; gap: 35px; }

.pg-cnt-input-group { position: relative; }

.pg-cnt-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #E2E8F0;
    padding: 10px 0;
    font-size: 16px;
    color: #0F172A;
    font-family: inherit;
    font-weight: 500;
    transition: 0.3s;
}

.pg-cnt-input:focus { outline: none; }

.pg-cnt-input-line {
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px;
    background: #3b82f6;
    transition: 0.4s ease;
    box-shadow: 0 0 10px rgba(59,130,246,0.5);
}

.pg-cnt-input:focus ~ .pg-cnt-input-line { width: 100%; }

.pg-cnt-floating-label {
    position: absolute;
    top: 10px; left: 0;
    font-size: 16px;
    color: #94A3B8;
    pointer-events: none;
    transition: 0.3s ease;
    font-weight: 500;
}

/* Магия отлетающего плейсхолдера */
.pg-cnt-input:focus ~ .pg-cnt-floating-label,
.pg-cnt-input:not(:placeholder-shown) ~ .pg-cnt-floating-label {
    top: -20px;
    font-size: 12px;
    color: #3b82f6;
    font-weight: 700;
    letter-spacing: 1px;
}

.pg-cnt-textarea { resize: vertical; min-height: 100px; }

/* THE SUBMIT BUTTON */
.pg-cnt-submit-btn {
    position: relative;
    background: #0F172A;
    color: #FFFFFF;
    border: none;
    padding: 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: 0.4s;
    display: flex; justify-content: center; align-items: center;
}

.pg-cnt-submit-btn span { position: relative; z-index: 2; }

.pg-cnt-submit-btn .btn-glow {
    position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.6), transparent);
    z-index: 1;
    transition: 0.5s;
}

.pg-cnt-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(15,23,42,0.2), 0 0 20px rgba(59,130,246,0.4);
    background: #3b82f6;
}

.pg-cnt-submit-btn:hover .btn-glow { left: 100%; }






/* --- 3. MAP SECTION (SOFT PREMIUM) --- */
.pg-cnt-map-sec {
    position: relative;
    height: 500px;
    background: #F8FAFC;
    overflow: hidden;
    border-top: 1px solid #E2E8F0;
}

.pg-cnt-real-map {
    position: absolute;
    top: -50px; left: 0; 
    width: 100%; 
    height: calc(100% + 100px);
    z-index: 1;
    /* Делаем карту строгой и серой */
    filter: grayscale(100%) opacity(0.5) contrast(1.1);
    pointer-events: none; /* Карта не перехватывает скролл */
}

/* Мягкий градиент по краям */
.pg-cnt-map-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle at center, transparent 0%, #F8FAFC 80%);
    z-index: 2;
    pointer-events: none;
}

.pg-cnt-marker-wrapper {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex; flex-direction: column; align-items: center; gap: 15px;
    z-index: 10; 
}

/* Кликабельная зона маркера */
.pg-cnt-pin-link {
    position: relative;
    width: 60px; height: 60px;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer;
    text-decoration: none;
}

/* Центральная точка */
.pg-cnt-core-dot {
    width: 16px; height: 16px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.8), 0 0 0 4px #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

/* Мягкая пульсация */
.pg-cnt-soft-pulse {
    position: absolute;
    width: 100%; height: 100%;
    background: #3b82f6;
    border-radius: 50%;
    opacity: 0;
    animation: pg-soft-ping 2.5s infinite ease-out;
    z-index: 1;
}

@keyframes pg-soft-ping {
    0% { transform: scale(0.3); opacity: 0.6; }
    100% { transform: scale(2); opacity: 0; }
}

/* Ховер на маркер */
.pg-cnt-pin-link:hover .pg-cnt-core-dot {
    transform: scale(1.3);
    background: #2563EB;
    box-shadow: 0 0 25px rgba(37, 99, 235, 1), 0 0 0 3px #ffffff;
}

/* Стеклянная плашка с координатами */
.pg-cnt-coords-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.5);
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    pointer-events: none; /* Чтобы не мешало кликать */
    transition: 0.3s;
}

.pg-cnt-coords-glass .action-text {
    font-size: 11px;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: 1px;
}

.pg-cnt-coords-glass .coord-text {
    font-family: monospace;
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
}

/* При наведении на маркер плашка слегка поднимается */
.pg-cnt-pin-link:hover + .pg-cnt-coords-glass {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
}




/* --- MOBILE ADAPTIVE --- */
@media (max-width: 992px) {
    .pg-cnt-layout { grid-template-columns: 1fr; gap: 50px; }
    .pg-cnt-form-box { padding: 40px; }
}

@media (max-width: 768px) {
    .pg-cnt-hero { padding: 80px 0 60px; }
    .pg-cnt-title { font-size: 42px; margin-bottom: 20px; }
    .pg-cnt-desc { font-size: 16px; }

    .pg-cnt-core { padding: 60px 0; }
    .pg-cnt-card { padding: 20px; flex-direction: column; text-align: center; gap: 15px; }
    .pg-cnt-card:hover { transform: translateY(-5px); } /* На мобиле двигаем вверх, а не вбок */
    
    .pg-cnt-form-box { padding: 30px 20px; }
    .pg-cnt-form-header { flex-direction: column; gap: 15px; }
    .pg-cnt-col-title { margin-bottom: 20px; font-size: 24px; }
    
    .pg-cnt-map-sec { height: 300px; }
}









































/* =========================================
   PAGE: SINGLE POST (THE JUICY LONGREAD & ORBS)
========================================= */

.pg-sng-wrapper {
    background-color: #F8FAFC;
    color: #0F172A;
    padding-top: var(--header-height, 80px);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

/* --- 1. HERO SECTION (CLEAN & BREATHING) --- */
.pg-sng-hero {
    position: relative;
    padding: 100px 20px 60px;
    background: #FFFFFF;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

.pg-sng-aura {
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    animation: pg-sng-breathe 8s infinite alternate ease-in-out;
}

@keyframes pg-sng-breathe {
    0% { transform: translate(-50%, 0) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, 20px) scale(1.1); opacity: 1; }
}

.pg-sng-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* Элитный бейдж категории */
.pg-sng-meta-clean {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.pg-sng-cat-badge {
    font-family: monospace;
    font-size: 11px;
    font-weight: 800;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.pg-sng-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    color: #020617 !important; /* Убиваем любой серый */
    margin-bottom: 30px;
    letter-spacing: -1.5px;
    text-shadow: none !important; /* Никакого мыла */
}

.pg-sng-excerpt {
    font-size: 22px;
    line-height: 1.6;
    color: #475569;
    max-width: 760px;
    margin: 0 auto;
    font-weight: 500;
}

/* --- 2. FEATURED IMAGE (GLASS EFFECT) --- */
.pg-sng-media {
    max-width: 1100px;
    margin: -40px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.pg-sng-media-inner {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    position: relative;
}

.pg-sng-media-inner::after {
    content: '';
    position: absolute; inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
    border-radius: 16px;
    pointer-events: none;
}

.pg-sng-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.pg-sng-media-inner:hover .pg-sng-img {
    transform: scale(1.02);
}


/* --- 3. ТЕЛО СТАТЬИ (ТИПОГРАФИКА) --- */
.pg-sng-body {
    background: #F8FAFC;
    padding: 20px 20px 80px;
}

.pg-sng-content {
    max-width: 720px; 
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.8;
    color: #334155;
}

/* Буквица */
.pg-sng-content > p:first-of-type::first-letter {
    float: left;
    font-size: 80px;
    line-height: 60px;
    padding-top: 4px;
    padding-right: 12px;
    font-weight: 900;
    color: #3b82f6;
    text-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.pg-sng-content p { margin-bottom: 35px; }

.pg-sng-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0F172A;
    margin: 60px 0 25px;
    letter-spacing: -0.5px;
}

.pg-sng-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
    margin: 40px 0 20px;
}

/* Ссылки */
.pg-sng-content a {
    color: #0F172A;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    transition: 0.3s ease;
}

.pg-sng-content a:hover {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

/* Цитаты */
.pg-sng-content blockquote {
    position: relative;
    margin: 50px 0;
    padding: 40px 40px 40px 60px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-size: 22px;
    font-style: italic;
    color: #0F172A;
    line-height: 1.6;
    box-shadow: 0 15px 30px rgba(0,0,0,0.03);
    transition: 0.4s;
}

.pg-sng-content blockquote::before {
    content: '';
    position: absolute;
    top: 20px; bottom: 20px; left: 0;
    width: 4px;
    background: #3b82f6;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.pg-sng-content blockquote:hover {
    transform: translateX(10px);
    border-color: #CBD5E1;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.08);
}

.pg-sng-content ul, 
.pg-sng-content ol { margin-bottom: 35px; padding-left: 20px; }
.pg-sng-content li { margin-bottom: 12px; position: relative; }
.pg-sng-content ul li::marker { color: #3b82f6; font-weight: bold; }

.pg-sng-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* --- 4. ORBITAL SHARE SYSTEM --- */
.pg-sng-footer {
    max-width: 720px;
    margin: 80px auto 0;
    padding-top: 50px;
    border-top: 1px solid #E2E8F0;
    text-align: center;
}

.pg-sng-share-zone { margin-bottom: 60px; }

.pg-sng-share-label {
    display: block;
    font-family: monospace;
    font-size: 11px;
    font-weight: 800;
    color: #94A3B8;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.pg-sng-orbs {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.pg-orb {
    position: relative;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F172A;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border: 1px solid #F1F5F9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.pg-orb svg {
    width: 22px;
    height: 22px;
    z-index: 2;
    transition: 0.3s;
}

.pg-orb-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
    opacity: 0;
    transition: 0.4s;
    z-index: 1;
}

/* Hover Orbs */
.pg-orb:hover {
    transform: translateY(-8px) scale(1.1);
    border-color: transparent;
    color: #fff;
}
.pg-orb:hover .pg-orb-glow { opacity: 1; }

.pg-orb.orb-li:hover {
    background: #0077b5;
    box-shadow: 0 15px 35px rgba(0, 119, 181, 0.4), 0 0 15px rgba(0, 119, 181, 0.6) inset;
}

.pg-orb.orb-x:hover {
    background: #000000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.2) inset;
}

.pg-orb.orb-link:hover {
    background: #3b82f6;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4), 0 0 15px rgba(59, 130, 246, 0.6) inset;
}

.pg-orb:active { transform: scale(0.95); }

/* Back Button */
.pg-sng-back { margin-top: 40px; }

.pg-sng-back-btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 800; letter-spacing: 2px;
    color: #64748B; text-decoration: none; text-transform: uppercase;
    transition: 0.3s;
    padding: 10px 20px;
    border-radius: 100px;
}

.pg-sng-back-btn .arrow { transition: 0.3s; }

.pg-sng-back-btn:hover { color: #0F172A; background: #F1F5F9; }
.pg-sng-back-btn:hover .arrow { transform: translateX(-5px); }


/* --- MOBILE ADAPTIVE --- */
@media (max-width: 768px) {
    .pg-sng-hero { padding: 80px 20px 40px; }
    .pg-sng-title { font-size: 34px; }
    .pg-sng-excerpt { font-size: 18px; }
    
    .pg-sng-media { margin-top: -20px; margin-bottom: 40px; }
    
    .pg-sng-content { font-size: 17px; line-height: 1.7; }
    .pg-sng-content > p:first-of-type::first-letter { font-size: 60px; line-height: 48px; }
    .pg-sng-content h2 { font-size: 26px; margin-top: 40px; }
    .pg-sng-content blockquote { padding: 30px 20px 30px 40px; font-size: 19px; }
}








































/* =========================================
   PAGE: NEWS HUB (INTELLIGENCE FEED)
========================================= */

.pg-news-wrapper {
    background-color: #F8FAFC;
    color: #0F172A;
    padding-top: var(--header-height, 80px);
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.pg-news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- 1. HERO SECTION --- */
.pg-news-hero {
    position: relative;
    padding: 120px 0 80px;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    text-align: center;
}

.pg-news-aura {
    position: absolute;
    top: -20%; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.pg-news-hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.pg-news-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 100px;
}

.pg-news-title {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 25px;
    color: #020617;
    letter-spacing: -2px;
}

.pg-news-highlight {
    background: linear-gradient(120deg, #3b82f6, #0F172A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pg-news-desc {
    font-size: 18px;
    color: #475569;
    max-width: 600px;
    line-height: 1.6;
    font-weight: 500;
}

/* --- 2. NEWS FEED GRID --- */
.pg-news-feed { padding: 80px 0 120px; }

.pg-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* КАРТОЧКА НОВОСТИ */
.pg-news-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.pg-news-card-link {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.pg-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.06), 0 0 0 1px #3b82f6;
    border-color: transparent;
}

/* МЕДИА БЛОК */
.pg-news-media {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #F1F5F9;
}

.pg-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pg-news-card:hover .pg-news-img { transform: scale(1.05); }

.pg-news-img-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #E2E8F0, #CBD5E1);
}

/* Плашка категории поверх фото */
.pg-news-cat {
    position: absolute;
    top: 15px; left: 15px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.pg-news-card:hover .pg-news-cat { background: #3b82f6; }

/* КОНТЕНТ КАРТОЧКИ */
.pg-news-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Мета-блок удален, стили для него больше не нужны */

.pg-news-post-title {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin-top: 5px; /* Добавили отступ сверху, т.к. меты больше нет */
    margin-bottom: 15px;
    line-height: 1.4;
    transition: 0.3s;
}

.pg-news-card:hover .pg-news-post-title { color: #3b82f6; }

.pg-news-excerpt {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Толкает кнопку "Access Data" вниз */
}

/* Кнопка "Access Data" */
.pg-news-action {
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #F1F5F9;
    padding-top: 20px;
    color: #0F172A;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: 0.3s;
}

.action-arrow { transition: transform 0.3s ease; }

.pg-news-card:hover .pg-news-action { color: #3b82f6; border-top-color: rgba(59, 130, 246, 0.2); }
.pg-news-card:hover .action-arrow { transform: translateX(5px); }


/* --- 3. PAGINATION / LOAD MORE --- */
.pg-news-pagination {
    text-align: center;
    margin-top: 60px;
}

.pg-news-btn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    color: #0F172A;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.pg-news-btn-more .dot {
    width: 6px; height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    animation: blink 2s infinite;
}

.pg-news-btn-more:hover {
    background: #0F172A;
    color: #fff;
    border-color: #0F172A;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.15);
    transform: translateY(-2px);
}

@keyframes blink { 50% { opacity: 0.3; } }


/* --- MOBILE ADAPTIVE --- */
@media (max-width: 1024px) {
    .pg-news-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
    .pg-news-hero { padding: 80px 0 50px; }
    .pg-news-title { font-size: 38px; margin-bottom: 20px; }
    .pg-news-desc { font-size: 16px; }

    .pg-news-feed { padding: 50px 0 80px; }
    .pg-news-grid { grid-template-columns: 1fr; gap: 25px; }
    
    .pg-news-media { height: 200px; }
    .pg-news-content { padding: 25px; }
}





































/* =========================================
   PAGE: GLOBAL MARKET (CSS CHART DASHBOARD)
========================================= */

.pg-gm-wrapper {
    background-color: #F8FAFC;
    color: #0F172A;
    padding-top: var(--header-height, 80px);
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.pg-gm-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- HERO --- */
.pg-gm-hero {
    position: relative;
    padding: 100px 0 60px;
    background: #FFFFFF;
}

.pg-gm-aura {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
    filter: blur(50px);
    pointer-events: none;
}

.pg-gm-hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.pg-gm-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: 2px;
    margin-bottom: 25px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 100px;
}

.pg-gm-title {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 40px;
    color: #020617;
    letter-spacing: -1.5px;
}

.pg-gm-highlight {
    background: linear-gradient(120deg, #3b82f6, #0F172A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pg-gm-text-body {
    font-size: 18px;
    color: #475569;
    line-height: 1.7;
    text-align: left;
}

.pg-gm-text-body p { margin-bottom: 20px; }

.pg-gm-data-point {
    color: #0F172A;
    font-weight: 800;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

/* --- DASHBOARD & CHART SECTION --- */
.pg-gm-chart-sec { padding: 40px 0 120px; }

.pg-gm-dashboard {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.05);
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    position: relative;
}

/* Лазерная обводка сверху */
.pg-gm-dashboard::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #3b82f6, #0F172A);
    border-radius: 20px 20px 0 0;
}

/* --- LEFT: LEGEND PANEL --- */
.pg-gm-panel-title {
    font-size: 22px;
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 5px;
    line-height: 1.2;
}

.pg-gm-panel-sub {
    font-family: monospace;
    font-size: 11px;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.pg-gm-legend-list {
    list-style: none;
    padding: 0; margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.legend-item .dot {
    width: 14px; height: 14px;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Палитра графика */
.gold { background: #C5A844; }
.red { background: #B3191D; }
.pink { background: #EB7A82; }
.lightblue { background: #5BAAE1; }
.darkblue { background: #2B6488; }

.pg-gm-callout {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 20px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
    font-style: italic;
    border-left: 3px solid #3b82f6;
}


/* --- RIGHT: CSS CHART --- */
.pg-gm-css-chart-wrapper {
    display: flex;
    gap: 20px;
    height: 450px; /* Фиксируем высоту графика */
    padding-bottom: 40px; /* Место под даты */
}

/* Y-Axis */
.pg-gm-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    color: #94A3B8;
    text-align: right;
    padding-bottom: 30px; /* Выравнивание со столбцами */
}

/* Сетка и столбцы */
.pg-gm-chart-area {
    position: relative;
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Столбцы растут вниз от 0 */
}

/* Горизонтальные линии сетки */
.grid-line {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: #E2E8F0;
    z-index: 0;
}
.grid-line:first-child { background: #0F172A; height: 2px; } /* Нулевая линия черная */

/* Колонка (Год) */
.chart-col {
    position: relative;
    width: 35px; /* Ширина столбца */
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Кусок столбца */
.bar {
    width: 100%;
    transition: 0.3s;
    border-bottom: 1px solid #fff; /* Разделитель между блоками */
    cursor: pointer;
}

/* Адовый ховер на куски графика */
.bar:hover {
    transform: scaleX(1.1);
    z-index: 10;
    box-shadow: 0 0 20px currentColor; /* Светится своим же цветом */
}

.bar.gold { color: #C5A844; }
.bar.red { color: #B3191D; }
.bar.pink { color: #EB7A82; }
.bar.lightblue { color: #5BAAE1; }
.bar.darkblue { color: #2B6488; }

/* Дата под столбцом */
.x-label {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-family: monospace;
    font-size: 12px;
    font-weight: 800;
    color: #475569;
}

/* --- MOBILE ADAPTIVE --- */
@media (max-width: 1024px) {
    .pg-gm-dashboard { grid-template-columns: 1fr; gap: 40px; }
    .pg-gm-legend-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
}

@media (max-width: 768px) {
    .pg-gm-hero { padding: 80px 0 40px; }
    .pg-gm-title { font-size: 34px; margin-bottom: 20px; text-align: left; }
    .pg-gm-dashboard { padding: 30px 20px; }
    .pg-gm-legend-list { grid-template-columns: 1fr; }
    
    .pg-gm-css-chart-wrapper { overflow-x: auto; padding-right: 20px; }
    .pg-gm-chart-area { min-width: 600px; } /* Скролл на мобиле */
}



















/* =========================================
   SECTION 2: FULL DATA MATRIX (20 COLS x 10 ROWS)
========================================= */

/* Модификатор контейнера графика для роста вверх */
.pg-gm-chart-wrapper-up {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.05);
    height: 550px; /* Сделал чуть выше для дат под углом */
    position: relative;
    overflow: hidden;
}

.pg-gm-chart-wrapper-up::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #1E3A8A, #BE123C, #FEF08A);
}

.pg-gm-y-axis-up {
    padding-bottom: 0;
    padding-top: 10px; 
}

/* Разметка для плотного графика (20 колонок) */
.pg-gm-dense-chart {
    align-items: flex-end; /* Столбцы растут вверх */
    gap: 4px; /* Маленький отступ между годами */
    padding-bottom: 40px; /* Место для косых дат */
}

/* Даты под углом 45 градусов, чтобы не слипались */
.pg-gm-dense-chart .x-label.rotated {
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) rotate(-45deg);
    transform-origin: center center;
    font-size: 10px;
}

/* Легенда в 2 колонки для компактности */
.pg-gm-legend-list.full-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.pg-gm-legend-list.full-grid .legend-item { font-size: 11px; }

/* -------------------------------------
   ЦВЕТА И ХОВЕРЫ ДЛЯ ВСЕХ 10 КАТЕГОРИЙ 
-------------------------------------- */
/* 1. USA */
.c-usa { background: #1E3A8A; color: #1E3A8A; }
.bar.c-usa:hover, .dot.c-usa:hover { box-shadow: 0 0 15px rgba(30, 58, 138, 0.8); z-index:10; }

/* 2. France */
.c-fra { background: #1D4ED8; color: #1D4ED8; }
.bar.c-fra:hover, .dot.c-fra:hover { box-shadow: 0 0 15px rgba(29, 78, 216, 0.8); z-index:10; }

/* 3. EU (ex France) */
.c-eu { background: #0284C7; color: #0284C7; }
.bar.c-eu:hover, .dot.c-eu:hover { box-shadow: 0 0 15px rgba(2, 132, 199, 0.8); z-index:10; }

/* 4. Russia */
.c-rus { background: #7DD3FC; color: #7DD3FC; }
.bar.c-rus:hover, .dot.c-rus:hover { box-shadow: 0 0 15px rgba(125, 211, 252, 0.8); z-index:10; }

/* 5. China */
.c-chi { background: #BE123C; color: #BE123C; }
.bar.c-chi:hover, .dot.c-chi:hover { box-shadow: 0 0 15px rgba(190, 18, 60, 0.8); z-index:10; }

/* 6. East & SE Asia */
.c-esea { background: #713F12; color: #713F12; }
.bar.c-esea:hover, .dot.c-esea:hover { box-shadow: 0 0 15px rgba(113, 63, 18, 0.8); z-index:10; }

/* 7. Americas (ex USA) */
.c-ame { background: #A16207; color: #A16207; }
.bar.c-ame:hover, .dot.c-ame:hover { box-shadow: 0 0 15px rgba(161, 98, 7, 0.8); z-index:10; }

/* 8. Non-EU Europe */
.c-neeu { background: #CA8A04; color: #CA8A04; }
.bar.c-neeu:hover, .dot.c-neeu:hover { box-shadow: 0 0 15px rgba(202, 138, 4, 0.8); z-index:10; }

/* 9. Other Asia, Africa */
.c-oaa { background: #EAB308; color: #EAB308; }
.bar.c-oaa:hover, .dot.c-oaa:hover { box-shadow: 0 0 15px rgba(234, 179, 8, 0.8); z-index:10; }

/* 10. Japan */
.c-jap { background: #FEF08A; color: #FEF08A; }
.bar.c-jap:hover, .dot.c-jap:hover { box-shadow: 0 0 15px rgba(254, 240, 138, 0.8); z-index:10; }

/* Мобильная адаптация для этого монстра */
@media (max-width: 1024px) {
    .pg-gm-css-chart-wrapper.pg-gm-chart-wrapper-up { overflow-x: auto; }
    .pg-gm-dense-chart { min-width: 800px; } /* Заставляем скроллиться, чтобы колонки не сжались в пыль */
}