﻿/* ============================================
   Drive Again Secrets — Stylesheet
   ============================================ */

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

:root {
    /* Colors — matched to Drive Again Secrets logo (police car + skyline) */
    --navy: #0a1426;
    --navy-light: #1a2744;
    --navy-mid: #1A2F42;
    --skyline-blue: #4B6C8A;
    --logo-blue: #0D56B8;
    --blue: #0D56B8;
    --blue-dark: #094490;
    --blue-light: #60a5fa;
    --blue-accent: #B0D0E8;
    --siren-red: #dc2626;
    --siren-blue: #3b82f6;
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --green: #10b981;
    --red: #ef4444;
    --white: #ffffff;
    --teal: #2471a3;
    --silver: #E0E0E0;
    --gray-50: #f8f9fa;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    
    /* Spacing */
    --section-padding: 5rem 0;
    
    /* Border Radius */
    --radius: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
}

html {
    scroll-behavior: smooth;
}

/* Override browser default purple visited link color globally */
a:visited {
    color: inherit;
}

body {
    padding-top: 260px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
}

@media (max-width: 768px) {
    body {
        padding-top: 110px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--skyline-blue);
    z-index: 1000;
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0;
}

.logo img {
    height: 220px;
    width: 220px;
    display: block;
}

@media (max-width: 768px) {
    .logo img {
        height: 100px;
        width: 100px;
    }
    .navbar {
        padding: 0.5rem 0;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a,
.nav-links a:visited {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a:visited:hover,
.nav-links a.active {
    color: var(--blue-light);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    padding: 0.5rem;
    z-index: 1001;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 2px solid var(--skyline-blue);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .nav-links.open {
        max-height: 500px;
        transition: max-height 0.3s ease-in;
    }
    
    .nav-links li {
        display: block;
        width: 100%;
    }
    
    .nav-links a {
        padding: 0.75rem 0;
        color: rgba(255, 255, 255, 0.85);
        display: block;
        font-size: 1rem;
    }
    
    .nav-links gap {
        gap: 0;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-secondary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 8rem 0 5rem;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.2);
    color: var(--gold-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.hero .highlight {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.hero .btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

.hero-trust {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.cta-center {
    text-align: center;
    margin-top: 2.5rem;
}

/* ============================================
   Pain Points
   ============================================ */
.problem-section {
    background: var(--gray-50);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pain-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.pain-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pain-card h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.pain-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* ============================================
   Steps / How It Works
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.step-card h3 {
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* ============================================
   Pricing
   ============================================ */
.pricing-preview,
.pricing-page {
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: none;
        border-color: var(--blue);
    }

    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    position: relative;
    border: 2px solid var(--gray-200);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--blue);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.tier-badge {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.tier-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.tier-tagline {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.tier-features {
    list-style: none;
    margin-bottom: 2rem;
}

.tier-features li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gray-100);
}

.tier-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    margin-top: auto;
}

/* ============================================
   Urgency Section
   ============================================ */
.urgency-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.urgency-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.urgency-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.urgency-box h2 {
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.urgency-box .highlight {
    color: var(--red);
}

.urgency-box p {
    color: var(--gray-700);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--gold);
}

.testimonial-stars {
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ============================================
   Final CTA
   ============================================ */
.final-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Footer — FindLaw-inspired redesign
   ============================================ */

/* ---- Shared footer base ---- */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

/* ---- Section 1: Main columns ---- */
.footer-main {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  width: 100%;
}

@media (max-width: 900px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-email {
  color: var(--blue-light);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-email:visited {
  color: var(--blue-light);
}

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

/* ---- Column headings ---- */
.footer-heading {
  color: var(--blue-light);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-heading--center {
  text-align: center;
  margin-bottom: 1.25rem;
}

/* ---- Column link lists ---- */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-list a,
.footer-list a:visited {
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-list a:hover,
.footer-list a:visited:hover {
  color: var(--blue-light);
}

/* ---- Section 2: States grid ---- */
.footer-states-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-states-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.3rem 0.5rem;
}

@media (max-width: 900px) {
  .footer-states-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 540px) {
  .footer-states-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-states-grid a,
.footer-states-grid a:visited {
  color: var(--white);
  font-size: 0.8rem;
  text-decoration: none;
  padding: 0.15rem 0;
  white-space: nowrap;
  transition: color 0.2s;
}

.footer-states-grid a:hover,
.footer-states-grid a:visited:hover {
  color: var(--blue-light);
}

/* ---- Section 3: Bottom bar ---- */
.footer-bottom-bar {
  background: #111;
  padding: 1rem 0;
}

.footer-bottom-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy,
.footer-disclaimer {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-links a,
.footer-bottom-links a:visited {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

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

@media (max-width: 768px) {
  .footer-bottom-bar .container {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   Page-Specific Styles
   ============================================ */

/* How It Works Page */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 7rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.process-detail {
    padding: 1rem 0;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}

.process-step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.process-step h3 {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.process-step ul {
    color: var(--gray-700);
    padding-left: 1.5rem;
}

.process-step ul li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .process-step {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .process-step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

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

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

.faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--blue);
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--gray-700);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-top: 1rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

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

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

/* ============================================
   Comparison Table
   ============================================ */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
}

.comparison-table th:first-child {
    text-align: left;
    border-radius: var(--radius) 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 var(--radius) 0 0;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--navy);
}

.comparison-table tr:hover {
    background: var(--gray-50);
}

.comparison-table .check {
    color: var(--green);
    font-size: 1.25rem;
}

.comparison-table .dash {
    color: var(--gray-300);
}

.comparison-table .popular-col {
    background: rgba(59, 130, 246, 0.05);
}

.comparison-table th.popular-col {
    background: var(--navy);
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
}

/* Mobile fix: proper body padding */
@media (max-width: 768px) {
    .logo img {
        height: 160px !important;
        width: auto !important;
    }
    .navbar {
        padding: 1.25rem 0 !important;
    }
    body {
        padding-top: 180px !important;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

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

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

    .urgency-box h2 {
        font-size: 1.5rem;
    }

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

    .comparison-table {
        display: none;
    }
}


