/* ==========================================================================
   TELETECH FORUM 2026 - ULTRA-CLEAN & COMPACT CARD STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    --bg-dark: #070913;
    --bg-surface: #0e1222;
    --bg-card: rgba(18, 24, 44, 0.75);
    --bg-card-hover: rgba(26, 34, 60, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(139, 92, 246, 0.3);
    --border-gold: rgba(245, 158, 11, 0.4);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --accent-purple: #8b5cf6;
    --accent-purple-dark: #6d28d9;
    --accent-cyan: #06b6d4;
    --accent-gold: #f59e0b;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    
    --radius-full: 9999px;
    --radius-xl: 20px;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 25px rgba(139, 92, 246, 0.35);
    --shadow-gold: 0 0 25px rgba(245, 158, 11, 0.25);
    
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Plus Jakarta Sans', var(--font-sans);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

.bg-blur-1 {
    position: absolute;
    top: -120px;
    left: 25%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 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(6, 182, 212, 0.12) 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: #090c17;
    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-cyan); text-decoration: none; font-weight: 600; }
.legal-link:hover { text-decoration: underline; }

/* Header */
.header {
    background: rgba(7, 9, 19, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    white-space: nowrap;
}

.logo-text span { color: var(--accent-cyan); }

/* Navigation Tab Buttons */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: var(--radius-full);
}

.nav-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.nav-tab:hover { color: var(--text-main); background: rgba(255, 255, 255, 0.05); }

.nav-tab.active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-purple-dark) 100%);
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* 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.25s;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-purple-dark) 100%);
    color: #ffffff;
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45); }
.btn-glow { box-shadow: var(--shadow-glow); }

.btn-outline {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: #ffffff;
}

.btn-outline:hover { background: rgba(139, 92, 246, 0.2); border-color: var(--accent-purple); }
.btn-block { width: 100%; padding: 13px 20px; font-size: 0.92rem; }

/* Action Buttons */
.card-actions-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; margin-bottom: 6px; }

.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.25s;
    border: none;
    cursor: pointer;
}

.btn-trial { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: #051b11; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); }
.btn-trial:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5); }

.btn-bot { background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.35); color: #ffffff; }
.btn-bot:hover { background: rgba(139, 92, 246, 0.3); border-color: var(--accent-purple); }

.btn-spec-modal { background: rgba(6, 182, 212, 0.12); border: 1px solid rgba(6, 182, 212, 0.35); color: var(--accent-cyan); }
.btn-spec-modal:hover { background: rgba(6, 182, 212, 0.25); border-color: var(--accent-cyan); }

.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 ================= */
.filter-panel-box {
    background: rgba(18, 24, 44, 0.88);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-xl);
    padding: 18px 22px;
    margin-top: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.filter-matrix-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

.matrix-title { font-size: 0.88rem; color: var(--text-main); }
.btn-reset-filters {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--accent-red);
    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.25); border-color: var(--accent-red); }

.filter-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.filter-category-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(10, 16, 32, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.category-label {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 2px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-chips {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.filter-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-chip input[type="checkbox"] {
    accent-color: var(--accent-purple);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.filter-chip:hover {
    background: rgba(139, 92, 246, 0.08);
    color: var(--text-main);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(2px);
}

.filter-chip.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.22) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-color: var(--accent-purple);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.15);
}    box-shadow: 0 0 10px rgba(139, 92, 246, 0.25);
}

/* Hero */
.hero { padding: 30px 0 10px; }

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
}

.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle { color: var(--text-muted); font-size: 0.95rem; max-width: 760px; margin: 0 auto 20px; }

/* 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: 14px; flex-wrap: wrap; }
.flex-2 { flex: 2; min-width: 260px; }
.flex-1 { flex: 1; min-width: 200px; }

.search-box { position: relative; }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 1rem; color: var(--text-muted); }

.search-box input {
    width: 100%;
    padding: 12px 18px 12px 46px;
    background: rgba(18, 24, 44, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 0.9rem;
    outline: none;
}

.sort-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(18, 24, 44, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 0.88rem;
    outline: none;
    cursor: pointer;
}

/* CARDS LIST & COMPACT CARD STYLING */
.rating-section { padding: 20px 0 40px; }
.flex-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; gap: 16px; }

.section-header h2 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; }
.section-header p { color: var(--text-muted); font-size: 0.88rem; }

.cards-list { display: flex; flex-direction: column; gap: 16px; }

.card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 20px;
    position: relative;
    transition: transform 0.25s, border-color 0.25s;
}

.card:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.16); }

.card.winner-card {
    background: linear-gradient(145deg, rgba(28, 24, 58, 0.85) 0%, rgba(16, 20, 42, 0.85) 100%);
    border: 2px solid var(--accent-gold);
    box-shadow: var(--shadow-gold);
}

.card-ribbon {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.72rem;
    padding: 3px 12px;
    border-radius: var(--radius-full);
}

.card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }

.card-rank {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    color: #000;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-rank.neutral { background: rgba(255, 255, 255, 0.06); color: var(--text-muted); }
.card-info { flex-grow: 1; }

.card-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; }

.card-badge.verified {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 600;
}

.card-badge.tag-vless {
    background: rgba(139, 92, 246, 0.12);
    color: var(--accent-purple);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
}

.card-meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.stars { color: var(--accent-gold); font-size: 0.9rem; }
.rating-val { font-weight: 700; font-size: 0.88rem; }
.reviews-count { color: var(--text-muted); font-size: 0.78rem; }

.card-price-block { text-align: right; }
.price-val { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; color: var(--text-main); }
.price-val .period { font-size: 0.78rem; color: var(--text-muted); font-weight: 400; }

.trial-badge-highlight {
    background: rgba(16, 185, 129, 0.18);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.35);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-top: 3px;
    display: inline-block;
}

