       :root { --primary: #2c3e50; --accent: #e74c3c; --bg: #f4f7f6; --success: #27ae60; --link: #3498db; }
        body { font-family: 'Segoe UI', Arial, sans-serif; background: var(--bg); margin: 0; padding: 20px; color: #333; line-height: 1.6; }
        .container { max-width: 1000px; margin: 0 auto; }
        
        .breadcrumb { margin-bottom: 15px; font-size: 0.9rem; color: #7f8c8d; }
        .breadcrumb a { color: var(--link); text-decoration: none; }
        
        .header-box { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 10px; border-left: 6px solid var(--primary); }
        h1 { margin: 0; color: var(--primary); font-size: 1.7rem; }

        /* Telegram banner */
        .promo-banner { display: flex; align-items: center; justify-content: space-between; background: white; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.06); margin-bottom: 30px; overflow: hidden; text-decoration: none; border: 1px solid #e1e8ed; height: 150px; padding: 10px 20px; }
        .promo-header-compact { flex: 1 1 30%; color: var(--link); font-weight: 700; font-size: 0.95rem; }
        .promo-image-compact { flex: 0 0 130px; height: 130px; display: flex; justify-content: center; align-items: center; }
        .promo-image-compact img { max-height: 100%; max-width: 100%; }
        .promo-cta-compact { flex: 1 1 40%; display: flex; flex-direction: column; align-items: center; }
        .promo-title { color: #0088cc; font-size: 1.1rem; font-weight: 800; text-transform: uppercase; margin-bottom: 4px; }
        .promo-subtitle { color: #444; font-size: 0.95rem; font-weight: 500; text-align: center; }

        /* Table */
        .table-container { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); margin-bottom: 30px; }
        table { width: 100%; border-collapse: collapse; }
        th { background: var(--primary); color: white; padding: 15px; text-align: left; font-size: 0.8rem; text-transform: uppercase; cursor: pointer; }
        th:hover { background: #34495e; }
        td { padding: 15px 3px; border-bottom: 1px solid #f0f0f0; }
        .brand-badge { background: #ebf2f9; color: #2980b9; padding: 5px; border-radius: 4px; font-weight: bold; font-size: 0.9rem; display: inline-block; }
        .country-link { display: block; font-size: 0.8rem; color: #999; margin-top: 5px; text-decoration: none; }
        .price-local { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 0.8; white-space: nowrap;}
        .price-usd { color: var(--success); font-weight: 600; font-size: 0.9rem; }
        
        /* Центрирование текста и содержимого по горизонтали и вертикали для всей таблицы */
        .table-container th,
        .table-container td {
            text-align: center;
            vertical-align: middle;
        }

        /* Analytics & UI Widgets */
        .analytics-box { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 30px; }
        .analytics-box h2 { margin-top: 0; color: var(--primary); font-size: 1.3rem; margin-bottom: 20px; border-bottom: 2px solid var(--bg); padding-bottom: 10px; }
        
        .calculator-controls { display: flex; gap: 15px; flex-wrap: wrap; align-items: center; }
        .calculator-controls select, .calculator-controls input { padding: 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 1rem; flex: 1; min-width: 150px; }
        .calculator-controls button { padding: 10px 20px; background: var(--success); color: white; border: none; border-radius: 6px; font-size: 1rem; cursor: pointer; font-weight: bold; }
        .calculator-controls button:hover { background: #219653; }
        
        .highlight-card { background: #e8f4fd; padding: 15px; border-radius: 8px; border-left: 4px solid #3498db; margin-bottom: 20px; }

        .seo-section { background: white; padding: 35px; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
        .seo-content { color: #555; white-space: pre-line; text-align: justify; }

        .footer-links a { color: #7f8c8d; text-decoration: none; margin: 0 10px; }
        .footer-links a:hover { text-decoration: underline; color: var(--primary); }


        
        /* --- Верхняя шапка (Header) --- */
        .main-header {
            background: #ffffff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
            position: sticky;
            top: 0;
            z-index: 1000;
            margin-bottom: 25px;
        }

        .header-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 65px;
        }

        .logo {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary, #2c3e50);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .logo-badge {
            background: var(--accent, #e74c3c);
            color: white;
            font-size: 0.75rem;
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .nav-menu {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .nav-menu a {
            color: #555;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            padding: 8px 14px;
            border-radius: 6px;
            transition: all 0.2s ease;
        }

        .nav-menu a:hover {
            color: var(--primary, #2c3e50);
            background: #f0f3f6;
        }

        .nav-menu a.active {
            color: #ffffff;
            background: var(--primary, #2c3e50);
        }

        /* Кнопка гамбургера для мобильных */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 26px;
            height: 19px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
        }

        .menu-toggle span {
            width: 100%;
            height: 3px;
            background-color: var(--primary, #2c3e50);
            border-radius: 2px;
            transition: all 0.3s ease;
        }