/* CSS Variables - Enhanced with Nourish-inspired design */
: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;
}

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

/* Logo Styles */
.logo-image {
    max-height: 100px;
    height: auto;
    width: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.header-content {
    min-height: 40px;
    align-items: center;
    padding: 0.25rem 0;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    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);
    background: var(--white);
    color: var(--text-color);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

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

.cta-button.large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    height: 50px;
}

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

.logo h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--surface-color) 0%, var(--background-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 102, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    margin-top: 2rem;
}

/* 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: 1.5rem;
    margin-bottom: 2rem;
    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;
}

/* Social Proof */
.social-proof {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    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;
}

.car-type-selector {
    margin-bottom: 2rem;
}

.car-type-label {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.car-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.car-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--surface-color);
    cursor: pointer;
    transition: var(--transition);
    min-width: 80px;
    color: var(--text-color);
}

.car-icon:hover,
.car-icon.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.car-icon-text {
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.email-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    animation: slideInUp 0.5s ease;
}

.email-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--surface-color);
    color: var(--text-color);
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

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

.hero-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ai-hologram-container {
    width: 600px;
    height: 500px;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.02) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(0, 102, 255, 0.02) 100%);
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 102, 255, 0.05);
    overflow: hidden;
}

/* AI Processing Matrix */
.ai-matrix {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 1rem;
}

.matrix-cell {
    width: 8px;
    height: 8px;
    background: rgba(0, 102, 255, 0.3);
    border-radius: 2px;
}

.matrix-cell.active {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Extended AI Metrics Grid */
.ai-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    z-index: 3;
    position: relative;
}

.metric-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.metric-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 102, 255, 0.3);
}

.metric-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.metric-icon {
    font-size: 1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 6px;
}

.metric-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
    flex: 1;
}

.metric-value-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.metric-subtitle {
    font-size: 0.625rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

/* Progress Bar */
.metric-progress {
    width: 100%;
    height: 4px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #3385FF);
    border-radius: 2px;
    animation: progressFill 2s ease-in-out infinite;
}

/* Trend Indicator */
.trend-up {
    color: var(--success-color);
}

.trend-indicator {
    display: flex;
    gap: 2px;
    align-items: end;
    height: 20px;
}

.trend-line {
    flex: 1;
    background: var(--primary-color);
    border-radius: 1px;
    animation: trendPulse 2s ease-in-out infinite;
}

.trend-line:nth-child(1) { height: 60%; animation-delay: 0s; }
.trend-line:nth-child(2) { height: 80%; animation-delay: 0.3s; }
.trend-line:nth-child(3) { height: 40%; animation-delay: 0.6s; }

/* Inspection Status */
.inspection-status {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: statusDotPulse 2s ease-in-out infinite;
}

.status-dot.completed {
    background: var(--success-color);
    box-shadow: 0 0 8px var(--success-color);
}

.status-dot.pending {
    background: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-color);
}

.status-dot:nth-child(1) { animation-delay: 0s; }
.status-dot:nth-child(2) { animation-delay: 0.5s; }
.status-dot:nth-child(3) { animation-delay: 1s; }
.status-dot:nth-child(4) { animation-delay: 1.5s; }

/* Rating Stars */
.rating-stars {
    display: flex;
    gap: 2px;
    justify-content: center;
}

.star {
    font-size: 0.75rem;
    color: #e9ecef;
}

.star.filled {
    color: #FFD700;
    animation: starTwinkle 3s ease-in-out infinite;
}

.star:nth-child(1) { animation-delay: 0s; }
.star:nth-child(2) { animation-delay: 0.2s; }
.star:nth-child(3) { animation-delay: 0.4s; }
.star:nth-child(4) { animation-delay: 0.6s; }
.star:nth-child(5) { animation-delay: 0.8s; }

/* Match Indicator */
.match-indicator {
    display: flex;
    justify-content: center;
}

.match-circle {
    position: relative;
}

.match-progress {
    animation: matchRotate 3s linear infinite;
    transform-origin: center;
}

/* Response Indicator */
.response-indicator {
    display: flex;
    gap: 2px;
    align-items: end;
    height: 20px;
}

.response-bar {
    flex: 1;
    border-radius: 1px;
    animation: responsePulse 1.5s ease-in-out infinite;
}

.response-bar.fast {
    background: var(--success-color);
    height: 80%;
}

.response-bar.medium {
    background: var(--primary-color);
    height: 60%;
}