.trial-tag {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-top: 2px;
    display: inline-block;
}

/* Compact Tags Row */
.compact-tags-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.compact-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    color: var(--text-main);
    font-weight: 600;
}

.badge-purple { background: rgba(139, 92, 246, 0.12); color: var(--accent-purple); border-color: rgba(139, 92, 246, 0.3); }
.badge-cyan { background: rgba(6, 182, 212, 0.12); color: var(--accent-cyan); border-color: rgba(6, 182, 212, 0.3); }
.badge-green { background: rgba(16, 185, 129, 0.12); color: var(--accent-green); border-color: rgba(16, 185, 129, 0.3); }
.badge-blue { background: rgba(56, 189, 248, 0.12); color: #38bdf8; border-color: rgba(56, 189, 248, 0.3); }

/* 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: 30px 0; }
.scanner-card {
    background: linear-gradient(145deg, rgba(22, 26, 46, 0.9) 0%, rgba(15, 20, 35, 0.9) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-xl);
    padding: 24px 28px;
}

.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.45rem; font-weight: 800; }
.scanner-header p { color: var(--text-muted); font-size: 0.88rem; }

.isp-select {
    padding: 10px 16px;
    background: rgba(11, 13, 23, 0.9);
    border: 1px solid var(--accent-purple);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.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: 30px 0; }
.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, 20, 35, 0.95); font-family: var(--font-heading); color: var(--text-main); font-weight: 700; }

.comparison-table tr.highlight-row { background: rgba(139, 92, 246, 0.1); }
.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) {
    .header-container { flex-direction: column; align-items: stretch; gap: 12px; }
    .nav { justify-content: center; }
    .header-actions { justify-content: center; }
    .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 { flex-direction: column; }
    .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) {
    .header-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .nav {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .nav-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .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 {
        flex-direction: column;
        width: 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);
}

/* LIGHT THEME ENTIRE SITE OVERRIDES */
body.light-theme {
    --bg-dark: #f1f5f9;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --border-color: #cbd5e1;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
    background-color: #f1f5f9;
    background-image: radial-gradient(at 50% 0%, rgba(139, 92, 246, 0.08) 0px, transparent 70%),
                      radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.06) 0px, transparent 60%);
    color: #0f172a;
}

body.light-theme .header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

body.light-theme .top-notice-bar {
    background: #e2e8f0;
    color: #334155;
    border-bottom-color: #cbd5e1;
}

body.light-theme .top-notice-bar a {
    color: #0284c7;
}

body.light-theme .logo {
    color: #0f172a;
}

body.light-theme .nav {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

body.light-theme .nav-tab {
    color: #475569;
}

body.light-theme .nav-tab:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.06);
}

body.light-theme .nav-tab.active {
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

body.light-theme .hero-title {
    color: #0f172a;
}

body.light-theme .hero-subtitle {
    color: #475569;
}

body.light-theme .filter-panel-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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: #0369a1;
    border-bottom-color: #e2e8f0;
}

body.light-theme .filter-chip {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
}

body.light-theme .filter-chip:hover {
    background: rgba(124, 58, 237, 0.08);
    color: #0f172a;
    border-color: #7c3aed;
}

body.light-theme .filter-chip.active {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(6, 182, 212, 0.12) 100%);
    border-color: #7c3aed;
    color: #6d28d9;
    font-weight: 700;
}

body.light-theme .search-box input,
body.light-theme .sort-box select {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

body.light-theme .search-box input::placeholder {
    color: #94a3b8;
}

/* ALL RATING CARDS IN LIGHT THEME */
body.light-theme .card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.04);
}

body.light-theme .card.winner-card {
    background: #ffffff;
    border: 2px solid #f59e0b;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.15);
}

body.light-theme .card:hover {
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.4);
}

body.light-theme .card-title {
    color: #0f172a;
}

body.light-theme .reviews-count {
    color: #64748b;
}

body.light-theme .price-val {
    color: #0f172a;
}

body.light-theme .price-val .period {
    color: #64748b;
}

body.light-theme .compact-badge {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
}

body.light-theme .badge-purple {
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.3);
    color: #6d28d9;
}

body.light-theme .badge-blue {
    background: rgba(2, 132, 199, 0.12);
    border-color: rgba(2, 132, 199, 0.3);
    color: #0369a1;
}

body.light-theme .badge-cyan {
    background: rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.3);
    color: #0891b2;
}

body.light-theme .badge-green {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: #047857;
}

body.light-theme .compact-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
}

body.light-theme .compact-summary strong {
    color: #0f172a;
}

body.light-theme .data-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

body.light-theme .tech-pill,
body.light-theme .matrix-item {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
}

body.light-theme .comment-card,
body.light-theme .add-comment-box,
body.light-theme .article-card,
body.light-theme .legal-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

body.light-theme .comment-content,
body.light-theme .article-excerpt {
    color: #334155;
}

body.light-theme .modal-card {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body.light-theme .modal-card h2,
body.light-theme .modal-card h3,
body.light-theme .modal-card h4,
body.light-theme .modal-title {
    color: #0f172a;
}

body.light-theme .form-group input,
body.light-theme .form-group select,
body.light-theme .form-group textarea {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

body.light-theme .btn-outline {
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.3);
    color: #6d28d9;
}

body.light-theme .btn-bot {
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.35);
    color: #6d28d9;
}

body.light-theme .btn-spec-modal {
    background: rgba(2, 132, 199, 0.12);
    border-color: rgba(2, 132, 199, 0.35);
    color: #0369a1;
}

body.light-theme .theme-toggle-btn {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #0f172a;
}

body.light-theme .footer {
    border-top-color: #e2e8f0;
    color: #64748b;
}
