/* Car/Lab — shared visual identity across every platform surface. */
:root { color-scheme: light; --ink: #10243A; --electric: #00A6FF; --surface: #F3F7FB; --line: #DFE8F0; --shadow: 0 12px 40px rgb(16 36 58 / 6%); }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--ink); background: #fff; }
::selection { background: #C9EDFF; color: var(--ink); }
.navbar, .page-header { background: rgb(255 255 255 / 95%); border-bottom: 1px solid var(--line); padding-left: 5%; padding-right: 5%; }
.logo { font-size: 29px; letter-spacing: -1.5px; color: var(--ink); white-space: nowrap; }
.logo span { color: var(--electric); }
.nav-links { gap: 22px; }
.nav-links a, .page-header nav a { color: #52677B; letter-spacing: 0; font-weight: 600; }
.nav-links a:hover, .page-header nav a:hover { color: #0076B8; }
.nav-sell, .button-light, .category-tab.active, .comparison-category-button.active, .pagination button.active { background: var(--electric); color: var(--ink); border-color: var(--electric); }
.button, .nav-sell, .account-link, .nav-favorites, .menu-toggle { border-radius: 12px; letter-spacing: .2px; min-height: 44px; }
.button-light:hover, .nav-sell:hover { background: #008DDB; color: var(--ink); box-shadow: 0 6px 20px rgb(0 166 255 / 20%); }
.button-outline { color: var(--ink); background: #fff; border-color: #CDDCE8; }
.button-outline:hover { background: #EAF7FF; color: #00649D; border-color: var(--electric); }
.nav-favorites, .menu-toggle, .account-link { background: var(--surface); border-color: var(--line); color: var(--ink); }
.hero { min-height: 740px; padding: 90px 6% 145px; background: radial-gradient(ellipse at 85% 30%, #DEF3FF, transparent 55%), linear-gradient(125deg, #fff 25%, #F3F7FB); }
.hero::before { display: none; }
.hero-overlay { background: none; }
.hero-content { width: 49%; max-width: 660px; }
.hero-tag { display: inline-block; padding: 8px 13px; border-radius: 30px; background: #E8F6FF; color: #00649D; letter-spacing: 1.5px; font-size: 11px; }
.hero h1 { font-size: clamp(42px, 4.5vw, 72px); line-height: 1.08; letter-spacing: -3px; font-weight: 800; margin-bottom: 24px; }
.hero h1 span { color: #0076B8; }
.hero p { color: #52677B; font-size: 17px; max-width: 480px; margin-bottom: 28px; }
.hero-visual { position: absolute; width: 48%; right: 2%; top: 95px; height: 425px; display: flex; align-items: center; justify-content: center; }
.hero-orbit { position: absolute; width: 85%; aspect-ratio: 1; border: 1px solid #CAE9FB; border-radius: 50%; background: radial-gradient(circle, #DDF2FF, #EBF7FF 60%, transparent 61%); }
.hero-visual img { position: relative; width: 100%; max-height: 360px; object-fit: contain; filter: drop-shadow(0 24px 16px rgb(16 36 58 / 12%)); border-radius: 24px; }
.hero-visual-caption { position: absolute; bottom: -25px; right: 12%; padding: 18px 24px; background: rgb(255 255 255 / 94%); border: 1px solid #E0EDF5; border-radius: 16px; box-shadow: var(--shadow); }
.hero-visual-caption span { display: block; color: #0076B8; font-size: 10px; letter-spacing: 1.5px; margin-bottom: 4px; }
.hero-search { position: relative; z-index: 3; padding: 18px; margin-bottom: 22px; border: 1px solid var(--line); background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.hero-search label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
.hero-search > div { display: flex; gap: 8px; }
.hero-search input { min-width: 0; flex: 1; background: var(--surface); border: 1px solid var(--line); padding: 13px; border-radius: 10px; color: var(--ink); font-size: 13px; }
.hero-search button { gap: 14px; flex-shrink: 0; padding: 12px 16px; }
.hero-buttons { flex-wrap: wrap; }
.hero-stats { bottom: 35px; left: 6%; right: 6%; padding-top: 24px; border-top: 1px solid #DCE8F0; gap: 60px; }
.hero-stats strong { font-size: 26px; }
.hero-stats span { color: #52677B; }
.section { padding: 56px 6%; scroll-margin-top: 90px; }
.section-dark { background: var(--surface); }
.section-heading h2 { font-size: clamp(27px, 3vw, 42px); letter-spacing: -1.2px; }
.eyebrow { color: #0076B8; letter-spacing: 2px; }
.category-tabs, .comparison-category { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 5px; }
.category-tab, .comparison-category-button { border-radius: 10px; color: #52677B; letter-spacing: .3px; }
.category-tab:hover, .comparison-category-button:hover { color: var(--ink); }
.search-box input, .filter-group select, .market-tools input, .market-tools select, .compare-field select, .advanced-filters input, .panel input, .panel select, .panel textarea, .form-field input, .form-field select, .form-field textarea { background: #fff; border: 1px solid #CDDCE8; color: var(--ink); border-radius: 11px; min-height: 46px; }
input::placeholder, textarea::placeholder { color: #61778B; opacity: 1; }
.search-box input { padding-right: 115px; }
.catalog-search-button { position: absolute; right: 7px; top: 7px; bottom: 7px; padding: 8px 16px; }
.filters { background: var(--surface); padding: 22px; border-radius: 18px; border: 1px solid var(--line); }
.car-card, .marketplace-card, .learn-card, .panel, .comparison-car, .comparison-table, .publish-panel { border: 1px solid var(--line); background: #fff; border-radius: 20px; box-shadow: var(--shadow); }
.car-card, .marketplace-card, .learn-card { transition: transform .25s ease, box-shadow .25s ease; }
.car-card:hover, .marketplace-card:hover, .learn-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgb(16 36 58 / 12%); border-color: #B5DEF5; }
.car-image-wrapper, .car-card .car-image, .marketplace-image, .gallery-main, .modal-image { background: var(--surface); }
.car-card .car-name { font-size: 23px; letter-spacing: -.5px; color: var(--ink); }
.car-card .car-spec strong, .comparison-table td { color: var(--ink); }
.footer-bottom { color: #52677B; }
.car-card .car-category { background: rgb(255 255 255 / 95%); color: var(--ink); border-color: var(--line); border-radius: 7px; }
.car-card .car-favorite { background: #fff; color: #52677B; border-color: var(--line); box-shadow: 0 3px 12px rgb(16 36 58 / 8%); }
.car-card .car-favorite.active, .car-card .car-favorite:hover { background: var(--electric); color: var(--ink); }
.car-card .car-price, .marketplace-content strong { color: var(--ink); }
.car-card .car-action { background: #EAF7FF; color: #00649D; border-color: #CEEAFB; border-radius: 10px; }
.car-card .car-action:hover { background: var(--electric); color: var(--ink); }
.car-spec, .modal-spec, .spec-list div { border-radius: 10px; }
.modal-overlay { background: rgb(16 36 58 / 65%); backdrop-filter: blur(7px); }
.modal-content { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 100px rgb(16 36 58 / 25%); }
.close-button, .modal-close { color: var(--ink); }
.page-main { padding-top: 45px; }
body[data-page] { background: var(--surface); }
.page-header { min-height: 80px; }
.panel { padding: 28px; }
.panel h2 { font-size: 22px; letter-spacing: -.4px; }
.panel label, .form-field label { color: #52677B; }
.status-tag { background: #EAF7FF; color: #00649D; border-color: #CEEAFB; border-radius: 30px; }
.gallery-main { border-radius: 22px; border: 1px solid var(--line); }
.app-notice { background: #E6F6EE; color: #185738; border-bottom: 1px solid #BFE4CF; }
.app-notice.error { background: #FFF0EE; color: #922B20; border-color: #F2CDC7; }
.button-danger { background: #A62A1A; color: #fff; border-radius: 10px; min-height: 44px; }
footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-links a:hover { color: #0076B8; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #0076B8; outline-offset: 3px; }
@media (min-width: 901px) and (max-width: 1150px) { .nav-links { gap: 12px; }.navbar { padding: 0 3%; }.nav-right { gap: 7px; }.nav-sell { padding: 12px; }.hero-content { width: 53%; }.hero-search > div { flex-wrap: wrap; }.hero-search input { flex-basis: 100%; } }
@media (max-width: 900px) { .hero { padding: 55px 5% 35px; min-height: auto; }.hero-content { width: 100%; max-width: 650px; }.hero h1 { font-size: clamp(42px, 7vw, 64px); }.hero-visual { position: relative; top: auto; right: auto; width: 100%; height: 340px; order: 2; margin: 25px 0 40px; }.hero-visual img { max-width: 580px; max-height: 300px; }.hero-orbit { width: 320px; }.hero-visual-caption { bottom: 0; right: 5%; }.hero-stats { position: relative; left: auto; right: auto; bottom: auto; order: 3; margin-top: 0; }.navbar { padding-top: 12px; padding-bottom: 12px; }.nav-links.open { gap: 18px; } }
@media (max-width: 650px) { .hero { padding: 40px 20px 28px; }.hero h1 { font-size: 43px; letter-spacing: -2px; }.hero-search > div { flex-direction: column; }.hero-search button { width: 100%; }.hero-visual { height: 250px; margin-bottom: 30px; }.hero-visual img { max-height: 220px; }.hero-orbit { width: 230px; }.hero-visual-caption { padding: 12px 18px; font-size: 13px; }.hero-stats { gap: 12px; }.section { padding: 55px 20px; }.filters { padding: 16px; }.panel { padding: 18px; }.page-header nav { gap: 12px; font-size: 13px; }.hero-tag { letter-spacing: .8px; font-size: 10px; }.category-tab { padding: 12px 9px; font-size: 10px; }.comparison-category-button { padding: 12px 8px; font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
