/* VehicleCheck.in — Static Site Styles
   Fonts: Lexend (headings) + Inter (body)
   Palette: Navy + Orange accent */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:       #0c2340;
  --navy-mid:   #163a5f;
  --navy-lt:    #e8eef5;
  --orange:     #e85d04;
  --orange-dk:  #c44d03;
  --orange-lt:  #fff4ed;
  --teal:       #0d9488;
  --dark:       #0f172a;
  --text:       #334155;
  --text-light: #64748b;
  --border:     #e2e8f0;
  --bg:         #f8fafc;
  --white:      #ffffff;
  --pass:       #16a34a;
  --warn:       #d97706;
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow:     0 4px 20px rgba(12,35,64,0.1);
  --shadow-lg:  0 20px 48px rgba(12,35,64,0.15);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
em  { font-style: italic; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 {
  font-family: 'Lexend', 'Inter', sans-serif;
  line-height: 1.2;
  color: var(--dark);
}

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.label.center { display: block; text-align: center; }

.section-heading {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-heading em { color: var(--orange); font-style: normal; }
.section-heading.center { text-align: center; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 52px;
  line-height: 1.75;
}
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-icon { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,93,4,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Header */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: box-shadow var(--transition);
  padding-top: env(safe-area-inset-top);
}
#header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-mark {
  font-family: 'Lexend', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  background: var(--navy);
  color: var(--white);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: -0.5px;
}
.nav-logo-text {
  font-family: 'Lexend', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.nav-logo-tld { color: var(--orange); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--navy); background: var(--navy-lt); }
.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--orange-dk) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active .bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  display: flex;
  align-items: center;
  background: var(--navy);
  padding: 130px 0 90px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-stripe {
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(232,93,4,0.08) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-content { flex: 1; max-width: 580px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 24px;
}
.hero-title em { color: var(--orange); font-style: normal; }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-trust li {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  padding-left: 18px;
  position: relative;
}
.hero-trust li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
}

/* Hero report panel */
.hero-panel {
  flex-shrink: 0;
  width: 320px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(4px);
}
.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-panel-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-panel-status {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(22,163,74,0.2);
  color: #4ade80;
  padding: 4px 12px;
  border-radius: 20px;
}
.hero-panel-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-panel-items li:last-child { border-bottom: none; }
.hero-panel-items .ok {
  font-size: 0.75rem;
  font-weight: 700;
  color: #4ade80;
}
.hero-panel-items .warn {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fbbf24;
}

/* About */
.about { padding: 110px 0; }
.about-grid {
  display: flex;
  align-items: center;
  gap: 80px;
}
.about-content { flex: 1; }
.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.about-stat strong {
  display: block;
  font-family: 'Lexend', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.about-stat span {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.about-visual { flex-shrink: 0; }
.about-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 340px;
  box-shadow: var(--shadow);
}
.about-card-icon {
  width: 56px; height: 56px;
  background: var(--orange-lt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 20px;
}
.about-card-icon svg { width: 28px; height: 28px; }
.about-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.about-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* Services */
.services { padding: 110px 0; background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  grid-row: span 1;
}
.service-card--featured h3 { color: var(--white); }
.service-card--featured p { color: rgba(255,255,255,0.75); }
.service-card--featured .service-list li { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.12); }
.service-card--featured .service-list li::before { background: var(--orange); }
.service-card--featured .service-icon { background: rgba(255,255,255,0.12); color: var(--orange); }

.service-badge {
  position: absolute;
  top: -12px; left: 32px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}

.service-icon {
  width: 48px; height: 48px;
  background: var(--navy-lt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.service-card > p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.65;
}

.service-list li {
  font-size: 0.9rem;
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

/* Process */
.process { padding: 110px 0; background: var(--white); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: none;
}
.process-step {
  padding: 32px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}
.process-step:hover { box-shadow: var(--shadow); }
.process-num {
  display: block;
  font-family: 'Lexend', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy-lt);
  line-height: 1;
  margin-bottom: 16px;
}
.process-step h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* Why Us */
.why-us { padding: 90px 0; background: var(--navy); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-item {
  padding: 28px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}
.why-icon {
  width: 44px; height: 44px;
  background: rgba(232,93,4,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 16px;
}
.why-icon svg { width: 20px; height: 20px; }
.why-item h3 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}
.why-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* Contact */
.contact { padding: 110px 0; background: var(--bg); }
.contact-grid {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.contact-info { flex: 1; }
.contact-info > p {
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.75;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.contact-detail {
  display: block;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-detail:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}
.contact-detail-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 4px;
}
.contact-detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-checklist {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.contact-checklist h3 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--navy);
}
.contact-checklist li {
  font-size: 0.95rem;
  color: var(--text);
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.contact-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* Footer */
.footer { background: var(--dark); color: rgba(255,255,255,0.55); }
.footer-top {
  display: flex;
  gap: 48px;
  padding: 64px 0 48px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { flex: 2 1 240px; }
.footer-links {
  flex: 3 1 400px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-col { flex: 1 1 120px; }
.footer-logo {
  font-family: 'Lexend', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--orange); }
.footer-tagline { font-size: 0.88rem; line-height: 1.65; }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-col ul li { font-size: 0.9rem; margin-bottom: 10px; }
.footer-col ul li a { transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* Error page */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
}
.error-content { text-align: center; }
.error-code {
  font-family: 'Lexend', sans-serif;
  font-size: 6rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
}
.error-content h1 { font-size: 1.8rem; margin-bottom: 12px; }
.error-content p { color: var(--text-light); margin-bottom: 28px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-panel { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 4px;
  }
  .nav-menu.open { display: flex; }
  .nav-link { width: 100%; padding: 14px 16px; }
  .nav-cta { text-align: center; margin-top: 8px; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-inner { flex-direction: column; gap: 40px; }

  .about-grid { flex-direction: column; }
  .about-visual { width: 100%; }
  .about-card { max-width: 100%; }

  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .contact-grid { flex-direction: column; gap: 40px; }
  .section-heading { font-size: 1.8rem; }
  .about-stats { gap: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-links { flex-direction: column; }
}

@supports not (backdrop-filter: blur(1px)) {
  #header { background: var(--white); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .btn:hover, .service-card:hover { transform: none; }
}
