/* ============================================
   THE DEALER PLAYBOOK — Auto Insider
   Color Scheme: Black / White / Red (#CC0000)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #CC0000;
  --red-dark: #A30000;
  --red-light: #FF1A1A;
  --black: #0A0A0A;
  --black-light: #1A1A1A;
  --gray-dark: #2A2A2A;
  --gray-mid: #555555;
  --gray-light: #999999;
  --gray-border: #333333;
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --cream: #FAFAFA;
  --font-heading: 'Segoe UI', 'Arial Black', Arial, sans-serif;
  --font-body: 'Segoe UI', Arial, sans-serif;
  --max-width: 1100px;
  --section-pad: 80px 20px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--red-light);
}

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Announcement Bar --- */
.announcement-bar {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 100;
}

.announcement-bar .countdown {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.announcement-bar span {
  margin: 0 6px;
}

/* --- Header --- */
.site-header {
  background: var(--black);
  border-bottom: 1px solid var(--gray-border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 90;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-logo .logo-accent {
  color: var(--red);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  color: var(--gray-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.header-nav a:hover {
  color: var(--white);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(204, 0, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gray-border);
}

.btn-secondary:hover {
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-large {
  padding: 18px 44px;
  font-size: 1.15rem;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  padding: 80px 20px 60px;
  text-align: center;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--gray-dark);
  color: var(--gray-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--white);
}

.hero h1 em {
  font-style: italic;
  color: var(--red);
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--gray-light);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-cover {
  margin: 32px auto 24px;
}

.hero-cover img {
  width: 280px;
  height: auto;
  margin: 0 auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(204, 0, 0, 0.1);
}

.hero-price {
  margin-bottom: 8px;
}

.price-old {
  text-decoration: line-through;
  color: var(--gray-light);
  font-size: 1rem;
  margin-right: 8px;
}

.price-current {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
}

/* Hero quick stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto 48px;
  padding: 28px 20px;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero testimonial teaser */
.hero-testimonial {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px;
  border-left: 3px solid var(--red);
  text-align: left;
}

.hero-testimonial p {
  font-style: italic;
  color: var(--gray-light);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.hero-testimonial cite {
  font-size: 0.82rem;
  color: var(--gray-mid);
  font-style: normal;
}

/* --- Section Styling --- */
.section {
  padding: var(--section-pad);
}

.section-dark {
  background: var(--black-light);
}

.section-alt {
  background: var(--gray-dark);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 52px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  color: var(--gray-light);
  font-size: 1.05rem;
}

.section-label {
  display: block;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* --- Problem Section --- */
.problems-list {
  max-width: 720px;
  margin: 0 auto;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-border);
}

.problem-item:last-child {
  border-bottom: none;
}

.problem-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(204, 0, 0, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--red);
  font-weight: 700;
}

.problem-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.problem-text p {
  color: var(--gray-light);
  font-size: 0.92rem;
}

/* --- What's Inside --- */
.inside-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.inside-card {
  background: var(--black);
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 32px;
}

.inside-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.inside-card .card-label {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  display: block;
}

.inside-card ul {
  list-style: none;
}

.inside-card ul li {
  padding: 6px 0;
  color: var(--gray-light);
  font-size: 0.92rem;
  position: relative;
  padding-left: 20px;
}

.inside-card ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* Prompt preview box */
.prompt-box {
  background: #111;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 24px 0;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.88rem;
  color: #CCC;
  line-height: 1.6;
  position: relative;
}

.prompt-box::before {
  content: "SAMPLE AI PROMPT";
  position: absolute;
  top: -10px;
  left: 16px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 1px;
}

/* --- ROI Section --- */
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.roi-card {
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
}

.roi-card.without {
  background: var(--gray-dark);
  border: 1px solid var(--gray-border);
}

.roi-card.with {
  background: var(--black);
  border: 2px solid var(--red);
}

.roi-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.roi-card .roi-amount {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.roi-card.without .roi-amount {
  color: var(--red);
}

.roi-card.with .roi-amount {
  color: #22CC44;
}

.roi-card ul li {
  padding: 6px 0;
  color: var(--gray-light);
  font-size: 0.9rem;
}

.roi-bottom {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.roi-bottom p {
  color: var(--gray-light);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.roi-bottom strong {
  color: var(--white);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--black);
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 28px;
}

.testimonial-stars {
  color: #FFB800;
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.92rem;
  color: var(--gray-light);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.6;
}

.testimonial-card cite {
  font-size: 0.82rem;
  color: var(--gray-mid);
  font-style: normal;
  font-weight: 600;
}

/* --- About Section --- */
.about-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  align-items: start;
}

.about-photo {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.about-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-content p {
  color: var(--gray-light);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.about-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.about-tags span {
  background: var(--gray-dark);
  color: var(--gray-light);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Offer / Pricing Section --- */
.offer-box {
  max-width: 680px;
  margin: 0 auto;
  background: var(--black);
  border: 2px solid var(--red);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
}

.offer-box h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.offer-pricing {
  margin: 24px 0;
}

.offer-pricing .price-old {
  font-size: 1.3rem;
}

.offer-pricing .price-current {
  font-size: 2.6rem;
}

.offer-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
  max-width: 480px;
  margin: 28px auto;
}

.offer-details li {
  padding: 6px 0 6px 22px;
  color: var(--gray-light);
  font-size: 0.9rem;
  position: relative;
}

.offer-details li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.offer-note {
  font-size: 0.8rem;
  color: var(--gray-mid);
  margin-top: 20px;
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-border);
  padding: 20px 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--red);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
  content: "\2212";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 14px;
}

.faq-answer p {
  color: var(--gray-light);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* --- Final CTA Section --- */
.final-cta {
  padding: 80px 20px;
  text-align: center;
  background: var(--black-light);
  border-top: 1px solid var(--gray-border);
}

.final-cta h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--gray-light);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--gray-border);
  padding: 40px 20px;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-brand .logo-accent {
  color: var(--red);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray-light);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  color: var(--gray-mid);
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.footer-disclaimer {
  color: var(--gray-mid);
  font-size: 0.75rem;
  max-width: 600px;
  margin: 12px auto 0;
  line-height: 1.5;
}

.footer-copyright {
  color: var(--gray-mid);
  font-size: 0.78rem;
  margin-top: 16px;
}

/* --- Sticky Mobile CTA --- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  border-top: 2px solid var(--red);
  padding: 12px 20px;
  z-index: 80;
  text-align: center;
}

.mobile-cta-bar .btn {
  width: 100%;
  max-width: 400px;
}

/* --- Exit-Intent Popup --- */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 200;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.popup-overlay.active {
  display: flex;
}

.popup-box {
  background: var(--black-light);
  border: 2px solid var(--red);
  border-radius: 12px;
  padding: 48px 40px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--gray-light);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.popup-close:hover {
  color: var(--white);
}

.popup-box h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.popup-box p {
  color: var(--gray-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* --- Image Placeholders --- */
.image-placeholder {
  background: var(--gray-dark);
  border: 2px dashed var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
}

/* --- Utility --- */
.text-red { color: var(--red); }
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Legal / Inner Pages --- */
.page-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-inner h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.page-inner .page-updated {
  color: var(--gray-mid);
  font-size: 0.85rem;
  margin-bottom: 36px;
}

.page-inner h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 12px;
}

.page-inner p,
.page-inner li {
  color: var(--gray-light);
  font-size: 0.92rem;
  margin-bottom: 12px;
  line-height: 1.7;
}

.page-inner ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-inner a {
  color: var(--red);
  text-decoration: underline;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--gray-dark);
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* --- Success Page --- */
.success-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.success-inner h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.success-inner p {
  color: var(--gray-light);
  font-size: 1.05rem;
  margin-bottom: 16px;
  max-width: 520px;
}

.success-checkmark {
  font-size: 4rem;
  margin-bottom: 24px;
  display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--gray-border);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .header-nav.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .inside-grid {
    grid-template-columns: 1fr;
  }

  .roi-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo {
    margin: 0 auto;
  }

  .offer-details {
    grid-template-columns: 1fr;
  }

  .offer-box {
    padding: 36px 24px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .final-cta h2 {
    font-size: 1.8rem;
  }

  .mobile-cta-bar {
    display: block;
  }

  /* Add bottom padding to body so sticky bar doesn't cover footer */
  body {
    padding-bottom: 70px;
  }

  .popup-box {
    padding: 32px 24px;
  }

  .popup-box h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .btn-large {
    padding: 16px 28px;
    font-size: 1rem;
  }

  .announcement-bar {
    font-size: 0.78rem;
  }
}
