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


:root {
    --truevyn-blue: #4B7FFF;
    --truevyn-dark-blue: #3B6EEF;
    --truevyn-light-blue: #E8F0FF;
    --alert-red: #FF4757;
    --alert-red-bg: #FFE5E9;
    --text-dark: #1A1A1A;
    --text-gray: #6B7280;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    --green: #10B981;
    --green-light: #D1FAE5;
}


body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}


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


/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}


.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}


.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    /* --- FIX: Remove underline from logo text and icon --- */
    text-decoration: none; 
}


.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--truevyn-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}


.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}


.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}


.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}


.nav-links a:hover {
    color: var(--truevyn-blue);
}


.btn-primary {
    background: var(--truevyn-blue);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}


.btn-primary:hover {
    background: var(--truevyn-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 127, 255, 0.3);
}


.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 12px;
}


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


.hero-content {
    max-width: 600px;
}


.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}


.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}


.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
}


.stat {
    display: flex;
    flex-direction: column;
}


.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--truevyn-blue);
    line-height: 1;
}


.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 8px;
}


.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}


.cta-subtext {
    font-size: 14px;
    color: var(--text-gray);
}


.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}


.hero-visual {
    position: relative;
}


.browser-mockup {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}


.browser-content {
    padding: 32px;
}


.value-card {
    text-align: left;
}


/* Panel Header */
.panel-header {
    margin-bottom: 20px;
}


.panel-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}


.panel-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--truevyn-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
}


.panel-logo-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}


/* Vehicle Name */
.vehicle-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 24px;
}


/* Value Section */
.value-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
}


.value-main {
    display: flex;
    flex-direction: column;
}


.value-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 4px;
}


.value-label {
    font-size: 14px;
    color: var(--text-gray);
}


.alert-badge {
    background: var(--alert-red-bg);
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}


.alert-dot {
    width: 10px;
    height: 10px;
    background: var(--alert-red);
    border-radius: 50%;
    flex-shrink: 0;
}


.alert-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}


.alert-text strong {
    color: var(--alert-red);
    font-size: 14px;
    font-weight: 600;
}


.alert-text span {
    color: var(--text-gray);
    font-size: 12px;
}


/* Distribution Section */
.distribution-section {
    margin-bottom: 32px;
}


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


.chart-container {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
}


.chart-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 12px;
}


.histogram {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 120px;
    margin-bottom: 16px;
    position: relative;
}


.bar {
    flex: 1;
    background: var(--truevyn-blue);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: opacity 0.3s ease;
}


.bar.current {
    position: relative;
}


.current-marker {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--alert-red);
}


/* Add average market value line - vertical orange dotted line */
.bar:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    right: -2px;
    width: 2px;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        #FF9800 0px,
        #FF9800 6px,
        transparent 6px,
        transparent 12px
    );
    z-index: 2;
    pointer-events: none;
}


.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-gray);
    padding-top: 8px;
}


/* Confidence Section */
.confidence-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}


.confidence-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-gray);
}


.check-icon {
    flex-shrink: 0;
}


.confidence-badge strong {
    color: var(--text-dark);
    font-weight: 600;
}


/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white);
}


.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
}


.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}


.feature-card {
    padding: 32px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}


.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--truevyn-blue);
}


/* --- UPDATED ICON STYLES --- */
.feature-icon {
    /* Set icon container to a defined size */
    width: 64px;
    height: 64px;
    /* Center the icon */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Apply background and border colors */
    background: var(--white); /* White background for the icon container */
    border: 2px solid var(--text-dark); /* Black border */
    border-radius: 50%; /* Make it a circle */
    margin-bottom: 24px;
    /* Ensure no text-decoration interferes with the icon font */
    text-decoration: none; 
    transition: all 0.3s ease;
}


.feature-icon i {
    /* Set the icon color (the font color) */
    color: #4B7FFF; /* Black icon inside the container */
    font-size: 26px; /* A good size for a 64px container */
    /* Remove any default text shadow */
    text-shadow: none;
    transition: color 0.3s ease;
}


/* Hover effects for the icon and its border */
.feature-card:hover .feature-icon {
    border-color: #3B6EEF; /* Blue border on card hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.feature-card:hover .feature-icon i {
    color: #3B6EEF; /* Blue icon on card hover */
}
/* --- END UPDATED ICON STYLES --- */


.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}


.feature-card p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}


/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-light);
}


.steps {
    display: grid;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}


.step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}


.step-number {
    width: 56px;
    height: 56px;
    background: var(--truevyn-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}


.step-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}


.step-content p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}


/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--truevyn-blue) 0%, var(--truevyn-dark-blue) 100%);
    text-align: center;
}


.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}


.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


.cta-button {
    background: var(--white);
    color: var(--truevyn-blue) !important;
    margin-bottom: 24px;
}


.cta-button:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}


.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}


/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--text-dark);
    color: var(--white);
}


.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.footer-logo .logo-text {
    color: var(--white);
}


.footer-links {
    display: flex;
    gap: 32px;
}


.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}


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


.footer-bottom {
    padding-top: 30px;
    text-align: center;
}


.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}


/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    .hero-visual {
        /* Removed order: -1 to keep visual below content on mobile */
        margin-top: 20px;
    }


    .hero-title {
        font-size: 42px;
    }


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


    .nav-links {
        display: none;
    }
    
    .value-section {
        grid-template-columns: 1fr;
    }
    
    .alert-badge {
        min-width: auto;
    }
}


@media (max-width: 640px) {
    .hero-title {
        font-size: 36px;
    }


    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }


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


    .section-title {
        font-size: 32px;
    }


    .cta-features {
        flex-direction: column;
        gap: 12px;
    }


    .footer-content {
        flex-direction: column;
        gap: 24px;
    }


    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .browser-content {
        padding: 20px;
    }
    
    .value-amount {
        font-size: 28px;
    }
}


/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hero-content,
.hero-visual,
.feature-card,
.step {
    animation: fadeInUp 0.6s ease-out;
}


.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }