:root {
    --blue: #0866ff;
    --blue-2: #0052d9;
    --ink: #0c1b33;
    --muted: #64748b;
    --line: #dbe7fb;
    --soft: #f4f9ff;
    --green: #18b866;
    --red: #ef4444;
    --shadow: 0 14px 36px rgba(14, 72, 143, .10);
    --radius: 8px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    letter-spacing: 0;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

main,
section,
.container,
.hero-grid,
.two-col,
.soft-panel,
.sample-card,
.review-card,
.top-search-card,
.user-comments-card,
.faq-card,
.news-panel,
.updates-slider {
    max-width: 100%;
    min-width: 0;
}

.topbar {
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e8f0fb;
}

.nav {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
}

.brand-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--blue);
    border-radius: 7px;
    font-size: 24px;
    flex: 0 0 auto;
}

.brand strong {
    display: block;
    color: var(--blue);
    font-size: 18px;
    line-height: 1;
}

.brand span span {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    flex: 1;
    font-size: 14px;
    color: #17365f;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--blue);
    font-weight: 700;
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
    height: 36px;
    padding: 0 18px;
    border-radius: 6px;
    border: 1px solid #bcd2f4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    background: #fff;
    color: var(--blue);
    white-space: nowrap;
}

.btn.primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: 0 10px 24px rgba(8,102,255,.22);
}

.btn.is-loading {
    pointer-events: none;
    opacity: .86;
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.48);
    border-top-color: #fff;
    border-radius: 999px;
    animation: spin .8s linear infinite;
}

.hero {
    background:
        radial-gradient(circle at 68% 18%, rgba(114,195,255,.38), transparent 28%),
        linear-gradient(180deg, #f2f8ff 0%, #ffffff 100%);
    border-bottom: 1px solid #eaf2fd;
}

.hero-grid {
    min-height: 382px;
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    gap: 30px;
    align-items: center;
    padding: 44px 0 28px;
}

.eyebrow-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin: 26px 0 18px;
    color: #526681;
    font-size: 13px;
}

.eyebrow-row span { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow-row i { color: var(--blue); font-size: 18px; }

h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.18;
    max-width: 680px;
}

.lead {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
    max-width: 560px;
    margin: 18px 0 0;
}

.search-box {
    margin-top: 24px;
    max-width: 570px;
    background: #fff;
    border: 1px solid #cfe0f8;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 158px;
    gap: 10px;
}

.search-box input {
    border: 0;
    outline: 0;
    min-width: 0;
    padding: 0 14px;
    font-size: 15px;
    color: var(--ink);
}

