html {
    font-size: 16px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background: #F8FAFC;
}

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

/* Header */
header {
    background: white;
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    justify-content: center;
}

.logo {
    display: flex;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4299E1, #3182CE);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #2D3748;
}

/* Hero Stats */
.hero-stats {
    background: white;
    text-align: center;
    padding: 5px 0 50px 0;
}

.hero-intro {
    background: white;
    text-align: center;
    padding-top: 1px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1A202C;
    margin-bottom: 2rem;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

.hero-description {
    max-width: 750px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    line-height: 1.75;
    color: #2D3748;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

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

.stat-box {
    padding: 1.5rem;
    background: linear-gradient(135deg, #F7FAFC, #EDF2F7);
    border-radius: 16px;
    border: 2px solid #E2E8F0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #4299E1;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: #718096;
    font-weight: 500;
}

/* Score Ranges - Decrease space above "Credit Score Ranges" */
.score-ranges {
    background: white;
    padding: 0px 0; /* Changed from 40px to 20px top padding */
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #1A202C;
}

.score-bar {
    max-width: 900px;
    margin: 0 auto;
    background: #F1F5F9;
    height: 80px;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.score-segment {
    height: 100%;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.poor {
    width: 22%;
    background: #E53E3E;
}

.fair {
    width: 18%;
    background: #DD6B20;
}

.good {
    width: 20%;
    background: #D69E2E;
}

.very-good {
    width: 20%;
    background: #38A169;
}

.excellent {
    width: 20%;
    background: #3182CE;
}

.score-labels {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 22% 18% 20% 20% 20%;
    gap: 0;
}

.score-label {
    text-align: center;
    padding: 1rem 0.5rem;
}

.score-label h4 {
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 0.5rem;
}

.score-label p {
    font-size: 0.9rem;
    color: #718096;
}

/* Credit Factors Chart */
.credit-factors {
    background: #F8FAFC;
    padding: 60px 0;
}

.factors-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pie-chart {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: conic-gradient(
            #3182CE 0% 35%,
            #38A169 35% 65%,
            #D69E2E 65% 80%,
            #DD6B20 80% 90%,
            #E53E3E 90% 100%
    );
    position: relative;
    margin: 0 auto;
}

.pie-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #2D3748;
}

.factors-legend {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.legend-text {
    flex: 1;
}

.legend-text h4 {
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 0.25rem;
}

.legend-text p {
    font-size: 0.9rem;
    color: #718096;
}

.legend-percentage {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2D3748;
}

/* Timeline */
.credit-timeline {
    background: white;
    padding: 60px 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #E2E8F0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 2rem;
}

.timeline-content {
    background: #F8FAFC;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #E2E8F0;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: attr(data-years);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(66, 153, 225, 0.15);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

.timeline-content > * {
    position: relative;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-left-color: #E2E8F0;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-right-color: #E2E8F0;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    color: #718096;
    font-size: 0.95rem;
}

/* FAQ Cards */
.faq-section {
    background: #F8FAFC;
    padding: 60px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.faq-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid #E2E8F0;
    transition: transform 0.2s ease;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.faq-card h3 {
    font-size: 1.3rem;
    color: #2D3748;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-card p {
    color: #4A5568;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #1A202C;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    color: white;
}

.copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #A0AEC0; /* Slightly dimmed text */
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .factors-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pie-chart {
        width: 300px;
        height: 300px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 2rem !important;
        padding-right: 0 !important;
    }

    .timeline-content::after {
        display: none;
    }

    .score-labels {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .score-bar {
        height: 300px;
        border-radius: 20px;
    }

    .score-segment {
        width: 100% !important;
        height: 20%;
    }

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

.teaser {
    padding: 0px 0 20px 0;
}

.logo-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.crew-image {
    width: 120px;
    max-width: 100%;
    height: auto;
}

.brand-text {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    display: inline-block;
    margin-top: 0;
}

.brand-text .my {
    color: #1A202C;
}

.brand-text .credit {
    background: linear-gradient(to right, #4299E1, #3182CE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-text .crew {
    color: #1A202C;
}

.brand-text .myDark {
    color: #c0d0e7;
}

.brand-text .crewDark {
    color: #c0d0e7;
}