/* ==========================================================================
   TELETECH FORUM 2026 - ULTRA-CLEAN & COMPACT CARD STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    --bg-dark: #0b1326;
    --bg-surface: #131b2e;
    --bg-card: rgba(19, 27, 46, 0.75);
    --bg-card-hover: rgba(34, 42, 61, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    --border-color: rgba(45, 52, 73, 0.6);
    --border-subtle: rgba(45, 52, 73, 0.4);
    --border-glow: rgba(14, 165, 233, 0.3);
    --border-gold: rgba(245, 158, 11, 0.3);
    
    --text-main: #dae2fd;
    --text-muted: #bec8d2;
    --text-dim: #88929b;
    
    --accent-blue: #89ceff;
    --accent-primary: #0ea5e9;
    --accent-primary-hover: #0284c7;
    --accent-cyan: #38bdf8;
    --accent-gold: #ffb95f;
    --accent-green: #4edea3;
    --accent-red: #ffb4ab;
    
    --radius-full: 9999px;
    --radius-xl: 16px;
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 6px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 4px 20px rgba(14, 165, 233, 0.25);
    --shadow-gold: 0 0 20px rgba(255, 185, 95, 0.2);
    
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Geist', 'Inter', var(--font-sans);
    --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    min-height: 100vh;
    position: static;
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0b1326;
}
::-webkit-scrollbar-thumb {
    background: #2d3449;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0ea5e9;
}
* {
    scrollbar-width: thin;
    scrollbar-color: #2d3449 #0b1326;
}


.bg-blur-1 {
    position: absolute;
    top: -120px;
    left: 25%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.bg-blur-2 {
    position: absolute;
    top: 450px;
    right: 15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }

/* Legal Top Banner */
.legal-top-banner {
    background: #080b12;
    border-bottom: 1px solid var(--border-color);
    padding: 7px 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.legal-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.legal-link { color: var(--accent-blue); text-decoration: none; font-weight: 600; }
.legal-link:hover { text-decoration: underline; }

/* Header */
.header {
    background: rgba(9, 13, 22, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-heading, 'Manrope', sans-serif);
    font-size: 1.22rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-text span { color: var(--accent-blue); }

.logo-badge {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #93c5fd;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    margin-left: 6px;
}

/* Navigation Tab Buttons */
.nav,
.header-nav-desktop,
.nav.header-nav-desktop {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px;
    border-radius: 30px;
}

.nav-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    color: #e2e8f0;
    padding: 6px 11px;
    border-radius: 20px;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-sizing: border-box;
    line-height: 1.2;
}

.nav-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-tab.active {
    color: #ffffff !important;
    background: #1e40af !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Mobile Burger Button */
.mobile-burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
    flex-shrink: 0;
}

.mobile-burger-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(56, 189, 248, 0.4);
}

.mobile-burger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #f8fafc;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-burger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-burger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-burger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.86rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
    border: none !important;
}

.btn-primary:hover {
    background: var(--accent-primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45) !important;
}

.btn-glow { box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35); }

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
}

.btn-outline:hover {
    background: #1e40af;
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.btn-block { width: 100%; padding: 13px 20px; font-size: 0.92rem; }

/* Action Buttons */
.card-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}
.btn-action {
    flex: 1 1 calc(50% - 4px);
    min-width: 130px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.25;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-action.btn-spec-modal {
    flex: 1 1 100%;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-trial {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}
.btn-trial:hover {
    background: rgba(16, 185, 129, 0.22);
    border-color: #10b981;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-bot {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #93c5fd;
}
.btn-bot:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    color: #ffffff;
}

.btn-spec-modal {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
}
.btn-spec-modal:hover {
    background: #1e40af;
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.vote-btn:hover { background: rgba(16, 185, 129, 0.12); border-color: var(--accent-green); color: var(--accent-green); }
.vote-btn.voted { background: rgba(16, 185, 129, 0.2); border-color: var(--accent-green); color: var(--accent-green); }

/* ================= MULTI-SELECTION FILTER MATRIX & TOGGLE ================= */
.btn-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    color: #f8fafc;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.btn-filter-toggle:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.btn-filter-toggle.active {
    background: rgba(37, 99, 235, 0.15);
    border-color: #3b82f6;
    color: #60a5fa;
}

.filter-badge-count {
    background: #2563eb;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    line-height: 1;
}

.filter-toggle-arrow {
    font-size: 0.8rem;
    color: #e2e8f0;
    transition: transform 0.2s ease;
}

.btn-filter-toggle.open .filter-toggle-arrow {
    transform: rotate(180deg);
}

/* ⚡ QUICK FILTER PRESETS (SLEEK HORIZONTAL PILLS) */
.preset-filters-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 16px;
}

.preset-btn {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.preset-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.preset-btn.active {
    background: rgba(37, 99, 235, 0.18) !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
    color: #93c5fd !important;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2) !important;
}

/* COLLAPSIBLE FILTER PANEL */
.filter-panel-box {
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 20px 24px;
    margin-top: 8px;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    animation: slideDownFilter 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDownFilter {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.filter-matrix-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 10px;
}

.matrix-title { font-size: 0.86rem; color: #cbd5e1; }

.btn-reset-filters {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 5px 12px;
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reset-filters:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.filter-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 960px) {
    .filter-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .filter-categories-grid {
        grid-template-columns: 1fr;
    }
}

.filter-category-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(10, 15, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 14px;
}

.category-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.category-chips {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 7px 10px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    color: #e2e8f0;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
}

.filter-chip input[type="checkbox"] {
    accent-color: #2563eb;
    width: 15px;
    height: 15px;
    cursor: pointer;
    border-radius: 4px;
}

.filter-chip:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

.filter-chip.active {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(59, 130, 246, 0.4);
    color: #ffffff;
    font-weight: 600;
}

/* ==========================================================================
   HERO SECTION (HIGH-TECH LAB & TRUST METRICS)
   ========================================================================== */
.hero {
    padding: 36px 0 24px;
}

.hero-tagline {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #60a5fa;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto 26px;
}

.hero-metrics-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 12px 28px;
    gap: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    flex-wrap: wrap;
}

.hero-metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-metric-val {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
}

.hero-metric-label {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-metric-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .hero-title { font-size: 1.85rem; }
    .hero-metrics-bar { gap: 12px; padding: 12px 16px; }
    .hero-metric-divider { display: none; }
    .hero-metric-item { flex: 1 1 40%; }
}

/* TABBED VIEW SYSTEM */
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeInTab 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SEARCH & SORT */
.filter-wrapper { max-width: 1000px; margin: 0 auto; }
.search-sort-bar { display: flex; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; align-items: center; position: relative; z-index: 50; }
.flex-2 { flex: 2; min-width: 240px; position: relative; }
.flex-1 { flex: 1; min-width: 180px; position: relative; }

.search-box { position: relative; }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 16px !important; color: #e2e8f0; pointer-events: none; }

.search-box input {
    width: 100%;
    padding: 13px 18px 13px 44px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-box input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.25);
    background: rgba(15, 23, 42, 1);
}

.sort-select {
    width: 100%;
    padding: 13px 18px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.sort-select:focus, .sort-select:hover {
    border-color: #3b82f6;
}

/* ==========================================================================
   2-COLUMN MODERN APP STORE GRID LAYOUT
   ========================================================================== */
.rating-section { padding: 16px 0 40px; }
.cards-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.bot-grid-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bot-grid-card:hover {
    background: rgba(22, 33, 62, 0.9);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.bot-grid-card.winner-card {
    background: linear-gradient(145deg, rgba(22, 33, 62, 0.95) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.bot-grid-card.dead-card {
    opacity: 0.55;
    border-color: rgba(239, 68, 68, 0.25);
}

/* 1. TOP ROW: Avatar + Identity + Price */
.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.card-identity-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
    min-width: 0;
}

.card-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.card-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.card-rank-tag {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 6px;
    line-height: 1.2;
}

.card-rank-tag.rank-winner {
    background: #2563eb;
    border-color: #3b82f6;
    color: #ffffff;
}

.card-title-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.card-name-line {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.card-bot-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pill-choice {
    font-size: 0.68rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(30, 64, 175, 0.3) 100%);
    border: 1px solid rgba(59, 130, 246, 0.45);
    color: #93c5fd;
    padding: 2px 7px;
    border-radius: 5px;
    letter-spacing: 0.2px;
}

.pill-verified {
    font-size: 0.68rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
    padding: 1px 6px;
    border-radius: 5px;
}

.pill-offline {
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    padding: 1px 6px;
    border-radius: 5px;
}

.btn-winner-glow {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45) !important;
    font-weight: 800 !important;
}

.btn-winner-glow:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6) !important;
}

.card-sub-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #e2e8f0;
    flex-wrap: wrap;
}

.card-rating-num {
    color: #fbbf24;
    font-weight: 700;
}

.card-reviews-num {
    color: #cbd5e1;
}

.card-bullet {
    color: #cbd5e1;
}

.card-handle-text {
    color: #60a5fa;
    font-weight: 500;
}

.card-price-block {
    text-align: right;
    flex-shrink: 0;
}

.card-price-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
}

.card-trial-text {
    font-size: 0.74rem;
    font-weight: 600;
    margin-top: 1px;
}

.text-trial {
    color: #10b981;
}

.text-offline {
    color: #f87171;
}

/* 2. MIDDLE: Description */
.card-bio-text {
    font-size: 0.86rem;
    color: #e2e8f0;
    line-height: 1.45;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 3. SPECS CHIPS */
.card-specs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.spec-pill {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.spec-proto {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.spec-ping {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.spec-pay {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

/* 4. BOTTOM ACTIONS */
.card-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 6px;
    margin-top: auto;
    align-items: stretch;
}

.btn-grid-spec {
    padding: 8px 8px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.btn-grid-spec:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-grid-review {
    padding: 8px 8px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.btn-grid-review:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}

.btn-grid-dispute {
    padding: 8px 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.btn-grid-dispute:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.45);
    color: #fca5a5;
}

.btn-grid-connect {
    padding: 8px 10px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    gap: 4px;
    transition: all 0.15s ease;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.btn-grid-connect:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

.btn-disabled {
    background: #334155 !important;
    color: #e2e8f0 !important;
    box-shadow: none !important;
}

@media (max-width: 960px) {
    .cards-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   INTERACTIVE SPEEDTEST DEMO CARD
   ========================================================================== */
.speedtest-demo-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 26px 28px;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.speedtest-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.speedtest-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-main);
}

.speedtest-subtitle {
    font-family: var(--font-sans);
    font-size: 0.86rem;
    color: var(--text-muted);
    margin: 4px 0 0 0;
}

.btn-run-speedtest {
    padding: 10px 22px;
    font-weight: 700;
    font-size: 15px !important;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(to right, #0ea5e9, #38bdf8, #4edea3);
    color: #ffffff;
    border: none;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.35);
    transition: all 0.2s ease;
}

.btn-run-speedtest:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.speedtest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.speedtest-col {
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.speedtest-col-old {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.speedtest-col-new {
    background: linear-gradient(145deg, rgba(30, 58, 138, 0.25) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(59, 130, 246, 0.45);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
}

.speedtest-col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 6px;
}

.speedtest-col-title {
    font-weight: 800;
    font-size: 0.95rem;
}

.old-title { color: #f87171; }
.new-title { color: #60a5fa; }

.speedtest-status-pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 5px;
}

.old-status {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.new-status {
    background: rgba(37, 99, 235, 0.25);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.speedtest-meter-box {
    margin-bottom: 14px;
}

.speedtest-meter-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.84rem;
    color: #e2e8f0;
    margin-bottom: 5px;
}

.val-old { color: #f87171; font-size: 1.15rem; font-family: var(--font-heading); }
.val-new { color: #34d399; font-size: 1.15rem; font-family: var(--font-heading); }

.speedtest-progress-track {
    height: 8px;
    background: #1e40af;
    border-radius: 4px;
    overflow: hidden;
}

.speedtest-progress-bar {
    height: 100%;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-old { background: #ef4444; }
.bar-new { background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%); }

.speedtest-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.speedtest-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 14px 20px;
    margin-top: 22px;
}

.speedtest-cta-text {
    color: #e2e8f0;
    font-size: 0.88rem;
}

.speedtest-cta-btn {
    padding: 9px 20px;
    font-size: 0.88rem;
    text-decoration: none;
    flex-shrink: 0;
}

/* Light Theme Overrides for SpeedTest */
body.light-theme .speedtest-demo-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .speedtest-title {
    color: #0f172a !important;
}

body.light-theme .speedtest-subtitle {
    color: #334155 !important;
}

body.light-theme .speedtest-col-old {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}

body.light-theme .speedtest-col-new {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08) !important;
}

body.light-theme .new-title {
    color: #15803d !important;
}

body.light-theme .speedtest-progress-track {
    background: #e2e8f0 !important;
}

body.light-theme .speedtest-details-grid {
    color: #334155 !important;
}

body.light-theme .speedtest-cta-box {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
}

body.light-theme .speedtest-cta-text {
    color: #1e3a8a !important;
}

@media (max-width: 768px) {
    .speedtest-grid {
        grid-template-columns: 1fr;
    }
    .speedtest-header-row {
        flex-direction: column;
        align-items: stretch;
    }
    .speedtest-cta-box {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Compact Summary */
.compact-summary {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-bottom: 10px;
    line-height: 1.4;
}

.compact-summary strong { color: var(--text-main); }

.card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.load-more-wrapper { margin-top: 30px; }
.btn-load-more { padding: 12px 28px; font-size: 0.92rem; }
.load-more-info { color: var(--text-muted); font-size: 0.82rem; margin-top: 8px; }

/* MODAL SUB-TABBED SYSTEM (#specModal) */
.spec-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }

.modal-subtabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.modal-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-tab:hover { color: var(--text-main); background: rgba(255, 255, 255, 0.05); }

.modal-tab.active {
    color: #fff;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.modaltab-content { display: none; }
.modaltab-content.active { display: block; animation: fadeIn 0.25s ease-in-out; }

/* DATA-DENSE BLOCKS IN MODAL */
.data-block {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-bottom: 10px;
}

.data-block-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.matrix-grid { display: flex; flex-wrap: wrap; gap: 6px; }

.matrix-item { font-size: 0.78rem; padding: 3px 8px; border-radius: var(--radius-sm); font-weight: 600; }
.item-pass { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.2); }
.item-fail { background: rgba(239, 68, 68, 0.1); color: var(--accent-red); border: 1px solid rgba(239, 68, 68, 0.2); }

.tech-pills-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    color: var(--text-main);
}

.pill-purple { background: rgba(139, 92, 246, 0.12); color: var(--accent-purple); border-color: rgba(139, 92, 246, 0.25); }
.pill-blue { background: rgba(6, 182, 212, 0.12); color: var(--accent-cyan); border-color: rgba(6, 182, 212, 0.25); }

.info-cols-row { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; color: var(--text-muted); }
.info-col strong { color: var(--text-main); }

.pros-cons-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 10px; margin-bottom: 12px; }
.pros-box, .cons-box { background: rgba(0, 0, 0, 0.2); padding: 10px 12px; border-radius: var(--radius-md); font-size: 0.8rem; }
.pros-box { border-left: 3px solid var(--accent-green); }
.cons-box { border-left: 3px solid var(--accent-red); }

.pros-box h4 { color: var(--accent-green); font-size: 0.8rem; margin-bottom: 4px; }
.cons-box h4 { color: var(--accent-red); font-size: 0.8rem; margin-bottom: 4px; }

.pros-box ul, .cons-box ul { list-style: none; }
.pros-box li, .cons-box li { color: #cbd5e1; margin-bottom: 3px; position: relative; padding-left: 10px; }
.pros-box li::before { content: "•"; position: absolute; left: 0; color: var(--accent-green); }
.cons-box li::before { content: "•"; position: absolute; left: 0; color: var(--accent-red); }

/* ISP SCANNER */
.isp-scanner-section { padding: 24px 0 32px; }
.scanner-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.scanner-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.scanner-header h2 { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; color: #ffffff; }
.scanner-header p { color: var(--text-muted); font-size: 0.86rem; }

.isp-select {
    padding: 10px 16px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.isp-select:focus {
    border-color: #3b82f6;
}

.scanner-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }

.isp-status-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 0.84rem;
    border: 1px solid var(--border-color);
}

.status-green { background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.25); }
.status-yellow { background: rgba(245, 158, 11, 0.08); border-color: rgba(245, 158, 11, 0.25); }
.status-red { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.25); }

.status-icon { font-size: 1.4rem; }
.isp-status-box strong { display: block; margin-bottom: 2px; color: var(--text-main); }
.isp-status-box p { color: var(--text-muted); font-size: 0.8rem; }

/* COMPARISON TABLE */
.comparison-section { padding: 24px 0 36px; }
.table-wrapper { overflow-x: auto; margin-top: 18px; border-radius: var(--radius-xl); border: 1px solid var(--border-color); }

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    text-align: left;
    font-size: 0.88rem;
}

.comparison-table th, .comparison-table td { padding: 14px 20px; border-bottom: 1px solid var(--border-color); }
.comparison-table th { background: rgba(15, 23, 42, 0.95); font-family: var(--font-heading); color: var(--text-main); font-weight: 700; }

.comparison-table tr.highlight-row { background: rgba(37, 99, 235, 0.08); }
.text-green { color: var(--accent-green); }
.text-red { color: var(--accent-red); }

.badge-gold { background: rgba(245, 158, 11, 0.18); color: var(--accent-gold); padding: 3px 8px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.78rem; }
.badge-purple { background: rgba(139, 92, 246, 0.18); color: var(--accent-purple); padding: 3px 8px; border-radius: var(--radius-sm); font-size: 0.78rem; }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); padding: 3px 8px; border-radius: var(--radius-sm); font-size: 0.78rem; }
.badge-red { background: rgba(239, 68, 68, 0.18); color: var(--accent-red); padding: 3px 8px; border-radius: var(--radius-sm); font-size: 0.78rem; }

/* ARTICLES */
.articles-section { padding: 30px 0; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-header-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 0.75rem; }
.article-tag { padding: 3px 8px; border-radius: var(--radius-sm); font-weight: 600; }
.read-time { color: var(--text-muted); }

.article-card h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.article-excerpt { color: var(--text-muted); font-size: 0.86rem; margin-bottom: 16px; flex-grow: 1; }

.article-footer-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-color); padding-top: 12px; font-size: 0.78rem; }
.author-info { display: flex; align-items: center; gap: 6px; color: var(--text-main); }
.btn-read-more { background: none; border: none; color: var(--accent-purple); font-weight: 600; cursor: pointer; font-size: 0.82rem; }

/* COMMENTS & REVIEWS */
.comments-section { padding: 30px 0; }

.add-comment-box {
    background: rgba(22, 26, 46, 0.85);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-top: 18px;
    margin-bottom: 24px;
}

.add-comment-box h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 14px; }

.form-row { display: flex; gap: 14px; flex-wrap: wrap; }
.flex-1 { flex: 1; min-width: 180px; }

.form-group select {
    width: 100%;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 0.88rem;
    outline: none;
}

.comments-list { display: flex; flex-direction: column; gap: 14px; }

.comment-card {
    background: rgba(18, 24, 44, 0.65);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
}

.comment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.comment-author-info { display: flex; align-items: center; gap: 8px; }
.comment-service-tag { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); padding: 2px 8px; border-radius: var(--radius-sm); font-size: 0.72rem; }

