:root {
    --primary-blue: #2563eb;
    --primary-dark: #1e40af;
    --primary-light-blue: #019be3;
    --text-main: #111827;
    --text-light: #6b7280;
    --bg-light: #f3f4f6;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.hidden {
    display: none !important;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.phone-btn {
    background-color: var(--primary-blue);
    color: white;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-btn:hover {
    background-color: var(--primary-dark);
}

/* Header */
header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    height: 80px;
}

.logo-container img {
    height: 40px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    color: white;
    display: block;
}

.hero-bg-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-hero {
    padding: 1rem 3rem;
    font-size: 1.25rem;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 0.375rem;
    border: 2px solid transparent;
}

.btn-hero:hover {
    background-color: white;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Multi-Step Form Styles */
.quote-wizard-card {
    background: var(--white);
    color: var(--text-main);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.wizard-step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.wizard-progress {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.wizard-progress-bar {
    height: 100%;
    background: var(--primary-blue);
    width: 33%;
    transition: width 0.3s ease;
}

/* Grid for Makes and Years */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.selection-box {
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.75rem;
    text-align: center;
    cursor: pointer;
    background: var(--white);
    transition: all 0.2s;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.selection-box:hover {
    border-color: var(--primary-light-blue);
    box-shadow: 0 0 0 1px var(--primary-light-blue);
    background-color: #f0f9ff;
    color: var(--primary-blue);
}

/* Form Inputs */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-select,
.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    outline: none;
    transition: all 0.2s;
    background-color: var(--white);
    font-size: 1rem;
    color: var(--text-main);
}

.form-select:focus,
.form-input:focus {
    border-color: var(--primary-light-blue);
    box-shadow: 0 0 0 3px rgba(1, 155, 227, 0.1);
}

/* Navigation Buttons */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-back {
    background: #e5e7eb;
    color: #374151;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-back:hover {
    background: #d1d5db;
}

.btn-next {
    background: var(--primary-light-blue);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    margin-left: auto;
}

.btn-next:hover {
    background: #0284c7;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        height: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero {
        padding: 4rem 1rem;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .selection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quote-wizard-card {
        padding: 1.5rem 1rem;
    }
}

/* Base Utility Classes */
.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: #e5e7eb;
    line-height: 1;
}

.step-card {
    text-align: left;
    padding: 1rem;
    flex: 1;
    min-width: 280px;
}

.section-heading {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    color: #111827;
}

.discount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.discount-item {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: left;
}

.footer-link {
    color: var(--text-light);
    margin: 0 1rem;
    font-size: 0.875rem;
}

.footer-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}