/* CSS Variables - Nourish-inspired color palette */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary-color: #64748b;
    --background-color: #f8fafc;
    --surface-color: #ffffff;
    --text-color: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 50px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.logo-image {
    max-height: 80px;
    height: auto;
    width: auto;
}

.back-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Main Content */
.main-content {
    padding: 1rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #4f46e5);
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: var(--transition);
}

.progress-step.active,
.progress-step.completed {
    opacity: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.progress-step.active .step-number {
    background-color: var(--primary-color);
    color: var(--white);
}

.progress-step.completed .step-number {
    background-color: var(--success-color);
    color: var(--white);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--text-color);
}

/* Step Content */
.step-content {
    display: none;
    animation: slideInUp 0.4s ease-out;
    flex: 1;
}

.step-content.active {
    display: flex;
    flex-direction: column;
}

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

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

.step-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-header h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.step-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Trust Banner */
.trust-banner {
    background: linear-gradient(135deg, var(--primary-light), #e0e7ff);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.trust-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.trust-content p {
    color: var(--text-light);
    margin: 0;
}

/* Forms */
.welcome-form,
.car-details-form,
.location-form,
.contact-form,
.payment-form {
    max-width: 500px;
    margin: 0 auto 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    font-family: var(--font-family);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 48px;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), #4f46e5);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.cta-button.secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cta-button.large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    width: 100%;
    margin-top: 1rem;
}

.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.form-actions .cta-button {
    flex: 1;
}

/* Social Proof */
.social-proof {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.proof-icon {
    font-size: 1.125rem;
}

/* Distance Options */
.distance-section {
    margin-bottom: 1.5rem;
}

.distance-section label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.distance-options {
    display: grid;
    gap: 1rem;
}

.distance-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.distance-option:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

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

.distance-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.distance-content {
    flex: 1;
}

.distance-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.distance-content p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.recommended-badge {
    position: absolute;
    top: -8px;
    right: 1rem;
    background: var(--success-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.distance-check {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.distance-option.selected .distance-check {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Price Slider */
.price-target-section {
    margin-bottom: 1.5rem;
}

.price-target-section label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.price-slider-container {
    position: relative;
}

.price-slider-container input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
}

.price-slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.price-slider-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow);
}

.price-display {
    text-align: center;
    margin-top: 1rem;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-left: 0.5rem;
}

/* Contact Benefits */
.contact-benefits {
    background: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

.contact-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.contact-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 600;
}

/* Summary Card */
.summary-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.summary-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.summary-details {
    display: grid;
    gap: 0.75rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 500;
    color: var(--text-light);
}

.summary-value {
    font-weight: 600;
    color: var(--text-color);
}

/* Payment Section */
.payment-section {
    margin-bottom: 1.5rem;
}

.payment-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.payment-total {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.total-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text-light);
}

.total-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

.total-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-color);
}

/* Process Explanation */
.process-explanation {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.process-explanation h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: center;
}

.process-steps {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--primary-light);
    border-radius: var(--border-radius);
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: var(--transition);
}

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

.process-step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.process-step-content h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.process-step-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.process-guarantee {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
}

.guarantee-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.guarantee-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.guarantee-content h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.guarantee-content p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.95;
    line-height: 1.4;
}

