:root {
    --bg: #05070a;
    --bg2: #0d1117;
    --bg3: #111827;
    --blue: #007bff;
    --blue-hi: #0a84ff;
    --cyan: #00c8ff;
    --glow: rgba(0, 123, 255, .5);
    --text: #ffffff;
    --text2: #9aadcc;
    --text3: #5c7290;
    --border: rgba(0, 123, 255, .15);
    --card: #0d1117;
    --green: #00e676;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.mono { font-family: "JetBrains Mono", Consolas, monospace; }

/* ═══ NAV ═══ */
.apex-nav {
    background: rgba(5, 10, 20, .95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(12px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

.apex-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.apex-brand img { width: 36px; height: 36px; filter: drop-shadow(0 0 8px var(--glow)); }

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text b {
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--text);
}

.brand-text small {
    font-size: .52rem;
    letter-spacing: .32em;
    color: var(--text3);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    color: var(--text2);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 4px;
    transition: color .2s;
    white-space: nowrap;
}

.nav-menu a { position: relative; }

.nav-menu a:hover,
.nav-menu a.active { color: var(--blue-hi); }

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--blue);
    box-shadow: 0 0 8px var(--glow);
}

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

.btn-login {
    color: var(--text2) !important;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: color .2s;
}

.btn-login:hover { color: var(--text) !important; }

.btn-apex {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--blue);
    color: #fff !important;
    border: none;
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 5px;
    padding: 10px 22px;
    box-shadow: 0 0 20px rgba(0, 123, 255, .35);
    cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .15s;
}

.btn-apex:hover {
    background: var(--blue-hi);
    box-shadow: 0 0 28px rgba(0, 123, 255, .5);
    transform: translateY(-1px);
}

.btn-apex svg { width: 14px; height: 14px; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text) !important;
    border: 1px solid rgba(255,255,255,.22);
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 5px;
    padding: 10px 22px;
    transition: border-color .2s, background .2s;
}

.btn-ghost:hover {
    border-color: var(--blue);
    background: rgba(0, 123, 255, .06);
}

.btn-apex.lg, .btn-ghost.lg { padding: 14px 28px; font-size: .78rem; }

.user-pill {
    font-size: .72rem;
    color: var(--text2);
    font-family: "JetBrains Mono", monospace;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--bg2);
}

.nav-toggler {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 6px 10px;
    color: var(--text);
    cursor: pointer;
}

/* ═══ HERO ═══ */
.hero-section {
    position: relative;
    padding: 72px 0 0;
    overflow: hidden;
    min-height: 580px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 70% at 72% 45%, rgba(0, 123, 255, .14), transparent),
        radial-gradient(ellipse 40% 50% at 20% 60%, rgba(0, 123, 255, .06), transparent);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.01em;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.hero-title .hi { color: var(--blue-hi); display: block; }

.hero-sub {
    color: var(--text2);
    font-size: .95rem;
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-visual .chip-hud { max-width: 100%; }

/* Stats */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 56px;
    padding: 28px 0 48px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.stat-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.stat-box .ic {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(0, 123, 255, .1);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--blue-hi);
}

.stat-box .ic svg { width: 18px; height: 18px; filter: drop-shadow(0 0 6px var(--glow)); }

.stat-box b {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.stat-box span {
    font-size: .7rem;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1.4;
}

/* ═══ SECTIONS ═══ */
.section { padding: 72px 0; }
.section-dark { background: var(--bg2); }

.sec-tag {
    color: var(--blue-hi);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.sec-title {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin: 0 0 36px;
    color: var(--text);
}

/* Feature grid */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 26px 22px;
    transition: border-color .2s, box-shadow .2s;
}

.feat-card:hover {
    border-color: rgba(0, 123, 255, .35);
    box-shadow: 0 0 24px rgba(0, 123, 255, .08);
}

.feat-card .ic {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(0, 123, 255, .08);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    color: var(--blue-hi);
}

.feat-card .ic svg { width: 20px; height: 20px; filter: drop-shadow(0 0 5px var(--glow)); }

.feat-card h3 {
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 8px;
}

.feat-card p {
    font-size: .82rem;
    color: var(--text2);
    margin: 0;
    line-height: 1.65;
}

/* ═══ PAGE HERO ═══ */
.page-hero {
    padding: 56px 0 40px;
    border-bottom: 1px solid var(--border);
    background: radial-gradient(ellipse 50% 80% at 80% 0%, rgba(0,123,255,.08), transparent);
}

.page-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    text-transform: uppercase;
    margin: 6px 0 10px;
}