.response-bar:nth-child(1) { animation-delay: 0s; }
.response-bar:nth-child(2) { animation-delay: 0.3s; }
.response-bar:nth-child(3) { animation-delay: 0.6s; }

/* Social Proof Ticker */
.social-proof-ticker {
    margin-top: 3rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.ticker-content {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-content span {
    margin-right: 3rem;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

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

/* Trust Bar */
.trust-bar {
    background: var(--surface-color);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-label {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-logo {
    font-weight: 700;
    color: var(--text-light);
    font-size: 1.125rem;
    opacity: 0.7;
}

/* Stats Section */
.stats-section {
    background: var(--background-color);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat {
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--surface-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.step {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--background-color);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
}

.step h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Our AI Section */
.our-ai {
    padding: 80px 0;
    background: var(--background-color);
}

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

.ai-feature {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.ai-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.ai-feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.ai-feature p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

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

.testimonial {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
}

.testimonial-car-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.car-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial:hover .car-photo {
    transform: scale(1.05);
}

.car-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.car-year {
    font-weight: 600;
    font-size: 1.1rem;
}

.car-make {
    font-weight: 500;
    font-size: 1rem;
}

.car-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--success-color);
}

.testimonial-content {
    padding: 32px;
    position: relative;
}

.savings-badge {
    position: absolute;
    top: -20px;
    right: 32px;
    background: linear-gradient(135deg, var(--success-color), #00b894);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
}

.savings-amount {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
}

.savings-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-color);
    font-style: italic;
    margin-top: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
}

.author-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--text-color);
    font-weight: 600;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.author-location {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 2px;
}

.purchase-date {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
}

.testimonial-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 80px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

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

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
}

.stat-item .stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--background-color);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-color);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    background: var(--surface-color);
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-family);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}

