/* ===== AVA VPN — Landing Page Styles ===== */

/* ===== Utility ===== */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Scroll reveal (без анимации — видно сразу, меньше нагрузка) ===== */
.reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 170px 0 110px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
}

.hero-orb--1 {
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.55) 0%, rgba(220, 38, 38, 0) 70%);
}

.hero-orb--2 {
    bottom: -260px;
    right: -160px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.32) 0%, rgba(239, 68, 68, 0) 70%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 65%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 65%);
    opacity: 0.7;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--red-light);
    margin-bottom: 32px;
    font-weight: 500;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: var(--red-primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--red-primary);
}

.hero h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.4px;
}

.hero h1 .accent {
    background: linear-gradient(135deg, #ff5050, #b91c1c 60%, #7f1d1d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.18rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-cta .hint {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.hero-cta .btn-primary {
    position: relative;
    box-shadow: 0 10px 30px -10px rgba(220, 38, 38, 0.55);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px 28px;
    margin-top: 40px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.trust-check {
    color: var(--red-primary);
    font-weight: 700;
}

/* ===== Navbar Telegram link ===== */
.navbar-tg {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
    padding: 6px 0;
}

.navbar-tg:hover {
    color: var(--red-light);
}

.navbar-tg svg {
    flex-shrink: 0;
}

/* ===== Stats Strip ===== */
.stats-strip {
    padding: 44px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stats-strip::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220,38,38,0.5), transparent);
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-word {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.stat-word.accent {
    color: var(--red-primary);
}

.stat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
}

/* ===== Section Base ===== */
.section {
    padding: 90px 0;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 12px;
    background: rgba(220, 38, 38, 0.1);
    color: var(--red-light);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    border-radius: 100px;
    border: 1px solid rgba(220, 38, 38, 0.18);
}

.section-title {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.6px;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== Features ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    position: relative;
    padding: 28px 26px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
    overflow: hidden;
    isolation: isolate;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(220,38,38,0.12), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(220, 38, 38, 0.35);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: rgba(220, 38, 38, 0.1);
    color: var(--red-light);
    border-radius: 12px;
    margin-bottom: 18px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ===== Steps (How it works) ===== */
.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 680px;
    margin: 0 auto;
    counter-reset: step;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
    transition: padding-left var(--transition);
}

.step:last-child {
    border-bottom: none;
}

.step:hover {
    padding-left: 8px;
}

.step:hover .step-num {
    opacity: 1;
    transform: scale(1.05);
}

.step-num {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--red-primary);
    line-height: 1;
    min-width: 60px;
    opacity: 0.7;
    transition: opacity var(--transition), transform var(--transition);
    background: linear-gradient(135deg, var(--red-light), var(--red-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-body h3 {
    font-size: 1.18rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ===== Devices ===== */
.devices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 920px;
    margin: 0 auto;
}

.device-card {
    text-align: center;
    padding: 28px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.device-card:hover {
    transform: translateY(-4px);
    border-color: rgba(220, 38, 38, 0.35);
    background: var(--bg-card-hover);
}

.device-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: var(--text-primary);
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.device-icon svg {
    width: 26px;
    height: 26px;
}

.device-card h3 {
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.device-card p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ===== Pricing Table ===== */
.pricing-table-wrap {
    max-width: 720px;
    margin: 0 auto 36px;
    padding-top: 14px;
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: visible;
    table-layout: fixed;
}

.pricing-table th,
.pricing-table td {
    padding: 20px 28px;
    text-align: center;
    font-size: 0.95rem;
    vertical-align: middle;
}

.pricing-table th[scope="row"],
.pricing-table thead th:first-child {
    width: 30%;
    text-align: left;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing-table th[scope="col"]:not(:first-child),
.pricing-table td:not(:first-child):not(:nth-child(0)) {
    width: 35%;
}

.pricing-table thead th {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    padding: 24px 28px;
}

.pricing-table thead th:first-child {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-lg) 0 0 0;
}

.pricing-table thead th:last-child {
    border-radius: 0 var(--radius-lg) 0 0;
}

.pricing-table tbody tr:last-child th[scope="row"] {
    border-radius: 0 0 0 var(--radius-lg);
}

.pricing-table tbody tr:last-child td:last-child {
    border-radius: 0 0 var(--radius-lg) 0;
}

.pricing-table tbody td,
.pricing-table tbody th[scope="row"] {
    border-bottom: 1px solid var(--border-color);
}

.pricing-table tbody tr:last-child td,
.pricing-table tbody tr:last-child th[scope="row"] {
    border-bottom: none;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.plan-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-highlight {
    background: rgba(220, 38, 38, 0.04);
    position: relative;
}

.pricing-table thead th.plan-highlight {
    background: rgba(220, 38, 38, 0.08);
    position: relative;
}

.pricing-table thead th.plan-highlight .plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: var(--red-primary);
    color: #fff;
    padding: 3px 14px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 4px 14px -4px rgba(220, 38, 38, 0.6);
}

.table-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    background: rgba(220, 38, 38, 0.12);
    color: var(--red-light);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    vertical-align: middle;
}

.pricing-cta {
    text-align: center;
    margin-bottom: 28px;
}

.pricing-notes {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.pricing-note {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.pricing-note .check {
    color: var(--red-primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== Compare ===== */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
}

.compare-card {
    padding: 32px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.compare-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.compare-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compare-card li {
    position: relative;
    padding-left: 26px;
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.55;
}

.compare-card li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}

.compare-card--bad li::before {
    content: "✕";
    color: #6b6b6b;
}

.compare-card--bad h3 {
    color: var(--text-secondary);
}

.compare-card--good {
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.15) inset, 0 24px 60px -30px rgba(220, 38, 38, 0.4);
}

.compare-card--good::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
}

.compare-card--good h3 {
    color: var(--red-light);
}

.compare-card--good li::before {
    content: "✓";
    color: var(--red-primary);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition), background var(--transition);
}

.faq-item[open] {
    border-color: rgba(220, 38, 38, 0.3);
    background: var(--bg-card-hover);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover {
    color: var(--red-light);
}

.faq-q {
    flex: 1;
    line-height: 1.45;
}

.faq-toggle {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    position: relative;
    transition: transform var(--transition);
}

.faq-toggle::before,
.faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--red-light);
    border-radius: 2px;
    transition: transform var(--transition);
}

.faq-toggle::before {
    width: 12px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-toggle::after {
    width: 2px;
    height: 12px;
    transform: translate(-50%, -50%);
}

.faq-item[open] .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-a {
    padding: 0 22px 22px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-a a {
    color: var(--red-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ===== Final CTA ===== */
.cta-final {
    padding-top: 30px;
}

.cta-card {
    position: relative;
    text-align: center;
    padding: 64px 40px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(127, 29, 29, 0.08));
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: var(--radius-xl);
    overflow: hidden;
    isolation: isolate;
}

.cta-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, transparent 60%);
    z-index: -1;
    filter: blur(60px);
}

.cta-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== Footnote ===== */
.footnote {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-align: center;
    padding: 0 24px;
    margin: 12px auto 40px;
    max-width: 720px;
    line-height: 1.5;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .devices-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 130px 0 70px;
    }

    .hero h1 {
        font-size: 2.4rem;
        letter-spacing: -0.8px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-trust {
        gap: 14px 18px;
        font-size: 0.82rem;
    }

    .section {
        padding: 70px 0;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stats-row {
        gap: 16px;
    }

    .stat-word {
        font-size: 1.3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .compare-grid {
        grid-template-columns: 1fr;
    }

    .step {
        gap: 20px;
    }

    .step-num {
        font-size: 1.9rem;
        min-width: 44px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 16px 18px;
        font-size: 0.88rem;
    }

    .pricing-notes {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .navbar-tg span {
        display: none;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .cta-card h2 {
        font-size: 1.6rem;
    }

    .faq-item summary {
        padding: 16px 18px;
        font-size: 0.95rem;
    }

    .faq-a {
        padding: 0 18px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-orb--1 { width: 480px; height: 480px; top: -120px; }
    .hero-orb--2 { display: none; }

    .stats-strip {
        padding: 28px 0;
    }

    .stats-row {
        gap: 12px;
    }

    .stat-word {
        font-size: 1.1rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 14px 12px;
        font-size: 0.82rem;
    }

    .table-badge {
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }

    .plan-name {
        font-size: 0.95rem;
    }

    .devices-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== Traffic insights modal (источники заходов) ===== */
body.traffic-modal-open {
    overflow: hidden;
}

.traffic-modal-root {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.traffic-modal-root[hidden] {
    display: none;
}

.traffic-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.traffic-modal-shell {
    position: relative;
    width: min(440px, 100%);
    max-height: min(86vh, 640px);
    overflow: hidden auto;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(220, 38, 38, 0.35);
    background: linear-gradient(155deg, rgba(22, 22, 22, 0.96) 0%, rgba(12, 12, 12, 0.98) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 28px 80px -24px rgba(220, 38, 38, 0.55),
        0 40px 120px -40px rgba(0, 0, 0, 0.9);
}

.traffic-modal-x {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    z-index: 2;
}

.traffic-modal-x:hover {
    background: rgba(220, 38, 38, 0.2);
    color: var(--text-primary);
}

.traffic-modal-inner {
    padding: 28px 24px 26px;
    position: relative;
}

.traffic-modal-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
    line-height: 1.2;
}

.traffic-modal-body {
    font-size: 0.9rem;
}

.traffic-modal-loading,
.traffic-modal-error,
.traffic-modal-empty {
    color: var(--text-secondary);
    text-align: center;
    padding: 24px 8px;
    font-size: 0.88rem;
}

.traffic-modal-error {
    color: var(--red-light);
}

.traffic-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
}

.traffic-stat-card {
    padding: 14px 14px 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
}

.traffic-stat-card span {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.traffic-stat-card strong {
    font-size: 1.45rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}

.traffic-stat-card--accent {
    border-color: rgba(220, 38, 38, 0.35);
    background: rgba(220, 38, 38, 0.07);
}

.traffic-stat-card--accent strong {
    color: var(--red-light);
}

.traffic-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.traffic-bar-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) auto;
    gap: 10px 12px;
    align-items: center;
}

.traffic-bar-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
}

.traffic-bar-track {
    height: 8px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.traffic-bar-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--red-dark), var(--red-primary));
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.35);
}

.traffic-bar-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .traffic-bar-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .traffic-bar-meta {
        justify-self: start;
    }
}
