* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Header */
.header {
    background: #fff;
    padding: 20px 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #c23934;
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: #c23934;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

/* Navigation Steps */
.nav-steps {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-weight: 500;
    cursor: pointer;
}

.nav-step.active {
    color: #c23934;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.nav-step.active .step-number {
    background: #c23934;
    color: white;
}

.logout-btn {
    padding: 10px 25px;
    background: #232323;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.logout-btn:hover {
    background: #a52f2a;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #c23934 0%, #a52f2a 100%);
    color: white;
    padding: 60px 50px;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* Hero Landing for Step 0 */
.hero-landing {
    background: linear-gradient(135deg, rgba(194, 57, 52, 0.05) 0%, rgba(165, 47, 42, 0.05) 100%);
    padding: 80px 50px;
    text-align: center;
}

.hero-landing h1 {
    font-size: 48px;
    color: #c23934;
    margin-bottom: 15px;
}

.hero-landing p {
    font-size: 18px;
    color: #666;
}

/* Quote Form Card */
.quote-form-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 50px;
}

.quote-form-card h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #232323;
    text-align: center;
}

/* Insurance Type Selector */
.insurance-type-selector {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.insurance-type-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: 2px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.insurance-type-option input[type="radio"] {
    display: none;
}

.type-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #c23934;
    position: relative;
}

.insurance-type-option.active,
.insurance-type-option:has(input:checked) {
    background: #fff5f5;
    border-color: #c23934;
}

.insurance-type-option.active .type-indicator::after,
.insurance-type-option:has(input:checked) .type-indicator::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #c23934;
    border-radius: 50%;
    top: 2px;
    left: 2px;
}

/* License Plate Input */
.license-plate-input {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 5px 20px;
    margin-bottom: 20px;
    background: white;
}

.plate-icon {
    font-size: 24px;
    margin-right: 15px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #232323;
}

.feature-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* How it Works Section */
.how-it-works-section {
    margin: 60px 0;
    text-align: center;
}

.how-it-works-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #232323;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.step-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #c23934;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.step-icon {
    font-size: 48px;
    margin: 20px 0;
}

.step-card h4 {
    font-size: 16px;
    color: #232323;
}

/* Partners Section */
.partners-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin: 60px 0;
    text-align: center;
}

.partners-section h2 {
    font-size: 32px;
    color: #c23934;
    margin-bottom: 30px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-logo {
    font-weight: bold;
    color: #232323;
    font-size: 18px;
    padding: 20px 40px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
}

/* FAQ Section */
.faq-section {
    margin: 60px 0;
}

.faq-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    color: #232323;
}

