:root {
  /* Brand */
  --navy: #0B1628;
  --blue: #2563EB;
  --blue-bright: #3B82F6;
  --blue-hover: #1D4ED8;
  --cyan: #06B6D4;
  /* Neutrals */
  --white: #FFFFFF;
  --page: #F4F7FB;
  --border: #E4E7EC;
  --text: #101828;
  --muted: #667085;
  /* Status */
  --success: #16A34A;
  --warning: #F59E0B;
  --danger: #DC2626;
  --info: #2563EB;
  /* Shape */
  --r-btn: 10px;
  --r-input: 12px;
  --r-card: 16px;
  --r-panel: 20px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.05);
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 10px 24px rgba(16,24,40,.06);
  --shadow-lg: 0 12px 40px rgba(16,24,40,.12);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans Georgian', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .5px; }
.visually-hidden, .field-error:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font: inherit; font-weight: 600; cursor: pointer;
  padding: 12px 18px; border-radius: var(--r-btn);
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
  text-align: center;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--blue); color: var(--text); }
.btn-ghost { background: transparent; color: var(--text); padding: 8px 12px; }
.btn-ghost:hover { color: var(--blue); }
.btn-lg { padding: 16px 24px; font-size: 17px; }
.btn-sm { padding: 6px 12px; font-size: 14px; }
.btn-block { width: 100%; }
.inline-form { display: inline; }