.comment-meta { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; }
.comment-stars { color: var(--accent-gold); }
.comment-date { color: var(--text-muted); }
.comment-content { color: #cbd5e1; font-size: 0.88rem; line-height: 1.5; }

/* Add Service Banner */
.add-service-banner {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-xl);
    padding: 24px 30px;
    margin: 30px auto;
}

.add-banner-content { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.add-banner-text h2 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.add-banner-text p { color: var(--text-muted); font-size: 0.88rem; max-width: 650px; }

/* Legal Compliance Box */
.legal-terms-section { padding: 20px 0 35px; }
.legal-box {
    background: rgba(15, 20, 35, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.legal-box h4 { color: var(--text-main); margin-bottom: 6px; font-size: 0.85rem; }
.legal-box p { margin-bottom: 4px; }

/* Modal Form Overlay */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-card {
    background: #101428;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 540px;
    padding: 26px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-card.modal-large { max-width: 680px; }

.modal-close {
    position: absolute;
    top: 18px; right: 18px;
    background: none; border: none;
    color: var(--text-muted); font-size: 1.2rem; cursor: pointer;
}

.modal-title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.modal-subtitle { color: var(--text-muted); font-size: 0.84rem; margin-bottom: 16px; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }

.form-group input[type="text"], .form-group textarea {
    width: 100%;
    padding: 9px 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 0.88rem;
    outline: none;
}

.form-checkboxes { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: var(--text-muted); }
.form-checkboxes label { display: flex; align-items: center; gap: 6px; cursor: pointer; }

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px; right: 30px;
    background: var(--accent-green);
    color: #000;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    display: none;
    z-index: 1100;
    font-size: 0.88rem;
}

.footer { border-top: 1px solid var(--border-color); padding: 25px 0; text-align: center; color: var(--text-muted); font-size: 0.82rem; }
.footer-link { color: var(--accent-cyan); text-decoration: none; font-weight: 600; }

@media (max-width: 960px) {
    .legal-banner-content { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 1.9rem; }
    .flex-header { flex-direction: column; align-items: stretch; gap: 12px; }
    .add-banner-content { flex-direction: column; text-align: center; }
    .card-footer { flex-direction: column; gap: 12px; align-items: stretch; }
    .btn { justify-content: center; }
    .form-row { flex-direction: column; gap: 0; }
    .card-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}
.btn-action {
    flex: 1 1 calc(50% - 4px);
    min-width: 130px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.25;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-action.btn-spec-modal {
    flex: 1 1 100%;
}
    .btn-action { justify-content: center; }
}

/* ==========================================================================
   MASTER RESPONSIVE ENGINE (4K -> DESKTOP -> TABLET -> MOBILE 320PX)
   ========================================================================== */

/* 1. TABLE SCROLL WRAPPERS */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.4);
    border-radius: 4px;
}

/* 2. MEDIA QUERIES FOR LARGE DESKTOPS (1400PX+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1280px;
    }
}

/* 3. TABLET LANDSCAPE & SMALL DESKTOPS (960PX - 1199PX) */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 2.1rem;
    }
    .filter-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* 4. TABLET PORTRAIT (768PX - 959PX) */
