/* ===========================
   Limitless Care Configurator
   =========================== */

/* Variables */
:root {
    --primary: #0B2A3F;
    --secondary: #2EC4B6;
    --white: #FFFFFF;
    --gray-light: #f5f5f5;
    --gray: #666666;
    --gray-dark: #333333;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* ===========================
   HEADER - Full width blue bar
   =========================== */
.header {
    background-color: var(--primary);
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    height: 40px;
    width: auto;
}

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

.header-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.header-contact-btn {
    background-color: var(--secondary);
    color: var(--white) !important;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.header-contact-btn:hover {
    background-color: #25b0a3;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Mobile navigation */
.mobile-nav {
    display: none;
    background-color: var(--primary);
    padding: 1rem 2rem;
    flex-direction: column;
    gap: 0.75rem;
}

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

.mobile-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-contact-btn {
    background-color: var(--secondary) !important;
    color: var(--white) !important;
    text-align: center;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

/* ===========================
   MAIN CONTENT
   =========================== */
.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===========================
   INTRO SECTION
   =========================== */
.intro-section {
    padding: 3rem 0 2rem;
}

.intro-section h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.intro-text {
    color: var(--gray-dark);
}

.intro-text p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-cta {
    font-weight: 500;
    color: var(--primary);
}

/* ===========================
   STEP PROGRESS SECTION
   =========================== */
.step-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 2rem;
}

.step-header {
    margin-bottom: 0.75rem;
}

.step-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--secondary);
    border-radius: 4px;
    transition: width 0.4s ease;
    width: 25%;
}

/* ===========================
   WIZARD CONTAINER
   =========================== */
.wizard-container {
    padding-bottom: 4rem;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* ===========================
   VEHICLE SELECTOR (Step 1)
   =========================== */
.vehicle-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.vehicle-option {
    flex: 1;
    padding: 1.25rem 0.5rem;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.vehicle-option:hover {
    border-color: var(--primary);
}

.vehicle-option.selected {
    border-color: var(--primary);
    background: var(--primary);
}

.vehicle-option.selected .vehicle-icon {
    color: var(--white);
}

.vehicle-option.selected .vehicle-label {
    color: var(--white);
}

.vehicle-icon {
    width: 60px;
    height: 30px;
    margin: 0 auto 0.5rem;
    color: var(--primary);
}

.vehicle-icon svg {
    width: 100%;
    height: 100%;
}

.vehicle-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    display: block;
}

/* Brand/Model Input */
.brand-model-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.input-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.required {
    color: #dc3545;
}

.text-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: border-color 0.2s;
    font-family: inherit;
}

.text-input:focus {
    outline: none;
    border-color: var(--secondary);
}

/* ===========================
   PACKAGE LIST (Steps 2 & 3)
   =========================== */
.package-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.package-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.package-item:hover {
    border-color: var(--primary);
}

.package-item.selected {
    border-color: var(--primary);
    background: rgba(11, 42, 63, 0.03);
}

.radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.package-item.selected .radio-circle {
    border-color: var(--primary);
    background: var(--primary);
}

.package-item.selected .radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
}

.package-info {
    flex: 1;
}

.package-name {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.125rem;
}

.package-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
}

/* ===========================
   CONTACT FORM (Step 4)
   =========================== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-dark);
}

.text-area {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.2s;
}

.text-area:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Submit Section */
.submit-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--secondary);
    color: var(--primary);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-submit:hover {
    background: #25b0a3;
}

.divider {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 1rem;
    color: var(--gray);
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.btn-whatsapp {
    width: 100%;
    padding: 1rem 2rem;
    background: #25D366;
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #1da851;
}

/* ===========================
   STEP NAVIGATION
   =========================== */
.step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.btn-back,
.btn-next {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-back {
    background: var(--white);
    color: var(--gray);
    border: 2px solid #e0e0e0;
}

.btn-back:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-next {
    background: var(--secondary);
    color: var(--primary);
    font-weight: 700;
}

.btn-next:hover {
    background: #25b0a3;
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-next:disabled:hover {
    background: var(--secondary);
}

.arrow {
    font-size: 1.1rem;
}

/* ===========================
   RESPONSIVE - Tablet
   =========================== */
@media (max-width: 900px) {
    .header-nav {
        display: none;
    }

    .header-contact-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* ===========================
   RESPONSIVE - Mobile
   =========================== */
@media (max-width: 600px) {
    .main-content {
        padding: 0 1.25rem;
    }

    .intro-section h1 {
        font-size: 1.5rem;
    }

    .intro-text p {
        font-size: 0.9rem;
    }

    .vehicle-selector {
        flex-wrap: wrap;
    }

    .vehicle-option {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: calc(50% - 0.5rem);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .step-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-back,
    .btn-next {
        width: 100%;
        justify-content: center;
    }
}
