/* PTT Radios Guide — Premium Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg: #070b12;
    --bg-elevated: #0d1420;
    --bg-card: #121a28;
    --text: #eef2f7;
    --text-muted: #8b9cb3;
    --text-dim: #5c6b80;
    --accent: #00e5b0;
    --accent-dim: #00b88c;
    --accent-glow: rgba(0, 229, 176, 0.25);
    --blue: #3b82f6;
    --border: rgba(255,255,255,0.06);
    --border-strong: rgba(255,255,255,0.12);
    --warning: #f59e0b;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', 'Courier New', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: #5fffd4; }

header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(7, 11, 18, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 0.7rem 1.5rem;
}
.nav-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
}
.logo { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo a {
    color: var(--text); text-decoration: none;
    background: linear-gradient(135deg, var(--accent), #60a5fa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
nav { display: flex; gap: 0.2rem; flex-wrap: wrap; }
nav a {
    color: var(--text-muted); padding: 0.4rem 0.7rem; border-radius: 8px;
    font-size: 0.82rem; font-weight: 500; transition: all 0.15s;
}
nav a:hover, nav a.active {
    background: rgba(0, 229, 176, 0.1); color: var(--accent); text-decoration: none;
}

.hero {
    position: relative; padding: 4rem 1.5rem 3rem; text-align: center;
    overflow: hidden; border-bottom: 1px solid var(--border);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(0, 229, 176, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(59, 130, 246, 0.08), transparent);
    pointer-events: none;
}
.hero h1 {
    position: relative; font-size: clamp(2rem, 5.5vw, 3.2rem); font-weight: 800;
    letter-spacing: -0.03em; margin-bottom: 0.85rem;
    background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p {
    position: relative; font-size: 1.1rem; color: var(--text-muted);
    max-width: 640px; margin: 0 auto 1.75rem; line-height: 1.7;
}
.hero-badges {
    position: relative; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
}
.badge {
    background: rgba(255,255,255,0.04); border: 1px solid var(--border-strong);
    padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.78rem;
    font-weight: 500; color: var(--accent); transition: all 0.2s;
}
.badge a { color: inherit; }
.badge:hover {
    border-color: var(--accent); background: rgba(0, 229, 176, 0.08);
    box-shadow: 0 0 20px var(--accent-glow);
}

main { max-width: 1140px; margin: 0 auto; padding: 2.5rem 1.5rem 5rem; }
section { margin-bottom: 3.5rem; }
h2 {
    font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em;
    margin-bottom: 1.15rem; color: var(--text);
    display: flex; align-items: center; gap: 0.6rem;
}
h2::before {
    content: ''; width: 4px; height: 1.2em;
    background: linear-gradient(180deg, var(--accent), var(--blue));
    border-radius: 2px; flex-shrink: 0;
}
h3 { font-size: 1.15rem; font-weight: 600; margin: 1.4rem 0 0.6rem; color: #a5c4ff; }
p, li { color: var(--text-muted); margin-bottom: 0.7rem; }
ul, ol { padding-left: 1.35rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }

.cards {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.15rem; margin: 1.5rem 0;
}
.card {
    overflow: hidden;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.5rem; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--blue)); opacity: 0; transition: opacity 0.25s;
}
.card:hover {
    transform: translateY(-4px); border-color: var(--border-strong);
    box-shadow: var(--shadow), 0 0 40px rgba(0, 229, 176, 0.06);
}
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 0; color: var(--text); font-size: 1.1rem; }
.card .tag {
    display: inline-block; background: rgba(0, 229, 176, 0.12); color: var(--accent);
    font-size: 0.68rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 5px;
    margin-bottom: 0.65rem; letter-spacing: 0.03em; text-transform: uppercase;
}
.card p { flex-grow: 1; font-size: 0.92rem; }
.btn, .card a.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    margin-top: 1rem; background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    color: #041510 !important; padding: 0.55rem 1.15rem; border-radius: 8px;
    font-weight: 600; font-size: 0.85rem; border: none; cursor: pointer;
    transition: all 0.2s; text-decoration: none !important;
}
.btn:hover, .card a.btn:hover {
    transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow);
}

.detail {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.75rem; margin-bottom: 1.5rem;
}
.detail h3:first-child { margin-top: 0; }
.specs {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.85rem; margin: 1.15rem 0; background: rgba(0,0,0,0.3);
    padding: 1.1rem; border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.spec-item strong {
    display: block; color: var(--accent); font-size: 0.68rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem;
}
.spec-item span { color: var(--text); font-size: 0.92rem; font-weight: 500; }

.history-block, .uses-block {
    background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(0,229,176,0.04));
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.4rem 1.6rem; margin: 1.25rem 0;
}
.history-block h3, .uses-block h3 { margin-top: 0; display: flex; align-items: center; gap: 0.5rem; }

.table-wrap {
    overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius);
    border: 1px solid var(--border); background: var(--bg-card);
}
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
th, td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th {
    background: rgba(0,0,0,0.3); color: var(--accent); font-weight: 600;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(0, 229, 176, 0.03); }
td { color: var(--text-muted); }
td a { font-weight: 500; }

.callout {
    background: rgba(59, 130, 246, 0.08); border-left: 3px solid var(--blue);
    padding: 1rem 1.25rem; border-radius: 0 10px 10px 0; margin: 1.2rem 0; font-size: 0.93rem;
}
.callout.warn { background: rgba(245, 158, 11, 0.08); border-left-color: var(--warning); }

.page-layout {
    display: grid; grid-template-columns: 1fr 340px; gap: 2.25rem; align-items: start;
}
@media (max-width: 960px) {
    .page-layout { grid-template-columns: 1fr; }
    .radio-sticky { position: relative !important; top: auto !important; order: -1; }
}

/* Virtual Radio Base */
.radio-sticky { position: sticky; top: 76px; }
.virtual-radio-wrap { max-width: 320px; margin: 0 auto; }
.virtual-radio {
    border-radius: 24px; padding: 1.35rem 1.25rem 1.15rem; user-select: none;
    position: relative; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: box-shadow 0.3s;
}
.virtual-radio.transmitting-active { box-shadow: var(--shadow), 0 0 40px rgba(239, 68, 68, 0.25); }