.page-hero p { color: var(--text2); margin: 0; font-size: .92rem; }

/* ═══ SOFTWARE PAGE ═══ */
.sw-split {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}

.sw-split h2 {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
    font-size: .88rem;
    color: var(--text2);
}

.check-list li svg { flex-shrink: 0; color: var(--blue-hi); filter: drop-shadow(0 0 4px var(--glow)); }

.sw-window {
    background: #060c16;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

.sw-titlebar {
    height: 36px;
    background: #040a12;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    font-size: .65rem;
    color: var(--text3);
    font-family: "JetBrains Mono", monospace;
    letter-spacing: .08em;
}

.sw-titlebar i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.sw-titlebar i:nth-child(1) { background: #ff5f57; }
.sw-titlebar i:nth-child(2) { background: #febc2e; }
.sw-titlebar i:nth-child(3) { background: #28c840; }

.map-view {
    height: 300px;
    position: relative;
    background: #040810;
    overflow: hidden;
}

.map-side {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 140px;
    background: rgba(6,12,22,.95);
    border-right: 1px solid var(--border);
    padding: 10px 8px;
    z-index: 2;
}

.map-side div {
    font-size: .6rem;
    font-family: "JetBrains Mono", monospace;
    color: var(--text3);
    padding: 6px 8px;
    border-radius: 3px;
    margin-bottom: 2px;
}

.map-side div.on { background: rgba(0,123,255,.15); color: var(--cyan); }

.map-3d {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 40%, rgba(0,0,0,.5)),
        conic-gradient(from 200deg at 60% 55%,
            #ff3333 0deg, #ff8800 40deg, #ffee00 80deg,
            #44ff44 120deg, #00ccff 180deg, #4488ff 240deg, #aa44ff 300deg, #ff3333 360deg);
    opacity: .55;
    clip-path: polygon(18% 75%, 25% 60%, 35% 65%, 45% 45%, 55% 50%, 65% 30%, 75% 35%, 85% 20%, 95% 25%, 100% 100%, 18% 100%);
}

.map-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 1;
}

.tool-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.tool-tile {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 10px;
    text-align: center;
    font-size: .65rem;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.tool-tile .ic { color: var(--blue-hi); margin-bottom: 6px; }
.tool-tile .ic svg { width: 18px; height: 18px; filter: drop-shadow(0 0 4px var(--glow)); }

/* ═══ ECU TABLE ═══ */
.ecu-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: start; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.f-pill {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text2);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s;
}

.f-pill:hover, .f-pill.on {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    box-shadow: 0 0 14px rgba(0,123,255,.3);
}

.tbl-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.data-tbl { width: 100%; border-collapse: collapse; font-size: .78rem; }

.data-tbl thead th {
    background: rgba(0,123,255,.07);
    color: var(--text3);
    font-weight: 700;
    font-size: .65rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 13px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-tbl tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,.03);
    color: var(--text2);
}

.data-tbl tbody tr:nth-child(even) td { background: rgba(0,0,0,.15); }
.data-tbl tbody tr:hover td { color: var(--text); }
.data-tbl .ok { color: var(--green); font-weight: 900; }

.car-side { display: flex; align-items: center; justify-content: center; padding: 20px 0; }
.car-side img { width: 100%; max-width: 340px; filter: drop-shadow(0 0 24px rgba(0,123,255,.25)); }

/* ═══ DOWNLOADS ═══ */
.dl-layout { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }

.dl-main-card {
    background: var(--card);
    border: 1px solid rgba(0,123,255,.25);
    border-radius: 10px;
    padding: 40px 36px;
    box-shadow: 0 0 40px rgba(0,123,255,.08);
}

.dl-main-card h2 {
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.dl-ver {
    font-family: "JetBrains Mono", monospace;
    font-size: .78rem;
    color: var(--blue-hi);
    margin-bottom: 14px;
}

.dl-main-card p { color: var(--text2); font-size: .88rem; margin-bottom: 24px; }

.dl-cloud {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: center;
}

.dl-cloud .cloud-ic {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(0,123,255,.1);
    border: 2px solid var(--blue);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    box-shadow: 0 0 30px var(--glow);
    color: var(--blue-hi);
}

.dl-cloud .cloud-ic svg { width: 36px; height: 36px; }

.dl-cloud p { font-size: .78rem; color: var(--text3); margin: 0; }

.ver-list { list-style: none; padding: 0; margin: 28px 0 0; }

.ver-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.ver-row .vn { font-weight: 700; font-size: .85rem; }
.ver-row .vd { font-size: .72rem; color: var(--text3); font-family: "JetBrains Mono", monospace; }

.lock-box {
    text-align: center;
    padding: 56px 32px;
    background: var(--card);
    border: 1px dashed rgba(0,123,255,.25);
    border-radius: 10px;
    max-width: 520px;
    margin: 0 auto;
}

.lock-box .lock-ic svg { width: 48px; height: 48px; color: var(--text3); margin-bottom: 16px; }

/* ═══ NEWS ═══ */
.news-cards { display: flex; flex-direction: column; gap: 16px; }

.news-card {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 24px;
    transition: border-color .2s;
}

.news-card:hover { border-color: rgba(0,123,255,.3); }

.news-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: rgba(0,123,255,.08);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--blue-hi);
}

.news-thumb svg { width: 32px; height: 32px; filter: drop-shadow(0 0 6px var(--glow)); }

.news-card h3 { font-size: .92rem; font-weight: 700; margin: 0 0 4px; }
.news-card p { font-size: .82rem; color: var(--text2); margin: 0; line-height: 1.55; }
.news-card .nd { font-size: .7rem; color: var(--text3); font-family: "JetBrains Mono", monospace; margin-bottom: 4px; }

.read-more {
    color: var(--blue-hi);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.read-more:hover { color: var(--cyan); }

/* ═══ AUTH (side by side) ═══ */
.auth-page { padding: 56px 0 72px; }

.auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.auth-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 36px 32px;
}

.auth-panel h2 {
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 4px 0 20px;
}

.auth-panel .sec-tag { margin-bottom: 4px; }

label {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 14px;
}

.form-control {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--text);
    padding: 11px 14px;
    font-size: .88rem;
    margin-top: 6px;
    transition: border-color .2s, box-shadow .2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0,123,255,.12);
}