.search-box button { height: 46px; border-radius: 7px; width: 100%; }
.hint { margin-top: 10px; font-size: 13px; color: #8493a8; }

.trust {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    color: #24364f;
    font-size: 14px;
}

.faces { display: flex; }

.face {
    width: 28px;
    height: 28px;
    border: 2px solid #fff;
    border-radius: 999px;
    margin-left: -7px;
    background: linear-gradient(135deg, #c7d2fe, #fbcfe8);
}

.face:first-child { margin-left: 0; }
.stars { color: #f5b400; letter-spacing: 1px; }
.hero-visual { position: relative; min-height: 320px; }

.car-img {
    position: absolute;
    left: 4%;
    bottom: 34px;
    width: 70%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    filter: drop-shadow(0 24px 34px rgba(20,57,96,.20));
}

.report-card {
    position: absolute;
    right: 0;
    top: 8px;
    width: 238px;
    background: #fff;
    border: 12px solid #b9dcfb;
    border-radius: 12px;
    padding: 18px 18px 20px;
    box-shadow: 0 28px 48px rgba(8,77,153,.20);
    transform: rotate(4deg);
}

.report-card h3 { margin: 0 0 14px; text-align: center; font-size: 14px; }

.report-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #edf2f8;
    font-size: 13px;
}

.report-row strong { font-weight: 800; }
.report-ok { color: var(--green); }
.report-bad { color: var(--red); }

.score {
    width: 92px;
    height: 92px;
    margin: 20px auto 6px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: conic-gradient(var(--blue) 82%, #e7f0fb 0);
}

.score div {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: #fff;
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 900;
    color: #103660;
}

.score small { display: block; font-size: 11px; font-weight: 600; color: #64748b; }
.section { padding: 28px 0; }

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.section-title h2 { margin: 0; font-size: 21px; }
.section-title a { color: var(--blue); font-size: 13px; font-weight: 700; }

.stats {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.stat {
    background: #fff;
    border: 1px solid #e4edf8;
    border-radius: var(--radius);
    box-shadow: 0 8px 22px rgba(16,56,105,.06);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
}

.icon-pill {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--blue);
    background: #eaf3ff;
    font-size: 22px;
    flex: 0 0 auto;
}

.stat:nth-child(2) .icon-pill { color: #0faa60; background: #e7f9ef; }
.stat:nth-child(3) .icon-pill { color: #e99800; background: #fff5df; }
.stat:nth-child(4) .icon-pill { color: #8b5cf6; background: #f1eaff; }
.stat strong { display: block; color: var(--blue); font-size: 24px; }
.stat span { color: #526681; font-size: 13px; }

.updates-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.updates-track {
    display: flex;
    gap: 16px;
    transition: transform .42s ease;
    will-change: transform;
}

.updates-track .mini-card {
    flex: 0 0 calc((100% - 64px) / 5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 38px;
    height: 38px;
    border: 1px solid #d9e7fb;
    border-radius: 999px;
    background: #fff;
    color: var(--blue);
    box-shadow: 0 10px 24px rgba(14,72,143,.12);
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    cursor: pointer;
}

.slider-btn.prev { left: 4px; }
.slider-btn.next { right: 4px; }

.mini-card {
    border: 1px solid #e2ebf7;
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: 0 8px 22px rgba(16,56,105,.06);
    background: #fff;
}

.mini-top { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }

.mini-card img,
.mini-video {
    width: 72px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    background: #0f172a;
}

.mini-video { display: grid; place-items: center; color: #fff; font-size: 24px; }
.mini-card strong { font-size: 15px; display: block; }

.tag {
    margin: 6px 0;
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    color: #e11d48;
    background: #ffe8ed;
}

.tag.ok { color: #0c8d50; background: #e7f9ef; }
.mini-card small { color: #66788f; display: block; }

.outline-btn {
    margin-top: 10px;
    height: 30px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #74a7ff;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
}

.soft-panel {
    background: #fbfdff;
    border: 1px solid #edf3fb;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; align-items: stretch; }

.step {
    position: relative;
    background: #fff;
    border: 1px solid #e3edf8;
    border-radius: var(--radius);
    padding: 24px 22px;
    min-height: 122px;
    box-shadow: 0 8px 20px rgba(16,56,105,.05);
}

.step-number {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #eaf3ff;
    border: 1px solid #9bc3ff;
    color: var(--blue);
    font-weight: 900;
    font-size: 13px;
}

.step i { color: var(--blue); font-size: 34px; float: left; margin-right: 14px; }
.step strong { display: block; margin-bottom: 8px; }
.step p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.5; }
.sources { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }

.source {
    background: #fff;
    border: 1px solid #e3edf8;
    border-radius: var(--radius);
    padding: 18px 10px;
    text-align: center;
    font-weight: 800;
    font-size: 13px;
    color: #213756;
}

.source i { display: block; color: var(--blue); font-size: 28px; margin-bottom: 10px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.sample-card,
.review-card,
.top-search-card,
.user-comments-card,
.faq-card,
.news-panel {
    background: #fff;
    border: 1px solid #e2ebf7;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
}

.sample-main {
    display: grid;
    grid-template-columns: 1fr 160px 104px;
    gap: 14px;
    align-items: center;
    border-bottom: 1px solid #edf3fb;
    padding-bottom: 14px;
}

.sample-main h3 { margin: 0 0 8px; font-size: 26px; }
.sample-main p { margin: 4px 0; color: #64748b; font-size: 13px; }
.sample-car { height: 72px; object-fit: cover; border-radius: 7px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin-top: 12px; }

.check-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #edf3fb;
    padding: 10px 0;
    font-size: 13px;
}

.check-item i { margin-right: 8px; color: var(--green); }
.check-item .danger { color: var(--red); }

.big-blue {
    margin-top: 14px;
    width: 180px;
    height: 42px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: var(--blue);
    font-weight: 800;
}

.review { display: grid; grid-template-columns: 50px 1fr; gap: 14px; margin-bottom: 18px; }

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: linear-gradient(135deg, #93c5fd, #f0abfc);
}

.review strong { display: block; font-size: 14px; }
.review p { margin: 5px 0 0; color: #64748b; font-size: 13px; line-height: 1.45; }

.top-search-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.top-search-item {
    min-height: 48px;
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #e7effa;
    border-radius: 7px;
    background: #fbfdff;
    color: var(--ink);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.top-search-item:hover {
    border-color: #9cc3ff;
    box-shadow: 0 10px 22px rgba(14,72,143,.08);
    transform: translateY(-1px);
}

.rank {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #eaf3ff;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
}

.plate-name {
    color: #0c1b33;
    font-weight: 900;
    letter-spacing: .2px;
}

.search-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
    white-space: nowrap;
}

.search-count i { color: var(--blue); }

.user-comments-card {
    display: grid;
    align-content: start;
    gap: 0;
}

.user-comment {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #edf3fb;
    color: var(--ink);
}

.user-comment:last-child { border-bottom: 0; }

.user-comment strong {
    display: inline-block;
    margin-right: 8px;
    font-size: 14px;
}

.comment-plate {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 5px;
    background: #eaf3ff;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    vertical-align: middle;
}

.user-comment p {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.48;
}

.faq-list { margin-top: 12px; }

.faq-item {
    border-bottom: 1px solid #edf3fb;
}

.faq-item:last-child { border-bottom: 0; }

.faq-question {
    width: 100%;
    min-height: 46px;
    padding: 12px 0;
    border: 0;
    background: transparent;
    color: #17365f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font: inherit;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.faq-question i {
    color: #51657f;
    transition: transform .2s ease;
    flex: 0 0 auto;
}

.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
}

.faq-answer p {
    margin: 0;
    padding: 0 0 14px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.news-card {
    overflow: hidden;
    border: 1px solid #e2ebf7;
    border-radius: var(--radius);
    background: #fff;
}

.news-card img { width: 100%; height: 116px; object-fit: cover; }
.news-card div { padding: 12px; }
.news-card strong { display: block; font-size: 13px; line-height: 1.45; }
.news-card small { display: block; color: #64748b; margin-top: 10px; }

.cta {
    margin-top: 8px;
    background: linear-gradient(135deg, #0866ff, #004ec5);
    color: #fff;
    border-radius: var(--radius);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cta-left { display: flex; align-items: center; gap: 18px; }

.cta-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255,255,255,.14);
    font-size: 30px;
    flex: 0 0 auto;
}

.cta h3 { margin: 0 0 6px; font-size: 20px; }
.cta p { margin: 0; opacity: .85; font-size: 13px; }
.store { display: flex; gap: 10px; }

.store span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    border-radius: 5px;
    background: #061121;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.footer { background: #031f39; color: #c9d7e8; padding: 34px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer h4 { margin: 0 0 12px; color: #fff; font-size: 15px; }
.footer p, .footer a { color: #c9d7e8; font-size: 13px; line-height: 1.8; }
.footer a { display: block; }
.socials { display: flex; gap: 10px; margin-top: 14px; }

.socials i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
}

.copyright { margin-top: 24px; text-align: center; font-size: 12px; color: #98abc2; }
#resultContainer { scroll-margin-top: 86px; margin-top: 18px; }

.result-shell {
    background: #fff;
    border: 1px solid #dbe7fb;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
}

.lookup-loading {
    display: grid;
    gap: 16px;
}

.lookup-loading-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.lookup-loading-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--blue);
}

.lookup-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #dbeafe;
    border-top-color: var(--blue);
    border-radius: 999px;
    animation: spin .8s linear infinite;
}

.lookup-loading-note {
    color: #64748b;
    font-size: 13px;
}

.lookup-loading-grid {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 16px;
}

.skeleton {
    position: relative;
    overflow: hidden;
    border-radius: 7px;
    background: #eef5ff;
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.78), transparent);
    animation: shimmer 1.15s infinite;
}

.skeleton.image { height: 120px; }
.skeleton.line { height: 14px; margin-bottom: 12px; }
.skeleton.line.wide { width: 92%; }
.skeleton.line.mid { width: 72%; }
.skeleton.line.short { width: 48%; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

@media (max-width: 1024px) {
    .nav-links { gap: 18px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 280px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .updates-track .mini-card { flex-basis: calc((100% - 16px) / 2); }
    .sources { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 24px, 1120px); }
    .topbar, .nav { height: auto; }
    .nav { padding: 12px 0; flex-wrap: wrap; gap: 12px; }
    .brand { min-width: auto; }
    .brand strong { font-size: 16px; }
    .brand span span { font-size: 11px; }
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 18px;
        padding: 4px 0 6px;
        scrollbar-width: none;
    }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-actions { margin-left: auto; }
    .nav-actions .btn { height: 34px; padding: 0 12px; font-size: 12px; }
    .hero { background: linear-gradient(180deg, #f2f8ff 0%, #fff 100%); }
    .hero-grid { min-height: auto; padding: 28px 0 20px; }
    h1 { font-size: 30px; line-height: 1.22; }
    .lead { font-size: 15px; }
    .eyebrow-row { gap: 10px; margin: 18px 0 14px; }
    .eyebrow-row span { width: 100%; }
    .hero-visual { display: none; }
    .search-box { grid-template-columns: 1fr; padding: 8px; }
    .search-box input { height: 44px; padding: 0 10px; }
    .trust { gap: 10px; }
    .section { padding: 20px 0; }
    .section-title h2 { font-size: 19px; }
    .stats, .steps, .sources, .news-grid { grid-template-columns: 1fr; }
    .stat { padding: 14px; }
    .stat strong { font-size: 21px; }
    .updates-slider {
        overflow: hidden;
        padding-bottom: 46px;
    }
    .updates-track { gap: 0; }
    .updates-track .mini-card { flex-basis: 100%; }
    .slider-btn {
        width: 34px;
        height: 34px;
        top: auto;
        bottom: 2px;
        transform: none;
    }
    .slider-btn.prev { left: calc(50% - 42px); }
    .slider-btn.next { right: calc(50% - 42px); }
    .mini-top { grid-template-columns: 78px 1fr; }
    .mini-card img, .mini-video { width: 78px; height: 68px; }
    .soft-panel { padding: 18px 14px; }
    .step { min-height: auto; padding: 24px 16px 18px; }
    .source { padding: 16px 10px; }
    .sample-main { grid-template-columns: 1fr; }
    .check-grid { grid-template-columns: 1fr; }
    .faq-card, .news-panel, .sample-card, .review-card, .top-search-card, .user-comments-card { padding: 18px; }
    .top-search-item {
        grid-template-columns: 34px 1fr;
        gap: 10px;
        min-height: 58px;
        padding: 11px 12px;
    }
    .plate-name {
        font-size: 15px;
        line-height: 1.2;
    }
    .search-count {
        grid-column: 2;
        justify-self: start;
        font-size: 12px;
    }
    .user-comment {
        grid-template-columns: 42px 1fr;
        gap: 12px;
        padding: 12px 0;
    }
    .user-comment .avatar {
        width: 42px;
        height: 42px;
    }
    .user-comment strong {
        display: block;
        margin: 0 0 6px;
    }
    .comment-plate {
        margin-bottom: 2px;
    }
    .faq-question { font-size: 14px; align-items: flex-start; }
    .lookup-loading-grid { grid-template-columns: 1fr; }
    .skeleton.image { height: 150px; }
    .lookup-loading-head { align-items: flex-start; }
    .lookup-loading-title { align-items: flex-start; }
    .cta { align-items: flex-start; flex-direction: column; padding: 20px; }
    .cta-left { align-items: flex-start; }
    .store { flex-wrap: wrap; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
    .container { width: min(100% - 20px, 1120px); }
    .nav-actions .btn:first-child { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
}