/* Eyebrow / section intro */
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; letter-spacing: .3px; color: var(--blue); background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.15); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow svg { width: 15px; height: 15px; }
.hero .eyebrow { color: #bfd4ff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.eyebrow-center { display: flex; width: fit-content; margin: 0 auto 14px; }
.section-sub { text-align: center; color: var(--muted); font-size: 17px; max-width: 52ch; margin: -18px auto 36px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); }
.brand-logo { display: block; border-radius: 9px; }
.brand-mark { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: inline-block; }
.brand-name { font-size: 18px; letter-spacing: -.2px; }
.main-nav { display: flex; gap: 4px; margin-left: 14px; flex: 1; }
.main-nav a { color: var(--muted); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; transition: background .15s, color .15s; }
.main-nav a:hover { color: var(--text); background: var(--page); }
.header-actions { display: flex; align-items: center; gap: 6px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 500px at 80% -10%, #16233c 0%, var(--navy) 55%); color: #fff; padding: 72px 0 80px; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(600px 300px at 12% 0%, rgba(59,130,246,.22), transparent 70%),
  radial-gradient(500px 260px at 95% 90%, rgba(6,182,212,.16), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-title { font-size: 46px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.hero-sub { font-size: 18px; color: #c5cede; max-width: 46ch; margin-top: 14px; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 18px 0 0; padding: 0; }
.hero-chips li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: #c5cede; }
.hero-chips svg { width: 16px; height: 16px; color: var(--cyan); }
.hero-actions { margin-top: 20px; }
.vin-form { margin-top: 28px; }
.vin-row { display: flex; gap: 10px; }
.vin-input {
  flex: 1; height: 68px; border-radius: var(--r-input); border: 1px solid transparent;
  padding: 0 18px; font-size: 18px; text-transform: uppercase; background: #fff; color: var(--text);
}
.vin-input::placeholder { text-transform: none; color: #98a2b3; }
.vin-input:focus { outline: 3px solid var(--blue-bright); }
.vin-help { margin: 10px 2px 0; font-size: 14px; color: #98a2b3; }

/* Hero VIN search — unified search-bar look */
.hero .vin-form { margin-top: 32px; max-width: 640px; }
.hero .vin-row {
  gap: 8px; padding: 8px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); border-radius: 18px;
  box-shadow: 0 18px 40px rgba(2,8,23,.45);
  transition: border-color .18s, box-shadow .18s;
}
.hero .vin-row:focus-within {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(59,130,246,.35), 0 18px 40px rgba(2,8,23,.45);
}
.hero .vin-input {
  height: 60px; border-radius: 12px; letter-spacing: 1.5px; font-weight: 600;
  padding-left: 52px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 18px center; background-size: 22px;
}
.hero .vin-input::placeholder { letter-spacing: normal; font-weight: 400; }
.hero .vin-input:focus { outline: none; }
.hero .vin-row .btn-lg { border-radius: 12px; white-space: nowrap; }
.hero .vin-help { color: #aeb9cc; }
.field-error { color: #fecaca; background: rgba(220,38,38,.15); padding: 8px 12px; border-radius: 8px; margin: 10px 0 0; }

/* Hero mock */
.hero-visual { display: flex; justify-content: center; }
.report-mock { background: #fff; color: var(--text); border-radius: var(--r-panel); box-shadow: var(--shadow-lg); padding: 22px; width: 100%; max-width: 380px; transform: rotate(1deg); transition: transform .3s ease; }
.report-mock:hover { transform: rotate(0deg) translateY(-4px); }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mock-title { font-weight: 700; }
.mock-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-card { border: 1px solid var(--border); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.mock-card span { font-size: 13px; color: var(--muted); }
.mock-card strong { font-size: 14px; }
.mock-card.ok { border-left: 3px solid var(--success); }
.mock-card.warn { border-left: 3px solid var(--warning); }
.mock-card.danger { border-left: 3px solid var(--danger); }

.status-pill { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.status-attention { background: rgba(245,158,11,.15); color: #b45309; }

/* Benefits strip */
.benefits { background: #fff; border-bottom: 1px solid var(--border); }
.benefits-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; padding: 26px 20px; }
.benefit { display: flex; align-items: center; gap: 12px; }
.benefit-ic { flex: none; width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(37,99,235,.09); color: var(--blue); }
.benefit-ic svg { width: 21px; height: 21px; }
.benefit strong { display: block; font-size: 15px; color: var(--navy); }
.benefit span { font-size: 13px; color: var(--muted); }

/* Sections */
.section-title { font-size: 34px; text-align: center; margin: 0 0 10px; letter-spacing: -.5px; }
.features, .how { padding: 76px 0; }
.features { background: var(--page); }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 13px; margin-bottom: 16px; }
.feature-ic svg { width: 24px; height: 24px; }
.ic-red { background: rgba(220,38,38,.1); color: var(--danger); }
.ic-blue { background: rgba(37,99,235,.1); color: var(--blue); }
.ic-amber { background: rgba(245,158,11,.14); color: #b45309; }
.ic-cyan { background: rgba(6,182,212,.12); color: #0891b2; }
.ic-green { background: rgba(22,163,74,.1); color: var(--success); }
.ic-violet { background: rgba(124,58,237,.1); color: #7c3aed; }
.feature-card h3 { font-size: 18px; margin: 0 0 6px; }
.feature-card p { color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.step-num { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; margin-bottom: 14px; box-shadow: 0 6px 16px rgba(37,99,235,.28); }
.step h3 { font-size: 18px; margin: 0 0 4px; }
.step p { margin: 0; color: var(--muted); }
.step:not(:last-child):after { content: ''; position: absolute; top: 48px; right: -12px; width: 24px; height: 2px; background: var(--border); }

/* CTA band */
.cta { padding: 20px 0 76px; background: var(--page); }
.cta-inner { position: relative; overflow: hidden; text-align: center; background: radial-gradient(900px 400px at 50% -40%, #16233c, var(--navy)); color: #fff; border-radius: 24px; padding: 56px 24px; box-shadow: var(--shadow-lg); }
.cta-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px 200px at 20% 10%, rgba(59,130,246,.25), transparent 70%), radial-gradient(400px 200px at 85% 90%, rgba(6,182,212,.2), transparent 70%); }
.cta-inner h2 { position: relative; font-size: 30px; margin: 0 0 8px; letter-spacing: -.5px; }
.cta-inner p { position: relative; color: #c5cede; margin: 0 0 22px; font-size: 17px; }
.cta-inner .btn { position: relative; }

/* Footer */
.site-footer { background: var(--navy); color: #aab6cc; padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { max-width: 34ch; margin: 0 0 12px; font-size: 14px; color: #8b98b0; }
.footer-mail { color: #c5cede; font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 14px; margin: 0 0 14px; letter-spacing: .3px; }
.footer-col a { display: block; color: #aab6cc; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; font-size: 13px; }

/* Auth */
.auth-main, .error-main, .process-main, .static-main, .dash-main { padding: 48px 0; background: var(--page); min-height: 60vh; }
.auth-card { max-width: 440px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 32px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 26px; }
.auth-card label { display: block; margin: 0 0 14px; font-weight: 500; font-size: 14px; }
.auth-card input { display: block; width: 100%; margin-top: 6px; height: 46px; border: 1px solid var(--border); border-radius: var(--r-input); padding: 0 14px; font: inherit; }
.auth-card input:focus { outline: 2px solid var(--blue-bright); border-color: var(--blue); }
.optional-fields { margin: 0 0 14px; }
.optional-fields summary { cursor: pointer; color: var(--muted); margin-bottom: 10px; }
.auth-alt { text-align: center; margin-top: 16px; }
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.alert-danger { background: rgba(220,38,38,.1); color: #991b1b; }
.alert-info { background: rgba(37,99,235,.1); color: #1e40af; }
.captcha-row { margin: 0 0 16px; display: flex; justify-content: center; }
.resend-form { margin: 0 0 16px; }
.auth-notice { text-align: center; }
.notice-ic { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: rgba(37,99,235,.1); color: var(--blue); }
.notice-ic svg { width: 28px; height: 28px; }
.auth-notice h1 { font-size: 24px; }
.auth-notice p { margin: 0 0 20px; }

/* Dashboard */
.dash-vin { margin: 20px 0 28px; max-width: 520px; }
.dash-vin .vin-input { height: 52px; border: 1px solid var(--border); }
.report-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
.report-table th, .report-table td { text-align: right; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.report-table thead { background: var(--page); }
.empty-state { background: #fff; border: 1px dashed var(--border); border-radius: var(--r-card); padding: 40px; text-align: center; color: var(--muted); }
.dash-risk { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.dash-risk.ok { background: rgba(22,163,74,.12); color: #15803d; }
.dash-risk.warn { background: rgba(245,158,11,.15); color: #b45309; }
.dash-risk.danger { background: rgba(220,38,38,.12); color: #b91c1c; }
.dash-risk.unknown { background: #f2f4f7; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; margin: 20px 0; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 22px; box-shadow: var(--shadow); text-align: center; }
.product-card h3 { font-size: 18px; }
.product-price { font-size: 26px; font-weight: 800; color: var(--navy); margin: 10px 0 2px; }
.product-credits { color: var(--muted); margin-bottom: 14px; }

/* Marketing pages */
.marketing-main { background: #fff; }
.page-hero { background: var(--navy); color: #fff; padding: 56px 0 44px; }
.page-hero h1 { font-size: 40px; margin: 0; }
.page-intro { font-size: 18px; color: #c5cede; max-width: 60ch; margin-top: 12px; }
.page-body { padding: 44px 0; background: #fff; }
.content-block { max-width: 760px; margin: 0 auto 28px; }
.content-block h2 { font-size: 24px; color: var(--navy); }
.content-block p { color: #344054; font-size: 17px; }
.content-block ul { color: #344054; font-size: 17px; padding-left: 20px; }
.content-block li { margin-bottom: 8px; }
.page-cta { max-width: 760px; margin: 32px auto 0; display: flex; gap: 12px; flex-wrap: wrap; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; background: #fff; }
.faq-item summary { font-weight: 600; cursor: pointer; font-size: 17px; }
.faq-item p { color: var(--muted); margin: 10px 0 0; }
@media (max-width: 700px) { .page-hero h1 { font-size: 30px; } }

/* Error / process */
.error-card, .process-card, .static-card { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); padding: 40px; text-align: center; box-shadow: var(--shadow); }
.error-status { font-size: 56px; font-weight: 800; color: var(--navy); }
.vin-badge { display: inline-block; background: var(--page); padding: 6px 14px; border-radius: 8px; margin: 8px 0 16px; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 52px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 36px; }
  .hero-visual { display: none; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .benefits-inner { grid-template-columns: repeat(2,1fr); gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .step:not(:last-child):after { display: none; }
  .features, .how { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .main-nav { display: none; }
}
@media (max-width: 560px) {
  .vin-row { flex-direction: column; }
  .vin-input { height: 60px; }
  .btn-lg { width: 100%; }
  .hero .vin-input { padding-left: 52px; }
  .benefits-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