.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.faq-tab {
    padding: 12px 30px;
    border: none;
    background: #f0f0f0;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.faq-tab.active {
    background: #c23934;
    color: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-item summary {
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '▼';
    font-size: 12px;
    color: #c23934;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    margin-top: 15px;
    color: #666;
    line-height: 1.6;
}

/* Progress Bar */
.progress-bar {
    background: white;
    padding: 20px 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.progress-container {
    max-width: 800px;
    margin: 0 auto;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
}

.progress-line {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-line-fill {
    height: 100%;
    background: #c23934;
    transition: width 0.3s;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s;
    margin-bottom: 8px;
}

.progress-step.active .progress-circle {
    background: #c23934;
    border-color: #c23934;
    color: white;
}

.progress-step.completed .progress-circle {
    background: #2ecc71;
    border-color: #2ecc71;
    color: white;
}

.progress-label {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.progress-step.active .progress-label {
    color: #c23934;
    font-weight: 600;
}

.breadcrumb {
    text-align: right;
    padding: 0px 15px;
    color: #232323;
    font-size: 16px;
}
.reg-number {
  font-weight: 700; /* or 600 / 800 */
}


/* Container */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.form-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #232323;
}

.form-card .subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

/* Form Groups */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #c23934;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-option:hover {
    border-color: #c23934;
}

.radio-option input[type="radio"]:checked + label,
.radio-option:has(input[type="radio"]:checked) {
    border-color: #c23934;
    background: #fff5f5;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #c23934;
    color: white;
}

.btn-primary:hover {
    background: #a52f2a;
}

.btn-secondary {
    background: #232323;
    color: white;
}

.btn-secondary:hover {
    background: #a52f2a;
}

.btn-outline {
    background: transparent;
    border: 2px solid #c23934;
    color: #c23934;
}

.btn-outline:hover {
    background: #c23934;
    color: white;
}

.btn-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Add Another Car */
.add-car-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c23934;
    font-weight: 500;
    cursor: pointer;
    margin-top: 15px;
    padding: 10px 15px;
    border: 2px dashed #c23934;
    border-radius: 5px;
    transition: all 0.3s;
    background: white;
}

.add-car-btn:hover {
    background: #fff5f5;
    border-style: solid;
}

.car-form-group {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 2px dashed #e0e0e0;
}

.car-form-group:last-of-type {
    border-bottom: none;
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-option label {
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.tab {
    padding: 12px 25px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-weight: 500;
    color: #666;
}

.tab.active {
    color: #c23934;
    border-bottom-color: #c23934;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Results Page */
.results-header {
    text-align: center;
    margin-bottom: 40px;
}

.results-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.results-header p {
    color: #666;
    font-size: 16px;
}

.featured-offers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.offer-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.offer-card:hover {
    transform: translateY(-5px);
}

.offer-badge {
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.badge-lowest {
    background: #ffd700;
    color: #000;
}

.badge-popular {
    background: #4a90e2;
    color: white;
}

.badge-optimum {
    background: #2ecc71;
    color: white;
}

.offer-company {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.company-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.company-name {
    font-weight: bold;
    font-size: 16px;
}

.offer-price {
    font-size: 32px;
    font-weight: bold;
    color: #c23934;
    margin: 15px 0;
}

.offer-details {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.offer-features {
    list-style: none;
    margin-bottom: 20px;
    font-size: 13px;
}

.offer-features li {
    padding: 5px 0;
    color: #555;
}

.all-offers {
    margin-top: 50px;
}

.all-offers h2 {
    font-size: 28px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.offer-list-item {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.offer-info {
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 1;
}

.offer-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* Footer */
.footer {
    background: #232323;
    color: white;
    padding: 40px 50px 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
    font-size: 14px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #c23934;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-link:hover {
    background: #a52f2a;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Login Page */
.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
}

.auth-card {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-weight: 500;
    color: #666;
}

.auth-tab.active {
    color: #c23934;
    border-bottom-color: #c23934;
}

.notice-box {
    background: #fff5f5;
    border-left: 4px solid #c23934;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

.help-text {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    
    .hero, .hero-landing {
        padding: 40px 20px;
    }
    
    .hero h1, .hero-landing h1 {
        font-size: 28px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .featured-offers, .features-grid, .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .nav-steps {
        display: none;
    }
    
    .progress-bar {
        padding: 15px 20px;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .progress-step {
        flex: 0 0 auto;
    }
    
    .progress-circle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .progress-label {
        font-size: 10px;
        max-width: 60px;
    }
    
    .progress-line {
        display: none;
    }
    
    .insurance-type-selector {
        flex-direction: column;
    }
    
    .insurance-type-option {
        width: 100%;
        justify-content: center;
    }
    
    .partners-logos {
        flex-direction: column;
        gap: 20px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-option {
        width: 100%;
    }
    
    .btn-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-actions .btn {
        width: 100%;
    }
    
    .offer-list-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .offer-info {
        flex-direction: column;
    }
    
    .offer-actions {
        align-items: stretch;
        width: 100%;
    }
    
    .offer-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 18px;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .hero h1, .hero-landing h1 {
        font-size: 24px;
    }
    
    .hero p, .hero-landing p {
        font-size: 14px;
    }
    
    .form-card {
        padding: 20px;
    }
    
    .form-card h2 {
        font-size: 20px;
    }
    
    .quote-form-card {
        padding: 25px;
    }
    
    .step-card {
        padding: 20px 15px;
    }
    
    .step-icon {
        font-size: 36px;
    }
    
    .feature-icon {
        font-size: 28px;
    }
}