/* CarTracker Complete CSS - Enhanced Version with Garage Integration */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --orange-color: #f97316;
    --orange-dark: #ea580c;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #dc2626;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ===== RESET AND BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

/* ===== PROMO BANNER ===== */
.promo-banner {
    background: linear-gradient(135deg, var(--orange-color), var(--orange-dark));
    color: white;
    padding: 0.75rem 0;
    text-align: center;
    position: relative;
    font-weight: 600;
    animation: slideDown 0.5s ease-out;
}

.promo-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.countdown-timer {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.promo-close {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition);
}

.promo-close:hover {
    opacity: 1;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

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

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

.logo {
    height: 2rem;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Garage Navigation Styles */
.nav-garage {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-garage:hover {
    color: var(--orange-color);
    transform: translateY(-1px);
}

.garage-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 40px;
}

.btn-garage {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
}

.btn-garage:hover {
    background: linear-gradient(135deg, var(--primary-dark), #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-orange {
    background: linear-gradient(135deg, var(--orange-color) 0%, var(--orange-dark) 100%) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.btn-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-orange:hover {
    background: linear-gradient(135deg, var(--orange-dark) 0%, #dc2626 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-orange:hover::before {
    left: 100%;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    background: transparent;
}

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

.btn-dark {
    background: var(--text-dark);
    color: white;
}

.btn-dark:hover {
    background: #111827;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    min-width: 180px;
    height: 56px;
}

.btn-full {
    width: 100%;
    margin-bottom: 1.5rem;
}

/* Hero Button Enhancements */
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-buttons .btn-orange {
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 15px;
}

.hero-buttons .btn-outline {
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(-45deg, #1e3a8a, #1e40af, var(--primary-color), var(--primary-dark));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: white;
    overflow: hidden;
    margin-top: 4rem;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(30, 64, 175, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-text {
    max-width: 48rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-orange {
    color: #fb923c;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #bfdbfe;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    color: #bfdbfe;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--success-color);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fb923c;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #bfdbfe;
    margin-top: 0.25rem;
}

/* Video Play Button */
.hero-video-overlay {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 20;
}

.video-play-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    color: #1e40af;
    padding: 1rem 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.video-play-btn:hover {
    background: white;
    transform: scale(1.05);
}

.play-icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

/* ===== GARAGE HIGHLIGHT SECTION ===== */
.garage-highlight {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.garage-highlight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.garage-highlight-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.garage-highlight-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.garage-highlight-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.garage-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.garage-feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.garage-feature .feature-icon {
    width: 20px;
    height: 20px;
    stroke: var(--orange-color);
    flex-shrink: 0;
}

.garage-feature span {
    font-weight: 500;
    color: var(--text-dark);
}

/* ===== TRUST SECTION ===== */
.trust-section {
    background: var(--bg-white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-text {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: #374151;
    animation: float 3s ease-in-out infinite;
}

.trust-badge:nth-child(2) {
    animation-delay: 1s;
}

.trust-badge:nth-child(3) {
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* ===== LIVE ACTIVITY NOTIFICATION ===== */
.live-activity {
    position: fixed;
    top: 100px;
    left: 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    max-width: 300px;
    z-index: 1000;
    transform: translateX(-120%);
    transition: transform 0.5s ease;
}

.live-activity.show {
    transform: translateX(0);
}

.activity-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.activity-text {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.activity-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 48rem;
    margin: 0 auto;
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-item {
    text-align: center;
    padding: 1.5rem;
}

.problem-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.problem-icon-red {
    background: #fef2f2;
    color: var(--error-color);
}

.problem-icon svg {
    width: 2rem;
    height: 2rem;
}

.problem-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.problem-description {
    color: var(--text-muted);
}

/* ===== FEATURES SECTION ===== */
.features,
.features-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg) translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Enhanced Feature Card for Garage */
.feature-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    animation: garageGlow 3s ease-in-out infinite;
}

.feature-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.feature-highlight .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.feature-highlight .feature-title {
    color: white;
}

.feature-highlight .feature-description {
    color: rgba(255, 255, 255, 0.9);
}

@keyframes garageGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2); }
    50% { box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4); }
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: #dbeafe;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--text-muted);
    flex-grow: 1;
}

.feature-cta {
    background: var(--orange-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 16px;
    align-self: flex-start;
}

.feature-cta:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* ===== PRICING CALCULATOR ===== */
.pricing-calculator {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    padding: 2rem;
    border-radius: 1rem;
    margin: 2rem 0;
    text-align: center;
}

.pricing-calculator h3 {
    color: #1e40af;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.calculator-inputs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.calculator-inputs label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 600;
    color: #1e40af;
}

.calculator-inputs input {
    padding: 0.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 600;
    width: 120px;
}

.calculator-result {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
}

.savings-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--success-color);
    line-height: 1;
}

.savings-label {
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-light);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

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

.pricing-card-featured {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

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

.pricing-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-card-featured .pricing-title {
    color: white;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.pricing-card-featured .pricing-price {
    color: white;
}

.pricing-period {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.pricing-card-featured .pricing-period {
    color: #bfdbfe;
}

.pricing-annual {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pricing-card-featured .pricing-annual {
    color: #bfdbfe;
}

.pricing-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.pricing-feature-disabled {
    color: var(--text-light);
}

.check-icon-green {
    width: 1rem;
    height: 1rem;
    color: var(--success-color);
    flex-shrink: 0;
}

.x-icon {
    width: 1rem;
    height: 1rem;
    color: #d1d5db;
    flex-shrink: 0;
}

.pricing-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
}

/* ===== VALUE SECTION ===== */
.value-section {
    padding: 4rem 0;
    background: #dbeafe;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.value-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.value-icon-green {
    background: #dcfce7;
    color: var(--success-color);
}

.value-icon-blue {
    background: #dbeafe;
    color: var(--primary-color);
}

.value-icon-orange {
    background: #fed7aa;
    color: var(--orange-dark);
}

.value-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.value-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.value-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.75rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-2px);
}

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

.testimonial-stars {
    margin-bottom: 1rem;
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonial-text {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.faq-grid {
    max-width: 64rem;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

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

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    background: #374151;
    color: white;
}

.newsletter-input::placeholder {
    color: var(--text-light);
}

.newsletter-button {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===== TEMPLATE LIBRARY STYLES ===== */
.template-library-header {
    background: linear-gradient(135deg, #1e40af, var(--primary-color));
    color: white;
    padding: 6rem 0 4rem;
    margin-top: 4rem;
    text-align: center;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.header-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.header-subtitle {
    font-size: 1.25rem;
    color: #bfdbfe;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.header-stats .stat-item {
    text-align: center;
    min-width: 120px;
}

.header-stats .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fb923c;
    display: block;
    line-height: 1;
}

.header-stats .stat-label {
    font-size: 0.875rem;
    color: #bfdbfe;
    margin-top: 0.25rem;
}

/* Template Library */
.template-library {
    padding: 4rem 0;
    background: var(--bg-light);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.template-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

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

.template-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.template-icon svg {
    width: 2rem;
    height: 2rem;
}

.template-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.template-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.template-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: var(--bg-light);
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.template-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.template-actions .btn {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

/* ===== MODAL STYLES ===== */
.email-signup-modal,
.template-modal,
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.email-signup-modal.modal-active,
.template-modal.modal-active,
.success-modal.modal-active {
    opacity: 1;
}

.email-signup-content,
.template-form-content,
.success-content {
    background: var(--bg-white);
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: var(--transition);
    padding: 2rem;
}

.email-signup-modal.modal-active .email-signup-content,
.template-modal.modal-active .template-form-content,
.success-modal.modal-active .success-content {
    transform: translateY(0);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-muted);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-dark);
}

.signup-benefits {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}

.signup-benefits h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.benefits-list .check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--success-color);
    flex-shrink: 0;
}

/* Form Styles */
.email-signup-form,
.template-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #374151;
}

.required {
    color: var(--error-color);
    margin-left: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
}

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

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
}

.privacy-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Success Modal */
.success-content {
    text-align: center;
    max-width: 400px;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--success-color);
}

.success-icon svg {
    width: 2rem;
    height: 2rem;
}

/* ===== MOBILE FLOATING BUTTON ===== */
.garage-floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
}

.garage-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.garage-floating-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
    }
    
    .nav-garage {
        display: none;
    }
    
    .btn-garage {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-buttons .btn-large {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 15px;
        height: 50px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    /* Garage Highlight */
    .garage-highlight-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .garage-highlight-text h3 {
        font-size: 1.75rem;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card:first-child {
        grid-column: 1;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2rem;
    }
    
    .header-title {
        font-size: 2rem;
    }
    
    /* Navigation actions */
    .nav-actions {
        gap: 8px;
    }
    
    .nav-actions .btn {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 120px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .nav-actions .btn {
        min-width: 100px;
        padding: 6px 12px;
        font-size: 12px;
        height: 32px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Hide floating button on desktop */
@media (min-width: 769px) {
    .garage-floating-btn {
        display: none;
    }
}

/* Ensure garage feature stands out on larger screens */
@media (min-width: 1024px) {
    .feature-card:first-child {
        grid-column: span 2;
        max-width: 600px;
        margin: 0 auto;
    }
}