.form-check { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .82rem; color: var(--text2); }
.form-check input { accent-color: var(--blue); }

/* ═══ DASHBOARD ═══ */
.dash-wrap { display: grid; grid-template-columns: 210px 1fr; min-height: calc(100vh - 130px); }

.dash-nav {
    background: var(--bg2);
    border-right: 1px solid var(--border);
    padding: 28px 0;
}

.dash-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text2);
    border-left: 3px solid transparent;
    transition: all .2s;
}

.dash-nav a:hover, .dash-nav a.on {
    background: rgba(0,123,255,.07);
    color: var(--text);
    border-left-color: var(--blue);
}

.dash-nav a svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--blue-hi); }

.dash-body { padding: 28px 36px; }

.dash-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.dash-top h2 { font-size: 1.3rem; font-weight: 900; text-transform: uppercase; margin: 0; }
.dash-top .sub { font-size: .78rem; color: var(--text3); margin-top: 2px; }

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,123,255,.15);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--blue-hi);
    font-weight: 800;
    font-size: .85rem;
}

.dash-grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.d-stat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px;
}

.d-stat small { display: block; font-size: .65rem; color: var(--text3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.d-stat strong { font-size: 1rem; }

.dot-on {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
}

.dot-on::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
}

.d-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.d-panel h3 {
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text3);
    margin: 0 0 14px;
}

.d-panel .chip-mini {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 120px;
    opacity: .35;
    filter: drop-shadow(0 0 12px var(--glow));
}

/* ═══ PRICING ═══ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px 28px;
    text-align: center;
    transition: border-color .2s, box-shadow .2s;
}

.price-card:hover, .price-card.featured {
    border-color: rgba(0,123,255,.4);
    box-shadow: 0 0 30px rgba(0,123,255,.1);
}

.price-card.featured { border-color: var(--blue); }

.price-card h3 { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }

.price-card .amt { font-size: 2.2rem; font-weight: 900; color: var(--blue-hi); margin-bottom: 4px; }
.price-card .per { font-size: .75rem; color: var(--text3); margin-bottom: 20px; }

.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; }
.price-card li { font-size: .82rem; color: var(--text2); padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.04); display: flex; gap: 8px; align-items: center; }
.price-card li::before { content: '✓'; color: var(--blue-hi); font-weight: 900; }

/* ═══ ADMIN ═══ */
.admin-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
}