.radio-antenna {
    width: 7px; height: 48px; margin: -1.35rem auto 0.7rem;
    border-radius: 4px 4px 0 0; position: relative;
}
.radio-antenna::after {
    content: ''; position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
    width: 13px; height: 13px; border-radius: 50%;
}
.radio-brand {
    text-align: center; font-size: 0.65rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.55rem; opacity: 0.7;
}
.radio-lcd {
    border-radius: 10px; padding: 0.8rem; margin-bottom: 0.9rem;
    font-family: var(--mono); min-height: 118px; position: relative;
    overflow: hidden; transition: background 0.3s;
}
.radio-lcd.powered-off { filter: brightness(0.15); }
.lcd-top { display: flex; justify-content: space-between; font-size: 0.65rem; margin-bottom: 0.25rem; opacity: 0.75; }
.lcd-channel { font-size: 1.85rem; font-weight: 700; text-align: center; line-height: 1.15; letter-spacing: -0.02em; }
.lcd-freq { font-size: 0.9rem; text-align: center; margin: 0.12rem 0; opacity: 0.9; }
.lcd-status {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.62rem; margin-top: 0.4rem; opacity: 0.8;
}
.lcd-bars { display: flex; gap: 2px; align-items: flex-end; height: 13px; }
.lcd-bars span { width: 4px; background: currentColor; opacity: 0.25; border-radius: 1px; }
.lcd-bars span.on { opacity: 1; }
.tx-indicator {
    position: absolute; top: 10px; right: 12px; width: 9px; height: 9px;
    border-radius: 50%; background: #333; transition: all 0.15s;
}
.tx-indicator.active {
    background: #ef4444; box-shadow: 0 0 10px #ef4444, 0 0 20px rgba(239,68,68,0.4);
    animation: txpulse 0.4s infinite alternate;
}
@keyframes txpulse { from { opacity: 0.8; transform: scale(1); } to { opacity: 1; transform: scale(1.15); } }