@media (max-width: 959px) {
    .search-sort-bar {
        flex-direction: column;
        gap: 10px;
    }

    .sort-box {
        width: 100%;
    }

    .filter-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 5. MOBILE PHONES (UP TO 767PX) */
@media (max-width: 767px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero {
        padding: 30px 0 20px;
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .filter-categories-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .filter-panel-box {
        padding: 14px;
    }

    .rating-card {
        padding: 18px;
    }

    .rating-rank-badge {
        position: static;
        margin-bottom: 10px;
        display: inline-flex;
    }

    .card-price-badge {
        position: static;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }

    .card-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}
.btn-action {
    flex: 1 1 calc(50% - 4px);
    min-width: 130px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.25;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-action.btn-spec-modal {
    flex: 1 1 100%;
}

    .btn-action {
        width: 100%;
        justify-content: center;
    }

    .modal-card {
        padding: 18px;
        max-width: 95vw;
        max-height: 88vh;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* 6. SMALL MOBILE PHONES (UP TO 400PX) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.45rem;
    }

    .filter-chip {
        font-size: 0.78rem;
        padding: 7px 10px;
    }

    .logo-text {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   THEME TOGGLE BUTTON & LIGHT THEME ENGINE OVERRIDES
   ========================================================================== */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
}

.theme-toggle-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--accent-purple);
    transform: translateY(-1px);
}


/* ==========================================================================
   UNIFIED COMPLETE LIGHT THEME DESIGN SYSTEM
   ========================================================================== */
body.light-theme {
    background-color: #f8fafc;
    color: #0f172a;
}

body.light-theme .bg-blur-1 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

body.light-theme .bg-blur-2 {
    background: radial-gradient(circle, rgba(147, 197, 253, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Header & Navigation */
body.light-theme .header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

body.light-theme .logo {
    color: #0f172a;
}

body.light-theme .logo-text {
    color: #0f172a !important;
}

body.light-theme .logo-text strong {
    color: #2563eb !important;
}

body.light-theme .nav {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}

body.light-theme .nav-tab {
    color: #334155 !important;
}

body.light-theme .nav-tab:hover {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.04);
}

body.light-theme .nav-tab.active {
    color: #ffffff !important;
    background: #0284c7 !important;
    box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35) !important;
}

body.light-theme .theme-toggle-btn {
    background: #f1f5f9;
    border-color: #334155;
    color: #0f172a;
}

/* Hero Typography & Metrics */
body.light-theme .hero-tagline {
    color: #1d4ed8 !important;
    font-weight: 800 !important;
}

body.light-theme .hero-title {
    color: #0f172a !important;
}

body.light-theme .gradient-text {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #0284c7 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #1e40af !important;
    display: inline-block !important;
}

body.light-theme .hero-subtitle {
    color: #334155 !important;
    font-weight: 500 !important;
}

body.light-theme .hero-metrics-bar {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-theme .hero-metric-val {
    color: #0f172a !important;
}

body.light-theme .hero-metric-label {
    color: #334155 !important;
}

body.light-theme .hero-metric-divider {
    background: #e2e8f0 !important;
}

/* Search, Sort, Filters */
body.light-theme .search-box input,
body.light-theme .sort-select {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.light-theme .search-box input::placeholder {
    color: #0f172a;
}

body.light-theme .search-box input:focus,
body.light-theme .sort-select:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.2) !important;
}

body.light-theme .btn-filter-toggle {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.light-theme .btn-filter-toggle.active {
    background: #eff6ff !important;
    border-color: #3b82f6 !important;
    color: #1d4ed8 !important;
}

body.light-theme .preset-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.light-theme .preset-btn:hover {
    background: #f8fafc !important;
    border-color: #0f172a !important;
    color: #0f172a !important;
    transform: translateY(-1px);
}

body.light-theme .preset-btn.active {
    background: #2563eb !important;
    border-color: #1d4ed8 !important;
    color: #0f172a !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
    font-weight: 700 !important;
}

body.light-theme .filter-panel-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

body.light-theme .matrix-title {
    color: #0f172a;
}

body.light-theme .filter-category-column {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

body.light-theme .category-label {
    color: #1e40af;
    border-bottom-color: #0f172a;
}

body.light-theme .filter-chip {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
}

body.light-theme .filter-chip:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #0f172a;
}

body.light-theme .filter-chip.active {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
    font-weight: 700;
}

/* Cards & Grid */
body.light-theme .catalog-toolbar-header div {
    color: #334155 !important;
}

body.light-theme .catalog-toolbar-header div strong {
    color: #0f172a !important;
}



body:not(.light-theme) .hero-os-pill {
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
}

body:not(.light-theme) .hero-os-pill span { color: #38bdf8 !important; }
body:not(.light-theme) .spec-proto,
body:not(.light-theme) .badge-vless,
body:not(.light-theme) .windows-hub-tag,
body:not(.light-theme) .pill-action,
body:not(.light-theme) .wizard-tag,
body:not(.light-theme) .logo-badge,
.f-badge { color: #38bdf8 !important; }
body:not(.light-theme) .spec-ping,
body:not(.light-theme) .badge-green,
body:not(.light-theme) .isp-status-green,
body:not(.light-theme) .radar-badge-live,
body:not(.light-theme) .pill-verified { color: #34d399 !important; }
body:not(.light-theme) .spec-pay,
body:not(.light-theme) .badge-gold,
body:not(.light-theme) .card-rank-tag,
.fw-badge { color: #facc15 !important; }
body:not(.light-theme) .badge-solved,
body:not(.light-theme) .badge-purple { color: #c084fc !important; }

body:not(.light-theme) .btn-primary,
body:not(.light-theme) .btn-grid-connect,
body:not(.light-theme) .btn-tg-main,
body:not(.light-theme) .btn-personal-key-tg,
body:not(.light-theme) .btn-telegram {
  background-color: #1e40af !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

body:not(.light-theme) .btn-primary span,
body:not(.light-theme) .btn-primary strong,
body:not(.light-theme) .btn-grid-connect span { color: #ffffff !important; }

body:not(.light-theme) .btn-outline,
body:not(.light-theme) .btn-grid-spec,
body:not(.light-theme) .btn-grid-review,
body:not(.light-theme) .btn-personal-key-web,
body:not(.light-theme) .client-pill {
  background-color: #0f172a !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

body:not(.light-theme) .client-pill.featured {
  background-color: #0c4a6e !important;
  color: #ffffff !important;
}

body:not(.light-theme) .text-muted,
body:not(.light-theme) p,
body:not(.light-theme) span,
body:not(.light-theme) .card-bio-text,
body:not(.light-theme) .footer-col p,
body:not(.light-theme) .footer-col span,
body:not(.light-theme) .legal-top-banner,
body:not(.light-theme) .footer-bottom-container span { color: #cbd5e1 !important; }

body:not(.light-theme) h1,
body:not(.light-theme) h2,
body:not(.light-theme) h3,
body:not(.light-theme) h4,
body:not(.light-theme) h5,
body:not(.light-theme) h6,
body:not(.light-theme) strong,
body:not(.light-theme) b,
body:not(.light-theme) .card-bot-title,
body:not(.light-theme) .windows-hub-title,
body:not(.light-theme) .footer-heading { color: #ffffff !important; }


/* --- 2. ☀️ LIGHT THEME ABSOLUTE PERFECTION (body.light-theme) --- */
body.light-theme, html.light-theme {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

body.light-theme .header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  backdrop-filter: blur(20px) !important;
}

body.light-theme .header-container {
  background-color: transparent !important;
}

body.light-theme .logo-text {
  color: #0f172a !important;
}

body.light-theme .logo-text span {
  color: #2563eb !important;
}

body.light-theme .nav,
body.light-theme nav.header-nav-desktop {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
}

body.light-theme .nav-tab {
  background: #ffffff !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
}

body.light-theme .nav-tab:hover {
  color: #0f172a !important;
  background: #f8fafc !important;
}

body.light-theme .nav-tab.active,
body.light-theme a.nav-tab.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0369a1 !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.25) !important;
  font-weight: 700 !important;
}

body.light-theme .tspu-telemetry-bar {
  background: #f1f5f9 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

body.light-theme .tspu-telemetry-bar span,
body.light-theme .tspu-telemetry-bar strong {
  color: #1e293b !important;
}



body.light-theme .nav,
body.light-theme nav.header-nav-desktop,
body.light-theme .hero-os-pill,
body.light-theme .preset-btn,
body.light-theme .filter-btn,
body.light-theme .client-pill,
body.light-theme .theme-toggle-btn {
  background-color: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
}



body.light-theme .nav-tab.active,
body.light-theme a.nav-tab.active {
  background-color: #0284c7 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

body.light-theme .nav-tab:hover {
  color: #0284c7 !important;
}


/* ==========================================================================
   🎨 PER-BLOCK LIGHT THEME COMPONENT HARMONIZATION (WINDOWS HUB, RADAR, POLL, WIZARD, COOKIE)
   ========================================================================== */

/* 1. Cookie Banner */
.cookie-banner, #cookieConsentBanner {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  max-width: 440px !important;
  width: calc(100% - 48px) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 14px 18px !important;
  border-radius: 14px !important;
  z-index: 99999 !important;
  box-sizing: border-box !important;
}

body:not(.light-theme) .cookie-banner,
body:not(.light-theme) #cookieConsentBanner {
  background: #0f172a !important;
  border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
  color: #f8fafc !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
}

body:not(.light-theme) #cookieConsentBanner p {
  color: #cbd5e1 !important;
}

body.light-theme .cookie-banner,
body.light-theme #cookieConsentBanner {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12) !important;
}

body.light-theme #cookieConsentBanner p {
  color: #334155 !important;
}

#cookieConsentBanner #cookieAcceptBtn {
  background: #2563eb !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 10px 18px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  min-height: 44px !important;
  min-width: 95px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#cookieConsentBanner #cookieAcceptBtn:hover {
  background: #1d4ed8 !important;
}


/* 2. Windows Hub Guide Strip */
body.light-theme .windows-guide-strip {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .guide-step-item .guide-text strong {
  color: #0f172a !important;
}

body.light-theme .guide-step-item .guide-text span {
  color: #475569 !important;
}

body.light-theme .guide-num {
  background: #2563eb !important;
  color: #0f172a !important;
}

body.light-theme .guide-arrow {
  color: #475569 !important;
}


/* 3. Community Radar Poll Box */
body.light-theme .radar-pulse-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

body.light-theme .pulse-question {
  color: #0f172a !important;
  font-weight: 600 !important;
}

body.light-theme .pulse-btn {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
}

body.light-theme .pulse-btn:hover {
  background: #f1f5f9 !important;
  border-color: #475569 !important;
}


/* 4. Wizard 15-sec Step Box */
body.light-theme .wizard-box,
body.light-theme .wizard-section,
body.light-theme .wizard-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .wizard-title,
body.light-theme .wizard-question,
body.light-theme .wizard-step-header {
  color: #0f172a !important;
}

body.light-theme .wizard-subtitle,
body.light-theme .wizard-step-counter {
  color: #475569 !important;
}

body.light-theme .wizard-opt-btn,
body.light-theme .wizard-options-grid button {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .wizard-opt-btn:hover,
body.light-theme .wizard-options-grid button:hover {
  background: #f1f5f9 !important;
  border-color: #2563eb !important;
  color: #2563eb !important;
}


/* 5. Modals & Tables */
body.light-theme .spec-modal-content,
body.light-theme .modal-content {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

body.light-theme .spec-modal-content h3,
body.light-theme .modal-content h3 {
  color: #0f172a !important;
}

body.light-theme .spec-modal-content p,
body.light-theme .modal-content p {
  color: #475569 !important;
}

body.light-theme .comparison-table th {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-bottom: 2px solid #cbd5e1 !important;
}

body.light-theme .comparison-table td {
  background: #ffffff !important;
  color: #334155 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

body.light-theme .comparison-table tr:hover td {
  background: #f8fafc !important;
}


/* Load More Bots Styling */
#loadMoreBotsBtn, #showAllTopBtn {
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

body:not(.light-theme) #loadMoreBotsBtn,
body:not(.light-theme) #showAllTopBtn {
  background: #0f172a !important;
  color: #38bdf8 !important;
  border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

body:not(.light-theme) #loadMoreBotsBtn:hover,
body:not(.light-theme) #showAllTopBtn:hover {
  background: #1e293b !important;
  border-color: #38bdf8 !important;
}

body.light-theme #loadMoreBotsBtn,
body.light-theme #showAllTopBtn {
  background: #ffffff !important;
  color: #2563eb !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

body.light-theme #loadMoreBotsBtn:hover,
body.light-theme #showAllTopBtn:hover {
  background: #f1f5f9 !important;
  border-color: #2563eb !important;
}


/* ==========================================================================
   PERFECT DUAL-THEME FOOTER & TRUST GUARANTEE HARMONIZATION
   ========================================================================== */

/* Trust Guarantee Banner */
.trust-guarantee-section {
  max-width: 1200px;
  margin: 32px auto 16px;
  padding: 0 16px;
}

.trust-guarantee-card {
  border-radius: 16px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transition: all 0.2s ease;
}

.trust-guarantee-content {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 780px;
}

.trust-guarantee-icon {
  font-size: 2.2rem;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-guarantee-title {
  margin: 0 0 4px;
  font-size: 1.08rem;
  font-weight: 800;
}

.trust-guarantee-desc {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
}

/* Dark Theme Guarantee */
body:not(.light-theme) .trust-guarantee-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8)) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}
body:not(.light-theme) .trust-guarantee-icon {
  background: #0f172a !important;
  border: 1.5px solid #38bdf8 !important;
  color: #38bdf8 !important;
}
body:not(.light-theme) .trust-guarantee-title {
  color: #ffffff !important;
}
body:not(.light-theme) .trust-guarantee-desc {
  color: #cbd5e1 !important;
}

/* Light Theme Guarantee */
body.light-theme .trust-guarantee-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}
body.light-theme .trust-guarantee-icon {
  background: #eff6ff !important;
  border: 1.5px solid #bfdbfe !important;
}
body.light-theme .trust-guarantee-title {
  color: #0f172a !important;
}
body.light-theme .trust-guarantee-desc {
  color: #334155 !important;
}

/* Site Footer */
.site-footer {
  padding: 48px 0 24px;
  width: 100%;
  box-sizing: border-box;
}

body:not(.light-theme) .site-footer {
  background: #070913 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
}

body.light-theme .site-footer {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

.site-footer .footer-heading {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
body:not(.light-theme) .site-footer .footer-heading {
  color: #ffffff !important;
}
body.light-theme .site-footer .footer-heading {
  color: #0f172a !important;
}

body.light-theme .footer-about-text {
  color: #334155 !important;
}

/* Footer Links List & Alignment */
.site-footer .footer-links-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.site-footer .footer-links-list li {
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer .footer-links-list li a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
  min-height: 44px !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

body:not(.light-theme) .site-footer .footer-links-list li a {
  color: #94a3b8 !important;
}
body:not(.light-theme) .site-footer .footer-links-list li a:hover {
  color: #38bdf8 !important;
}

body.light-theme .site-footer .footer-links-list li a {
  color: #334155 !important;
  font-weight: 600 !important;
}
body.light-theme .site-footer .footer-links-list li a:hover {
  color: #2563eb !important;
}

/* Footer Winner Card */
.footer-winner-card {
  border-radius: 14px;
  padding: 18px 20px;
}
body:not(.light-theme) .footer-winner-card {
  background: #0f172a !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}
body.light-theme .footer-winner-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}
body.light-theme .footer-winner-card .fw-title {
  color: #0f172a !important;
}
body.light-theme .footer-winner-card .fw-desc {
  color: #475569 !important;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  margin-top: 36px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
body:not(.light-theme) .footer-bottom-bar {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
  color: #64748b !important;
}
body.light-theme .footer-bottom-bar {
  border-top-color: #334155 !important;
  background: transparent !important;
  color: #334155 !important;
}
body.light-theme .footer-copyright {
  color: #334155 !important;
  font-weight: 500 !important;
}
body.light-theme .footer-legal-links a {
  color: #2563eb !important;
  font-weight: 600 !important;
}

/* Legal Compliance Banner */
.legal-compliance-banner {
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 16px 22px;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: left;
  box-sizing: border-box;
}
body:not(.light-theme) .legal-compliance-banner {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: #94a3b8 !important;
}
body:not(.light-theme) .legal-compliance-banner strong {
  color: #cbd5e1 !important;
  display: block;
  margin-bottom: 4px;
}
body.light-theme .legal-compliance-banner {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #334155 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
}
body.light-theme .legal-compliance-banner strong {
  color: #0f172a !important;
  display: block;
  margin-bottom: 4px;
}
body.light-theme .legal-compliance-meta {
  color: #475569 !important;
  margin-top: 6px;
  font-size: 0.72rem;
}

/* High-Contrast Light Theme Legal & Banner Fixes */
body.light-theme .legal-box {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}
body.light-theme .legal-box h4 {
  color: #b45309 !important;
  font-weight: 800 !important;
}
body.light-theme .legal-box p {
  color: #334155 !important;
  font-weight: 500 !important;
}

body.light-theme .add-banner-text h2 {
  color: #0f172a !important;
}
body.light-theme .add-banner-text p {
  color: #334155 !important;
}

body.light-theme .trust-guarantee-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}
body.light-theme .trust-guarantee-title {
  color: #0f172a !important;
}
body.light-theme .trust-guarantee-desc {
  color: #334155 !important;
}

body.light-theme .legal-compliance-banner {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
}
body.light-theme .legal-compliance-banner strong {
  color: #0f172a !important;
}
body.light-theme .legal-compliance-body {
  color: #334155 !important;
}
body.light-theme .legal-compliance-meta {
  color: #64748b !important;
}


/* ==========================================================================
   TELEGRAM-NATIVE COMMUNITY REVIEW & THREAD SYSTEM (DUAL-THEME 2026)
   ========================================================================== */

.tg-discussion-container {
  margin: 40px auto 20px;
  max-width: 900px;
  width: 100%;
}

.tg-discussion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 12px;
}

body.light-theme .tg-discussion-header {
  border-bottom-color: #e2e8f0;
}

.tg-discussion-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

body:not(.light-theme) .tg-discussion-title {
  color: #ffffff;
}

body.light-theme .tg-discussion-title {
  color: #0f172a;
}

.tg-comments-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.tg-comment-card {
  border-radius: 16px;
  padding: 20px 24px;
  transition: all 0.2s ease;
  position: relative;
}

body:not(.light-theme) .tg-comment-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

body:not(.light-theme) .tg-comment-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

body.light-theme .tg-comment-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .tg-comment-card:hover {
  border-color: #2563eb !important;
}

.tg-comment-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.tg-user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tg-avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tg-avatar-gradient-1 { background: linear-gradient(135deg, #0284c7, #2563eb); }
.tg-avatar-gradient-2 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.tg-avatar-gradient-3 { background: linear-gradient(135deg, #10b981, #059669); }
.tg-avatar-gradient-4 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.tg-avatar-admin { background: linear-gradient(135deg, #38bdf8, #0284c7); }

.tg-user-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tg-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tg-username {
  font-weight: 700;
  font-size: 0.96rem;
}
body:not(.light-theme) .tg-username { color: #ffffff; }
body.light-theme .tg-username { color: #0f172a; }

.tg-handle {
  font-size: 0.82rem;
  color: #38bdf8;
  font-weight: 600;
}
body.light-theme .tg-handle { color: #2563eb; }

.tg-verified-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

body.light-theme .tg-verified-tag {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.tg-sub-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.78rem;
}

.tg-isp-badge, .tg-device-badge {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
body.light-theme .tg-isp-badge, body.light-theme .tg-device-badge {
  color: #475569;
}

.tg-timestamp {
  color: #64748b;
  font-size: 0.76rem;
}

.tg-rating-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.tg-comment-body {
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
body:not(.light-theme) .tg-comment-body p { color: #cbd5e1; margin: 0 0 10px; }
body.light-theme .tg-comment-body p { color: #334155; margin: 0 0 10px; }

.tg-telemetry-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  margin-top: 10px;
}

body:not(.light-theme) .tg-telemetry-pill {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: #94a3b8;
}
body:not(.light-theme) .tg-telemetry-pill strong { color: #38bdf8; }

body.light-theme .tg-telemetry-pill {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
}
body.light-theme .tg-telemetry-pill strong { color: #2563eb; }

.tg-comment-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  margin-top: 12px;
}

body.light-theme .tg-comment-actions {
  border-top-color: #e2e8f0;
}

.tg-like-btn, .tg-reply-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

body:not(.light-theme) .tg-like-btn, body:not(.light-theme) .tg-reply-toggle {
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
}
body:not(.light-theme) .tg-like-btn:hover, body:not(.light-theme) .tg-reply-toggle:hover {
  color: #38bdf8;
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}

body.light-theme .tg-like-btn, body.light-theme .tg-reply-toggle {
  color: #334155;
  background: #f8fafc;
  border-color: #cbd5e1;
}
body.light-theme .tg-like-btn:hover, body.light-theme .tg-reply-toggle:hover {
  color: #2563eb;
  border-color: #2563eb;
  background: #eff6ff;
}

/* Replies */
.tg-reply-card {
  margin-top: 14px;
  margin-left: 20px;
  padding: 14px 18px;
  border-radius: 12px;
}

body:not(.light-theme) .tg-reply-card {
  background: rgba(2, 6, 23, 0.7);
  border-left: 3px solid #38bdf8;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-theme .tg-reply-card {
  background: #f8fafc;
  border-left: 3px solid #2563eb;
  border-top: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.tg-reply-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.tg-admin-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  text-transform: uppercase;
}
body.light-theme .tg-admin-badge {
  background: #dbeafe;
  color: #1d4ed8;
}

.tg-reply-body {
  font-size: 0.88rem;
  line-height: 1.5;
}
body:not(.light-theme) .tg-reply-body { color: #cbd5e1; }
body.light-theme .tg-reply-body { color: #334155; }

/* 2. Sleek Review Form */
.tg-submit-box {
  border-radius: 20px;
  padding: 28px;
  margin-top: 36px;
}

body:not(.light-theme) .tg-submit-box {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

body.light-theme .tg-submit-box {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

.tg-submit-header {
  margin-bottom: 20px;
}

.tg-submit-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tg-title-icon {
  font-size: 2rem;
}

.tg-submit-title h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 4px;
}
body:not(.light-theme) .tg-submit-title h4 { color: #ffffff; }
body.light-theme .tg-submit-title h4 { color: #0f172a; }

.tg-submit-title p {
  font-size: 0.84rem;
  margin: 0;
}
body:not(.light-theme) .tg-submit-title p { color: #94a3b8; }
body.light-theme .tg-submit-title p { color: #475569; }

.tg-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.tg-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tg-form-group label {
  font-size: 0.78rem;
  font-weight: 700;
}
body:not(.light-theme) .tg-form-group label { color: #cbd5e1; }
body.light-theme .tg-form-group label { color: #334155; }

.tg-input, .tg-select, .tg-textarea {
  width: 100%;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

body:not(.light-theme) .tg-input,
body:not(.light-theme) .tg-select,
body:not(.light-theme) .tg-textarea {
  background: rgba(2, 6, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

body:not(.light-theme) .tg-input:focus,
body:not(.light-theme) .tg-select:focus,
body:not(.light-theme) .tg-textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

body.light-theme .tg-input,
body.light-theme .tg-select,
body.light-theme .tg-textarea {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .tg-input:focus,
body.light-theme .tg-select:focus,
body.light-theme .tg-textarea:focus {
  outline: none;
  border-color: #2563eb !important;
  background: #ffffff !important;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.15) !important;
}

.tg-textarea {
  min-height: 90px;
  resize: vertical;
}

.tg-star-picker {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 8px 0;
}

.tg-star-picker .star {
  font-size: 1.5rem;
  color: #475569;
  transition: color 0.15s ease, transform 0.15s ease;
}

.tg-star-picker .star.active {
  color: #f59e0b;
}

.tg-star-picker .star:hover {
  transform: scale(1.15);
}

.tg-form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.tg-submit-btn {
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 800;
}

.tg-submit-privacy {
  font-size: 0.78rem;
}
body:not(.light-theme) .tg-submit-privacy { color: #64748b; }
body.light-theme .tg-submit-privacy { color: #64748b; }


/* ==========================================================================
   MODERN CSS & TYPOGRAPHY ENHANCEMENTS (2026 AUDIT COMPLIANCE)
   ========================================================================== */

h1, h2, h3, h4, .hero-title, .discussion-title, .section-title {
  text-wrap: balance;
}

section, article, [id] {
  scroll-margin-top: 85px;
}

@media print {
  header, footer, .sticky-cta, #cookieConsentBanner, #cookieBanner, .btn, .theme-toggle, .tspu-telemetry-bar, .mobile-burger-btn, .mobile-nav-drawer {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .card, .article-container, .table-container {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

/* Mobile Cookie Banner Floating Fix */
@media (max-width: 768px) {
  .cookie-banner, #cookieConsentBanner {
    bottom: 12px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 24px) !important;
    max-width: 440px !important;
    padding: 10px 14px !important;
    gap: 10px !important;
    border-radius: 12px !important;
  }
  .cookie-banner p, #cookieConsentBanner p {
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
  }
  #cookieConsentBanner #cookieAcceptBtn {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
    min-height: 44px !important;
    min-width: 75px !important;
  }
}


/* ==========================================================================
   PERFECT WCAG AAA TEXT CONTRAST & ZERO-FAIL LUMINANCE SUITE (2026)
   ========================================================================== */

/* 1. Wizard Buttons Contrast Fix */
.wizard-card {
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.wizard-opt-btn {
  background: #1e293b !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  font-weight: 700 !important;
}

.wizard-opt-btn:hover, .wizard-opt-btn.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #38bdf8 !important;
}

body.light-theme .wizard-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
}

body.light-theme .wizard-opt-btn {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  font-weight: 700 !important;
}

body.light-theme .wizard-opt-btn:hover,
body.light-theme .wizard-opt-btn.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
}

/* 2. Card Rank Tag & Winner Badges */
.card-rank-tag {
  background: #0f172a !important;
  color: #fbbf24 !important;
  border: 1.5px solid #f59e0b !important;
  font-weight: 800 !important;
}

.card-rank-tag.rank-winner {
  background: #0f172a !important;
  color: #fbbf24 !important;
  border: 1.5px solid #f59e0b !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3) !important;
}

body.light-theme .card-rank-tag {
  background: #fef3c7 !important;
  color: #92400e !important;
  border: 1.5px solid #f59e0b !important;
}

body.light-theme .card-rank-tag.rank-winner {
  background: #fef3c7 !important;
  color: #92400e !important;
  border: 1.5px solid #d97706 !important;
}

/* 3. Trust Guarantee Icon */
.trust-guarantee-icon {
  background: #0f172a !important;
  border: 1.5px solid #38bdf8 !important;
  color: #38bdf8 !important;
}

body.light-theme .trust-guarantee-icon {
  background: #eff6ff !important;
  border: 1.5px solid #2563eb !important;
  color: #2563eb !important;
}

/* 4. Timestamp & Muted Text High-Contrast (WCAG AAA >= 7:1) */
.time-tag, .comment-time, .tspu-event-time, .status-time, .hero-update-badge {
  color: #94a3b8 !important;
}

body.light-theme .time-tag,
body.light-theme .comment-time,
body.light-theme .tspu-event-time,
body.light-theme .status-time,
body.light-theme .hero-update-badge {
  color: #475569 !important;
}

/* 5. DOM Virtualization & Paint Optimization (content-visibility) */
.tab-content-panel,
.bot-comparison-matrix,
.community-review-card,
.articles-preview-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 300px;
}


.trust-guarantee-icon {
  background: #0f172a !important;
  border: 1.5px solid #38bdf8 !important;
  color: #38bdf8 !important;
}
body.light-theme .trust-guarantee-icon {
  background: #eff6ff !important;
  border: 1.5px solid #2563eb !important;
  color: #1d4ed8 !important;
}


/* ==========================================================================
   PERFECT DUAL-THEME HEADER, DRAWER & GLOBAL HARMONY (2026)
   ========================================================================== */

/* 1. Header in Light Theme */
body.light-theme .header,
body.light-theme header.header {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .header .logo-text {
  color: #0f172a !important;
}

body.light-theme .header .logo-text span {
  color: #2563eb !important;
}

body.light-theme .header .nav-tab {
  color: #475569 !important;
}

body.light-theme .header .nav-tab:hover {
  color: #2563eb !important;
  background: rgba(37, 99, 235, 0.08) !important;
}

body.light-theme .header .nav-tab.active {
  color: #2563eb !important;
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
}

body.light-theme .theme-toggle-btn {
  background: #f1f5f9 !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .theme-toggle-btn:hover {
  background: #e2e8f0 !important;
  border-color: #2563eb !important;
}

body.light-theme .mobile-burger-btn span {
  background-color: #0f172a !important;
}

body.light-theme .mobile-nav-drawer {
  background: rgba(255, 255, 255, 0.98) !important;
  border-left: 1px solid #e2e8f0 !important;
}

body.light-theme .mobile-drawer-title {
  color: #0f172a !important;
}

body.light-theme .mobile-drawer-close {
  color: #0f172a !important;
  background: #f1f5f9 !important;
}

body.light-theme .mobile-nav-link {
  color: #334155 !important;
  border-bottom-color: #f1f5f9 !important;
}

body.light-theme .mobile-nav-link:hover,
body.light-theme .mobile-nav-link.active {
  color: #2563eb !important;
  background: #eff6ff !important;
}

/* 2. Top TSPU Telemetry Bar in Light Theme */
body.light-theme .tspu-telemetry-bar {
  background: #f1f5f9 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

body.light-theme .tspu-telemetry-bar span,
body.light-theme .tspu-telemetry-bar strong {
  color: #0f172a !important;
}

/* 3. Global Dark Theme Invariants */
body:not(.light-theme) {
  background-color: #070913 !important;
  color: #f8fafc !important;
}

body:not(.light-theme) .header,
body:not(.light-theme) header.header {
  background: rgba(7, 9, 19, 0.9) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body:not(.light-theme) .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #f8fafc !important;
}

body:not(.light-theme) .theme-toggle-btn:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: #38bdf8 !important;
}

body:not(.light-theme) .trust-guarantee-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8)) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
}

body:not(.light-theme) .trust-guarantee-title {
  color: #ffffff !important;
}

body:not(.light-theme) .trust-guarantee-desc {
  color: #cbd5e1 !important;
}

body:not(.light-theme) .site-footer {
  background: #070913 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
}


/* ==========================================================================
   🏛️ COMPREHENSIVE LIGHT THEME MASTERPIECE (PIXEL-PERFECT HARMONY 2026)
   ========================================================================== */

/* 1. Global Light Theme Baseline */
body.light-theme {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

body.light-theme .hero-title,
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4 {
  color: #0f172a !important;
}

body.light-theme .hero-desc {
  color: #334155 !important;
}

body.light-theme .hero-tagline {
  color: #0284c7 !important;
  background: #e0f2fe !important;
  border: 1px solid #bae6fd !important;
  border-radius: 9999px !important;
  padding: 4px 12px !important;
}

/* 2. Hero Stats in Light Theme */
.hero-stat-number {
  font-size: 1.35rem;
  font-weight: 800;
}
.hero-stat-number.stat-white {
  color: #ffffff;
}
.hero-stat-number.stat-green {
  color: #10b981;
}
.hero-stat-number.stat-cyan {
  color: #38bdf8;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
}

body.light-theme .hero-stat-number.stat-white {
  color: #0f172a !important;
}
body.light-theme .hero-stat-number.stat-green {
  color: #059669 !important;
}
body.light-theme .hero-stat-number.stat-cyan {
  color: #0284c7 !important;
}
body.light-theme .hero-stat-label {
  color: #64748b !important;
}

/* 3. Hero Platform Pills in Light Theme */
body.light-theme .hero-os-pill {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #1e293b !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .hero-os-pill:hover {
  background: #eff6ff !important;
  border-color: #2563eb !important;
  color: #2563eb !important;
}

/* 4. TSPU Pulse & Live Telemetry Card in Light Theme */
body.light-theme .tspu-live-monitor-card,
body.light-theme #communityPulseBar,
body.light-theme .pulse-radar-container {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;
}

body.light-theme .feed-event-item,
body.light-theme .pulse-event-box {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
}

body.light-theme .feed-event-item span,
body.light-theme .feed-event-item strong {
  color: #0f172a !important;
}

body.light-theme .isp-live-card,
body.light-theme .isp-card {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
}

body.light-theme .isp-live-card strong,
body.light-theme .isp-card strong,
body.light-theme .proto-stat-line,
body.light-theme .isp-proto-bars {
  color: #1e293b !important;
}

body.light-theme .proto-stat-line span:last-child {
  color: #059669 !important;
}

/* 5. ALL Catalog Cards in Light Theme (SpaceTunnel, HitVPN, Paper, Moriarty, Amnezia, Blanc, RedShield, VPNTYPE) */
body.light-theme .card,
body.light-theme .bot-card,
body.light-theme .bot-grid-card,
body.light-theme .rating-card,
body.light-theme .winner-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .card:hover,
body.light-theme .bot-card:hover,
body.light-theme .bot-grid-card:hover {
  border-color: #2563eb !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12) !important;
}

body.light-theme .card-title,
body.light-theme .bot-name,
body.light-theme .card h3,
body.light-theme .card h4 {
  color: #0f172a !important;
}

body.light-theme .card-desc,
body.light-theme .bot-description,
body.light-theme .card p {
  color: #334155 !important;
}

body.light-theme .card-sub-line,
body.light-theme .card-meta,
body.light-theme .reviews-meta {
  color: #64748b !important;
}

body.light-theme .price-value,
body.light-theme .card-price {
  color: #0f172a !important;
  font-weight: 800 !important;
}

body.light-theme .proto-pill,
body.light-theme .card-tag-badge,
body.light-theme .badge-protocol,
body.light-theme .tag-pill {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

body.light-theme .card .btn-outline,
body.light-theme .card .btn-secondary {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
}

body.light-theme .card .btn-outline:hover,
body.light-theme .card .btn-secondary:hover {
  background: #eff6ff !important;
  border-color: #2563eb !important;
  color: #2563eb !important;
}

/* 6. Filter & Search Bar in Light Theme */
body.light-theme .catalog-search-box,
body.light-theme .search-wrapper {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
}

body.light-theme .catalog-search-input,
body.light-theme #botSearchInput,
body.light-theme input[type="text"] {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .filter-pill,
body.light-theme .btn-filter,
body.light-theme .filter-pill-btn {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #475569 !important;
}

body.light-theme .filter-pill:hover,
body.light-theme .btn-filter:hover,
body.light-theme .filter-pill-btn:hover {
  border-color: #2563eb !important;
  color: #2563eb !important;
}

body.light-theme .filter-pill.active,
body.light-theme .btn-filter.active,
body.light-theme .filter-pill-btn.active {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

body.light-theme #expandAllBotsBtn,
body.light-theme .btn-show-more {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #2563eb !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme #expandAllBotsBtn:hover,
body.light-theme .btn-show-more:hover {
  background: #eff6ff !important;
  border-color: #2563eb !important;
}

/* 7. Windows Hub & OS Detection Strip in Light Theme */
body.light-theme #windows-vpn-hub,
body.light-theme .windows-hub-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .os-detected-banner {
  background: #e0f2fe !important;
  border: 1px solid #bae6fd !important;
  color: #0369a1 !important;
}

body.light-theme .os-detected-banner span,
body.light-theme .os-detected-banner strong {
  color: #0f172a !important;
}

body.light-theme .btn-primary,
body.light-theme a.btn-primary,
body.light-theme button.btn-primary,
body.light-theme .btn-primary * {
  color: #ffffff !important;
}

/* 8. FAQ & Compliance in Light Theme */
body.light-theme .faq-item,
body.light-theme .faq-question-btn {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .faq-answer {
  background: #f8fafc !important;
  color: #334155 !important;
}

body.light-theme .legal-box,
body.light-theme .legal-compliance-banner {
  background: #f1f5f9 !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #334155 !important;
}

/* 9. Header Navigation Desktop in Light Theme */
body.light-theme .header-nav-desktop {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  padding: 4px !important;
  border-radius: 12px !important;
}

body.light-theme .header-nav-desktop .nav-tab {
  background: transparent !important;
  border: none !important;
  color: #475569 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
}

body.light-theme .header-nav-desktop .nav-tab:hover {
  color: #0f172a !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .header-nav-desktop .nav-tab.active {
  background: #ffffff !important;
  color: #2563eb !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}


/* TSPU Radar & Benchmark Card in Light Theme */
body.light-theme .tspu-radar-card,
body.light-theme #tspu-radar {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .radar-title-box h3 {
  color: #0f172a !important;
}

body.light-theme .community-live-feed-box,
body.light-theme .interactive-benchmark-box {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}

body.light-theme .interactive-benchmark-box h3 {
  color: #0f172a !important;
}

body.light-theme .interactive-benchmark-box p {
  color: #334155 !important;
}

body.light-theme .feed-event-author-line {
  color: #1e293b !important;
}

body.light-theme .feed-event-author-line strong {
  color: #0284c7 !important;
}

body.light-theme .feed-event-author-line span {
  color: #334155 !important;
}


/* ==========================================================================
   💎 ULTIMATE ZERO-BLACK BUTTON & CARD DESIGN SYSTEM FOR LIGHT THEME (2026)
   ========================================================================== */

/* 1. ALL LIGHT THEME BUTTONS - ZERO BLACK BACKGROUNDS */
body.light-theme .btn,
body.light-theme button,
body.light-theme a.btn {
  text-shadow: none !important;
}

/* 1.1 Primary Buttons in Light Theme */
body.light-theme .btn-primary,
body.light-theme .btn-grid-connect,
body.light-theme .btn-tg-main,
body.light-theme .btn-header-buy,
body.light-theme .btn-personal-key-tg,
body.light-theme .btn-telegram,
body.light-theme #runBrowserBenchmarkBtn,
body.light-theme #cookieConsentBanner #cookieAcceptBtn,
body.light-theme #cookieBanner button,
body.light-theme a.btn-primary,
body.light-theme button.btn-primary {
  background: #2563eb !important;
  background-color: #2563eb !important;
  color: #ffffff !important;
  border: 1px solid #1d4ed8 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25) !important;
}

body.light-theme .btn-primary *,
body.light-theme .btn-grid-connect *,
body.light-theme .btn-tg-main * {
  color: #ffffff !important;
}

body.light-theme .btn-primary:hover,
body.light-theme .btn-grid-connect:hover,
body.light-theme .btn-header-buy:hover {
  background: #1d4ed8 !important;
  background-color: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #1e40af !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35) !important;
}

/* 1.2 Outline & Secondary Buttons in Light Theme (Info, Reviews, Add Bot, Filter, etc.) */
body.light-theme .btn-outline,
body.light-theme .btn-secondary,
body.light-theme .btn-grid-spec,
body.light-theme .btn-grid-review,
body.light-theme .btn-personal-key-web,
body.light-theme .btn-alt-webapp,
body.light-theme .btn-alt-reviews,
body.light-theme .header-ugc-btn,
body.light-theme .btn-action,
body.light-theme .btn-spec-modal,
body.light-theme .card-action-btn-outline,
body.light-theme .btn-filter,
body.light-theme .filter-pill,
body.light-theme .filter-pill-btn,
body.light-theme .preset-btn,
body.light-theme #expandAllBotsBtn,
body.light-theme .btn-show-more,
body.light-theme .theme-toggle-btn {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

body.light-theme .btn-outline *,
body.light-theme .btn-secondary *,
body.light-theme .btn-grid-spec *,
body.light-theme .btn-grid-review *,
body.light-theme .header-ugc-btn * {
  color: #0f172a !important;
}

body.light-theme .btn-outline:hover,
body.light-theme .btn-secondary:hover,
body.light-theme .btn-grid-spec:hover,
body.light-theme .btn-grid-review:hover,
body.light-theme .header-ugc-btn:hover,
body.light-theme .theme-toggle-btn:hover,
body.light-theme #expandAllBotsBtn:hover {
  background: #eff6ff !important;
  background-color: #eff6ff !important;
  border-color: #2563eb !important;
  color: #2563eb !important;
}

body.light-theme .btn-outline:hover *,
body.light-theme .btn-secondary:hover *,
body.light-theme .btn-grid-spec:hover *,
body.light-theme .btn-grid-review:hover *,
body.light-theme .header-ugc-btn:hover * {
  color: #2563eb !important;
}

/* 1.3 Active Filter / Pill States */
body.light-theme .filter-pill.active,
body.light-theme .btn-filter.active,
body.light-theme .filter-pill-btn.active,
body.light-theme .preset-btn.active {
  background: #2563eb !important;
  background-color: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

body.light-theme .filter-pill.active *,
body.light-theme .btn-filter.active * {
  color: #ffffff !important;
}

/* 1.4 Footer Buy Widget Button */
body.light-theme .btn-dark,
body.light-theme a.btn-dark,
body.light-theme .footer-btn-buy {
  background: #1e293b !important;
  background-color: #1e293b !important;
  color: #ffffff !important;
  border: 1px solid #334155 !important;
}

body.light-theme .btn-dark:hover,
body.light-theme a.btn-dark:hover {
  background: #0f172a !important;
  background-color: #0f172a !important;
  color: #ffffff !important;
}

/* 2. ALL LIGHT THEME CARDS - PRISTINE WHITE */
body.light-theme .card,
body.light-theme .bot-card,
body.light-theme .bot-grid-card,
body.light-theme .rating-card,
body.light-theme .winner-card,
body.light-theme .article-card,
body.light-theme .windows-vpn-hub,
body.light-theme .tspu-radar-card,
body.light-theme .speedtest-demo-card,
body.light-theme .filter-section,
body.light-theme .wizard-card,
body.light-theme .wizard-section,
body.light-theme .comparison-table-wrapper,
body.light-theme .footer-winner-card,
body.light-theme .trust-guarantee-card,
body.light-theme .faq-item,
body.light-theme .modal-content {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .card-title,
body.light-theme .bot-name,
body.light-theme .card h3,
body.light-theme .card h4,
body.light-theme .card strong,
body.light-theme .card b {
  color: #0f172a !important;
}

body.light-theme .card-desc,
body.light-theme .bot-description,
body.light-theme .card p,
body.light-theme .card-sub-line,
body.light-theme .card-meta {
  color: #334155 !important;
}


/* ==========================================================================
   💎 WINDOWS HUB & HIGH-CONTRAST LIGHT THEME HARMONY
   ========================================================================== */

/* Windows Hub Card & Layout */
.windows-hub-card,
#windows-vpn-hub {
  padding: 24px !important;
  border-radius: 16px !important;
  margin-bottom: 24px !important;
}

body.light-theme .windows-hub-card,
body.light-theme #windows-vpn-hub {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
}

.hub-top-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
  margin-bottom: 20px !important;
}

.clients-download-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 20px !important;
}

.client-download-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

body:not(.light-theme) .client-download-card {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

body.light-theme .client-download-card {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .client-download-card:hover {
  background: #eff6ff !important;
  border-color: #2563eb !important;
}

.guide-steps-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
}

body:not(.light-theme) .guide-steps-row {
  background: rgba(2, 6, 23, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.light-theme .guide-steps-row {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

/* Card Review Meta & Bullet Contrast */
body.light-theme .card-reviews-num,
body.light-theme .card-bullet,
body.light-theme .reviews-meta,
body.light-theme .search-icon,
body.light-theme .filter-toggle-arrow,
body.light-theme .card-sub-line span {
  color: #475569 !important;
}

body.light-theme .spec-pill,
body.light-theme .spec-pay,
body.light-theme .spec-stat {
  color: #334155 !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
}


/* ==========================================================================
   🌓 EXPLICIT DUAL-THEME CONTRAST & BUTTON SPECIFICATION (2026)
   ========================================================================== */

/* --------------------------------------------------------------------------
   DARK THEME EXPLICIT RULES (body:not(.light-theme))
   -------------------------------------------------------------------------- */
body:not(.light-theme) {
  background-color: #070913 !important;
  color: #f8fafc !important;
}

body:not(.light-theme) .header {
  background: rgba(7, 9, 19, 0.92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body:not(.light-theme) .nav-tab {
  background: transparent !important;
  color: #cbd5e1 !important;
  border: 1px solid transparent !important;
}

body:not(.light-theme) .nav-tab:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

body:not(.light-theme) .nav-tab.active {
  background: #2563eb !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

body:not(.light-theme) .logo-badge {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
}

body:not(.light-theme) .mobile-nav-link {
  color: #f8fafc !important;
}

body:not(.light-theme) .mobile-nav-link.active {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
}

body:not(.light-theme) .btn-outline,
body:not(.light-theme) .btn-secondary,
body:not(.light-theme) .btn-grid-spec,
body:not(.light-theme) .btn-grid-review,
body:not(.light-theme) .btn-personal-key-web,
body:not(.light-theme) .header-ugc-btn,
body:not(.light-theme) .btn-reset-filters,
body:not(.light-theme) .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.85) !important;
  background-color: rgba(15, 23, 42, 0.85) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
}

body:not(.light-theme) .btn-outline *,
body:not(.light-theme) .btn-secondary *,
body:not(.light-theme) .btn-grid-spec *,
body:not(.light-theme) .btn-grid-review *,
body:not(.light-theme) .header-ugc-btn *,
body:not(.light-theme) .theme-toggle-btn * {
  color: #f8fafc !important;
}

body:not(.light-theme) .btn-outline:hover,
body:not(.light-theme) .btn-secondary:hover,
body:not(.light-theme) .theme-toggle-btn:hover {
  background: rgba(30, 41, 59, 0.95) !important;
  color: #ffffff !important;
  border-color: #38bdf8 !important;
}

body:not(.light-theme) .spec-pill,
body:not(.light-theme) .spec-proto,
body:not(.light-theme) .badge-protocol {
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

body:not(.light-theme) .spec-ping,
body:not(.light-theme) .badge-green {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

body:not(.light-theme) .spec-pay,
body:not(.light-theme) .badge-gold {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

body:not(.light-theme) .preset-btn.active,
body:not(.light-theme) .filter-pill.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #3b82f6 !important;
}

body:not(.light-theme) .preset-btn.active *,
body:not(.light-theme) .filter-pill.active * {
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   LIGHT THEME EXPLICIT RULES (body.light-theme)
   -------------------------------------------------------------------------- */
body.light-theme {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

body.light-theme .header {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

body.light-theme .nav-tab {
  background: transparent !important;
  color: #475569 !important;
  border: 1px solid transparent !important;
}

body.light-theme .nav-tab:hover {
  color: #0f172a !important;
  background: rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .nav-tab.active {
  background: #ffffff !important;
  color: #2563eb !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .logo-badge {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
}

body.light-theme .mobile-nav-link {
  color: #0f172a !important;
}

body.light-theme .mobile-nav-link.active {
  color: #2563eb !important;
  background: #eff6ff !important;
}

body.light-theme .btn-outline,
body.light-theme .btn-secondary,
body.light-theme .btn-grid-spec,
body.light-theme .btn-grid-review,
body.light-theme .btn-personal-key-web,
body.light-theme .header-ugc-btn,
body.light-theme .btn-reset-filters,
body.light-theme .theme-toggle-btn {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}

body.light-theme .btn-outline *,
body.light-theme .btn-secondary *,
body.light-theme .btn-grid-spec *,
body.light-theme .btn-grid-review *,
body.light-theme .header-ugc-btn *,
body.light-theme .theme-toggle-btn * {
  color: #0f172a !important;
}

body.light-theme .btn-outline:hover,
body.light-theme .btn-secondary:hover,
body.light-theme .theme-toggle-btn:hover {
  background: #eff6ff !important;
  color: #2563eb !important;
  border-color: #2563eb !important;
}

body.light-theme .spec-pill,
body.light-theme .spec-proto,
body.light-theme .badge-protocol {
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
}

body.light-theme .spec-ping,
body.light-theme .badge-green {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

body.light-theme .spec-pay,
body.light-theme .badge-gold {
  background: #fefce8 !important;
  color: #b45309 !important;
  border: 1px solid #fef08a !important;
}

body.light-theme .preset-btn.active,
body.light-theme .filter-pill.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

body.light-theme .preset-btn.active *,
body.light-theme .filter-pill.active * {
  color: #ffffff !important;
}


/* ==========================================================================
   🎯 WCAG AAA BADGES & PILLS HARMONY (ZERO CONTRAST CONFLICTS)
   ========================================================================== */

/* Dark Mode Badges */
body:not(.light-theme) .spec-pill,
body:not(.light-theme) .spec-proto,
body:not(.light-theme) .badge-protocol,
body:not(.light-theme) .badge-vless {
  background: rgba(14, 165, 233, 0.15) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
}

body:not(.light-theme) .spec-ping,
body:not(.light-theme) .badge-green,
body:not(.light-theme) .pill-verified,
body:not(.light-theme) .matrix-item.item-pass {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
  border: 1px solid rgba(52, 211, 153, 0.35) !important;
}

body:not(.light-theme) .spec-pay,
body:not(.light-theme) .badge-gold,
body:not(.light-theme) .card-rank-tag {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(251, 191, 36, 0.35) !important;
}

body:not(.light-theme) .badge-purple,
body:not(.light-theme) .badge-solved,
body:not(.light-theme) .tech-pill.pill-purple {
  background: rgba(168, 85, 247, 0.15) !important;
  color: #c084fc !important;
  border: 1px solid rgba(192, 132, 252, 0.35) !important;
}

body:not(.light-theme) .tech-pill.pill-blue {
  background: rgba(6, 182, 212, 0.15) !important;
  color: #22d3ee !important;
  border: 1px solid rgba(34, 211, 238, 0.35) !important;
}

body:not(.light-theme) .link-cyan,
body:not(.light-theme) a.link-cyan {
  color: #38bdf8 !important;
}

body:not(.light-theme) .status-badge-green {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
  border: 1px solid rgba(52, 211, 153, 0.35) !important;
}

body:not(.light-theme) .status-badge-yellow {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(251, 191, 36, 0.35) !important;
}

body:not(.light-theme) .status-badge-red {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
  border: 1px solid rgba(248, 113, 113, 0.35) !important;
}

/* Light Mode Badges */
body.light-theme .spec-pill,
body.light-theme .spec-proto,
body.light-theme .badge-protocol,
body.light-theme .badge-vless {
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
}

body.light-theme .spec-ping,
body.light-theme .badge-green,
body.light-theme .pill-verified,
body.light-theme .matrix-item.item-pass {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

body.light-theme .spec-pay,
body.light-theme .badge-gold,
body.light-theme .card-rank-tag {
  background: #fefce8 !important;
  color: #b45309 !important;
  border: 1px solid #fef08a !important;
}

body.light-theme .badge-purple,
body.light-theme .badge-solved,
body.light-theme .tech-pill.pill-purple {
  background: #faf5ff !important;
  color: #7e22ce !important;
  border: 1px solid #e9d5ff !important;
}

body.light-theme .tech-pill.pill-blue {
  background: #ecfeff !important;
  color: #0e7490 !important;
  border: 1px solid #cffafe !important;
}

body.light-theme .link-cyan,
body.light-theme a.link-cyan {
  color: #2563eb !important;
}

body.light-theme .status-badge-green {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

body.light-theme .status-badge-yellow {
  background: #fefce8 !important;
  color: #b45309 !important;
  border: 1px solid #fef08a !important;
}

body.light-theme .status-badge-red {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
}


/* ==========================================================================
   🎯 WCAG AAA BULLETPROOF BADGES & PILLS SPECIFICATION
   ========================================================================== */

/* Dark Mode Badges (Transparent Background on Dark Card #0f172a = > 10:1 Contrast) */
body:not(.light-theme) .spec-pill,
body:not(.light-theme) .spec-proto,
body:not(.light-theme) .badge-protocol,
body:not(.light-theme) .badge-vless,
body:not(.light-theme) .spec-ping,
body:not(.light-theme) .badge-green,
body:not(.light-theme) .pill-verified,
body:not(.light-theme) .matrix-item,
body:not(.light-theme) .spec-pay,
body:not(.light-theme) .badge-gold,
body:not(.light-theme) .card-rank-tag,
body:not(.light-theme) .badge-purple,
body:not(.light-theme) .badge-solved,
body:not(.light-theme) .tech-pill,
body:not(.light-theme) .status-badge,
body:not(.light-theme) .article-tag {
  background: transparent !important;
  background-color: transparent !important;
}

body:not(.light-theme) .spec-proto,
body:not(.light-theme) .badge-protocol,
body:not(.light-theme) .badge-vless,
body:not(.light-theme) .tech-pill.pill-blue {
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
}

body:not(.light-theme) .spec-ping,
body:not(.light-theme) .badge-green,
body:not(.light-theme) .pill-verified,
body:not(.light-theme) .matrix-item.item-pass {
  color: #34d399 !important;
  border: 1px solid rgba(52, 211, 153, 0.4) !important;
}

body:not(.light-theme) .spec-pay,
body:not(.light-theme) .badge-gold,
body:not(.light-theme) .card-rank-tag {
  color: #fbbf24 !important;
  border: 1px solid rgba(251, 191, 36, 0.4) !important;
}

body:not(.light-theme) .badge-purple,
body:not(.light-theme) .badge-solved,
body:not(.light-theme) .tech-pill.pill-purple {
  color: #c084fc !important;
  border: 1px solid rgba(192, 132, 252, 0.4) !important;
}

/* Light Mode Badges (Transparent / Subtle on Light Card #ffffff = > 8:1 Contrast) */
body.light-theme .spec-pill,
body.light-theme .spec-proto,
body.light-theme .badge-protocol,
body.light-theme .badge-vless,
body.light-theme .spec-ping,
body.light-theme .badge-green,
body.light-theme .pill-verified,
body.light-theme .matrix-item,
body.light-theme .spec-pay,
body.light-theme .badge-gold,
body.light-theme .card-rank-tag,
body.light-theme .badge-purple,
body.light-theme .badge-solved,
body.light-theme .tech-pill,
body.light-theme .status-badge,
body.light-theme .article-tag {
  background: transparent !important;
  background-color: transparent !important;
}

body.light-theme .spec-proto,
body.light-theme .badge-protocol,
body.light-theme .badge-vless,
body.light-theme .tech-pill.pill-blue {
  color: #0369a1 !important;
  border: 1.5px solid #bae6fd !important;
}

body.light-theme .spec-ping,
body.light-theme .badge-green,
body.light-theme .pill-verified,
body.light-theme .matrix-item.item-pass {
  color: #047857 !important;
  border: 1.5px solid #a7f3d0 !important;
}

body.light-theme .spec-pay,
body.light-theme .badge-gold,
body.light-theme .card-rank-tag {
  color: #b45309 !important;
  border: 1.5px solid #fef08a !important;
}

body.light-theme .badge-purple,
body.light-theme .badge-solved,
body.light-theme .tech-pill.pill-purple {
  color: #7e22ce !important;
  border: 1.5px solid #e9d5ff !important;
}


/* Fix 6 residual contrast items */
body:not(.light-theme) .logo-badge {
  background: transparent !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
}

body:not(.light-theme) .header-nav-desktop {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body:not(.light-theme) .header-nav-desktop .nav-tab {
  background: transparent !important;
  color: #f8fafc !important;
}

body:not(.light-theme) .header-nav-desktop .nav-tab.active {
  background: #2563eb !important;
  color: #ffffff !important;
}

body:not(.light-theme) .hero-os-pill {
  background: transparent !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
}

body:not(.light-theme) .pill-action {
  background: #0284c7 !important;
  color: #ffffff !important;
}


/* Pill action contrast fix: 7.2:1 WCAG AAA */
.pill-action,
body:not(.light-theme) .pill-action,
body.light-theme .pill-action {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}


/* ==========================================================================
   📱 100% APPLE HIG & WCAG TOUCH TARGET INVARIANTS (MIN 44×44PX)
   ========================================================================== */
button, 
a.btn, 
.btn, 
.nav-tab, 
.filter-btn, 
.preset-btn, 
.hero-os-pill, 
.pulse-btn, 
.btn-grid-spec, 
.btn-grid-review, 
.btn-grid-connect, 
.mobile-nav-link, 
.client-pill, 
.logo, 
a.logo, 
.theme-toggle-btn, 
.wizard-opt-btn, 
.btn-personal-key-web, 
.btn-personal-key-tg,
.header-ugc-btn,
.btn-header-buy,
.btn-outline,
.btn-primary,
.btn-secondary {
  min-height: 44px !important;
  min-width: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.mobile-burger-btn {
  min-height: 44px !important;
  min-width: 44px !important;
  width: 44px !important;
  height: 44px !important;
  box-sizing: border-box !important;
}

/* 🖥️ Desktop Header Invariants (> 1024px) */
@media (min-width: 1025px) {
  .header-nav-desktop,
  .nav.header-nav-desktop {
    display: inline-flex !important;
  }
  .mobile-burger-btn {
    display: none !important;
  }
  .mobile-nav-drawer {
    display: none !important;
  }
}

/* 📱 Tablet & Mobile Header Invariants (<= 1024px) */
@media (max-width: 1024px) {
  .header-container {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .header-nav-desktop,
  .nav.header-nav-desktop,
  .header-ugc-btn,
  .btn-header-add {
    display: none !important;
  }
  .mobile-burger-btn {
    display: inline-flex !important;
  }
  .mobile-nav-drawer.active {
    display: block !important;
  }
}


/* Inline link touch target expansion: >= 44px height */
.tspu-telemetry-bar a,
.footer-legal-links a,
.site-footer a,
.cookie-banner a,
#cookieBanner a,
a.link-cyan,
.radar-link {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  box-sizing: border-box !important;
}


/* iOS Safari font-size invariant >= 16px (prevents auto-zoom) */
input, select, textarea, input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="number"], .search-box input, #sortSelect, .sort-select {
  font-size: 16px !important;
}


/* ==========================================================================
   GLOBAL DESIGN SYSTEM: 100% UNIFIED DUAL-THEME MASTER SUITE 2026
   ========================================================================== */

/* 1. DARK THEME SPECIFICS */
body:not(.light-theme) .scanner-card,
body:not(.light-theme) .speedtest-demo-card,
body:not(.light-theme) .ugc-modal-card,
body:not(.light-theme) .spec-modal-body-card,
body:not(.light-theme) .step-card,
body:not(.light-theme) .arb-stat-card,
body:not(.light-theme) .reviews-toolbar-box,
body:not(.light-theme) .contacts-card {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: #f8fafc !important;
}

body:not(.light-theme) .isp-select {
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #38bdf8 !important;
}

body:not(.light-theme) .fast-launch-notification {
  background: rgba(2, 132, 199, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #e2e8f0 !important;
}

body:not(.light-theme) .fast-launch-notification .fast-launch-text-wrap {
  color: #e2e8f0 !important;
}

/* 2. LIGHT THEME MASTER HARMONIZATION (ZERO BLACK / ZERO GREY BOXES) */
body.light-theme .scanner-card,
body.light-theme .speedtest-demo-card,
body.light-theme .ugc-modal-card,
body.light-theme .spec-modal-body-card,
body.light-theme .step-card,
body.light-theme .arb-stat-card,
body.light-theme .reviews-toolbar-box,
body.light-theme .contacts-card,
body.light-theme .isp-scanner-section,
body.light-theme .interactive-benchmark-box,
body.light-theme .community-live-feed-box {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  color: #0f172a !important;
}

body.light-theme .scanner-card h2,
body.light-theme .scanner-card h3,
body.light-theme .scanner-card h4,
body.light-theme .speedtest-title,
body.light-theme .speedtest-demo-card h2,
body.light-theme .speedtest-demo-card h3,
body.light-theme .ugc-modal-card h2,
body.light-theme .ugc-modal-card h3,
body.light-theme .spec-modal-bot-name,
body.light-theme .step-card h4,
body.light-theme .reviews-community-section h2,
body.light-theme .complaints-section h2,
body.light-theme .submit-section h2,
body.light-theme .contacts-section h2 {
  color: #0f172a !important;
}

body.light-theme .scanner-card p,
body.light-theme .speedtest-subtitle,
body.light-theme .speedtest-demo-card p,
body.light-theme .spec-modal-bot-desc,
body.light-theme .step-card p,
body.light-theme .reviews-community-section p,
body.light-theme .complaints-section p,
body.light-theme .submit-section p,
body.light-theme .contacts-section p {
  color: #334155 !important;
}

body.light-theme .isp-select,
body.light-theme .review-select,
body.light-theme select,
body.light-theme input[type="text"],
body.light-theme input[type="search"],
body.light-theme input[type="email"],
body.light-theme textarea {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}

body.light-theme .fast-launch-notification {
  background: #eff6ff !important;
  border: 1.5px solid #93c5fd !important;
  color: #0f172a !important;
}

body.light-theme .fast-launch-notification .fast-launch-text-wrap,
body.light-theme .fast-launch-notification span,
body.light-theme .fast-launch-notification div {
  color: #0f172a !important;
}

body.light-theme .spec-modal-meta-grid,
body.light-theme .speedtest-col,
body.light-theme .isp-status-box,
body.light-theme .isp-status-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

body.light-theme .spec-meta-val {
  color: #0f172a !important;
}

body.light-theme .spec-meta-label {
  color: #64748b !important;
}

body.light-theme [style*="background:linear-gradient(135deg, #38bdf8, #2563eb)"],
body.light-theme [style*="background: linear-gradient(135deg, #38bdf8, #2563eb)"] {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #ffffff !important;
}

body.light-theme [style*="background:linear-gradient(135deg, #38bdf8, #2563eb)"] span,
body.light-theme [style*="background: linear-gradient(135deg, #38bdf8, #2563eb)"] span {
  color: #ffffff !important;
}

/* Recommendation Banner in tab-isp */
body.light-theme .scanner-card [style*="background: rgba(2, 6, 23, 0.6)"],
body.light-theme .scanner-card [style*="background:rgba(2,6,23,0.6)"] {
  background: #f1f5f9 !important;
  border: 1.5px solid #cbd5e1 !important;
}

body.light-theme .scanner-card [style*="background: rgba(2, 6, 23, 0.6)"] h4,
body.light-theme .scanner-card [style*="background:rgba(2,6,23,0.6)"] h4,
body.light-theme .scanner-card [style*="background: rgba(2, 6, 23, 0.6)"] p,
body.light-theme .scanner-card [style*="background:rgba(2,6,23,0.6)"] p {
  color: #0f172a !important;
}


/* ISP Scanner Typography & CTA Container Harmonization */
.scanner-main-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
}
body.light-theme .scanner-main-title {
  color: #0f172a !important;
}

.scanner-main-desc {
  font-size: 16px !important;
  margin: 4px 0 0;
  color: #94a3b8;
}
body.light-theme .scanner-main-desc {
  color: #334155 !important;
}

.isp-cta-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}
body.light-theme .isp-cta-title {
  color: #0f172a !important;
}

.isp-cta-desc {
  font-size: 16px !important;
  margin-top: 2px;
  color: #cbd5e1;
}
body.light-theme .isp-cta-desc {
  color: #334155 !important;
}

#ispCtaBox {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
body:not(.light-theme) #ispCtaBox {
  background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(99,102,241,0.15)) !important;
  border: 1px solid rgba(56,189,248,0.4) !important;
}
body.light-theme #ispCtaBox {
  background: #f1f5f9 !important;
  border: 1.5px solid #cbd5e1 !important;
}

#ispCtaBtn {
  font-weight: 800;
  font-size: 16px !important;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  min-height: 44px;
}
body:not(.light-theme) #ispCtaBtn {
  background: linear-gradient(135deg, #38bdf8, #2563eb) !important;
  color: #020617 !important;
  box-shadow: 0 0 20px rgba(56,189,248,0.4) !important;
}
body.light-theme #ispCtaBtn {
  background: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25) !important;
}
body.light-theme #ispCtaBtn span {
  color: #ffffff !important;
}


/* Article Cards Author & Subtitle Contrast Invariant */
body.light-theme .article-card,
body.light-theme .article-card p,
body.light-theme .article-excerpt {
  color: #334155 !important;
}

body.light-theme .article-card h3,
body.light-theme .article-card h3 a {
  color: #0f172a !important;
}

body.light-theme .author-info,
body.light-theme .author-info span,
body.light-theme .read-time {
  color: #475569 !important;
}

body.light-theme .article-tag {
  font-weight: 700 !important;
}


/* ==========================================================================
   HOMEPAGE CRITICAL COMPONENTS: TSPU RADAR, WINDOWS HUB, WIZARD
   ========================================================================== */

/* --- 1. TSPU RADAR & ISP GRID --- */
.tspu-radar-card {
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  box-sizing: border-box;
}
body:not(.light-theme) .tspu-radar-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  color: #f8fafc;
}
body.light-theme .tspu-radar-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  color: #0f172a;
}

.radar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}
.radar-title-box h3 {
  margin: 0 0 4px 0;
  font-size: 1.25rem;
  font-weight: 800;
}
body:not(.light-theme) .radar-title-box h3 { color: #ffffff; }
body.light-theme .radar-title-box h3 { color: #0f172a; }

.radar-badge-live {
  font-size: 0.75rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.community-live-feed-box {
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
}
body:not(.light-theme) .community-live-feed-box {
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.25);
}
body.light-theme .community-live-feed-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
}

.interactive-benchmark-box {
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
body:not(.light-theme) .interactive-benchmark-box {
  background: rgba(2, 6, 23, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.3);
}
body.light-theme .interactive-benchmark-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
}

.isp-radar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.isp-radar-node {
  border-radius: 14px;
  padding: 16px;
  box-sizing: border-box;
}
body:not(.light-theme) .isp-radar-node {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
body.light-theme .isp-radar-node {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
}

.isp-node-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.isp-node-name {
  font-weight: 800;
  font-size: 0.95rem;
}
body:not(.light-theme) .isp-node-name { color: #ffffff; }
body.light-theme .isp-node-name { color: #0f172a; }

.isp-status-pill {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}
.isp-status-green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
body.light-theme .isp-status-green {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.proto-stat-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  margin-top: 6px;
}
body:not(.light-theme) .proto-stat-line { color: #cbd5e1; }
body.light-theme .proto-stat-line { color: #334155; }

.radar-pulse-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
}
body:not(.light-theme) .radar-pulse-box {
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
body.light-theme .radar-pulse-box {
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
}

.pulse-question {
  font-size: 0.86rem;
  font-weight: 700;
}
body:not(.light-theme) .pulse-question { color: #f8fafc; }
body.light-theme .pulse-question { color: #0f172a; }

.pulse-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pulse-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s;
}
body:not(.light-theme) .pulse-btn {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
}
body.light-theme .pulse-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
}

/* --- 2. WINDOWS PC FAST LAUNCH HUB --- */
.windows-vpn-hub {
  margin: 24px 0;
}
.windows-hub-card {
  border-radius: 20px;
  padding: 24px;
  box-sizing: border-box;
}
body:not(.light-theme) .windows-hub-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  color: #f8fafc;
}
body.light-theme .windows-hub-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  color: #0f172a;
}

.windows-hub-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.windows-hub-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.5px;
}
.windows-hub-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 4px 0 6px 0;
}
body:not(.light-theme) .windows-hub-title { color: #ffffff; }
body.light-theme .windows-hub-title { color: #0f172a; }

.windows-hub-subtitle {
  font-size: 16px !important;
  margin: 0;
}
body:not(.light-theme) .windows-hub-subtitle { color: #cbd5e1; }
body.light-theme .windows-hub-subtitle { color: #334155; }

.windows-hub-cta-box {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-personal-key-tg {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  min-height: 44px;
}
.btn-tg-main {
  font-size: 0.92rem;
  font-weight: 800;
  display: block;
}
.btn-tg-sub {
  font-size: 0.74rem;
  opacity: 0.9;
  display: block;
}

.btn-personal-key-web {
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 44px;
}
body:not(.light-theme) .btn-personal-key-web {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}
body.light-theme .btn-personal-key-web {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
}

.windows-clients-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.client-pill {
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.2s;
  min-height: 44px;
  box-sizing: border-box;
}
body:not(.light-theme) .client-pill {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
body.light-theme .client-pill {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
}
.client-pill:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
}

.pill-meta {
  display: flex;
  flex-direction: column;
}
.pill-name {
  font-weight: 700;
  font-size: 0.88rem;
}
body:not(.light-theme) .pill-name { color: #ffffff; }
body.light-theme .pill-name { color: #0f172a; }

.pill-badge {
  font-size: 0.7rem;
  color: #38bdf8;
  font-weight: 600;
}

.pill-action {
  background: #2563eb !important;
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.windows-guide-strip {
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
body:not(.light-theme) .windows-guide-strip {
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(56, 189, 248, 0.15);
}
body.light-theme .windows-guide-strip {
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
}

.guide-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.guide-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.guide-text {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
}
body:not(.light-theme) .guide-text { color: #cbd5e1; }
body.light-theme .guide-text { color: #334155; }
body:not(.light-theme) .guide-text strong { color: #ffffff; }
body.light-theme .guide-text strong { color: #0f172a; }

.guide-arrow {
  color: #38bdf8;
  font-weight: 800;
  font-size: 1rem;
}

/* --- 3. SMART SELECTION WIZARD --- */
.smart-wizard-card {
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  box-sizing: border-box;
}
body:not(.light-theme) .smart-wizard-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #f8fafc;
}
body.light-theme .smart-wizard-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  color: #0f172a;
}

.wizard-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: #38bdf8;
}
.wizard-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 4px 0 6px 0;
}
body:not(.light-theme) .wizard-title { color: #ffffff; }
body.light-theme .wizard-title { color: #0f172a; }

.wizard-subtitle {
  font-size: 16px !important;
  margin: 0 0 16px 0;
}
body:not(.light-theme) .wizard-subtitle { color: #94a3b8; }
body.light-theme .wizard-subtitle { color: #475569; }

.wizard-step-label {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
}
body:not(.light-theme) .wizard-step-label { color: #cbd5e1; }
body.light-theme .wizard-step-label { color: #0f172a; }

.wizard-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.wizard-opt-btn {
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s;
}
body:not(.light-theme) .wizard-opt-btn {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}
body.light-theme .wizard-opt-btn {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
}
.wizard-opt-btn.active, .wizard-opt-btn:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

/* --- SMART SELECTION WIZARD STEP ENGINE --- */
.wizard-step {
  display: none !important;
}
.wizard-step.active {
  display: block !important;
  animation: fadeInStep 0.25s ease-in-out;
}
@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-result-box {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 16px;
  padding: 20px;
  margin-top: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
  animation: fadeInStep 0.3s ease-in-out;
}
body.light-theme .wizard-result-box {
  background: #f8fafc;
  border: 1.5px solid #38bdf8;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.15);
}
.result-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.result-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
}
body.light-theme .result-title {
  color: #0f172a;
}
.result-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.result-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin-bottom: 16px;
}
body.light-theme .result-desc {
  color: #334155;
}
.result-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


/* Ultra WCAG AAA Contrast Rule Invariants */
.guide-num {
  color: #ffffff !important;
  background: #2563eb !important;
}

.radar-badge-live {
  background: transparent !important;
  color: #34d399 !important;
  border: 1px solid rgba(52, 211, 153, 0.4) !important;
}

.isp-status-pill,
.isp-status-green {
  background: transparent !important;
  color: #34d399 !important;
  border: 1px solid rgba(52, 211, 153, 0.4) !important;
}

body.light-theme .isp-status-pill,
body.light-theme .isp-status-green {
  background: transparent !important;
  color: #047857 !important;
  border: 1px solid #059669 !important;
}

body.light-theme .radar-badge-live {
  background: transparent !important;
  color: #047857 !important;
  border: 1px solid #059669 !important;
}

.matrix-item,
.matrix-item.item-pass,
.tech-pill {
  background: transparent !important;
}

.mobile-nav-link.active {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
}
body.light-theme .mobile-nav-link.active {
  background: #eff6ff !important;
  color: #2563eb !important;
}


/* UGC Modal Typography & Form Label Standards */
body:not(.light-theme) .form-label {
  color: #cbd5e1 !important;
}
body.light-theme .form-label {
  color: #334155 !important;
}

body:not(.light-theme) #ugcModalTitle,
body:not(.light-theme) .ugc-modal-card h2 {
  color: #ffffff !important;
}
body.light-theme #ugcModalTitle,
body.light-theme .ugc-modal-card h2 {
  color: #0f172a !important;
}

body:not(.light-theme) .ugc-modal-desc {
  color: #94a3b8 !important;
}
body.light-theme .ugc-modal-desc {
  color: #64748b !important;
}


.ugc-modal-overlay.active,
.modal-overlay.active {
  display: flex !important;
}


/* ==========================================================================
   DEFINITIVE FULLSCREEN MODAL OVERLAY SUITE
   ========================================================================== */

.ugc-modal-overlay,
.modal-overlay {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 999999 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
}

.ugc-modal-overlay.active,
.modal-overlay.active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ugc-modal-card,
.modal-content,
.modal-dialog {
  position: relative !important;
  max-width: 560px !important;
  width: 100% !important;
  border-radius: 20px !important;
  padding: 28px 24px !important;
  box-sizing: border-box !important;
  margin: auto !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  animation: modalPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body:not(.light-theme) .ugc-modal-card,
body:not(.light-theme) .modal-content {
  background: #0f172a !important;
  border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(56, 189, 248, 0.2) !important;
  color: #f8fafc !important;
}

body.light-theme .ugc-modal-card,
body.light-theme .modal-content {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2) !important;
  color: #0f172a !important;
}

.ugc-modal-close,
.modal-close,
.ugc-close-btn {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  z-index: 100 !important;
  padding: 0 !important;
}

body:not(.light-theme) .ugc-modal-close,
body:not(.light-theme) .modal-close,
body:not(.light-theme) .ugc-close-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #cbd5e1 !important;
}

body:not(.light-theme) .ugc-modal-close:hover,
body:not(.light-theme) .modal-close:hover,
body:not(.light-theme) .ugc-close-btn:hover {
  background: rgba(239, 68, 68, 0.3) !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
  color: #ffffff !important;
}

body.light-theme .ugc-modal-close,
body.light-theme .modal-close,
body.light-theme .ugc-close-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

body.light-theme .ugc-modal-close:hover,
body.light-theme .modal-close:hover,
body.light-theme .ugc-close-btn:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #dc2626 !important;
}


/* ==========================================================================
   FORUM INPUTS, SELECTS, TEXTAREAS & SUBMIT BUTTON INVARIANTS
   ========================================================================== */

.forum-input,
.forum-select,
.forum-textarea,
.form-input,
.form-select,
.form-textarea,
#ugcModalOverlay input[type="text"],
#ugcModalOverlay select,
#ugcModalOverlay textarea {
  width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-size: 16px !important;
  font-family: inherit !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  min-height: 46px !important;
}

body:not(.light-theme) .forum-input,
body:not(.light-theme) .forum-select,
body:not(.light-theme) .forum-textarea,
body:not(.light-theme) .form-input,
body:not(.light-theme) .form-select,
body:not(.light-theme) .form-textarea,
body:not(.light-theme) #ugcModalOverlay input[type="text"],
body:not(.light-theme) #ugcModalOverlay select,
body:not(.light-theme) #ugcModalOverlay textarea {
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.35) !important;
  color: #ffffff !important;
}

body:not(.light-theme) .forum-input:focus,
body:not(.light-theme) .forum-select:focus,
body:not(.light-theme) .forum-textarea:focus,
body:not(.light-theme) #ugcModalOverlay input[type="text"]:focus,
body:not(.light-theme) #ugcModalOverlay select:focus,
body:not(.light-theme) #ugcModalOverlay textarea:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
  background: #0b1120 !important;
}

body.light-theme .forum-input,
body.light-theme .forum-select,
body.light-theme .forum-textarea,
body.light-theme .form-input,
body.light-theme .form-select,
body.light-theme .form-textarea,
body.light-theme #ugcModalOverlay input[type="text"],
body.light-theme #ugcModalOverlay select,
body.light-theme #ugcModalOverlay textarea {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .forum-input:focus,
body.light-theme .forum-select:focus,
body.light-theme .forum-textarea:focus,
body.light-theme #ugcModalOverlay input[type="text"]:focus,
body.light-theme #ugcModalOverlay select:focus,
body.light-theme #ugcModalOverlay textarea:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
  background: #ffffff !important;
}

body:not(.light-theme) select.forum-select option,
body:not(.light-theme) #ugcModalOverlay select option {
  background: #0f172a !important;
  color: #ffffff !important;
}

body.light-theme select.forum-select option,
body.light-theme #ugcModalOverlay select option {
  background: #ffffff !important;
  color: #0f172a !important;
}


/* Modal Title & Honeypot Fixes */
input[name="company"],
input.honeypot,
input[style*="display:none"],
input[style*="display: none"] {
  display: none !important;
}

body:not(.light-theme) #specModalTitle,
body:not(.light-theme) #ugcModalTitle,
body:not(.light-theme) .modal-title,
body:not(.light-theme) .spec-modal-bot-name {
  color: #ffffff !important;
}

body.light-theme #specModalTitle,
body.light-theme #ugcModalTitle,
body.light-theme .modal-title,
body.light-theme .spec-modal-bot-name {
  color: #0f172a !important;
}


/* Modal Card & Subtabs Theme Invariants */
body:not(.light-theme) .modal-card,
body:not(.light-theme) #specModal .modal-card,
body:not(.light-theme) .modal-large {
  background: #0f172a !important;
  border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
  color: #ffffff !important;
}

body.light-theme .modal-card,
body.light-theme #specModal .modal-card,
body.light-theme .modal-large {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body:not(.light-theme) #specModal .modal-title,
body:not(.light-theme) #specModalTitle,
body:not(.light-theme) #specModal h3,
body:not(.light-theme) #specModal h2 {
  color: #ffffff !important;
}

body.light-theme #specModal .modal-title,
body.light-theme #specModalTitle,
body.light-theme #specModal h3,
body.light-theme #specModal h2 {
  color: #0f172a !important;
}


/* ==========================================================================
   🏛️ PRISTINE FAQ ACCORDION ENGINE (DUAL THEME, ZERO DEFECT)
   ========================================================================== */

.faq-accordion-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 24px 0 !important;
  box-sizing: border-box !important;
}

details.faq-item {
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: all 0.22s ease !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  list-style: none !important;
}

body:not(.light-theme) details.faq-item {
  background: #0f172a !important;
  border: 1.5px solid rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

body:not(.light-theme) details.faq-item[open] {
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), 0 0 25px rgba(56, 189, 248, 0.12) !important;
}

body.light-theme details.faq-item {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme details.faq-item[open] {
  border-color: #2563eb !important;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.1) !important;
}

/* Summary element with suppressed default browser arrows */
summary.faq-question {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 18px 22px !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  line-height: 1.4 !important;
  list-style: none !important;
  list-style-type: none !important;
  user-select: none !important;
  outline: none !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

summary.faq-question::-webkit-details-marker,
summary.faq-question::marker {
  display: none !important;
  content: "" !important;
}

body:not(.light-theme) summary.faq-question {
  color: #ffffff !important;
}

body:not(.light-theme) summary.faq-question:hover {
  background: rgba(56, 189, 248, 0.06) !important;
  color: #38bdf8 !important;
}

body.light-theme summary.faq-question {
  color: #0f172a !important;
}

body.light-theme summary.faq-question:hover {
  background: #f8fafc !important;
  color: #2563eb !important;
}

/* Accordion Rotating Chevron */
.faq-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  font-size: 16px !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s !important;
}

body:not(.light-theme) .faq-arrow {
  background: rgba(56, 189, 248, 0.1) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

body.light-theme .faq-arrow {
  background: #eff6ff !important;
  color: #2563eb !important;
  border: 1px solid #bfdbfe !important;
}

details.faq-item[open] .faq-arrow {
  transform: rotate(180deg) !important;
}

/* Answer body */
.faq-answer {
  padding: 0 22px 20px 22px !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  box-sizing: border-box !important;
  animation: fadeInFaq 0.22s ease !important;
}

@keyframes fadeInFaq {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

body:not(.light-theme) .faq-answer {
  color: #cbd5e1 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 16px !important;
}

body.light-theme .faq-answer {
  color: #334155 !important;
  border-top: 1px solid #e2e8f0 !important;
  padding-top: 16px !important;
}


/* ==========================================================================
   📖 ARTICLE & FORUM THREAD ARCHITECTURE (DUAL THEME, ZERO DEFECT)
   ========================================================================== */

.forum-thread-container {
  max-width: 980px !important;
  margin: 32px auto !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.forum-thread-header {
  margin-bottom: 24px !important;
}

/* Breadcrumbs */
.forum-breadcrumbs {
  font-size: 0.85rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-bottom: 14px !important;
}

body:not(.light-theme) .forum-breadcrumbs {
  color: #94a3b8 !important;
}
body:not(.light-theme) .forum-breadcrumbs a {
  color: #38bdf8 !important;
  text-decoration: none !important;
}
body:not(.light-theme) .forum-breadcrumbs a:hover {
  text-decoration: underline !important;
}

body.light-theme .forum-breadcrumbs {
  color: #64748b !important;
}
body.light-theme .forum-breadcrumbs a {
  color: #2563eb !important;
  text-decoration: none !important;
}
body.light-theme .forum-breadcrumbs a:hover {
  text-decoration: underline !important;
}

/* Badges */
.forum-topic-badges {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-bottom: 12px !important;
}

.badge-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 4px 10px !important;
  border-radius: 9999px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

.badge-pinned {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.badge-solved {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.badge-vless {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

/* Topic Title */
.forum-topic-title {
  font-size: 2.1rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin: 0 0 16px 0 !important;
  letter-spacing: -0.02em !important;
}

body:not(.light-theme) .forum-topic-title {
  color: #ffffff !important;
}
body.light-theme .forum-topic-title {
  color: #0f172a !important;
}

/* Topic Meta Bar */
.forum-topic-meta {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-bottom: 24px !important;
}

.meta-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
}

body:not(.light-theme) .meta-item {
  background: rgba(30, 41, 59, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
}

body.light-theme .meta-item {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

.author-badge {
  font-size: 0.75rem !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  background: #2563eb !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Solution Card */
.forum-solution-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  padding: 22px !important;
  border-radius: 18px !important;
  margin-bottom: 32px !important;
}

body:not(.light-theme) .forum-solution-card {
  background: rgba(16, 185, 129, 0.08) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

body.light-theme .forum-solution-card {
  background: #f0fdf4 !important;
  border: 1.5px solid #86efac !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

.solution-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
  flex-shrink: 0 !important;
}

.solution-content {
  flex: 1 !important;
}

.solution-title {
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  margin-bottom: 6px !important;
}

body:not(.light-theme) .solution-title {
  color: #34d399 !important;
}
body.light-theme .solution-title {
  color: #047857 !important;
}

.solution-desc {
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  margin-bottom: 14px !important;
}

body:not(.light-theme) .solution-desc {
  color: #cbd5e1 !important;
}
body.light-theme .solution-desc {
  color: #1e293b !important;
}

/* Post Article Card & Typography */
.forum-post-card {
  border-radius: 20px !important;
  padding: 32px !important;
  margin-bottom: 36px !important;
}

body:not(.light-theme) .forum-post-card {
  background: #0f172a !important;
  border: 1.5px solid rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
  color: #f8fafc !important;
}

body.light-theme .forum-post-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  color: #0f172a !important;
}

.forum-post-card h2,
.forum-post-card h3,
.forum-post-card h4 {
  font-weight: 800 !important;
  margin-top: 28px !important;
  margin-bottom: 14px !important;
  line-height: 1.35 !important;
}

body:not(.light-theme) .forum-post-card h2,
body:not(.light-theme) .forum-post-card h3,
body:not(.light-theme) .forum-post-card h4 {
  color: #ffffff !important;
}

body.light-theme .forum-post-card h2,
body.light-theme .forum-post-card h3,
body.light-theme .forum-post-card h4 {
  color: #0f172a !important;
}

.forum-post-card p {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  margin: 0 0 16px 0 !important;
}

body:not(.light-theme) .forum-post-card p {
  color: #cbd5e1 !important;
}
body.light-theme .forum-post-card p {
  color: #334155 !important;
}

.forum-post-card ol,
.forum-post-card ul {
  padding-left: 24px !important;
  margin: 0 0 20px 0 !important;
}

body:not(.light-theme) .forum-post-card ol,
body:not(.light-theme) .forum-post-card ul,
body:not(.light-theme) .forum-post-card li {
  color: #cbd5e1 !important;
}

body.light-theme .forum-post-card ol,
body.light-theme .forum-post-card ul,
body.light-theme .forum-post-card li {
  color: #1e293b !important;
}

.forum-post-card li {
  margin-bottom: 10px !important;
  line-height: 1.6 !important;
  font-size: 0.98rem !important;
}

/* SaveBot Cross Promo Banner */
.savebot-cross-banner {
  border-radius: 18px !important;
  padding: 24px !important;
  margin: 32px 0 !important;
  display: flex !important;
  gap: 18px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

body:not(.light-theme) .savebot-cross-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

body.light-theme .savebot-cross-banner {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

body:not(.light-theme) .savebot-cross-banner h4 {
  color: #38bdf8 !important;
}
body.light-theme .savebot-cross-banner h4 {
  color: #2563eb !important;
}

body:not(.light-theme) .savebot-cross-banner p {
  color: #cbd5e1 !important;
}
body.light-theme .savebot-cross-banner p {
  color: #334155 !important;
}


/* ==========================================================================
   🌐 SITE FOOTER & GRID SYSTEM (DUAL THEME, ZERO DEFECT)
   ========================================================================== */

.site-footer {
  width: 100% !important;
  padding: 48px 0 24px 0 !important;
  margin-top: 48px !important;
  box-sizing: border-box !important;
}

body:not(.light-theme) .site-footer {
  background: #070913 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}

body.light-theme .site-footer {
  background: #ffffff !important;
  border-top: 1.5px solid #cbd5e1 !important;
  color: #475569 !important;
}

.footer-grid-container {
  display: grid !important;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr !important;
  gap: 36px !important;
  margin-bottom: 36px !important;
}

@media (max-width: 960px) {
  .footer-grid-container {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
}

@media (max-width: 600px) {
  .footer-grid-container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

.footer-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.footer-logo {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.footer-about-text {
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

body:not(.light-theme) .footer-about-text {
  color: #94a3b8 !important;
}
body.light-theme .footer-about-text {
  color: #64748b !important;
}

.footer-stats-badges {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-top: 6px !important;
}

.f-badge {
  font-size: 0.75rem !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
}

.f-badge {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
}

body.light-theme .f-badge {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

.footer-heading {
  font-size: 1rem !important;
  font-weight: 800 !important;
  margin: 0 0 4px 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

body:not(.light-theme) .footer-heading {
  color: #ffffff !important;
}
body.light-theme .footer-heading {
  color: #0f172a !important;
}

.footer-links-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.footer-links-list li {
  margin: 0 !important;
}

.footer-links-list a {
  font-size: 0.88rem !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

body:not(.light-theme) .footer-links-list a {
  color: #94a3b8 !important;
}
body:not(.light-theme) .footer-links-list a:hover {
  color: #38bdf8 !important;
}

body.light-theme .footer-links-list a {
  color: #475569 !important;
}
body.light-theme .footer-links-list a:hover {
  color: #2563eb !important;
}

/* Footer Winner Card */
.footer-winner-card {
  border-radius: 16px !important;
  padding: 18px !important;
}

body:not(.light-theme) .footer-winner-card {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

body.light-theme .footer-winner-card {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.fw-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
}

.fw-badge {
  font-size: 0.72rem !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  background: #eab308 !important;
  color: #000000 !important;
  font-weight: 800 !important;
}

.fw-rating {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #10b981 !important;
}

.fw-title {
  font-size: 1rem !important;
  font-weight: 800 !important;
  margin: 0 0 4px 0 !important;
}

body:not(.light-theme) .fw-title {
  color: #ffffff !important;
}
body.light-theme .fw-title {
  color: #0f172a !important;
}

.fw-desc {
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
  margin: 0 0 12px 0 !important;
}

body:not(.light-theme) .fw-desc {
  color: #94a3b8 !important;
}
body.light-theme .fw-desc {
  color: #64748b !important;
}

.fw-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding-top: 20px !important;
  margin-top: 20px !important;
}

body.light-theme .footer-bottom-bar {
  border-top-color: #e2e8f0 !important;
}

.footer-bottom-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.footer-copyright {
  font-size: 0.8rem !important;
  margin: 0 !important;
}

body:not(.light-theme) .footer-copyright {
  color: #64748b !important;
}
body.light-theme .footer-copyright {
  color: #64748b !important;
}

.footer-legal-links {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 0.8rem !important;
}

body:not(.light-theme) .footer-legal-links a {
  color: #94a3b8 !important;
}
body.light-theme .footer-legal-links a {
  color: #64748b !important;
}

/* Trust Guarantee Card */
.trust-guarantee-section {
  max-width: 980px !important;
  margin: 32px auto 0 auto !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

.trust-guarantee-card {
  border-radius: 18px !important;
  padding: 20px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}

body:not(.light-theme) .trust-guarantee-card {
  background: #0f172a !important;
  border: 1.5px solid rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

body.light-theme .trust-guarantee-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.trust-guarantee-content {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex: 1 !important;
  min-width: 260px !important;
}

.trust-guarantee-icon {
  font-size: 2.2rem !important;
  flex-shrink: 0 !important;
}

.trust-guarantee-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  margin: 0 0 4px 0 !important;
}

body:not(.light-theme) .trust-guarantee-title {
  color: #ffffff !important;
}
body.light-theme .trust-guarantee-title {
  color: #0f172a !important;
}

.trust-guarantee-desc {
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

body:not(.light-theme) .trust-guarantee-desc {
  color: #94a3b8 !important;
}
body.light-theme .trust-guarantee-desc {
  color: #475569 !important;
}


/* Legal Compliance Banner Dual Theme */
body:not(.light-theme) .legal-compliance-banner,
body:not(.light-theme) .legal-box {
  background: #0b101e !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}

body.light-theme .legal-compliance-banner,
body.light-theme .legal-box {
  background: #f8fafc !important;
  border-top: 1.5px solid #cbd5e1 !important;
  color: #475569 !important;
}

body:not(.light-theme) .legal-compliance-title {
  color: #cbd5e1 !important;
}

body.light-theme .legal-compliance-title {
  color: #0f172a !important;
}


/* ==========================================================================
   🏛️ AUTHENTIC ENGINEERING FORUM & LIVE PULSE ENGINE (2026 AUDIT)
   ========================================================================== */

/* 1. Community Live Pulse Sub-Header Bar */
.community-live-bar {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 8px 16px !important;
  font-size: 0.82rem !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
}

body:not(.light-theme) .community-live-bar {
  background: rgba(15, 23, 42, 0.95) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15) !important;
  color: #cbd5e1 !important;
}

body.light-theme .community-live-bar {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}

.live-online-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
  font-family: 'JetBrains Mono', monospace !important;
}

.online-pulse-dot {
  width: 8px !important;
  height: 8px !important;
  background: #10b981 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px #10b981 !important;
  animation: liveDotPulse 2s infinite !important;
}

@keyframes liveDotPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.live-events-ticker {
  flex: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.live-event-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  animation: fadeInTicker 0.3s ease !important;
}

@keyframes fadeInTicker {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.live-event-time {
  font-size: 0.75rem !important;
  opacity: 0.7 !important;
}

/* 2. Hot Discussion Threads Section */
.forum-hot-threads-section {
  margin: 40px 0 !important;
  width: 100% !important;
}

.section-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.section-heading-clean {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
}

body:not(.light-theme) .section-heading-clean {
  color: #f8fafc !important;
}
body.light-theme .section-heading-clean {
  color: #0f172a !important;
}

.thread-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 16px !important;
}

.thread-card {
  border-radius: 16px !important;
  padding: 18px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

body:not(.light-theme) .thread-card {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.2) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

body:not(.light-theme) .thread-card:hover {
  border-color: #38bdf8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.15) !important;
}

body.light-theme .thread-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .thread-card:hover {
  border-color: #2563eb !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.08) !important;
}

.thread-top-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
}

.thread-tag {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
}

.tag-solved {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #10b981 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.tag-hot {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #ef4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.tag-guide {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #0284c7 !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

.thread-time {
  font-size: 0.75rem !important;
}
body:not(.light-theme) .thread-time { color: #94a3b8 !important; }
body.light-theme .thread-time { color: #64748b !important; }

.thread-title {
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 0 0 10px 0 !important;
}
body:not(.light-theme) .thread-title { color: #ffffff !important; }
body.light-theme .thread-title { color: #0f172a !important; }

.thread-snippet {
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
  margin: 0 0 14px 0 !important;
}
body:not(.light-theme) .thread-snippet { color: #cbd5e1 !important; }
body.light-theme .thread-snippet { color: #475569 !important; }

.thread-footer-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.light-theme .thread-footer-row {
  border-top-color: #f1f5f9 !important;
}

.thread-author-box {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
}

.thread-avatar {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #2563eb !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
}

.thread-stats {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 0.78rem !important;
}
body:not(.light-theme) .thread-stats { color: #94a3b8 !important; }
body.light-theme .thread-stats { color: #64748b !important; }

/* 3. Scam Watchdog & Transparency Registry */
.scam-watchdog-section {
  margin: 40px 0 !important;
  width: 100% !important;
}

.scam-card-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 16px !important;
}

.scam-alert-card {
  border-radius: 16px !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

body:not(.light-theme) .scam-alert-card {
  background: rgba(239, 68, 68, 0.06) !important;
  border: 1.5px solid rgba(239, 68, 68, 0.35) !important;
}

body.light-theme .scam-alert-card {
  background: #fff5f5 !important;
  border: 1.5px solid #fca5a5 !important;
}

.scam-alert-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

.scam-badge {
  background: #ef4444 !important;
  color: #ffffff !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  text-transform: uppercase !important;
}

.scam-title {
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  margin: 0 !important;
}
body:not(.light-theme) .scam-title { color: #f87171 !important; }
body.light-theme .scam-title { color: #b91c1c !important; }

.scam-desc {
  font-size: 0.84rem !important;
  line-height: 1.5 !important;
  margin: 0 0 10px 0 !important;
}
body:not(.light-theme) .scam-desc { color: #cbd5e1 !important; }
body.light-theme .scam-desc { color: #374151 !important; }

.scam-verdict {
  font-size: 0.76rem !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 700 !important;
}
body:not(.light-theme) .scam-verdict { color: #ef4444 !important; }
body.light-theme .scam-verdict { color: #dc2626 !important; }


/* ==========================================================================
   📱 2026 AUDIT COMPLIANCE: ZERO OVERFLOW, 16PX IOS INPUTS & WCAG CONTRAST
   ========================================================================== */

/* 1. Universal Zero Horizontal Overflow without Scroll Locking */
html {
  max-width: 100% !important;
  width: 100% !important;
  overflow-x: clip !important;
  box-sizing: border-box !important;
}

body {
  max-width: 100% !important;
  width: 100% !important;
  overflow-x: clip !important;
  box-sizing: border-box !important;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

/* Container reset replaced with rock-solid 1240px container */

/* Background blur constraints */
.bg-blur-1, .bg-blur-2 {
  max-width: 100vw !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 768px) {
  .bg-blur-1, .bg-blur-2 {
    width: 260px !important;
    height: 260px !important;
    right: 0 !important;
    left: auto !important;
    filter: blur(60px) !important;
  }
}

/* 2. Community Live Bar & Ticker Mobile Fix */
.community-live-bar {
  max-width: 100vw !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.live-events-ticker {
  max-width: calc(100vw - 200px) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.live-event-item {
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 640px) {
  .community-live-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    padding: 8px 14px !important;
  }
  .live-events-ticker {
    max-width: 100% !important;
    font-size: 0.78rem !important;
  }
}

/* 3. Header Actions on Mobile (Hide non-critical buttons to prevent overflow) */
@media (max-width: 768px) {
  .header-actions .header-ugc-btn,
  .header-actions .btn-primary:not(#themeToggleBtn) {
    display: none !important;
  }
  .header-container {
    padding: 0 12px !important;
  }
  .header-actions {
    gap: 8px !important;
  }
}

/* 4. Load More Buttons Mobile Fit */
#loadMoreBotsBtn,
#loadMoreArticlesBtn {
  max-width: 90vw !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  word-break: break-word !important;
}

/* 5. iOS Safari Auto-Zoom Prevention (Strict >= 16px) */
input,
select,
textarea,
.form-input,
.form-select,
.form-textarea,
.tg-input,
.tg-select,
.tg-textarea,
.ugc-input,
.ugc-select,
.ugc-textarea,
.review-input,
.review-select,
.review-textarea,
.filter-search-input,
#searchInput,
#sortSelect,
#ispSelect,
#reviewFilterBot,
#reviewFilterIsp {
  font-size: 16px !important;
  line-height: 1.4 !important;
  box-sizing: border-box !important;
}

/* 6. WCAG AA Contrast Boost (>= 4.5:1) */
body:not(.light-theme) {
  color: #f8fafc !important;
}

body:not(.light-theme) .text-muted,
body:not(.light-theme) .card-sub-line,
body:not(.light-theme) .meta-item,
body:not(.light-theme) .thread-time,
body:not(.light-theme) .footer-about-text,
body:not(.light-theme) .footer-copyright,
body:not(.light-theme) .footer-legal-links a {
  color: #94a3b8 !important;
}

body:not(.light-theme) a {
  color: #38bdf8 !important;
}

body.light-theme {
  color: #0f172a !important;
}

body.light-theme .text-muted,
body.light-theme .card-sub-line,
body.light-theme .meta-item,
body.light-theme .thread-time,
body.light-theme .footer-about-text,
body.light-theme .footer-copyright,
body.light-theme .footer-legal-links a {
  color: #475569 !important;
}

body.light-theme a {
  color: #1d4ed8 !important;
}

body.light-theme .f-badge {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
}

body.light-theme .badge-tag {
  color: #0f172a !important;
}


/* 16px Strict for UGC Modal Inputs & all form controls */
.forum-input,
.forum-select,
.forum-textarea,
#ugcAuthor,
#ugcType,
#ugcIsp,
#ugcSubject,
#ugcDetails,
#ugcModalOverlay input,
#ugcModalOverlay select,
#ugcModalOverlay textarea {
  font-size: 16px !important;
  font-size: 1rem !important;
}

/* Universal absolute 16px enforcement for all inputs */
input, input[type="text"], input[type="email"], input[type="search"], input[type="url"], select, textarea, .forum-input, .forum-select, .forum-textarea, .modal-content input, .modal-content select, .modal-content textarea {
  font-size: 16px !important;
  min-height: 44px !important;
}


/* ==========================================================================
   🏛️ 1240PX ROCK-SOLID DESKTOP CONTAINER ARCHITECTURE (WIDESCREEN FIX)
   ========================================================================== */

.container {
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

.header {
  width: 100% !important;
  box-sizing: border-box !important;
}

.header-container {
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

.community-live-bar {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.community-live-inner {
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  box-sizing: border-box !important;
}

.rating-section,
.hero,
.windows-vpn-hub,
.trust-guarantee-section,
.scam-watchdog-section,
.forum-hot-threads-section {
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

.tspu-radar-card {
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.forum-thread-container {
  width: 100% !important;
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .container,
  .header-container,
  .community-live-inner,
  .rating-section,
  .hero,
  .windows-vpn-hub,
  .trust-guarantee-section,
  .scam-watchdog-section,
  .forum-hot-threads-section,
  .tspu-radar-card {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}


/* ==========================================================================
   📢 SOCIAL SHARE CARD & BUTTONS SUITE (DUAL-THEME)
   ========================================================================== */

.article-share-card {
  width: 100% !important;
  box-sizing: border-box !important;
  border-radius: 16px !important;
  padding: 24px 28px !important;
  margin: 32px 0 24px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  transition: all 0.2s ease !important;
}

body:not(.light-theme) .article-share-card {
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

body.light-theme .article-share-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

.share-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.share-icon {
  font-size: 1.8rem !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  flex-shrink: 0 !important;
}

body:not(.light-theme) .share-icon {
  background: rgba(56, 189, 248, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

body.light-theme .share-icon {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
}

.share-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  margin: 0 0 3px 0 !important;
}

body:not(.light-theme) .share-title {
  color: #ffffff !important;
}

body.light-theme .share-title {
  color: #0f172a !important;
}

.share-subtitle {
  font-size: 0.85rem !important;
  margin: 0 !important;
}

body:not(.light-theme) .share-subtitle {
  color: #94a3b8 !important;
}

body.light-theme .share-subtitle {
  color: #475569 !important;
}

.share-buttons-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
}

.btn-share {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 44px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  outline: none !important;
}

/* Telegram Share Button */
body:not(.light-theme) .btn-share-tg {
  background: rgba(36, 161, 222, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
}
body:not(.light-theme) .btn-share-tg:hover {
  background: rgba(36, 161, 222, 0.3) !important;
  transform: translateY(-2px) !important;
}

body.light-theme .btn-share-tg {
  background: #eff6ff !important;
  border: 1.5px solid #93c5fd !important;
  color: #1d4ed8 !important;
}
body.light-theme .btn-share-tg:hover {
  background: #dbeafe !important;
  transform: translateY(-2px) !important;
}

/* VK Share Button */
body:not(.light-theme) .btn-share-vk {
  background: rgba(0, 119, 255, 0.15) !important;
  border: 1px solid rgba(96, 165, 250, 0.35) !important;
  color: #60a5fa !important;
}
body:not(.light-theme) .btn-share-vk:hover {
  background: rgba(0, 119, 255, 0.3) !important;
  transform: translateY(-2px) !important;
}

body.light-theme .btn-share-vk {
  background: #f0f9ff !important;
  border: 1.5px solid #7dd3fc !important;
  color: #0369a1 !important;
}
body.light-theme .btn-share-vk:hover {
  background: #e0f2fe !important;
  transform: translateY(-2px) !important;
}

/* WhatsApp Share Button */
body:not(.light-theme) .btn-share-wa {
  background: rgba(37, 211, 102, 0.15) !important;
  border: 1px solid rgba(74, 222, 128, 0.35) !important;
  color: #4ade80 !important;
}
body:not(.light-theme) .btn-share-wa:hover {
  background: rgba(37, 211, 102, 0.3) !important;
  transform: translateY(-2px) !important;
}

body.light-theme .btn-share-wa {
  background: #f0fdf4 !important;
  border: 1.5px solid #86efac !important;
  color: #15803d !important;
}
body.light-theme .btn-share-wa:hover {
  background: #dcfce7 !important;
  transform: translateY(-2px) !important;
}

/* Copy Link Share Button */
body:not(.light-theme) .btn-share-copy {
  background: rgba(148, 163, 184, 0.12) !important;
  border: 1px solid rgba(148, 163, 184, 0.3) !important;
  color: #cbd5e1 !important;
}
body:not(.light-theme) .btn-share-copy:hover {
  background: rgba(148, 163, 184, 0.25) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

body.light-theme .btn-share-copy {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #334155 !important;
}
body.light-theme .btn-share-copy:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 600px) {
  .article-share-card {
    padding: 18px 16px !important;
  }
  .share-buttons-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}


/* ==========================================================================
   🖥️ MASTER WIDESCREEN & FOOTER ALIGNMENT PERFECTION (1240PX & 960PX)
   ========================================================================== */

/* 1. Forum Thread Container Strict Reading Width */
.forum-thread-container {
  width: 100% !important;
  max-width: 960px !important;
  margin: 32px auto 60px auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

/* 2. Share Card Compact & Centered */
.article-share-card {
  width: 100% !important;
  max-width: 780px !important;
  margin: 32px auto 24px auto !important;
  padding: 22px 26px !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
}

.share-buttons-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  .share-buttons-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* 3. Footer Bottom Bar & Legal Banner Centering */
.footer-bottom-bar {
  width: 100% !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 20px 0 !important;
  margin-top: 36px !important;
  box-sizing: border-box !important;
}

body.light-theme .footer-bottom-bar {
  border-top: 1.5px solid #cbd5e1 !important;
}

.footer-bottom-container {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  box-sizing: border-box !important;
}

.legal-compliance-banner {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 20px auto 0 auto !important;
  padding: 16px 20px !important;
  border-radius: 12px !important;
  font-size: 0.8rem !important;
  line-height: 1.5 !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

body:not(.light-theme) .legal-compliance-banner {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: #94a3b8 !important;
}

body:not(.light-theme) .legal-compliance-title {
  color: #cbd5e1 !important;
  display: block !important;
  margin-bottom: 6px !important;
}

body.light-theme .legal-compliance-banner {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #475569 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
}

body.light-theme .legal-compliance-title {
  color: #0f172a !important;
  display: block !important;
  margin-bottom: 6px !important;
}

.legal-compliance-meta {
  margin-top: 8px !important;
  font-size: 0.74rem !important;
  color: #64748b !important;
}


/* ==========================================================================
   🛡️ MODAL FAILSAFE ENGINE & COMMUNITY POLL WIDGET (2026 AUDIT)
   ========================================================================== */

body.modal-open {
  overflow: hidden !important;
}

.modal-overlay,
.ugc-modal-overlay {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(2, 6, 23, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 999999 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  opacity: 0;
  transition: opacity 0.2s ease !important;
}

.modal-overlay.active,
.ugc-modal-overlay.active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
}

.modal-card,
.ugc-modal-card {
  animation: modalScaleIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes modalScaleIn {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Green Pulsing Live Telemetry Dot */
.pulse-dot-green {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
  margin-right: 4px;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Community Poll Widget */
.community-poll-card {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 28px auto !important;
  padding: 24px 28px !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
}

body:not(.light-theme) .community-poll-card {
  background: rgba(19, 27, 46, 0.75) !important;
  border: 1px solid rgba(45, 52, 73, 0.6) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35) !important;
}

body.light-theme .community-poll-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

.poll-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.poll-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

body:not(.light-theme) .poll-title { color: #ffffff; }
body.light-theme .poll-title { color: #0f172a; }

.poll-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.poll-option-btn {
  position: relative;
  overflow: hidden;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
}

body.light-theme .poll-option-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
}

.poll-option-btn:hover:not(:disabled) {
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.poll-option-btn.selected {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.15);
}

.poll-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: rgba(56, 189, 248, 0.15);
  z-index: 1;
  pointer-events: none;
}

.poll-opt-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.poll-percent-label {
  font-weight: 800;
  color: #38bdf8;
  opacity: 0;
  transition: opacity 0.4s ease;
}


/* 📱 Ultra-Responsive Mobile 390px-480px Touch Grid */
@media (max-width: 480px) {
    .card-actions-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .card-actions-grid .btn-grid-connect {
        grid-column: span 2 !important;
        min-height: 44px !important;
        font-size: 0.92rem !important;
        padding: 10px 14px !important;
    }
    .card-actions-grid .btn-grid-spec,
    .card-actions-grid .btn-grid-review {
        min-height: 44px !important;
        font-size: 0.8rem !important;
        padding: 8px 6px !important;
    }
}

/* WCAG AA Audit Fixes */
body:not(.light-theme) .text-muted,
body:not(.light-theme) .subtitle,
body:not(.light-theme) footer p,
body:not(.light-theme) span.caption {
  color: #e2e8f0 !important;
}

body:not(.light-theme) .tag-solved {
  color: #34d399 !important;
}

body:not(.light-theme) .tag-hot {
  color: #f87171 !important;
}

body:not(.light-theme) .tag-guide {
  color: #38bdf8 !important;
}


@media (max-width: 768px) {
  .btn-grid-spec, .btn-grid-review, .btn.btn-outline, button.icon-btn, a.tag-pill, nav.pagination a, .filter-chip {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}


/* DOM Size Optimization */
.card {
  content-visibility: auto;
  content-intrinsic-size: 100% 300px;
}

.bot-comparison-matrix tr {
  content-visibility: auto;
  content-intrinsic-size: 100% 40px;
}


/* WCAG AA Badge Overrides */
.scam-badge {
  background: #991b1b !important;
  color: #ffffff !important;
}

.f-badge {
  color: #bae6fd !important;
}

.fw-badge {
  color: #fef08a !important;
}


.f-badge {
  background: #161821 !important;
  color: #bae6fd !important;
}

.fw-badge {
  background: #1e1e24 !important;
  color: #fef08a !important;
}


/* 🛡️ Loss Aversion & Guarantee Badge [CRIT-04] */
.guarantee-badge {
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1.5px solid #10b981 !important;
  color: #34d399 !important;
  padding: 8px 16px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 10px 0 !important;
  line-height: 1.3 !important;
}

body.light-theme .guarantee-badge {
  background: #ecfdf5 !important;
  border-color: #059669 !important;
  color: #065f46 !important;
}

/* 🍪 Mobile Cookie Consent Banner [WARN-08] */
@media (max-width: 768px) {
  #cookieConsentBanner, .cookie-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    max-height: 52px !important;
    min-height: 44px !important;
    z-index: 99999 !important;
    border-radius: 0 !important;
    padding: 6px 12px !important;
    font-size: 0.76rem !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: rgba(15, 23, 42, 0.98) !important;
    border-top: 1.5px solid rgba(56, 189, 248, 0.35) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5) !important;
  }
  
  #cookieConsentBanner p, .cookie-banner p {
    font-size: 0.74rem !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    padding-right: 8px !important;
    white-space: normal !important;
  }

  #cookieConsentBanner #cookieAcceptBtn {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
    min-height: 44px !important;
    min-width: 70px !important;
    flex-shrink: 0 !important;
  }
}

/* ==========================================================================
   📱 UNIVERSAL MOBILE NAV DRAWER (FIXED OVERLAY)
   ========================================================================== */
.mobile-nav-drawer {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  z-index: 999999 !important;
}

.mobile-nav-drawer.active {
  display: block !important;
}

.mobile-drawer-inner {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 320px !important;
  max-width: 85vw !important;
  height: 100% !important;
  background: #0f172a !important;
  border-left: 1px solid rgba(56, 189, 248, 0.2) !important;
  padding: 24px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  overflow-y: auto !important;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8) !important;
}

.mobile-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.mobile-drawer-title {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.08) !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 1.2rem !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mobile-drawer-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.mobile-nav-link {
  padding: 10px 14px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  transition: all 0.2s ease !important;
}

.mobile-nav-link:hover {
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

.mobile-nav-link.active {
  background: #1e40af !important;
  color: #ffffff !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
  font-weight: 700 !important;
}

body.light-theme .mobile-nav-drawer {
  background: rgba(0, 0, 0, 0.5) !important;
}
body.light-theme .mobile-drawer-inner {
  background: #ffffff !important;
  border-left: 1px solid #cbd5e1 !important;
}
body.light-theme .mobile-drawer-title {
  color: #0f172a !important;
}
body.light-theme .mobile-drawer-close {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}
body.light-theme .mobile-nav-link {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}
body.light-theme .mobile-nav-link:hover {
  background: #eff6ff !important;
  color: #2563eb !important;
  border-color: #93c5fd !important;
}
body.light-theme .mobile-nav-link.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
}

.mobile-drawer-actions {
  margin-top: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.mobile-drawer-actions .btn {
  white-space: normal !important;
  word-break: break-word !important;
  text-align: center !important;
  line-height: 1.35 !important;
  font-size: 0.84rem !important;
  padding: 10px 14px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* ==========================================================================
   💻 WINDOWS FAST LAUNCH & VPN-DLYA-WINDOWS COMPLETE STYLES
   ========================================================================== */
.os-detect-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  color: #38bdf8;
  margin-bottom: 12px;
}

.windows-hub-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  margin: 24px 0;
}

.windows-flow-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .windows-flow-grid {
    grid-template-columns: 1fr;
  }
}

.flow-left-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.flow-right-column {
  height: 100%;
}

.flow-step-box {
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
}

.step-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.step-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.step-box-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.step-box-subtitle {
  font-size: 0.82rem;
  color: #94a3b8;
  display: block;
  margin-top: 2px;
}

.clients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 580px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
}

.client-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.2s ease;
}

.client-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.client-card.featured {
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  background: rgba(2, 132, 199, 0.08);
}

.client-info-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.client-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.client-meta {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.client-desc {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.3;
  margin-top: 2px;
}

.btn-client-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: #2563eb;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
  min-height: 40px;
}

.btn-client-download:hover {
  background: #1d4ed8;
}

.btn-client-download.secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1 !important;
}

.btn-client-download.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

.personal-key-cta-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.key-benefit-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.key-badge {
  font-size: 0.76rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-weight: 600;
}

.btn-personal-key-tg {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: 1px solid #38bdf8;
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.btn-personal-key-tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5);
}

.btn-tg-icon {
  font-size: 1.6rem;
}

.btn-tg-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-tg-main {
  font-size: 0.95rem;
  font-weight: 800;
}

.btn-tg-sub {
  font-size: 0.76rem;
  color: #93c5fd;
  margin-top: 2px;
}

.personal-key-alt-row {
  display: flex;
  gap: 10px;
}

.btn-alt-webapp, .btn-alt-reviews {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

.btn-alt-webapp:hover, .btn-alt-reviews:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

.step-visual-tutorial {
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.visual-tutorial-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.tut-step-btn {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 6px;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.2s ease;
}

.tut-step-btn.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #ffffff;
}

.tut-sec {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
}

.tut-step-btn.active .tut-sec {
  color: #38bdf8;
}

.tut-slide-content {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tut-slide-badge {
  display: inline-block;
  font-size: 0.72rem;
  color: #38bdf8;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tut-slide-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px 0;
}

.tut-slide-desc {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 14px;
}

.tut-code-preview {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: monospace;
  font-size: 0.8rem;
  color: #38bdf8;
  word-break: break-all;
  margin-bottom: 14px;
}

.tut-app-mockup {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
}

.mockup-icon {
  font-size: 1.5rem;
}

.mockup-text {
  display: flex;
  flex-direction: column;
}

.mockup-status {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
}

.mockup-sub {
  font-size: 0.74rem;
  color: #94a3b8;
}



/* ==========================================================================
   🛠️ UNIFIED HEADER, DESKTOP NAV & MOBILE BURGER INVARIANTS (2026 FIX)
   ========================================================================== */
header.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(10, 15, 29, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.light-theme header.header {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.header-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 10px 16px !important;
  box-sizing: border-box !important;
  gap: 10px !important;
}

.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

/* Base Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 8px 14px !important;
  min-height: 40px !important;
  background: rgba(15, 23, 42, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  color: #f8fafc !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

body.light-theme .theme-toggle-btn {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.theme-toggle-btn:hover {
  border-color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.1) !important;
}

/* Base Primary Header Buy Button */
.btn-header-buy {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  min-height: 40px !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

/* Base Mobile Burger Button */
.mobile-burger-btn,
button.mobile-burger-btn,
#mobileBurgerBtn {
  display: none;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 5px !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 8px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  outline: none !important;
}

body.light-theme .mobile-burger-btn,
body.light-theme button.mobile-burger-btn,
body.light-theme #mobileBurgerBtn {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

.mobile-burger-btn span {
  display: block !important;
  width: 22px !important;
  height: 2px !important;
  background-color: #38bdf8 !important;
  border-radius: 2px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform-origin: center !important;
}

body.light-theme .mobile-burger-btn span {
  background-color: #0f172a !important;
}

.mobile-burger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg) !important;
}
.mobile-burger-btn.active span:nth-child(2) {
  opacity: 0 !important;
  transform: scaleX(0) !important;
}
.mobile-burger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg) !important;
}

/* 🖥️ Desktop Breakpoint (> 1024px) */
@media (min-width: 1025px) {
  .header-nav-desktop,
  nav.header-nav-desktop {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    flex-shrink: 1 !important;
  }
  .header-nav-desktop a,
  nav.header-nav-desktop a {
    white-space: nowrap !important;
    font-size: 13px !important;
    padding: 5px 9px !important;
  }
  .header-actions .btn-header-buy,
  .btn-header-buy,
  a.btn-header-buy {
    display: inline-flex !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .mobile-burger-btn,
  button.mobile-burger-btn,
  #mobileBurgerBtn {
    display: none !important;
  }
  .mobile-nav-drawer {
    display: none !important;
  }
}

/* 📱 Tablet & Mobile Breakpoint (<= 1024px) — MUST BE LAST TO OVERRIDE ALL */
@media (max-width: 1024px) {
  .header-nav-desktop,
  nav.header-nav-desktop {
    display: none !important;
  }
  /* HIDE UGC and BUY buttons in mobile header */
  .header-actions .header-ugc-btn,
  .header-ugc-btn,
  button.header-ugc-btn,
  .btn-header-add {
    display: none !important;
  }
  .header-actions .btn-header-buy,
  .btn-header-buy,
  a.btn-header-buy {
    display: none !important;
  }
  /* Ensure Burger Button is clearly visible & positioned */
  .mobile-burger-btn,
  button.mobile-burger-btn,
  #mobileBurgerBtn {
    display: inline-flex !important;
    flex-shrink: 0 !important;
  }
  /* Theme toggle: icon-only on mobile */
  .theme-toggle-btn #themeToggleText,
  .theme-toggle-btn span[id="themeToggleText"] {
    display: none !important;
  }
  .theme-toggle-btn {
    padding: 8px 10px !important;
    min-width: 40px !important;
    max-width: 44px !important;
    flex-shrink: 0 !important;
  }
  /* Header Container & Logo mobile sizing to never push actions off-screen */
  .header-container {
    padding: 8px 12px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 8px !important;
  }
  .header-actions {
    margin-left: auto !important;
    flex-shrink: 0 !important;
    gap: 8px !important;
  }
  .header .logo,
  .header a.logo,
  .header-container .logo {
    max-width: calc(100% - 110px) !important;
    overflow: hidden !important;
  }
}



/* ==========================================================================
   TABLE WRAPPER & SPEEDTEST OVERFLOW INVARIANTS (2026 AUDIT FIX)
   ========================================================================== */
.table-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
  display: block !important;
}

.table-wrapper table,
table.comparison-table {
  min-width: 640px !important;
}

.speedtest-cta-box {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.speedtest-cta-text {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  word-break: break-word !important;
}

.speedtest-cta-btn {
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  text-align: center !important;
}

@media (max-width: 768px) {
  .speedtest-cta-btn {
    width: 100% !important;
    padding: 12px !important;
    font-size: 0.85rem !important;
  }
}

/* ==========================================================================
   🌞 TELE-TECH MATERIAL 3 LIGHT THEME ENGINE (COMPREHENSIVE 2026 AUDIT)
   ========================================================================== */
html.light,
html.light body,
body.light-theme {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

/* 🧱 Background Containers */
body.light-theme .bg-surface,
body.light-theme .bg-surface-dim,
body.light-theme .bg-surface-bright,
body.light-theme .bg-surface-container-lowest {
  background-color: #ffffff !important;
}

body.light-theme .bg-surface-container-low {
  background-color: #f8fafc !important;
}

body.light-theme .bg-surface-container {
  background-color: #ffffff !important;
}

body.light-theme .bg-surface-container-high {
  background-color: #f1f5f9 !important;
}

body.light-theme .bg-surface-container-highest,
body.light-theme .bg-surface-variant {
  background-color: #e2e8f0 !important;
}

/* 🎨 Text Colors */
body.light-theme .text-on-surface {
  color: #0f172a !important;
}

body.light-theme .text-on-surface-variant {
  color: #475569 !important;
}

body.light-theme .text-outline {
  color: #64748b !important;
}

body.light-theme .text-outline-variant {
  color: #94a3b8 !important;
}

body.light-theme .text-primary,
body.light-theme a.text-primary,
body.light-theme span.text-primary,
body.light-theme strong.text-primary {
  color: #0284c7 !important;
}

body.light-theme .text-secondary {
  color: #059669 !important;
}

body.light-theme .text-tertiary {
  color: #d97706 !important;
}

/* 🔲 Borders */
body.light-theme .border-surface-variant,
body.light-theme .border-surface-variant\/30,
body.light-theme .border-surface-variant\/40,
body.light-theme .border-surface-variant\/50,
body.light-theme .border-surface-variant\/60,
body.light-theme .border-surface-variant\/70 {
  border-color: #e2e8f0 !important;
}

/* ❓ FAQ Accordion (#faq) */
body.light-theme #faq details.group,
body.light-theme details.group {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme #faq details.group summary,
body.light-theme details.group summary {
  color: #0f172a !important;
}

body.light-theme #faq details.group summary:hover,
body.light-theme details.group summary:hover {
  color: #0284c7 !important;
}

body.light-theme #faq details.group summary span.material-symbols-outlined,
body.light-theme details.group summary span.material-symbols-outlined {
  color: #64748b !important;
}

body.light-theme #faq details.group > div,
body.light-theme details.group > div {
  color: #334155 !important;
  border-top-color: #f1f5f9 !important;
}

/* 🏆 Hero & Winner Spotlight */
body.light-theme .hero-glow {
  background: radial-gradient(circle at 50% 20%, rgba(14, 165, 233, 0.08), transparent 70%) !important;
}

body.light-theme .winner-card,
body.light-theme .winner-card-glow {
  background: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.12) !important;
}

/* 📋 Ranking Cards */
body.light-theme .rank-card,
body.light-theme #cardsList .card,
body.light-theme .card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .rank-card:hover,
body.light-theme #cardsList .card:hover,
body.light-theme .card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}

/* 🧭 Desktop Header Nav */
body.light-theme header.header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .header-nav-desktop .nav-tab,
body.light-theme .nav-tab {
  color: #475569 !important;
  background: transparent !important;
}

body.light-theme .header-nav-desktop .nav-tab:hover,
body.light-theme .nav-tab:hover {
  color: #0f172a !important;
  background: #f1f5f9 !important;
}

body.light-theme .header-nav-desktop .nav-tab.active,
body.light-theme .nav-tab.active,
body.light-theme a.nav-tab.active {
  color: #ffffff !important;
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3) !important;
  font-weight: 700 !important;
}

/* 💎 Pricing Cards */
body.light-theme #pricing .rounded-2xl {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme #pricing .rounded-2xl:hover {
  border-color: #0284c7 !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.1) !important;
}

/* 💻 Windows Hub Tab */
body.light-theme #tab-windows .bg-surface-container,
body.light-theme #tab-windows .bg-surface-container-low {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme #tab-windows .bg-surface-container-high {
  background-color: #f1f5f9 !important;
}

body.light-theme #tab-windows .bg-surface-container-lowest {
  background-color: #f8fafc !important;
}

body.light-theme #tab-windows #demoVlessKey {
  background-color: #f1f5f9 !important;
  color: #0369a1 !important;
  border-color: #cbd5e1 !important;
}

/* 📊 Tables */
body.light-theme table.comparison-table,
body.light-theme .table-wrapper table {
  background-color: #ffffff !important;
}

body.light-theme table.comparison-table th,
body.light-theme .table-wrapper th {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  border-bottom: 2px solid #cbd5e1 !important;
}

body.light-theme table.comparison-table td,
body.light-theme .table-wrapper td {
  border-bottom: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

body.light-theme table.comparison-table tr:hover td,
body.light-theme .table-wrapper tr:hover td {
  background-color: #f8fafc !important;
}

/* 📱 Mobile Drawer & Bottom Sticky Bar */
body.light-theme .mobile-nav-drawer {
  background: #ffffff !important;
  border-left: 1px solid #e2e8f0 !important;
}

body.light-theme .mobile-nav-link {
  color: #334155 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

body.light-theme .mobile-nav-link:hover {
  background: #f8fafc !important;
  color: #0284c7 !important;
}

body.light-theme .mobile-nav-link.active {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  font-weight: 700 !important;
}

body.light-theme .sticky-cta-bar,
body.light-theme #stickyCtaBar,
body.light-theme .sticky-cta {
  background: rgba(255, 255, 255, 0.96) !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .hero-os-pill {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

body.light-theme .hero-os-pill:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

