/* ===== CSS Variables ===== */
:root {
  --primary: #1B4332;
  --primary-dark: #143528;
  --primary-light: #2D6A4F;
  --accent: #E74C3C;
  --accent-dark: #C0392B;
  --accent-light: #F75D4F;
  --bg: #f4f6f5;
  --bg-dark: #0d1f17;
  --text: #1a1a2e;
  --text-light: #6c757d;
  --text-on-dark: #ecf0f1;
  --white: #ffffff;
  --card-shadow: 0 4px 20px rgba(27, 67, 50, 0.1);
  --card-hover-shadow: 0 8px 32px rgba(27, 67, 50, 0.18);
  --radius: 12px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.nav a:hover, .nav a.active {
  background: rgba(27, 67, 50, 0.08);
  color: var(--primary);
}
.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: var(--white) !important;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  width: 26px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--text-on-dark);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(231,76,60,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 660px; }
.hero-badge {
  display: inline-block;
  background: rgba(231,76,60,0.2);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(231,76,60,0.3);
}
.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero h1 span { color: var(--accent-light); }
.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* VIN Card + Form — vertical card style */
.vin-card {
  max-width: 420px;
  background: rgba(0,0,0,0.35);
  border: 2px solid rgba(255,255,255,0.12);
  padding: 28px;
  margin-top: 8px;
}
.vin-card-header {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: var(--heading-font);
}
.vin-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vin-form input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 1.1rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  outline: none;
  transition: border var(--transition);
}
.vin-form input::placeholder { color: rgba(255,255,255,0.35); letter-spacing: 2px; }
.vin-form input:focus { border-color: var(--accent); }
.vin-form button {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: var(--white);
  border: none;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  font-family: var(--heading-font);
  text-transform: uppercase;
}
.vin-form button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.vin-card-footer {
  margin-top: 14px;
  font-size: 0.72rem;
  letter-spacing: 1px;
  opacity: 0.45;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.section-title p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
}
.section-alt .feature-card { background: var(--bg); }
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
  border-top-color: var(--accent);
}
.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: var(--white);
}
.feature-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-dark);
  text-transform: uppercase;
}
.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Price Block ===== */
.price-block {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 20px;
  padding: 48px;
  color: var(--white);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.price-block .price {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin: 16px 0;
}
.price-block .price small {
  font-size: 1rem;
  opacity: 0.8;
  font-weight: 400;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 28px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: inherit;
  text-align: center;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--bg); color: var(--primary); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

/* ===== Platform Cards ===== */
.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
.platform-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: var(--card-shadow);
  text-align: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
}
.platform-card:hover { transform: translateY(-6px); box-shadow: var(--card-hover-shadow); }
.platform-card.featured { border-color: var(--accent); }
.platform-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.platform-badge.secondary { background: var(--primary); }
.platform-icon {
  width: 72px; height: 72px;
  margin: 16px auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
}
.platform-card.featured .platform-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}
.platform-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--primary-dark);
}
.platform-list { text-align: left; margin-bottom: 24px; }
.platform-list li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.platform-list li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.platform-card .btn { width: 100%; }

/* ===== PDF Examples ===== */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.example-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.example-card:hover { transform: translateY(-3px); box-shadow: var(--card-hover-shadow); }
.example-icon {
  width: 56px; height: 64px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}
.example-info h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.example-info p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 12px; line-height: 1.5; }
.example-info a { font-weight: 600; font-size: 0.9rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.section-alt .faq-item { background: var(--bg); }
.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  transition: transform var(--transition);
}
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs { padding: 16px 0; font-size: 0.88rem; color: var(--text-light); }
.breadcrumbs a { color: var(--primary); font-weight: 500; }
.breadcrumbs span { margin: 0 8px; opacity: 0.5; }

/* ===== Content Page ===== */
.content-page { padding: 48px 0 80px; }
.content-page h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.3;
  text-transform: uppercase;
}
.content-page h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 36px 0 16px;
  text-transform: uppercase;
}
.content-page h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 28px 0 12px; }
.content-page p { margin-bottom: 16px; line-height: 1.8; }
.content-page ul, .content-page ol { margin: 16px 0 16px 24px; }
.content-page ul { list-style: disc; }
.content-page ol { list-style: decimal; }
.content-page li { margin-bottom: 8px; line-height: 1.7; }
.content-page .highlight-box {
  background: linear-gradient(135deg, rgba(27,67,50,0.05), rgba(45,106,79,0.08));
  border-left: 4px solid var(--primary);
  padding: 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.content-page .highlight-box p { margin-bottom: 0; }

/* ===== Compare Table ===== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.compare-table th {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}
.compare-table td {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: rgba(27,67,50,0.03); }

/* ===== Stats ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
.stat-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}
.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label { font-size: 0.9rem; color: var(--text-light); margin-top: 8px; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--accent);
  text-transform: uppercase;
}
.footer p { font-size: 0.92rem; opacity: 0.8; line-height: 1.7; }
.footer-links a {
  display: block;
  color: var(--text-on-dark);
  opacity: 0.8;
  padding: 4px 0;
  font-size: 0.92rem;
}
.footer-links a:hover { opacity: 1; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== Scroll Animations ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; }
  .burger { display: flex; }
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 1.7rem; }
  .vin-form { flex-direction: column; max-width: 100%; }
  .section { padding: 48px 0; }
  .section-title h2 { font-size: 1.5rem; }
  .price-block { padding: 32px 20px; }
  .price-block .price { font-size: 2.2rem; }
  .cta-banner { padding: 32px 20px; }
  .cta-banner h2 { font-size: 1.4rem; }
  .platforms { grid-template-columns: 1fr; }
  .example-card { flex-direction: column; }
  .content-page h1 { font-size: 1.5rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .compare-table { font-size: 0.85rem; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.4rem; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
}