/* Payment Guarantee */
.payment-guarantee {
    background: var(--success-color);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.guarantee-icon {
    font-size: 1.125rem;
}

.guarantee-text {
    font-weight: 600;
    font-size: 0.875rem;
}

.payment-guarantee p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Success Step */
.success-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.success-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.success-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Next Steps */
.next-steps {
    margin-bottom: 1.5rem;
}

.next-steps h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.step-timeline {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.timeline-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.timeline-content p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* Success Benefits */
.success-benefits {
    background: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

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

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

.success-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.success-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 600;
}

.success-actions {
    margin-top: 1.5rem;
}

/* Footer */
.footer {
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0 1rem;
    margin-top: auto;
}

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

.footer-section h3,
.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.footer-section p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .main-content {
        padding: 0.5rem 0;
    }
    
    .step-header h1 {
        font-size: 1.75rem;
    }
    
    .step-header h2 {
        font-size: 1.5rem;
    }
    
    .step-subtitle {
        font-size: 0.95rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .social-proof {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .progress-steps {
        gap: 0.25rem;
    }
    
    .step-label {
        font-size: 0.6rem;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .trust-banner {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .distance-option {
        padding: 0.75rem;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    /* Process Explanation Responsive */
    .process-explanation {
        padding: 1rem;
    }
    
    .process-explanation h4 {
        font-size: 1rem;
    }
    
    .process-step {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .process-step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .process-step-content h5 {
        font-size: 0.9rem;
    }
    
    .process-step-content p {
        font-size: 0.8rem;
    }
    
    .guarantee-highlight {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0.5rem 0;
    }
    
    .step-header h1 {
        font-size: 1.5rem;
    }
    
    .step-header h2 {
        font-size: 1.25rem;
    }
    
    .step-subtitle {
        font-size: 0.8rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .cta-button.large {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .progress-steps {
        gap: 0.2rem;
    }
    
    .step-label {
        display: none;
    }
    
    .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
    }
    
    .trust-banner {
        padding: 0.75rem;
    }
    
    .trust-content h4 {
        font-size: 0.9rem;
    }
    
    .distance-option {
        padding: 0.625rem;
    }
    
    .distance-content h4 {
        font-size: 0.8rem;
    }
    
    .distance-content p {
        font-size: 0.7rem;
    }
    
    .summary-card,
    .payment-total,
    .contact-benefits,
    .success-benefits {
        padding: 0.75rem;
    }
    
    .timeline-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .timeline-content h5 {
        font-size: 0.8rem;
    }
    
    .timeline-content p {
        font-size: 0.7rem;
    }
    
    /* Process Explanation Mobile Responsive */
    .process-explanation {
        padding: 0.75rem;
    }
    
    .process-explanation h4 {
        font-size: 0.9rem;
    }
    
    .process-step {
        padding: 0.625rem;
        gap: 0.375rem;
    }
    
    .process-step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .process-step-content h5 {
        font-size: 0.8rem;
    }
    
    .process-step-content p {
        font-size: 0.7rem;
    }
    
    .guarantee-highlight {
        gap: 0.375rem;
    }
    
    .guarantee-content h5 {
        font-size: 0.9rem;
    }
    
    .guarantee-content p {
        font-size: 0.75rem;
    }
}

/* AI Search Styles */
.ai-search-container {
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ai-search-header {
    margin-bottom: 1.5rem;
}

.ai-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.ai-logo-icon {
    font-size: 3rem;
    animation: pulse 2s infinite;
}

.ai-logo-text h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.ai-status {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 0.25rem;
}

.search-progress {
    margin-bottom: 1.5rem;
}

.search-progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.search-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.search-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.search-progress-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.search-activity {
    text-align: left;
    margin-top: 1.5rem;
}

.search-activity h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.activity-log {
    max-height: 250px;
    overflow-y: auto;
    display: grid;
    gap: 0.5rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    animation: slideInLeft 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.activity-item.completed {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.activity-item.completed::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #10b981, #059669);
    border-radius: 0 2px 2px 0;
}

.activity-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--success-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-text {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.activity-time {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
}

.activity-status {
    color: var(--success-color);
    font-weight: bold;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-item.completed .activity-status {
    opacity: 1;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Search Success Styles */
.search-success {
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.success-header {
    margin-bottom: 1.5rem;
}

.success-header .success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 1s ease-in-out;
}

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

.success-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.4;
}

.success-subtitle strong {
    color: var(--primary-color);
    font-weight: 700;
}

.search-highlights {
    margin-bottom: 1.5rem;
    text-align: left;
}

.search-highlights h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.highlight-items {
    display: grid;
    gap: 0.75rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.highlight-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-content h5 {
    margin-bottom: 0.25rem;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
}

.highlight-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive AI Search */
@media (max-width: 768px) {
    .ai-search-container {
        padding: 1rem;
        justify-content: flex-start;
    }
    
    .ai-logo-text h3 {
        font-size: 1.25rem;
    }
    
    .ai-status {
        font-size: 0.9rem;
    }
    
    .search-progress-text {
        font-size: 0.8rem;
    }
    
    .activity-item {
        padding: 0.5rem;
    }
    
    .activity-text {
        font-size: 0.8rem;
    }
    
    .activity-time {
        font-size: 0.7rem;
    }
    
    .search-success {
        padding: 1rem;
        justify-content: flex-start;
    }
    
    .success-header h2 {
        font-size: 1.5rem;
    }
    
    .success-subtitle {
        font-size: 1rem;
    }
    
    .highlight-item {
        padding: 0.75rem;
    }
    
    .highlight-content h5 {
        font-size: 0.9rem;
    }
    
    .highlight-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .ai-search-container {
        padding: 0.75rem;
    }
    
    .ai-logo-text h3 {
        font-size: 1.1rem;
    }
    
    .ai-status {
        font-size: 0.8rem;
    }
    
    .search-progress-text {
        font-size: 0.75rem;
    }
    
    .activity-item {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .activity-text {
        font-size: 0.75rem;
    }
    
    .activity-time {
        font-size: 0.65rem;
    }
    
    .search-success {
        padding: 0.75rem;
        justify-content: flex-start;
    }
    
    .success-header h2 {
        font-size: 1.25rem;
    }
    
    .success-subtitle {
        font-size: 0.9rem;
    }
    
    .highlight-item {
        padding: 0.5rem;
    }
    
    .highlight-content h5 {
        font-size: 0.8rem;
    }
    
    .highlight-content p {
        font-size: 0.75rem;
    }
} 