.admin-panel h2, .admin-box h2 { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text3); margin-bottom: 16px; }

.status {
    border-radius: 4px;
    padding: 3px 8px;
    font-size: .68rem;
    font-weight: 800;
    font-family: "JetBrains Mono", monospace;
    text-transform: uppercase;
}

.status.active, .status.admin, .status.completed { background: rgba(0,230,118,.12); color: var(--green); }
.status.pending { background: rgba(255,202,44,.12); color: #ffca2c; }
.status.suspended { background: rgba(255,59,92,.12); color: #ff3b5c; }
.status.inprogress { background: rgba(0,123,255,.12); color: var(--blue-hi); }

.admin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding: 10px 0;
    flex-wrap: wrap;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.c-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
}

.c-card h2 { font-size: 1rem; font-weight: 800; margin-bottom: 10px; }
.c-card p { font-size: .88rem; color: var(--text2); margin: 0 0 8px; }

/* ═══ FOOTER ═══ */
.apex-footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 20px 0;
    font-size: .75rem;
    color: var(--text3);
}

.apex-footer b { color: var(--text); font-size: .78rem; letter-spacing: .06em; }

.f-links { display: flex; gap: 20px; flex-wrap: wrap; }
.f-links a { color: var(--text3); text-transform: uppercase; font-size: .68rem; letter-spacing: .08em; font-weight: 600; transition: color .2s; }
.f-links a:hover { color: var(--blue-hi); }

.badge-new {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.dl-meta-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: .78rem;
    color: var(--text3);
    font-family: "JetBrains Mono", monospace;
    margin-bottom: 20px;
}

.dl-sidebar-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
}

.dl-sidebar-card p { font-size: .82rem; color: var(--text2); margin: 16px 0 20px; line-height: 1.6; }

.page-inner { padding: 56px 0 72px; }

.page-inner h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 28px;
    letter-spacing: .02em;
}

.news-page { position: relative; overflow: hidden; }

.news-page::before {
    content: '';
    position: absolute;
    right: -5%;
    bottom: -10%;
    width: 400px;
    height: 400px;
    background: url('/img/ecu-chip.svg') no-repeat center/contain;
    opacity: .08;
    pointer-events: none;
}

.news-feed { position: relative; z-index: 1; }

.news-feed-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.news-feed-item .ni { width: 36px; height: 36px; color: var(--blue-hi); flex-shrink: 0; margin-top: 4px; }
.news-feed-item .nd { font-size: .7rem; color: var(--text3); font-family: "JetBrains Mono", monospace; }
.news-feed-item h3 { font-size: .92rem; font-weight: 700; margin: 4px 0; }
.news-feed-item p { font-size: .82rem; color: var(--text2); margin: 0; }

.auth-forgot { font-size: .78rem; color: var(--blue-hi); margin-top: 10px; display: inline-block; }
.auth-forgot:hover { color: var(--cyan); }

.license-type { color: var(--blue-hi); font-size: .85rem; }

.dl-count { font-size: .85rem; }


.brand-text b { font-size: .82rem; letter-spacing: .08em; }
.brand-text span.suite { font-size: .82rem; letter-spacing: .08em; color: var(--text2); font-weight: 700; }

/* ═══ MOBILE ═══ */
@media (max-width: 1100px) {
    .hero-grid, .sw-split, .ecu-layout, .dl-layout { grid-template-columns: 1fr; }
    .feat-grid, .stats-bar, .dash-grid4, .price-grid, .tool-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggler { display: block; }
    .nav-menu, .nav-actions { display: none; }
    .nav-menu.open, .nav-actions.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--bg2);
        border-bottom: 1px solid var(--border);
        padding: 16px;
    }
    .nav-inner { flex-wrap: wrap; position: relative; }
    .stats-bar, .feat-grid, .dash-grid4, .price-grid, .auth-split, .contact-grid, .tool-row { grid-template-columns: 1fr; }
    .dash-wrap { grid-template-columns: 1fr; }
    .dash-nav { display: flex; overflow-x: auto; padding: 0; border-right: none; border-bottom: 1px solid var(--border); }
    .dash-nav a { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
    .dash-nav a.on { border-bottom-color: var(--blue); }
    .news-card { grid-template-columns: 1fr; }
    .news-thumb { width: 60px; height: 60px; }
}