.volume-row {
    display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.7rem;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; opacity: 0.7;
}
.volume-row input[type="range"] {
    flex: 1; height: 4px; -webkit-appearance: none; appearance: none; border-radius: 2px; outline: none;
}
.volume-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; cursor: pointer;
}
.channel-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.ch-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 2px solid; font-size: 1.1rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.15s; background: transparent;
}
.ch-btn:hover { transform: scale(1.08); }
.ch-btn:active { transform: scale(0.94); }
.ch-display { flex: 1; text-align: center; font-size: 0.8rem; font-weight: 500; opacity: 0.8; }
.radio-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.85rem; }
.ctrl-btn {
    border: 1px solid; padding: 0.48rem; border-radius: 8px; font-size: 0.72rem;
    font-weight: 600; letter-spacing: 0.03em; cursor: pointer; transition: all 0.15s;
    text-align: center; background: transparent;
}
.ctrl-btn:hover { filter: brightness(1.2); }
.ctrl-btn:active { transform: scale(0.96); }
.ptt-wrapper { text-align: center; margin: 0.4rem 0 0.6rem; }
.ptt-btn {
    width: 108px; height: 108px; border-radius: 50%; font-weight: 800; font-size: 0.95rem;
    letter-spacing: 0.06em; cursor: pointer; text-transform: uppercase; border: 4px solid;
    transition: all 0.08s; user-select: none; -webkit-user-select: none; touch-action: none; color: #fff;
}
.ptt-btn:hover { filter: brightness(1.08); }
.ptt-btn:active, .ptt-btn.transmitting { transform: translateY(3px) scale(0.97); }
.ptt-label { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.04em; margin-top: 0.4rem; opacity: 0.5; }
.radio-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 0.45rem; font-size: 0.68rem; opacity: 0.55;
}
.power-switch { display: flex; align-items: center; gap: 0.35rem; cursor: pointer; }
.power-switch input { width: 14px; height: 14px; accent-color: var(--accent); }
.radio-log {
    margin-top: 0.9rem; background: rgba(0,0,0,0.35); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 0.55rem 0.75rem; font-size: 0.7rem;
    font-family: var(--mono); max-height: 96px; overflow-y: auto; color: var(--text-dim);
}
.radio-log .tx { color: #f87171; }
.radio-log .rx { color: #4ade80; }
.radio-log .sys { color: #60a5fa; }

/* Skins */
.skin-cb { background: linear-gradient(160deg, #2a2a2e 0%, #1a1a1e 50%, #121214 100%); border: 2px solid #3a3a40; }
.skin-cb .radio-antenna { background: linear-gradient(to bottom, #888, #555); }
.skin-cb .radio-antenna::after { background: #888; }
.skin-cb .radio-brand { color: #aaa; }
.skin-cb .radio-lcd { background: #0a1a0a; border: 3px solid #1a3a1a; color: #33ff66; box-shadow: inset 0 0 20px rgba(0,255,80,0.08); }
.skin-cb .volume-row input[type="range"] { background: #333; }
.skin-cb .volume-row input[type="range"]::-webkit-slider-thumb { background: #33ff66; }
.skin-cb .ch-btn { border-color: #555; color: #ccc; background: #2a2a2e; }
.skin-cb .ctrl-btn { border-color: #444; color: #bbb; background: #252528; }
.skin-cb .ptt-btn { background: linear-gradient(145deg, #e53935, #b71c1c); border-color: #7f0000; box-shadow: 0 5px 0 #7f0000, 0 8px 16px rgba(0,0,0,0.5); }
.skin-cb .ptt-btn:active, .skin-cb .ptt-btn.transmitting { box-shadow: 0 2px 0 #7f0000, 0 3px 8px rgba(0,0,0,0.4); }

.skin-frs { background: linear-gradient(160deg, #1e3a5f 0%, #0f2440 100%); border: 2px solid #2a5080; }
.skin-frs .radio-antenna { background: linear-gradient(to bottom, #5b9bd5, #2a5080); }
.skin-frs .radio-antenna::after { background: #5b9bd5; }
.skin-frs .radio-brand { color: #7eb8e8; }
.skin-frs .radio-lcd { background: #061428; border: 3px solid #0a2850; color: #4fc3f7; box-shadow: inset 0 0 20px rgba(79,195,247,0.1); }
.skin-frs .volume-row input[type="range"] { background: #1a3555; }
.skin-frs .volume-row input[type="range"]::-webkit-slider-thumb { background: #4fc3f7; }
.skin-frs .ch-btn { border-color: #2a5080; color: #a0d0f0; background: #163050; }
.skin-frs .ctrl-btn { border-color: #2a5080; color: #90c0e8; background: #142840; }
.skin-frs .ptt-btn { background: linear-gradient(145deg, #42a5f5, #1565c0); border-color: #0d47a1; box-shadow: 0 5px 0 #0d47a1, 0 8px 16px rgba(0,0,0,0.4); }
.skin-frs .ptt-btn:active, .skin-frs .ptt-btn.transmitting { box-shadow: 0 2px 0 #0d47a1, 0 3px 8px rgba(0,0,0,0.3); }

.skin-gmrs { background: linear-gradient(160deg, #1b3d2f 0%, #0d2419 100%); border: 2px solid #2d5a45; }
.skin-gmrs .radio-antenna { background: linear-gradient(to bottom, #4caf7a, #2d5a45); }
.skin-gmrs .radio-antenna::after { background: #4caf7a; }
.skin-gmrs .radio-brand { color: #6dca9a; }
.skin-gmrs .radio-lcd { background: #061a10; border: 3px solid #0d3020; color: #69f0ae; box-shadow: inset 0 0 20px rgba(105,240,174,0.08); }
.skin-gmrs .volume-row input[type="range"] { background: #1a3028; }
.skin-gmrs .volume-row input[type="range"]::-webkit-slider-thumb { background: #69f0ae; }
.skin-gmrs .ch-btn { border-color: #2d5a45; color: #9de0b8; background: #143528; }
.skin-gmrs .ctrl-btn { border-color: #2d5a45; color: #8dd4a8; background: #122e22; }
.skin-gmrs .ptt-btn { background: linear-gradient(145deg, #43a047, #2e7d32); border-color: #1b5e20; box-shadow: 0 5px 0 #1b5e20, 0 8px 16px rgba(0,0,0,0.4); }
.skin-gmrs .ptt-btn:active, .skin-gmrs .ptt-btn.transmitting { box-shadow: 0 2px 0 #1b5e20, 0 3px 8px rgba(0,0,0,0.3); }

.skin-murs { background: linear-gradient(160deg, #3e2723 0%, #2a1a16 100%); border: 2px solid #5d4037; }
.skin-murs .radio-antenna { background: linear-gradient(to bottom, #a1887f, #5d4037); }
.skin-murs .radio-antenna::after { background: #a1887f; }
.skin-murs .radio-brand { color: #bcaaa4; }
.skin-murs .radio-lcd { background: #1a100c; border: 3px solid #3e2723; color: #ffcc80; box-shadow: inset 0 0 20px rgba(255,204,128,0.08); }
.skin-murs .volume-row input[type="range"] { background: #3e2723; }
.skin-murs .volume-row input[type="range"]::-webkit-slider-thumb { background: #ffcc80; }
.skin-murs .ch-btn { border-color: #5d4037; color: #d7ccc8; background: #33201c; }
.skin-murs .ctrl-btn { border-color: #5d4037; color: #cbb8b0; background: #2c1c18; }
.skin-murs .ptt-btn { background: linear-gradient(145deg, #ef6c00, #e65100); border-color: #bf360c; box-shadow: 0 5px 0 #bf360c, 0 8px 16px rgba(0,0,0,0.4); }
.skin-murs .ptt-btn:active, .skin-murs .ptt-btn.transmitting { box-shadow: 0 2px 0 #bf360c, 0 3px 8px rgba(0,0,0,0.3); }

.skin-ham { background: linear-gradient(160deg, #1a1a2e 0%, #0f0f1a 100%); border: 2px solid #2a2a4a; }
.skin-ham .radio-antenna { background: linear-gradient(to bottom, #7c6af0, #4a3db0); }
.skin-ham .radio-antenna::after { background: #7c6af0; }
.skin-ham .radio-brand { color: #a89cf5; }
.skin-ham .radio-lcd { background: #0c0a18; border: 3px solid #1e1a38; color: #ffb74d; box-shadow: inset 0 0 25px rgba(255,183,77,0.1); }
.skin-ham .volume-row input[type="range"] { background: #22223a; }
.skin-ham .volume-row input[type="range"]::-webkit-slider-thumb { background: #ffb74d; }
.skin-ham .ch-btn { border-color: #3a3a6a; color: #c0b8f0; background: #1e1e38; }
.skin-ham .ctrl-btn { border-color: #3a3a6a; color: #b0a8e8; background: #1a1a30; }
.skin-ham .ptt-btn { background: linear-gradient(145deg, #7c4dff, #651fff); border-color: #4a148c; box-shadow: 0 5px 0 #4a148c, 0 8px 16px rgba(0,0,0,0.5); }
.skin-ham .ptt-btn:active, .skin-ham .ptt-btn.transmitting { box-shadow: 0 2px 0 #4a148c, 0 3px 8px rgba(0,0,0,0.4); }

.skin-marine { background: linear-gradient(160deg, #0d2137 0%, #061525 100%); border: 2px solid #1a4a6e; }
.skin-marine .radio-antenna { background: linear-gradient(to bottom, #4dd0e1, #00838f); }
.skin-marine .radio-antenna::after { background: #4dd0e1; }
.skin-marine .radio-brand { color: #80deea; }
.skin-marine .radio-lcd { background: #021018; border: 3px solid #0a3040; color: #18ffff; box-shadow: inset 0 0 20px rgba(24,255,255,0.1); }
.skin-marine .volume-row input[type="range"] { background: #0a3040; }
.skin-marine .volume-row input[type="range"]::-webkit-slider-thumb { background: #18ffff; }
.skin-marine .ch-btn { border-color: #1a4a6e; color: #b2ebf2; background: #0d2a40; }
.skin-marine .ctrl-btn { border-color: #1a4a6e; color: #a0d8e0; background: #0b2438; }
.skin-marine .ptt-btn { background: linear-gradient(145deg, #00bcd4, #0097a7); border-color: #006064; box-shadow: 0 5px 0 #006064, 0 8px 16px rgba(0,0,0,0.4); }
.skin-marine .ptt-btn:active, .skin-marine .ptt-btn.transmitting { box-shadow: 0 2px 0 #006064, 0 3px 8px rgba(0,0,0,0.3); }

.skin-pmr446 { background: linear-gradient(160deg, #263238 0%, #1a2328 100%); border: 2px solid #37474f; }
.skin-pmr446 .radio-antenna { background: linear-gradient(to bottom, #90a4ae, #546e7a); }
.skin-pmr446 .radio-antenna::after { background: #90a4ae; }
.skin-pmr446 .radio-brand { color: #b0bec5; }
.skin-pmr446 .radio-lcd { background: #0d1518; border: 3px solid #1c2b30; color: #80cbc4; box-shadow: inset 0 0 20px rgba(128,203,196,0.08); }
.skin-pmr446 .volume-row input[type="range"] { background: #263238; }
.skin-pmr446 .volume-row input[type="range"]::-webkit-slider-thumb { background: #80cbc4; }
.skin-pmr446 .ch-btn { border-color: #37474f; color: #cfd8dc; background: #1e2a30; }
.skin-pmr446 .ctrl-btn { border-color: #37474f; color: #b0bec5; background: #1a252b; }
.skin-pmr446 .ptt-btn { background: linear-gradient(145deg, #00897b, #00695c); border-color: #004d40; box-shadow: 0 5px 0 #004d40, 0 8px 16px rgba(0,0,0,0.4); }
.skin-pmr446 .ptt-btn:active, .skin-pmr446 .ptt-btn.transmitting { box-shadow: 0 2px 0 #004d40, 0 3px 8px rgba(0,0,0,0.3); }

.skin-internet { background: linear-gradient(160deg, #1a1030 0%, #0d0818 100%); border: 2px solid #3a2060; }
.skin-internet .radio-antenna { background: linear-gradient(to bottom, #e040fb, #9c27b0); }
.skin-internet .radio-antenna::after { background: #e040fb; }
.skin-internet .radio-brand { color: #ea80fc; }
.skin-internet .radio-lcd { background: #0c0618; border: 3px solid #1e0f38; color: #ea80fc; box-shadow: inset 0 0 25px rgba(234,128,252,0.1); }
.skin-internet .volume-row input[type="range"] { background: #1e1030; }
.skin-internet .volume-row input[type="range"]::-webkit-slider-thumb { background: #ea80fc; }
.skin-internet .ch-btn { border-color: #3a2060; color: #e0b0f0; background: #1a1030; }
.skin-internet .ctrl-btn { border-color: #3a2060; color: #d0a0e8; background: #160e28; }
.skin-internet .ptt-btn { background: linear-gradient(145deg, #d500f9, #aa00ff); border-color: #6a0080; box-shadow: 0 5px 0 #6a0080, 0 8px 16px rgba(0,0,0,0.5); }
.skin-internet .ptt-btn:active, .skin-internet .ptt-btn.transmitting { box-shadow: 0 2px 0 #6a0080, 0 3px 8px rgba(0,0,0,0.4); }

.skin-commercial { background: linear-gradient(160deg, #212121 0%, #121212 100%); border: 2px solid #424242; }
.skin-commercial .radio-antenna { background: linear-gradient(to bottom, #9e9e9e, #616161); }
.skin-commercial .radio-antenna::after { background: #9e9e9e; }
.skin-commercial .radio-brand { color: #bdbdbd; }
.skin-commercial .radio-lcd { background: #0a0a0a; border: 3px solid #1e1e1e; color: #ffeb3b; box-shadow: inset 0 0 20px rgba(255,235,59,0.08); }
.skin-commercial .volume-row input[type="range"] { background: #333; }
.skin-commercial .volume-row input[type="range"]::-webkit-slider-thumb { background: #ffeb3b; }
.skin-commercial .ch-btn { border-color: #424242; color: #e0e0e0; background: #2a2a2a; }
.skin-commercial .ctrl-btn { border-color: #424242; color: #bdbdbd; background: #252525; }
.skin-commercial .ptt-btn { background: linear-gradient(145deg, #f44336, #c62828); border-color: #8b0000; box-shadow: 0 5px 0 #8b0000, 0 8px 16px rgba(0,0,0,0.5); }
.skin-commercial .ptt-btn:active, .skin-commercial .ptt-btn.transmitting { box-shadow: 0 2px 0 #8b0000, 0 3px 8px rgba(0,0,0,0.4); }

footer {
    background: var(--bg-elevated); border-top: 1px solid var(--border);
    padding: 2rem 1.5rem; text-align: center; color: var(--text-dim); font-size: 0.84rem;
}
footer a { color: var(--text-muted); }
footer a:hover { color: var(--accent); }

@media (max-width: 700px) {
    nav { display: none; }
    .hero { padding: 2.75rem 1rem 2.25rem; }
    main { padding: 1.75rem 1rem 3.5rem; }
}

/* Online mode UI */
.btn-online-main {
    grid-column: 1 / -1 !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    border-width: 2px !important;
}
.online-active, .ctrl-btn.online-active {
    background: #00c853 !important;
    border-color: #00e676 !important;
    color: #003300 !important;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.5);
}
.online-banner {
    background: linear-gradient(90deg, #00c853, #00b0ff);
    color: #002210;
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    padding: 0.45rem 0.6rem;
    border-radius: 10px 10px 0 0;
    margin-bottom: -2px;
    word-break: break-all;
}
.online-help {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.45;
    text-align: center;
}
.online-help strong { color: var(--accent); }
.online-help em { color: var(--text-muted); font-style: normal; font-weight: 600; }

/* Share bar */
.share-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    padding: 1.25rem 1rem;
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
}
.share-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-right: 0.35rem;
}
.share-btn {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
}
.share-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    text-decoration: none;
}

/* HTTPS warning banner */
.https-warn {
    background: linear-gradient(90deg, #b45309, #c2410c);
    color: #fff;
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
}
.https-warn a { color: #fef3c7; text-decoration: underline; }

/* Chatbot */
#ptt-chat-toggle {
    position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 9999;
    width: 56px; height: 56px; border-radius: 50%; border: none;
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    color: #041510; font-size: 1.4rem; cursor: pointer;
    box-shadow: 0 6px 24px rgba(0,229,176,0.35);
}
#ptt-chat-panel {
    position: fixed; bottom: 5.5rem; right: 1.25rem; z-index: 9999;
    width: min(360px, calc(100vw - 2rem));
    background: var(--bg-card); border: 1px solid var(--border-strong);
    border-radius: 16px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; overflow: hidden;
}
#ptt-chat-panel[hidden] { display: none !important; }
.ptt-chat-hd {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.75rem 1rem; background: rgba(0,0,0,0.35); border-bottom: 1px solid var(--border);
}
.ptt-chat-hd button {
    background: none; border: none; color: var(--text-muted); font-size: 1.4rem; cursor: pointer;
}
#ptt-chat-log {
    height: 240px; overflow-y: auto; padding: 0.75rem 1rem;
    font-size: 0.85rem; display: flex; flex-direction: column; gap: 0.5rem;
}
.ptt-chat-msg { padding: 0.5rem 0.75rem; border-radius: 10px; max-width: 95%; line-height: 1.45; }
.ptt-chat-msg.bot { background: rgba(0,229,176,0.1); color: var(--text-muted); align-self: flex-start; }
.ptt-chat-msg.user { background: rgba(59,130,246,0.2); color: var(--text); align-self: flex-end; }
#ptt-chat-form { display: flex; gap: 0.4rem; padding: 0.65rem; border-top: 1px solid var(--border); }
#ptt-chat-input {
    flex: 1; background: var(--bg); border: 1px solid var(--border-strong);
    border-radius: 8px; padding: 0.5rem 0.65rem; color: var(--text); font-size: 0.85rem;
}
#ptt-chat-form button {
    background: var(--accent); color: #041510; border: none; border-radius: 8px;
    padding: 0.5rem 0.85rem; font-weight: 700; cursor: pointer;
}
.ptt-chat-note { font-size: 0.68rem; color: var(--text-dim); padding: 0 0.75rem 0.6rem; margin: 0; }

.freq-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-top: 0.75rem;
}
.freq-table th, .freq-table td {
    border: 1px solid var(--border);
    padding: 0.4rem 0.6rem;
    text-align: left;
}
.freq-table th {
    background: rgba(0,229,176,0.12);
    color: var(--accent);
    font-weight: 600;
}
.freq-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

.case-study {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 720px) {
    .case-study { grid-template-columns: 1.2fr 1fr; align-items: center; }
}
.case-study .btn { margin-top: 0.75rem; }
.peer-list {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-align: center;
    padding: 0.4rem 0.5rem;
    margin-top: 0.35rem;
}
.peer-list strong { color: var(--accent); }

/* === Enhanced radio hardware look === */
.virtual-radio {
    position: relative;
    padding: 1.1rem 1rem 1rem;
    border-radius: 22px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        inset 0 -2px 8px rgba(0,0,0,0.4),
        0 12px 28px rgba(0,0,0,0.55);
}
.virtual-radio::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.04);
    pointer-events: none;
}
.radio-antenna {
    width: 6px;
    height: 48px;
    margin: -8px auto 10px;
    border-radius: 3px;
    position: relative;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.5);
}
.radio-antenna::after {
    content: '';
    position: absolute;
    top: -6px; left: 50%; transform: translateX(-50%);
    width: 12px; height: 12px; border-radius: 50%;
    box-shadow: 0 0 6px currentColor;
}
.radio-brand {
    letter-spacing: 0.18em;
    font-size: 0.65rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
    opacity: 0.9;
}
.radio-lcd {
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    position: relative;
    font-family: "Courier New", ui-monospace, monospace;
    box-shadow:
        inset 0 0 24px rgba(0,0,0,0.35),
        0 0 0 2px rgba(0,0,0,0.35);
}
.tx-indicator {
    position: absolute;
    top: 8px; right: 10px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #333;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.6);
}
.tx-indicator.active {
    background: #ff1744;
    box-shadow: 0 0 10px #ff1744, 0 0 4px #ff8a80;
}
.lcd-channel { font-size: 1.55rem; font-weight: 700; letter-spacing: 0.04em; }
.lcd-freq { font-size: 0.82rem; opacity: 0.9; }
.ptt-btn {
    width: 96px; height: 96px;
    border-radius: 50%;
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 0.95rem;
    border: 3px solid rgba(0,0,0,0.35);
    position: relative;
}
.ptt-btn::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.15);
    pointer-events: none;
}
/* Speaker grille decoration */
.virtual-radio::after {
    content: '';
    display: block;
    height: 28px;
    margin: 0.65rem 1rem 0;
    border-radius: 6px;
    background:
        repeating-linear-gradient(90deg,
            rgba(0,0,0,0.35) 0 2px,
            transparent 2px 5px),
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.2));
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
    pointer-events: none;
}
.radio-footer { margin-top: 0.35rem; }

/* Distinct skins — richer materials */
.skin-cb {
    background: linear-gradient(165deg, #3a3a42 0%, #1c1c22 55%, #121218 100%);
    border: 2px solid #4a4a55;
}
.skin-cb .radio-lcd { background: #031a08; color: #3dff7a; border-color: #0d3d1a; text-shadow: 0 0 8px rgba(61,255,122,0.35); }

.skin-frs {
    background: linear-gradient(165deg, #2b5a8a 0%, #153454 50%, #0c1f33 100%);
    border: 2px solid #3d7ab5;
}
.skin-frs .radio-lcd { background: #021220; color: #5ecbff; text-shadow: 0 0 8px rgba(94,203,255,0.3); }

.skin-gmrs {
    background: linear-gradient(165deg, #1f4d3a 0%, #0f2e22 55%, #0a1c15 100%);
    border: 2px solid #2d7a58;
}
.skin-gmrs .radio-lcd { background: #02140e; color: #5dffa0; }

.skin-murs {
    background: linear-gradient(165deg, #4a3520 0%, #2a1c10 55%, #1a1108 100%);
    border: 2px solid #6b4e2e;
}
.skin-murs .radio-lcd { background: #1a1208; color: #ffc14d; }

.skin-ham {
    background: linear-gradient(165deg, #2a2438 0%, #16121f 55%, #0e0b14 100%);
    border: 2px solid #5a4a7a;
}
.skin-ham .radio-lcd { background: #120e1a; color: #ffb84d; text-shadow: 0 0 6px rgba(255,184,77,0.25); }

.skin-marine {
    background: linear-gradient(165deg, #0d4a4a 0%, #083030 55%, #041c1c 100%);
    border: 2px solid #1a8a8a;
}
.skin-marine .radio-lcd { background: #021818; color: #40ffe0; }

.skin-pmr446 {
    background: linear-gradient(165deg, #3a2a4a 0%, #221830 55%, #140e1c 100%);
    border: 2px solid #6a4a8a;
}
.skin-pmr446 .radio-lcd { background: #120a1a; color: #d4a0ff; }

.skin-internet {
    background: linear-gradient(165deg, #1a2a3a 0%, #0c1520 55%, #060a10 100%);
    border: 2px solid #00c8ff;
    box-shadow: inset 0 1px 0 rgba(0,200,255,0.15), 0 12px 28px rgba(0,0,0,0.55), 0 0 20px rgba(0,200,255,0.08);
}
.skin-internet .radio-lcd { background: #020810; color: #00e5ff; text-shadow: 0 0 10px rgba(0,229,255,0.35); }

.skin-commercial {
    background: linear-gradient(165deg, #2c2c2c 0%, #1a1a1a 55%, #0e0e0e 100%);
    border: 2px solid #555;
}
.skin-commercial .radio-lcd { background: #0a0a0a; color: #e8e8e8; }

/* Modern polish 2026 */
body {
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(0,229,176,0.07), transparent),
        radial-gradient(900px 500px at 100% 0%, rgba(59,130,246,0.06), transparent),
        var(--bg);
}
.card {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-3px);
    border-color: rgba(0,229,176,0.25);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.55rem 1.15rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.https-warn {
    background: linear-gradient(90deg, #0f3d36, #0c4a6e);
    font-weight: 500;
}
main section h2 {
    letter-spacing: -0.02em;
}
.detail {
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.65rem;
    margin-top: 0.85rem;
}
.spec-item {
    background: rgba(0,0,0,0.25);
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
}
.spec-item strong {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 0.2rem;
}
footer {
    opacity: 0.9;
}
@media (max-width: 720px) {
    nav a { font-size: 0.75rem; padding: 0.35rem 0.5rem; }
    .virtual-radio-wrap { max-width: 100%; }
}

.chooser-select, #chat-input {
    width: 100%;
    margin: 0.35rem 0 0.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    background: var(--bg);
    color: var(--text);
    font: inherit;
}
.channel-chat { margin-top: 0.5rem; }
.chat-row { display: flex; gap: 0.4rem; }
.chat-row input { flex: 1; margin: 0; }
.roadmap .step {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}
.roadmap .step strong { display: block; color: var(--accent); margin-bottom: 0.25rem; }
.disclaimer { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 0.35rem; }
.reviewed { font-size: 0.75rem; color: var(--text-dim); }
.kbd-help { text-align: center; margin-top: 0.35rem; }
@media print {
    header, .share-bar, footer, .https-warn, #ptt-chat, .no-print { display: none !important; }
    body { background: #fff; color: #000; }
    .freq-table th, .freq-table td { border-color: #ccc; }
}

/* ——— BPFRG brand extensions ——— */
.bpfrg-hero {
    text-align: center;
    padding: 3rem 1.25rem 2rem;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,229,176,0.12), transparent 55%),
                linear-gradient(180deg, #0a1220 0%, var(--bg) 100%);
}
.bpfrg-hero .eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.bpfrg-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}
.bpfrg-hero .lede {
    max-width: 38rem;
    margin: 0 auto 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}
.bpfrg-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.bpfrg-actions .btn {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    background: var(--accent);
    color: #04120e;
}
.bpfrg-actions .btn.ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
}
.bpfrg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}
.bpfrg-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem 1.25rem;
}
.bpfrg-card h2 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}
.bpfrg-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}
.site-footer {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-dim);
    font-size: 0.8rem;
    border-top: 1px solid var(--border);
}
.vr-shell { max-width: 420px; margin: 0 auto; }
.vr-typebar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    justify-content: center;
}
.vr-type {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-strong);
    background: var(--bg-elevated);
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font);
}
.vr-type.on {
    background: rgba(0,229,176,0.15);
    color: var(--accent);
    border-color: rgba(0,229,176,0.35);
}
.vr-fx {
    margin-top: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
}
.vr-fx h3 {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}
.vr-fx-note {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 0.65rem;
}
.vr-fx label {
    display: grid;
    grid-template-columns: 7rem 1fr;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}
.vr-fx input[type="range"] { width: 100%; }
.knowledge-list {
    max-width: 720px;
    margin: 0 auto;
    padding: 1rem 1.25rem 3rem;
}
.knowledge-list a {
    display: block;
    padding: 0.85rem 1rem;
    margin-bottom: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
}
.knowledge-list a:hover { border-color: var(--accent); }
.knowledge-list a span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}
.prose {
    max-width: 720px;
    margin: 0 auto;
    padding: 1rem 1.25rem 3rem;
}
.prose h2 { margin: 1.5rem 0 0.5rem; font-size: 1.25rem; }
.prose h3 { margin: 1.2rem 0 0.4rem; font-size: 1.05rem; }
.prose p, .prose li { color: var(--text-muted); margin-bottom: 0.65rem; }
.prose ul { padding-left: 1.25rem; }
.logo a { color: var(--text); }
.logo .mark { color: var(--accent); }

/* BPFRG logo header banner — compact */
.bpfrg-banner-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #0a1628;
    border-bottom: 1px solid var(--border-strong);
}
.bpfrg-logo-banner {
    display: block;
    width: auto;
    max-width: min(420px, 92vw);
    max-height: 64px;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 6px;
}
header .logo-img {
    height: 32px;
    width: auto;
    max-width: 88px;
    display: block;
    border-radius: 4px;
    object-fit: contain;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo .logo-text {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.15;
}
.logo .logo-text small {
    display: block;
    font-weight: 500;
    font-size: 0.65rem;
    color: var(--text-muted);
}
@media (max-width: 640px) {
    .bpfrg-logo-banner { max-height: 48px; max-width: min(280px, 90vw); }
    .bpfrg-banner-wrap { padding: 0.35rem 0.75rem; }
    .logo .logo-text { font-size: 0.8rem; }
    header .logo-img { height: 28px; max-width: 72px; }
}

.magic-ptt-feature h2 {
    color: var(--accent);
}
.magic-ptt-feature .btn {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    background: var(--accent);
    color: #04120e;
}
.magic-ptt-feature .btn:hover { color: #04120e; filter: brightness(1.08); }

.vr-channels {
    margin-top: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
}
.vr-channels h3 {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}
.vr-ch-list {
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0;
    max-height: 220px;
    overflow-y: auto;
}
.vr-ch-item {
    display: grid;
    grid-template-columns: 3.2rem 1fr 1fr 4.2rem;
    gap: 0.35rem;
    align-items: center;
    padding: 0.35rem 0.4rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-family: var(--mono);
    color: var(--text-muted);
    cursor: pointer;
}
.vr-ch-item:hover { background: var(--bg-elevated); }
.vr-ch-item.on {
    background: rgba(0,229,176,0.12);
    color: var(--accent);
}
.vr-ch-item.busy .ch-u { color: #fbbf24; font-weight: 700; }
.vr-ch-item .ch-n { font-weight: 700; color: var(--text); }
.vr-ch-item.on .ch-n { color: var(--accent); }
.vr-ch-item .dim, .vr-ch-list .dim {
    color: var(--text-dim);
    font-family: var(--font);
    font-size: 0.8rem;
    cursor: default;
    display: block;
    padding: 0.4rem 0;
}
#btn-scan.online-active {
    outline: 1px solid var(--warning);
    color: var(--warning);
}

/* ============================================================
   RADIO EQUIPMENT AESTHETIC LAYER
   Faceplate cards, LCD readouts, LED status, RF grid background
   ============================================================ */

:root {
    --lcd-bg: #0a1f14;
    --lcd-green: #33ff99;
    --lcd-dim: #1a6b45;
    --led-red: #ff3b3b;
    --led-amber: #ffb020;
    --led-green: #22c55e;
    --metal: #1a2332;
    --metal-edge: rgba(255,255,255,0.08);
    --grille: repeating-linear-gradient(
        90deg,
        transparent 0 2px,
        rgba(0,0,0,0.25) 2px 3px
    );
}

/* Subtle RF grid + vignette on body */
body {
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -30%, rgba(0, 229, 176, 0.07), transparent 55%),
        linear-gradient(rgba(0, 229, 176, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 176, 0.03) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
    background-attachment: fixed;
}

/* Header feels like a rack panel */
header {
    background: linear-gradient(180deg, #0c121c 0%, rgba(7, 11, 18, 0.92) 100%);
    border-bottom: 1px solid var(--metal-edge);
    box-shadow: 0 1px 0 rgba(0, 229, 176, 0.06), 0 8px 24px rgba(0,0,0,0.35);
}
.logo a {
    font-family: var(--mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.95rem;
}
.logo a::before {
    content: "● ";
    color: var(--led-green);
    -webkit-text-fill-color: var(--led-green);
    text-shadow: 0 0 8px var(--led-green);
    animation: led-pulse 2.4s ease-in-out infinite;
}
@keyframes led-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

/* Hero — frequency display style */
.hero {
    background:
        linear-gradient(180deg, rgba(10, 31, 20, 0.35) 0%, transparent 70%),
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 229, 176, 0.1), transparent);
}
.hero h1 {
    font-family: var(--mono);
    letter-spacing: 0.02em;
    text-shadow: 0 0 40px rgba(0, 229, 176, 0.25);
}
.hero p {
    font-family: var(--font);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Badges as channel chips */
.badge {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    border-radius: 4px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(0, 229, 176, 0.25);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.badge:hover {
    box-shadow: 0 0 16px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Cards as radio faceplates */
.card {
    background:
        linear-gradient(165deg, #151e2c 0%, #0e1520 100%);
    border: 1px solid var(--metal-edge);
    border-radius: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 -1px 0 rgba(0,0,0,0.35),
        0 10px 28px rgba(0,0,0,0.35);
    padding: 1.35rem 1.35rem 1.25rem;
}
.card::before {
    height: 3px;
    background: linear-gradient(90deg, var(--lcd-green), var(--accent), var(--blue));
    opacity: 0.55;
}
.card:hover {
    border-color: rgba(0, 229, 176, 0.35);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 12px 36px rgba(0,0,0,0.45),
        0 0 28px rgba(0, 229, 176, 0.1);
}
.card:hover::before { opacity: 1; }

/* Tag = status LED + label */
.card .tag {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(0, 229, 176, 0.2);
    border-radius: 3px;
    padding: 0.22rem 0.5rem 0.22rem 0.45rem;
    position: relative;
    padding-left: 1.05rem;
}
.card .tag::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--led-green);
    box-shadow: 0 0 6px var(--led-green);
}
/* US-only tags get amber LED */
.card .tag[class*="US"],
.card .tag:is([data-region="us"]) {
    border-color: rgba(255, 176, 32, 0.35);
}
/* Approximate: tags containing "US" via attribute we can set; CSS :has not for text.
   Use a class hook instead via HTML if needed. Default green is fine; amber via .tag.us */

.card h3 {
    font-family: var(--mono);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    color: #f0f6ff;
}

/* PTT-style button */
.btn, .card a.btn {
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 6px;
    background: linear-gradient(180deg, #1affc2 0%, #00b88c 100%);
    box-shadow:
        0 2px 0 #007a5c,
        0 4px 12px rgba(0, 229, 176, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.35);
    color: #03140f !important;
}
.btn:hover, .card a.btn:hover {
    filter: brightness(1.06);
    box-shadow:
        0 2px 0 #007a5c,
        0 6px 18px rgba(0, 229, 176, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn:active, .card a.btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 #007a5c, inset 0 2px 4px rgba(0,0,0,0.2);
}

/* Specs block = LCD panel */
.specs {
    background: var(--lcd-bg);
    border: 1px solid rgba(51, 255, 153, 0.2);
    border-radius: 8px;
    box-shadow: inset 0 0 24px rgba(0,0,0,0.5), 0 0 12px rgba(51, 255, 153, 0.05);
    font-family: var(--mono);
}
.spec-item strong {
    color: var(--lcd-dim);
    text-shadow: none;
}
.spec-item span {
    color: var(--lcd-green);
    text-shadow: 0 0 8px rgba(51, 255, 153, 0.35);
    font-size: 0.88rem;
}

/* Detail panels = equipment modules */
.detail {
    background: linear-gradient(165deg, #121a28 0%, #0c121c 100%);
    border: 1px solid var(--metal-edge);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 8px 24px rgba(0,0,0,0.3);
}

/* Callout as alert strip */
.callout {
    background: rgba(0, 229, 176, 0.06);
    border-left: 3px solid var(--accent);
    font-family: var(--font);
}
.callout.warn {
    background: rgba(245, 158, 11, 0.08);
    border-left-color: var(--led-amber);
}

/* Tables like frequency charts */
th {
    font-family: var(--mono);
    letter-spacing: 0.05em;
}
td {
    font-family: var(--mono);
    font-size: 0.84rem;
}

/* Footer rack strip */
footer {
    border-top: 1px solid var(--metal-edge);
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.35));
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-dim);
}
footer p { color: var(--text-dim); }

/* Signal-strength decorative bars (optional HTML) */
.signal-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px;
    margin-right: 0.4rem;
    vertical-align: middle;
}
.signal-bars span {
    display: block;
    width: 3px;
    background: var(--lcd-green);
    border-radius: 1px;
    box-shadow: 0 0 4px rgba(51, 255, 153, 0.5);
    opacity: 0.85;
}
.signal-bars span:nth-child(1) { height: 30%; }
.signal-bars span:nth-child(2) { height: 50%; }
.signal-bars span:nth-child(3) { height: 70%; }
.signal-bars span:nth-child(4) { height: 100%; }

/* Region LED variants via class on tag */
.card .tag.us::before,
.card .tag[data-region="us"]::before {
    background: var(--led-amber);
    box-shadow: 0 0 6px var(--led-amber);
}
.card .tag.uk::before,
.card .tag[data-region="uk"]::before {
    background: var(--led-green);
    box-shadow: 0 0 6px var(--led-green);
}
.card .tag.warn::before {
    background: var(--led-red);
    box-shadow: 0 0 6px var(--led-red);
}

/* Start-here section slight emphasis */
main > section:first-child .card {
    border-color: rgba(0, 229, 176, 0.18);
}

/* Mono for frequency-ish numbers in body */
.freq, .mono {
    font-family: var(--mono);
    color: var(--lcd-green);
    letter-spacing: 0.02em;
}

/* Slight scanline overlay on hero only (very subtle) */
.hero::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0 2px,
        rgba(0,0,0,0.03) 2px 3px
    );
    opacity: 0.5;
}

/* Nav active = selected channel */
nav a.active {
    background: rgba(0, 229, 176, 0.12);
    box-shadow: inset 0 -2px 0 var(--accent);
    border-radius: 6px 6px 0 0;
}

/* ============================================================
   SITE LOGO — promotional radio artwork as top brand
   ============================================================ */
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none !important;
    -webkit-text-fill-color: unset !important;
    background: none !important;
}
.logo-link:hover { filter: brightness(1.05); }

.site-logo {
    height: 32px;
    width: auto;
    max-width: min(140px, 36vw);
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(0, 229, 176, 0.2);
    display: block;
}

.logo-text {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

/* On narrow screens: image only, drop text to save space */
@media (max-width: 720px) {
    .logo-text { display: none; }
    .site-logo {
        height: 28px;
        max-width: min(120px, 42vw);
    }
}

/* Optional full-width logo banner under header (if used) */
.logo-banner {
    display: flex;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(180deg, #0a1220, #070b12);
    border-bottom: 1px solid var(--border);
}
.logo-banner img {
    max-height: 64px;
    width: auto;
    max-width: min(280px, 70vw);
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(0, 229, 176, 0.2), 0 4px 14px rgba(0,0,0,0.35);
}
@media (max-width: 640px) {
    .logo-banner { padding: 0.45rem 0.75rem; }
    .logo-banner img { max-height: 48px; max-width: min(220px, 75vw); }
}

/* Kill the old LED pulse on logo when using image */
.logo a.logo-link::before { content: none !important; }

/* ---- Homepage visual redesign ---- */
.hero-home {
  padding: 2.75rem 1.5rem 2.25rem;
  text-align: center;
}
.hero-kicker {
  position: relative;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.hero-home h1 {
  font-size: clamp(1.85rem, 5vw, 2.85rem);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}
.hero-accent {
  background: linear-gradient(135deg, var(--accent), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead {
  position: relative;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.hero-cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim)) !important;
  color: #04120e !important;
  border: none !important;
  font-weight: 700 !important;
  padding: 0.7rem 1.25rem !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(0, 229, 176, 0.25);
}
.btn-primary:hover {
  filter: brightness(1.08);
  color: #04120e !important;
}
.btn-secondary {
  background: var(--bg-card) !important;
  color: var(--text) !important;
  border: 1px solid var(--border-strong) !important;
  font-weight: 600 !important;
  padding: 0.7rem 1.25rem !important;
  border-radius: 10px !important;
  text-decoration: none !important;
}
.btn-secondary:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
.btn-ghost {
  background: transparent !important;
  color: var(--text-muted) !important;
  border: 1px solid transparent !important;
  font-weight: 500 !important;
  padding: 0.7rem 1rem !important;
  border-radius: 10px !important;
  text-decoration: none !important;
}
.btn-ghost:hover {
  color: var(--accent) !important;
  background: rgba(0, 229, 176, 0.08) !important;
}
.hero-home .hero-band {
  margin-top: 0.25rem;
  max-width: 420px;
}
.hero-home .hero-band img {
  height: 80px;
  object-fit: cover;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.section-lead {
  color: var(--text-muted);
  margin: 0 0 1.35rem;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.cards {
  gap: 1rem !important;
}
.card {
  padding: 1.25rem !important;
}
.card .btn {
  margin-top: 0.75rem;
}

/* Featured mock exams highlight strip */
.feature-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0 0 2.5rem;
}
@media (max-width: 700px) {
  .feature-strip { grid-template-columns: 1fr; }
}
.feature-strip-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-strip-card:hover {
  border-color: rgba(0, 229, 176, 0.45);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}
.feature-strip-card img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 229, 176, 0.3);
}
.feature-strip-card strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.feature-strip-card span {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}
