:root {
    --bg: #0f1113;
    --surface: #171b21;
    --surface-2: #1d232c;
    --line: #2b313a;
    --line-soft: #222933;
    --text: #e9edf2;
    --text-soft: #a9b2bf;
    --muted: #7f8a99;
    --accent: #FFC107;
    --accent-dark: #121417;
    --max: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.58;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body[dir="rtl"] {
    text-align: right;
}

a {
    color: inherit;
}

.wrap {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.top-hook,
.bottom-hook {
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.bottom-hook {
    border-top: 1px solid var(--line-soft);
    border-bottom: none;
    margin-top: 24px;
}

.hook-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.hook-text {
    max-width: 840px;
}

.hook-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 5px;
    font-weight: 700;
}

.hook-warning {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.hook-note {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-soft);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(255, 193, 7, 0.22);
}

.cta-btn.secondary {
    background: #232a34;
    color: var(--text);
    border: 1px solid var(--line);
    box-shadow: none;
}

.hero {
    padding: 22px 0 14px;
}

h1 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    font-weight: 900;
}

.hero-sub {
    font-size: 15px;
    color: var(--text-soft);
    max-width: 980px;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    color: var(--text-soft);
    font-size: 13px;
}

.stat-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,0.02);
}

.section-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-top: 16px;
    margin-bottom: 12px;
}

.grid-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.link-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 14px;
    text-decoration: none;
    transition: 0.2s ease;
}

.link-card:hover {
    border-color: var(--accent);
}

.link-card strong {
    display: block;
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 6px;
    color: var(--text);
}

.link-card span {
    display: block;
    font-size: 13px;
    color: var(--text-soft);
}

.directory-caption {
    margin-top: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-soft);
}

.oem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.table-shell {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface);
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

thead th {
    text-align: left;
    padding: 13px 14px;
    background: var(--surface-2);
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.3px;
    border-bottom: 1px solid var(--line);
}

body[dir="rtl"] thead th {
    text-align: right;
}

tbody tr:nth-child(odd) {
    background: #101419;
}

tbody tr:nth-child(even) {
    background: #121821;
}

tbody td {
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text);
    border-bottom: 1px solid var(--line-soft);
    word-break: break-word;
    vertical-align: top;
    font-weight: 700;
    letter-spacing: 0.15px;
}

tbody tr:last-child td {
    border-bottom: none;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.2;
}

.page-label {
    color: var(--text-soft);
    font-weight: 700;
}

.pagination a {
    color: var(--text-soft);
    text-decoration: none;
    font-weight: 800;
}

.pagination strong {
    color: var(--accent);
    font-weight: 900;
}

.pagination .sep {
    color: #5f6978;
}

.meta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
    font-size: 14px;
}

.meta-links a {
    color: var(--text-soft);
    text-decoration: none;
    font-weight: 700;
}

.info-box {
    margin-top: 18px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.info-box p + p {
    margin-top: 10px;
}

@media (max-width: 980px) {
    .grid-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .oem-grid {
        grid-template-columns: 1fr;
    }

    .cta-btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .grid-links {
        grid-template-columns: 1fr;
    }
}