/*
Theme Name: MyVinTrust
Theme URI: https://myvintrust.com
Author: MyVinTrust
Description: Vehicle history report landing page — decode the VIN, know before you buy.
Version: 1.0
*/

:root{
  --ink: #0F172A;
  --steel: #475569;
  --steel-light: #64748B;
  --concrete: #F8FAFC;
  --concrete-dim: #EEF2F7;
  --plate: #E2E8F0;
  --plate-dark: #94A3B8;
  --amber: #F59E0B;
  --amber-dark: #D97706;
  --teal: #2563EB;
  --teal-dark: #1D4ED8;
  --green: #16A34A;
  --alert: #DC2626;
  --white: #FFFFFF;

  --display: 'Inter', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }

h1,h2,h3,h4{
  font-family: var(--display);
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  color: var(--ink);
  font-weight: 700;
}

.container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top bar ---------- */
.topbar{
  background: var(--ink);
  color: var(--concrete);
  padding: 10px 0;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.topbar .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar span{ opacity: 0.75; }
.topbar strong{ color: var(--amber); font-weight: 600; }

/* ---------- Header ---------- */
header.site-header{
  background: var(--white);
  border-bottom: 3px solid var(--ink);
  padding: 20px 0;
}
header.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-nav{
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.site-nav a{
  font-size: 14px;
  font-weight: 500;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-nav a:hover{ color: var(--ink); }
@media (max-width: 780px){ .site-nav{ display: none; } }
.site-logo-img{
  height: 44px;
  width: auto;
  display: block;
}
.header-cta{
  background: var(--ink);
  color: var(--white);
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
  padding: 11px 22px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.header-cta:hover{ background: var(--teal-dark); }

/* ---------- Hero (dark navy, centered) ---------- */
.hero{
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.hero .container{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.hero-copy{
  text-align: center;
  max-width: 720px;
}
.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--plate);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 24px;
}
.hero-badge svg{ width: 14px; height: 14px; flex-shrink: 0; }
.hero-eyebrow{
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(37,99,235,0.14);
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 18px;
}
.hero h1{
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--white);
}
.hero h1 em{
  font-style: normal;
  color: #5B9CFF;
}
.hero p.lead{
  font-size: 18px;
  color: var(--plate);
  max-width: 58ch;
  margin: 0 auto;
}
.hero .order-card-wrap{
  width: 100%;
  max-width: 640px;
}

/* ---------- VIN Plate (signature element) ---------- */
.vin-plate-wrap{
  perspective: 1000px;
}
.vin-plate{
  background: linear-gradient(155deg, var(--plate) 0%, var(--plate-dark) 100%);
  border-radius: 6px;
  padding: 28px 26px 26px;
  box-shadow: 0 18px 40px rgba(27,31,35,0.25), inset 0 0 0 2px rgba(255,255,255,0.35);
  position: relative;
}
.vin-plate::before, .vin-plate::after,
.vin-plate .rivet-tl, .vin-plate .rivet-tr, .vin-plate .rivet-bl, .vin-plate .rivet-br{
  content: '';
  position: absolute;
  width: 11px; height: 11px;
  background: radial-gradient(circle at 35% 30%, #fff, var(--steel-light) 70%);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.vin-plate .rivet-tl{ top: 12px; left: 12px; }
.vin-plate .rivet-tr{ top: 12px; right: 12px; }
.vin-plate .rivet-bl{ bottom: 12px; left: 12px; }
.vin-plate .rivet-br{ bottom: 12px; right: 12px; }

.vin-plate-label{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.6;
  margin-bottom: 10px;
}
.vin-input-row{
  display: flex;
  gap: 10px;
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 6px;
}
.vin-input-row input{
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--mono);
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 12px;
  color: var(--ink);
  min-width: 0;
}
.vin-input-row input:focus{ outline: 2px solid var(--teal); outline-offset: -2px; }
.vin-input-row input::placeholder{ color: var(--plate-dark); letter-spacing: 0.08em; }
.vin-decode-btn{
  background: var(--amber);
  color: var(--ink);
  border: none;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  font-weight: 600;
  padding: 0 22px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}
.vin-decode-btn:hover{ background: var(--amber-dark); }
.vin-decode-btn:active{ transform: scale(0.98); }
.vin-decode-btn:focus-visible{ outline: 2px solid var(--ink); outline-offset: 2px; }

.vin-hint{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  margin-top: 12px;
}
.vin-hint strong{ color: var(--ink); }

/* Decode reveal drawer */
.vin-drawer{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(.4,0,.2,1);
  background: var(--white);
  border: 2px solid var(--ink);
  border-top: none;
  margin-top: -6px;
}
.vin-drawer.open{ max-height: 340px; }
.vin-drawer-inner{ padding: 18px 20px; }
.vin-drawer-inner p{ font-family: var(--mono); font-size: 13px; color: var(--steel); margin: 0 0 12px; }
.drawer-rows{ display: grid; gap: 8px; }
.drawer-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 13px;
  padding: 8px 10px;
  background: var(--concrete);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.vin-drawer.open .drawer-row{ opacity: 1; transform: translateY(0); }
.vin-drawer.open .drawer-row:nth-child(1){ transition-delay: 0.05s; }
.vin-drawer.open .drawer-row:nth-child(2){ transition-delay: 0.15s; }
.vin-drawer.open .drawer-row:nth-child(3){ transition-delay: 0.25s; }
.vin-drawer.open .drawer-row:nth-child(4){ transition-delay: 0.35s; }
.status-ok{ color: var(--teal-dark); font-weight: 600; }
.status-lock{ color: var(--steel-light); }

/* ---------- Order Card (replaces VIN plate) ---------- */
.order-card{
  background: var(--white);
  border-radius: 10px;
  padding: 32px 32px 30px;
  box-shadow: 0 20px 50px rgba(27,31,35,0.14);
}
.order-eyebrow{
  font-family: var(--body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 10px;
}
.order-price{
  font-family: var(--display);
  font-size: 44px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
  line-height: 1;
}
.order-price .unit{
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  color: var(--steel);
  text-transform: none;
  letter-spacing: 0;
  margin-left: 4px;
}
.order-field-label{
  font-family: var(--body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.vin-inputs-wrap{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}
.vin-input-row-multi{
  position: relative;
}
.vin-input-row-multi .vin-num-tag{
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  background: rgba(245,166,35,0.12);
  padding: 2px 7px;
  border-radius: 3px;
  pointer-events: none;
}
.vin-input-row-multi .order-vin-input.multi{
  padding-left: 54px;
}
.order-vin-input{
  width: 100%;
  background: var(--ink);
  border: none;
  border-radius: 6px;
  padding: 16px 16px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--amber);
  text-transform: uppercase;
}
.order-vin-input::placeholder{ color: rgba(245,166,35,0.45); }
.order-vin-input:focus{ outline: 2px solid var(--teal); }
.order-hint{
  font-size: 13px;
  color: var(--steel-light);
  margin: 8px 0 22px;
}
.order-email-input{
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--plate-dark);
  border-radius: 6px;
  padding: 15px 16px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
}
.order-email-input:focus{ outline: 2px solid var(--teal); border-color: var(--teal); }
.order-field-error{
  display: none;
  color: var(--alert);
  font-size: 12.5px;
  margin-top: 6px;
}
.order-btn{
  width: 100%;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  padding: 17px;
  margin-top: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s ease;
}
.order-btn:hover{ background: var(--teal-dark); }
.order-footnote{
  text-align: center;
  font-size: 12px;
  color: var(--plate-dark);
  margin-top: 14px;
}
.trust-badges-row{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--concrete-dim);
}
.trust-badge{
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  color: var(--steel);
  background: var(--concrete);
  padding: 6px 11px;
  border-radius: 20px;
}
.trust-badge svg{ width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- Trust bar ---------- */
.trustbar{
  background: var(--ink);
  padding: 22px 0;
}
.trustbar .container{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  color: var(--concrete);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
}
.trustbar .item{ display: flex; align-items: center; gap: 8px; }
.trustbar .dot{ width: 6px; height: 6px; background: var(--amber); border-radius: 50%; flex-shrink: 0; }

.stats-strip{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px 0 48px;
  border-bottom: 1px solid var(--concrete-dim);
  margin-bottom: 48px;
}
@media (max-width: 640px){ .stats-strip{ grid-template-columns: repeat(2, 1fr); } }
.stat-item{ text-align: center; }
.stat-num{
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.1;
}
.stat-label{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Section shared ---------- */
section{ padding: 84px 0; }
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-eyebrow{
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
  display: block;
}
.section-head h2{ font-size: clamp(28px,3.5vw,38px); }
.section-head p{ color: var(--steel); font-size: 16px; margin: 10px 0 0; }

.how-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 780px){ .how-grid{ grid-template-columns: 1fr; } }
.how-step{ text-align: center; }
.how-num{
  font-family: var(--display);
  font-size: 40px;
  font-weight: 800;
  color: var(--plate-dark);
  margin-bottom: 10px;
}
.how-step h3{ font-size: 18px; margin-bottom: 8px; }
.how-step p{ font-size: 14.5px; color: var(--steel); }

/* ---------- What's in the report ---------- */
.report-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}
@media (max-width: 780px){ .report-grid{ grid-template-columns: 1fr; } }
.report-item{
  background: var(--white);
  padding: 30px 26px;
}
.report-item .num{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--plate-dark);
  margin-bottom: 14px;
}
.report-item h3{ font-size: 18px; margin-bottom: 8px; }
.report-item p{ font-size: 14.5px; color: var(--steel); margin: 0; }
.report-item.flag{ background: #FBF3F1; }
.report-item.flag h3{ color: var(--alert); }

/* ---------- Sample report mockup ---------- */
.report-mock{
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(27,31,35,0.16);
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}
.report-mock-topbar{
  background: var(--ink);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.report-mock-dot{ width: 9px; height: 9px; border-radius: 50%; background: var(--plate-dark); }
.report-mock-header{
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--concrete-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.report-mock-logo{
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.report-mock-logo span{ color: var(--teal); }
.report-mock-meta{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  text-align: right;
}
.report-mock-title{
  padding: 18px 28px 0;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.report-tile-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 16px 28px 24px;
}
@media (max-width: 640px){ .report-tile-grid{ grid-template-columns: repeat(2, 1fr); } }
.report-tile{
  border: 1.5px solid var(--concrete-dim);
  border-radius: 8px;
  padding: 14px 8px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.report-tile svg{ width: 22px; height: 22px; color: var(--teal); }
.report-tile .tile-label{
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.report-tile .tile-flag svg{ color: var(--alert); }
.report-mock-divider{
  height: 1px;
  background: var(--concrete-dim);
  margin: 0 28px;
}
.report-mock-findings{
  padding: 20px 28px 26px;
}
.report-mock-findings-label{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plate-dark);
  margin-bottom: 10px;
}

/* ---------- Sample report (legacy, kept for row styling reuse) ---------- */
.sample-wrap{
  background: var(--white);
  border: 2px solid var(--ink);
  max-width: 640px;
  margin: 0 auto;
}
.sample-header{
  background: var(--ink);
  color: var(--concrete);
  padding: 14px 20px;
  font-family: var(--mono);
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
}
.sample-body{ padding: 24px 26px; }
.sample-row{
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--concrete-dim);
  font-size: 14.5px;
}
.sample-row:last-child{ border-bottom: none; }
.sample-row .label{ color: var(--steel); }
.sample-row .val.clear{ color: var(--teal-dark); font-weight: 600; }
.sample-row .val.warn{ color: var(--alert); font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px){ .pricing-grid{ grid-template-columns: 1fr; } }
.price-card{
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}
.price-card.selected{
  box-shadow: 0 0 0 3px var(--teal);
}
.price-card.featured{
  background: var(--ink);
  color: var(--white);
}
.price-card.featured .price-card-tag{ color: var(--amber); }
.price-card.featured p{ color: var(--plate); }
.price-card-tag{
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.price-card h3{ font-size: 15px; margin-bottom: 4px; }
.price-amount{
  font-family: var(--display);
  font-size: 40px;
  margin: 6px 0 14px;
}
.price-amount span{ font-size: 15px; font-family: var(--mono); text-transform: none; letter-spacing: 0; opacity: 0.7; }
.price-card ul{ list-style: none; margin: 0 0 24px; padding: 0; font-size: 14px; flex-grow: 1; }
.price-card li{ padding: 6px 0; }
.price-card li::before{ content: '— '; color: var(--teal); }
.price-card.featured li::before{ color: var(--amber); }
.price-btn{
  background: var(--amber);
  color: var(--ink);
  border: none;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  padding: 13px;
  cursor: pointer;
  width: 100%;
}
.price-btn:hover{ background: var(--amber-dark); }

/* ---------- FAQ ---------- */
.faq-list{ max-width: 760px; }
.faq-item{ border-bottom: 1px solid var(--plate-dark); }
.faq-q{
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 4px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}
.faq-q .plus{ font-family: var(--mono); color: var(--teal); font-size: 18px; transition: transform 0.2s ease; }
.faq-item.open .plus{ transform: rotate(45deg); }
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 14.5px;
  color: var(--steel);
}
.faq-item.open .faq-a{ max-height: 240px; }
.faq-a-inner{ padding: 0 4px 20px; }

/* ---------- Final CTA ---------- */
.final-cta{
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 90px 0;
}
.final-cta h2{ color: var(--white); font-size: clamp(28px,4vw,42px); }
.final-cta p{ color: var(--plate); max-width: 50ch; margin: 14px auto 30px; }

/* ---------- Thank you page ---------- */
.thankyou-section{
  padding: 80px 0 100px;
}
.thankyou-container{
  max-width: 600px;
  text-align: center;
}
.thankyou-check{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(22,163,74,0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.thankyou-check svg{ width: 30px; height: 30px; }
.thankyou-card{
  background: var(--white);
  border: 1px solid var(--concrete-dim);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
  padding: 28px;
  margin: 10px 0 32px;
  text-align: left;
}
.thankyou-row{
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--plate-dark);
  margin-bottom: 18px;
}
.thankyou-steps{ display: flex; flex-direction: column; gap: 18px; }
.thankyou-step{ display: flex; gap: 14px; }
.thankyou-step-num{
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--concrete);
  color: var(--teal);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.thankyou-step strong{ font-size: 14.5px; color: var(--ink); display: block; margin-bottom: 3px; }
.thankyou-step p{ font-size: 13.5px; color: var(--steel); margin: 0; }
.thankyou-step a{ color: var(--teal); }
.thankyou-home-btn{
  display: inline-block;
  width: auto;
  padding: 14px 32px;
  text-decoration: none;
}
footer.site-footer{
  background: var(--ink);
  color: var(--plate-dark);
  border-top: 1px solid var(--steel);
  padding: 34px 0;
  font-size: 13px;
}
footer.site-footer .container{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer.site-footer .disclaimer{
  max-width: 720px;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 18px;
  opacity: 0.75;
}
