/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF6B35;
    --secondary-orange: #FF8C42;
    --light-orange: #FFB88C;
    --primary-green: #2D8659;
    --secondary-green: #4CAF7A;
    --light-green: #81C99E;
    --dark-green: #1A5C3F;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #FFFFFF;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px 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);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    padding: 1.25rem 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.nav-brand a:hover {
    transform: scale(1.05);
}

.nav-brand i {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-menu i {
    font-size: 0.9rem;
}

/* Report Banner */
.report-banner {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    color: var(--white);
    padding: 1.25rem 0;
    text-align: center;
    animation: slideDown 0.5s ease-out;
    box-shadow: var(--shadow-md);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.report-banner p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.report-banner i {
    font-size: 1.25rem;
}

.banner-link {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.banner-link:hover {
    opacity: 0.9;
    transform: translateX(4px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.vin-lookup-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary-orange);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
    z-index: 1;
}

.form-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    background: var(--white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary i {
    font-size: 1rem;
}

/* Spinner */
.spinner {
    border: 4px solid var(--light-green);
    border-top: 4px solid var(--primary-orange);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

.spinner-small {
    border: 3px solid var(--light-green);
    border-top: 3px solid var(--primary-orange);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 1rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Message */
.error-message {
    background: #fef2f2;
    color: #dc2626;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    text-align: center;
    border: 1px solid #fecaca;
    font-weight: 500;
}

.error-text {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
    font-weight: 500;
}

/* Results Section */
.results-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.results-section h2 {
    color: var(--primary-green);
    margin-bottom: 2.5rem;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
}

.vehicle-results {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.vehicle-detail {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.vehicle-detail:hover {
    background: var(--bg-light);
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 8px;
}

.vehicle-detail:last-child {
    border-bottom: none;
}

.vehicle-detail-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.vehicle-detail-value {
    color: var(--text-light);
    text-align: right;
    font-weight: 500;
}

.click-to-reveal {
    transition: all 0.3s;
}

.click-to-reveal:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--white);
}

.features h2 {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 3.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-color);
    background: var(--white);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.feature-card-small {
    padding: 1.75rem;
}

.feature-card-small .feature-icon {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card-small h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card-small p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.how-it-works h2 {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 3.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.step {
    text-align: center;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-color);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.step:hover .step-number {
    transform: scale(1.1) rotate(-5deg);
}

.step h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.step p {
    color: var(--text-light);
    line-height: 1.7;
}

/* About VIN Section */
.about-vin {
    padding: 5rem 0;
    background: var(--white);
}

.about-vin h2 {
    color: var(--primary-green);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.about-vin p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: var(--bg-light);
}

.benefits h2 {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 3.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 4px solid var(--secondary-green);
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--light-green) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.benefit-item h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

.testimonials h2 {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 3.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid transparent;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-color);
    background: var(--white);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-orange);
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.testimonial-author {
    border-top: 2px solid var(--primary-orange);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    color: var(--primary-green);
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 700;
    font-size: 1.05rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: var(--bg-light);
}

.faq h2 {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 3.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 2rem 2.5rem;
    margin-bottom: 1.25rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
    transform: translateX(4px);
}

.faq-item h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.25rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s;
    display: inline-block;
}

.footer-section a:hover {
    opacity: 1;
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 2.5rem;
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideUp 0.3s;
    box-shadow: var(--shadow-xl);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: var(--text-light);
    float: right;
    font-size: 1.75rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.close-modal:hover {
    color: var(--text-dark);
    background: var(--bg-light);
}

.modal-content h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-content h2 i {
    color: var(--primary-orange);
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.success-message {
    text-align: center;
    padding: 1.5rem;
    color: var(--primary-green);
    font-weight: 600;
}

.success-message p {
    margin: 0;
    color: var(--primary-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .vin-lookup-form {
        padding: 2rem;
    }

    .features-grid,
    .benefits-list,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .features h2,
    .how-it-works h2,
    .benefits h2,
    .testimonials h2,
    .faq h2,
    .about-vin h2 {
        font-size: 2rem;
    }
}
