/* Professional Clean Design - Inspired by Modern SaaS */

/* Container & Layout */
.preview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    background: #fafafa;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Hero Section - Animated Background Like Home Page */
.preview-hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 2rem;
    margin-bottom: 2.5rem;
    overflow: hidden;
    background: #0f172a;
    border-radius: 12px;
}

.hero-background-animated {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    border-radius: 12px;
}

.hero-svg-background {
    width: 100%;
    height: 100%;
    display: block;
}

.animated-circle {
    filter: blur(40px);
}

.speed-lines {
    opacity: 0.6;
}

.gear-icon {
    opacity: 0.15;
}

.preview-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.hero-title {
    font-size: 1.625rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.success-checkmark {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    animation: checkmarkPop 0.6s ease-out;
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.vehicle-info-header {
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.25rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vehicle-logo-badge {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.vehicle-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vehicle-fallback-icon {
    width: 100%;
    height: 100%;
    color: #374151;
}

.vehicle-info-text {
    text-align: left;
}

.vehicle-name {
    font-size: 1.875rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.vin-display {
    font-size: 0.875rem;
    margin: 0;
    color: #1f2937;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Vehicle Card - Compact Modern Design */
.vehicle-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.vehicle-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.vehicle-info-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
    position: relative;
}

.vehicle-info-item:hover {
    background: linear-gradient(135deg, #f3f4f6 0%, #f9fafb 100%);
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.vehicle-info-item.highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
}

.vehicle-info-item.highlight:hover {
    background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
    border-color: #d97706;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.info-icon-wrapper {
    margin: 0 auto 0.875rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.vehicle-brand-logo-wrapper {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 10px;
    padding: 0.625rem;
}

.vehicle-brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.info-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.vehicle-info-item.highlight .info-icon-wrapper {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.vehicle-info-item.highlight .info-icon {
    color: #ffffff;
}

.info-label {
    display: block;
    font-size: 0.6875rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.625rem;
}

.info-value {
    display: block;
    font-size: 1.625rem;
    color: #111827;
    font-weight: 800;
    line-height: 1;
}

.highlight-value {
    color: #d97706;
    font-size: 1.625rem;
}

/* Records Section - Professional Card Design */
.records-section {
    background: white;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.records-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f3f4f6;
}

.records-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
}

.records-icon {
    width: 28px;
    height: 28px;
    color: white;
}

.records-header-text {
    flex: 1;
}

.records-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.3;
}

.records-subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0.5rem 0 0 0;
}

.records-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
}

.record-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    position: relative;
}

.record-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #10b981;
}

.record-icon-wrapper {
    margin: 0 auto 1.25rem;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.record-icon-wrapper.accident {
    background: #fef2f2;
}

.record-icon-wrapper.service {
    background: #eff6ff;
}

.record-icon-wrapper.ownership {
    background: #f0fdf4;
}

.record-icon-wrapper.locked-icon {
    background: #fef3c7;
}

.record-icon {
    width: 28px;
    height: 28px;
    color: #374151;
}

.record-count {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.625rem;
    line-height: 1;
}

.record-label {
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.record-card.locked {
    background: #fffbeb;
    border-color: #fbbf24;
    cursor: pointer;
}

.record-card.locked:hover {
    background: #fef3c7;
    border-color: #f59e0b;
}

.locked-text {
    font-size: 0.875rem;
    font-weight: 700;
    color: #d97706;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.unlock-prompt {
    font-size: 0.75rem;
    color: #92400e;
    font-weight: 500;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* CTA Section Wrapper - Full Width Like Other Sections */
.cta-section-wrapper {
    position: relative;
    background: #0f172a;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

/* Premium CTA Section - Clean & Conversion-Focused */
.premium-cta {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2.5rem;
    margin: 0 auto;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
}

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

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: #111827;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 0.9375rem;
    margin: 0 0 2rem 0;
    color: #6b7280;
    line-height: 1.5;
}

.cta-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    text-align: left;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.5;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
}

.cta-price-box {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    margin: 0 auto 2rem;
    max-width: 320px;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2), 0 4px 6px -2px rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.cta-price-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.25), 0 10px 10px -5px rgba(16, 185, 129, 0.15);
}

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    line-height: 1;
}

.price-currency {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
}

.price-value {
    font-size: 4.5rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.05em;
}

.price-label {
    margin: 0.75rem 0 0 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    align-items: center;
}

.divider-or {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 0;
}

.credit-form-inline {
    width: 100%;
    max-width: 320px;
}

.premium-cta .btn-purchase {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    font-weight: 600;
    color: white !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2), 0 2px 4px -1px rgba(16, 185, 129, 0.1) !important;
    width: 100%;
    max-width: 320px;
}