.faq-question:hover {
    background: var(--background-color);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question.active::after {
    content: '−';
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer:not(.hidden) {
    display: block;
}

.faq-answer p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.cta-section .cta-button {
    background: var(--white);
    color: var(--primary-color);
}

.cta-section .cta-button:hover {
    background: var(--background-color);
}

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

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.company-info {
    margin-top: 1rem;
}

.company-info p {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Modal Styles - Professional Redesign */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    height: auto;
    overflow: hidden;
    position: relative;
    transform: scale(0.95);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

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

/* Funnel Progress Bar - Professional Design */
.funnel-progress {
    position: sticky;
    top: 0;
    background: var(--surface-color);
    padding: 16px 24px 12px;
    border-bottom: 1px solid var(--border-color);
    z-index: 10;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

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

.progress-step.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

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

.step-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    transition: var(--transition);
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-step.completed .step-label {
    color: var(--success-color);
}

.progress-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

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

/* Step Content - Professional Design */
.modal-step {
    padding: 20px 24px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.step-header {
    text-align: center;
    margin-bottom: 16px;
}

.step-header h2 {
    margin-bottom: 6px;
    color: var(--text-color);
    font-size: 20px;
    font-weight: 700;
}

.step-subtitle {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* Reassurance Banner - Professional Design */
.reassurance-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #eff6ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--border-radius);
    padding: 12px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.reassurance-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
}

.reassurance-icon {
    font-size: 20px;
    flex-shrink: 0;
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reassurance-content h4 {
    margin-bottom: 4px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
}

.reassurance-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.3;
}

/* Form Enhancements - Professional Design */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* Distance Section */
.distance-section {
    margin-bottom: 16px;
}

.distance-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Price Target Section */
.price-target-section {
    margin-bottom: 16px;
}

.price-target-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-slider-container {
    background: var(--background-color);
    border-radius: var(--border-radius);
    padding: 16px;
    border: 1px solid var(--border-color);
}

.price-range {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.price-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 12px;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.price-display {
    text-align: center;
    margin-bottom: 8px;
}

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

.price-note {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
    text-align: center;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 14px;
    transition: var(--transition);
    background: var(--surface-color);
    color: var(--text-color);
}

.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.error,
.form-group select.error {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 48px;
}

/* Distance Options - Professional Design */
.distance-options {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}

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

.distance-option:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.distance-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.distance-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.distance-content {
    flex: 1;
}

.distance-content h4 {
    margin-bottom: 6px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
}

.distance-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.4;
}

.recommended-badge {
    display: inline-block;
    background: var(--success-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.distance-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 14px;
    opacity: 0;
    transition: var(--transition);
}

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

/* Location Preview - Professional Design */
.location-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 32px;
    border: 1px solid #bfdbfe;
}

.location-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-info h4 {
    margin-bottom: 6px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
}

.location-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.4;
}

/* Contact Benefits - Professional Design */
.contact-benefits {
    background: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid #bfdbfe;
}

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

.contact-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.contact-benefits li {
    padding: 0;
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Summary Card - Professional Design */
.summary-card {
    background: var(--background-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}

.summary-card h4 {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-details {
    display: grid;
    gap: 16px;
}

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

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

.summary-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.summary-value {
    color: var(--text-light);
    text-align: right;
    font-size: 14px;
}

/* Payment Section - Professional Design */
.payment-section {
    margin-bottom: 32px;
}

.payment-section h4 {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-total {
    background: var(--background-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}

.total-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 16px;
}

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

.total-final {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-color);
    border-top: 2px solid var(--border-color);
    padding-top: 16px;
    margin-top: 8px;
}

.payment-guarantee {
    text-align: center;
    margin-top: 24px;
    padding: 16px;
    background: var(--success-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
}

.payment-guarantee p {
    margin: 0;
    color: var(--white);
}

/* Success Step - Professional Design */
.success-content {
    text-align: center;
    padding: 48px 32px;
}

.success-icon {
    font-size: 80px;
    margin-bottom: 24px;
    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 {
    margin-bottom: 16px;
    color: var(--text-color);
    font-size: 32px;
    font-weight: 700;
}

.success-content p {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 48px;
    line-height: 1.6;
}

.next-steps {
    text-align: left;
    margin-bottom: 48px;
}

.next-steps h4 {
    margin-bottom: 24px;
    color: var(--text-color);
    font-size: 20px;
    font-weight: 600;
}

.step-timeline {
    display: grid;
    gap: 24px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--background-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.timeline-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.timeline-content h5 {
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
}

.timeline-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

.success-benefits {
    background: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid #bfdbfe;
}

.success-benefits h4 {
    margin-bottom: 16px;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
}

.success-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.success-benefits li {
    padding: 0;
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Error Notifications - Professional Design */
.error-notification {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 24px;
    animation: slideInDown 0.3s ease;
}

.error-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--error-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-message {
    flex: 1;
    color: #dc2626;
    font-weight: 500;
    font-size: 14px;
}

.error-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #dc2626;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.error-close:hover {
    background: #fecaca;
}

/* Processing State */
.cta-button.processing {
    background: var(--text-muted);
    cursor: not-allowed;
    animation: pulse 1.5s infinite;
}

.processing-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--border-radius);
    margin-top: 1rem;
    animation: slideInUp 0.3s ease-out;
}

.processing-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.processing-text h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .modal {
        margin: 16px;
        max-height: calc(100vh - 32px);
        max-width: calc(100vw - 32px);
    }
    
    .funnel-progress {
        padding: 16px 20px 12px;
    }
    
    .progress-steps {
        gap: 6px;
    }
    
    .step-label {
        font-size: 9px;
        line-height: 1.2;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .modal-step {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .distance-option {
        padding: 12px;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .timeline-icon {
        align-self: center;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .timeline-content h5 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .timeline-content p {
        font-size: 0.8rem;
    }
    
    .success-benefits ul {
        gap: 0.5rem;
    }
    
    .success-benefits li {
        font-size: 0.85rem;
        padding: 0.25rem 0;
    }
    
    .step-header h2 {
        font-size: 20px;
        margin-bottom: 4px;
    }
    
    .step-subtitle {
        font-size: 13px;
    }
    
    .reassurance-banner {
        padding: 10px;
        gap: 8px;
    }
    
    .reassurance-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .reassurance-content h4 {
        font-size: 13px;
    }
    
    .reassurance-content p {
        font-size: 12px;
    }
    
    .trust-banner {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .trust-content h4 {
        font-size: 1rem;
    }
    
    .social-proof {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .modal {
        margin: 8px;
        max-height: calc(100vh - 16px);
        max-width: calc(100vw - 16px);
    }
    
    .funnel-progress {
        padding: 12px 16px 8px;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 8px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    .step-label {
        font-size: 8px;
    }
    
    .reassurance-banner {
        flex-direction: column;
        text-align: center;
        padding: 8px;
    }
    
    .location-preview {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-step {
        padding: 16px;
    }
    
    .step-header h2 {
        font-size: 18px;
        margin-bottom: 2px;
    }
    
    .step-subtitle {
        font-size: 12px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .cta-button.large {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .timeline-item {
        gap: 0.5rem;
    }
    
    .timeline-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .timeline-content h5 {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .timeline-content p {
        font-size: 0.75rem;
    }
    
    .success-benefits li {
        font-size: 0.8rem;
        padding: 0.2rem 0;
    }
    
    .trust-banner {
        padding: 0.875rem;
    }
    
    .trust-content h4 {
        font-size: 0.875rem;
    }
    
    .social-proof {
        gap: 0.75rem;
    }
    
    .proof-item {
        font-size: 0.75rem;
    }
} 

/* AI Status Dashboard */
.ai-dashboard {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    z-index: 3;
    position: relative;
}

.dashboard-panel {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: 15px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-indicator.online {
    background: var(--success-color);
    box-shadow: 0 0 10px var(--success-color);
}

.status-indicator.processing {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.panel-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    flex: 1;
}

.signal-strength {
    display: flex;
    gap: 2px;
}

.signal-bar {
    width: 3px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 1px;
}

.panel-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

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

.metric-value {
    color: var(--primary-color);
    font-weight: 600;
}

.analysis-chart {
    display: flex;
    gap: 0.5rem;
    align-items: end;
    height: 60px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color), #3385FF);
    border-radius: 4px 4px 0 0;
    min-height: 10px;
}

/* Pricing Section Styles */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 60px;
    font-weight: 400;
}

/* Two-Tier Pricing Layout */
.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(106, 90, 249, 0.15);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
}

/* Tier Badge */
.tier-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), #8b7cf6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-1 .tier-badge {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.tier-2 .tier-badge {
    background: linear-gradient(135deg, var(--primary-color), #8b7cf6);
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 16px;
    gap: 4px;
}

.currency {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.pricing-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.pricing-features {
    margin-bottom: 40px;
}

.pricing-features h4 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--text-color);
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 20px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: #f8f9ff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: var(--transition);
}

.feature-list li:hover {
    background: #f0f2ff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-content strong {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.feature-content span {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

.pricing-guarantee {
    text-align: center;
    margin-bottom: 40px;
    padding: 24px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f3ff 100%);
    border-radius: 16px;
    border: 1px solid #b3d9ff;
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.guarantee-text {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.pricing-guarantee p {
    margin-bottom: 0;
    color: var(--text-color);
    font-weight: 500;
}

.pricing-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    font-weight: 500;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

/* Pricing Summary Steps */
.pricing-summary {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.pricing-summary h3 {
    font-size: 1.75rem;
    margin-bottom: 32px;
    color: var(--text-color);
}

.summary-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 120px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), #8b7cf6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(106, 90, 249, 0.3);
}

.step-text {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    text-align: center;
}

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

/* Risk-Free Highlight */
.risk-free-highlight {
    max-width: 600px;
    margin: 0 auto 60px;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #fef7ff 0%, #f3e8ff 100%);
    border-radius: 24px;
    border: 2px solid #e9d5ff;
    position: relative;
    overflow: hidden;
}

.risk-free-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #34d399);
}

.risk-free-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.risk-free-icon {
    font-size: 1.2rem;
}

.risk-free-text {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.risk-free-highlight h4 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-color);
    font-weight: 700;
}

.risk-free-highlight p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
}

.pricing-cta {
    text-align: center;
}

.pricing-cta .cta-button {
    margin-bottom: 16px;
    font-size: 1.1rem;
    padding: 16px 32px;
}

.pricing-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    font-weight: 500;
}

.pricing-comparison {
    max-width: 900px;
    margin: 0 auto;
}

.pricing-comparison h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.75rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.comparison-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.comparison-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.comparison-item h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.comparison-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Mobile Responsive for Pricing */
@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }
    
    .pricing-tiers {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .pricing-card {
        padding: 32px 24px;
        margin-bottom: 0;
    }
    
    .amount {
        font-size: 3rem;
    }
    
    .currency {
        font-size: 1.5rem;
    }
    
    .feature-list {
        gap: 16px;
    }
    
    .feature-list li {
        padding: 12px;
    }
    
    .summary-steps {
        flex-direction: column;
        gap: 16px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .risk-free-highlight {
        padding: 32px 24px;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .pricing-card {
        padding: 24px 20px;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .pricing-header h3 {
        font-size: 1.5rem;
    }
    
    .feature-list li {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .feature-icon {
        margin-top: 0;
    }
    
    .tier-badge {
        top: 16px;
        right: 16px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* AI Search Container */
.ai-search-container {
    padding: 16px;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}

.ai-search-header {
    margin-bottom: 16px;
}

.ai-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    max-width: 100%;
    overflow: hidden;
}

.ai-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.ai-logo-text h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-status {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Search Progress */
.search-progress {
    margin-bottom: 16px;
}

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

.search-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    width: 0%;
    transition: width 0.5s ease;
    position: relative;
}

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

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

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



/* Search Activity */
.search-activity {
    text-align: left;
    background: var(--background-color);
    border-radius: var(--border-radius);
    padding: 16px;
    border: 1px solid var(--border-color);
}

.search-activity h4 {
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
}

.activity-log {
    max-height: 120px;
    overflow-y: auto;
    display: grid;
    gap: 8px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    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: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

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

.activity-status {
    color: var(--success-color);
    font-weight: bold;
    font-size: 14px;
    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);
    }
}

/* Search Success */
.search-success {
    padding: 16px;
    text-align: center;
}

.success-header {
    margin-bottom: 16px;
}

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

.success-header h2 {
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 24px;
    font-weight: 700;
}

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

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



/* Search Highlights */
.search-highlights {
    margin-bottom: 16px;
    text-align: left;
}

.search-highlights h4 {
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
}

.highlight-items {
    display: grid;
    gap: 12px;
}

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

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.highlight-content h5 {
    margin-bottom: 6px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
}

.highlight-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.4;
}

/* Responsive Design for AI Search */
@media (max-width: 768px) {
    .search-metrics {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .ai-search-container {
        padding: 20px;
    }
    
    .search-success {
        padding: 20px;
    }
    
    .ai-logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .ai-logo-text h3 {
        font-size: 1.25rem;
    }
    
    .ai-status {
        font-size: 0.9rem;
    }
    
    .search-progress-text {
        font-size: 0.9rem;
    }
    
    .activity-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .activity-text {
        font-size: 0.85rem;
    }
    
    .activity-time {
        font-size: 0.75rem;
    }
    
    .success-header h2 {
        font-size: 1.5rem;
    }
    
    .success-subtitle {
        font-size: 0.9rem;
    }
    
    .highlight-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .highlight-content h5 {
        font-size: 0.9rem;
    }
    
    .highlight-content p {
        font-size: 0.8rem;
    }
}

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

/* Payment Explanation Styles */
.payment-explanation {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.explanation-card {
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.explanation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.explanation-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.explanation-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.explanation-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-color);
}

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

.explanation-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fee-highlight {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.fee-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.fee-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.explanation-content p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

.explanation-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.explanation-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--background-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
}

.explanation-features li:hover {
    background: var(--primary-light);
    transform: translateX(4px);
}

.explanation-summary {
    background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 2px solid var(--primary-color);
}

.summary-highlight h4 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
}

.summary-highlight ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-highlight li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-color);
}

.summary-highlight li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Mobile Responsive for Payment Explanation */
@media (max-width: 768px) {
    .payment-explanation {
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .explanation-card {
        padding: 1rem;
    }
    
    .explanation-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .explanation-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .explanation-header h3 {
        font-size: 1.1rem;
    }
    
    .fee-amount {
        font-size: 1.75rem;
    }
    
    .fee-label {
        font-size: 0.9rem;
    }
    
    .explanation-content p {
        font-size: 1rem;
    }
    
    .explanation-features li {
        font-size: 0.85rem;
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .explanation-summary {
        padding: 1rem;
    }
    
    .summary-highlight h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .summary-highlight li {
        font-size: 0.85rem;
        padding: 0.25rem 0;
    }
}

@media (max-width: 480px) {
    .payment-explanation {
        gap: 0.75rem;
    }
    
    .explanation-card {
        padding: 0.75rem;
    }
    
    .explanation-header {
        gap: 0.25rem;
        margin-bottom: 0.75rem;
    }
    
    .explanation-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .explanation-header h3 {
        font-size: 1rem;
    }
    
    .fee-amount {
        font-size: 1.5rem;
    }
    
    .fee-label {
        font-size: 0.8rem;
    }
    
    .explanation-content p {
        font-size: 0.9rem;
    }
    
    .explanation-features li {
        font-size: 0.8rem;
        padding: 0.4rem;
        gap: 0.4rem;
    }
    
    .explanation-summary {
        padding: 0.75rem;
    }
    
    .summary-highlight h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .summary-highlight li {
        font-size: 0.8rem;
        padding: 0.2rem 0;
    }
} 