.premium-cta .btn-purchase:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3), 0 4px 6px -2px rgba(16, 185, 129, 0.2) !important;
}

.btn-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.premium-cta .btn-purchase:hover .btn-arrow {
    transform: translateX(3px);
}

.premium-cta .btn-credit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem !important;
    font-size: 0.9375rem !important;
    font-weight: 500;
    color: #374151 !important;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    width: 100%;
}

.premium-cta .btn-credit:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

.credit-icon {
    width: 18px;
    height: 18px;
    color: #10b981;
    flex-shrink: 0;
}

/* Invalid VIN Styles */
.invalid-vin-container {
    max-width: 600px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.invalid-vin-content {
    background: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.invalid-vin-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: #ef4444;
}

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

.invalid-vin-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f1f1f;
    margin: 0 0 1rem 0;
}

.invalid-vin-content p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.vin-display {
    font-family: 'Courier New', monospace;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f1f1f;
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 1px solid #e2e8f0;
}

.invalid-vin-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.invalid-vin-actions .btn-primary {
    background: #2563eb;
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.invalid-vin-actions .btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .preview-container {
        padding: 2rem 1rem;
    }

    .preview-hero {
        padding: 2.5rem 1.5rem;
    }

    .hero-title {
        font-size: 1.25rem;
    }

    .vehicle-name {
        font-size: 1.75rem;
    }

    .vehicle-info-header {
        padding: 1.25rem 1.75rem;
    }

    .vehicle-info-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-info-item {
        border-right: none;
        border-bottom: 1px solid #f3f4f6;
        padding: 2rem 1.5rem;
    }

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

    .records-section {
        padding: 2rem 1.5rem;
    }

    .records-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .records-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .records-title {
        font-size: 1.5rem;
    }

    .cta-section-wrapper {
        padding: 2.5rem 1.75rem;
    }

    .premium-cta {
        padding: 2rem 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.75rem;
    }

    .cta-feature {
        font-size: 0.875rem;
        padding: 0.5rem 0;
    }

    .check-icon {
        width: 18px;
        height: 18px;
    }

    .cta-price-box {
        padding: 1.75rem 2rem;
        max-width: 100%;
    }

    .price-value {
        font-size: 3.75rem;
    }

    .price-currency {
        font-size: 1.5rem;
    }

    .btn-purchase {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .preview-container {
        padding: 1.5rem 1rem;
    }

    .preview-hero {
        padding: 2rem 1.25rem;
    }

    .hero-title {
        font-size: 1.125rem;
    }

    .vehicle-name {
        font-size: 1.5rem;
    }

    .vehicle-info-header {
        padding: 1rem 1.5rem;
    }

    .vin-display {
        font-size: 0.8125rem;
    }

    .vehicle-info-item {
        padding: 1.75rem 1.25rem;
    }

    .info-value {
        font-size: 1.75rem;
    }

    .records-section {
        padding: 1.75rem 1.25rem;
    }

    .records-grid {
        grid-template-columns: 1fr;
    }

    .records-title {
        font-size: 1.375rem;
    }

    .records-subtitle {
        font-size: 0.875rem;
    }

    .record-count {
        font-size: 2rem;
    }

    .cta-section-wrapper {
        padding: 2rem 1.5rem;
    }

    .premium-cta {
        padding: 1.75rem 1.25rem;
    }

    .cta-title {
        font-size: 1.375rem;
    }

    .cta-subtitle {
        font-size: 0.8125rem;
        margin-bottom: 1.5rem;
    }

    .cta-features-list {
        margin-bottom: 2rem;
    }

    .cta-feature {
        font-size: 0.8125rem;
        padding: 0.4375rem 0;
        gap: 0.75rem;
    }

    .check-icon {
        width: 16px;
        height: 16px;
    }

    .cta-price-box {
        padding: 1.5rem 1.75rem;
    }

    .price-value {
        font-size: 3.25rem;
    }

    .price-currency {
        font-size: 1.375rem;
    }

    .price-label {
        font-size: 0.75rem;
    }

    .btn-purchase {
        padding: 0.9375rem 1.75rem;
        font-size: 0.9375rem;
    }

    .btn-credit {
        padding: 0.8125rem 1.5rem;
        font-size: 0.875rem;
    }

    .divider-or {
        font-size: 0.8125rem;
    }
}
