:root {
    --green-dark: #12372a;
    --green: #2f7d32;
    --green-soft: #e9f6ec;
    --cream: #fbfaf3;
    --text: #25352d;
    --muted: #6b7c72;
}

body {
    background: var(--cream);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.navbar {
    background: rgba(251, 250, 243, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(18, 55, 42, 0.08);
}

.navbar-brand {
    color: var(--green-dark);
    letter-spacing: -0.03em;
}

.hero {
    padding: 72px 0;
    background:
            radial-gradient(circle at top left, rgba(47, 125, 50, 0.18), transparent 35%),
            linear-gradient(135deg, #f7fff4, #fbfaf3);
}

.eyebrow {
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--green-dark);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero-text {
    max-width: 640px;
    color: var(--muted);
    font-size: 1.1rem;
    margin-top: 18px;
}

.search-box {
    margin-top: 28px;
    background: white;
    border-radius: 18px;
    padding: 14px 18px;
    max-width: 520px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 18px 40px rgba(18, 55, 42, 0.1);
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
}

.search-box i {
    color: var(--green);
}

.hero-card {
    background: white;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(18, 55, 42, 0.12);
    display: flex;
    gap: 22px;
    align-items: center;
}

.score-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: conic-gradient(var(--green) 72%, #dcebdd 0);
    display: grid;
    place-items: center;
    position: relative;
    flex-shrink: 0;
}

.score-circle::after {
    content: "";
    width: 96px;
    height: 96px;
    background: white;
    border-radius: 50%;
    position: absolute;
}

.score-circle span,
.score-circle small {
    position: relative;
    z-index: 1;
    display: block;
    text-align: center;
}

.score-circle span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green-dark);
}

.score-circle small {
    font-size: 0.7rem;
    color: var(--muted);
}

.stat-card,
.data-card {
    background: white;
    border: 1px solid rgba(18, 55, 42, 0.08);
    border-radius: 24px;
    padding: 22px;
    height: 100%;
    box-shadow: 0 12px 32px rgba(18, 55, 42, 0.06);
}

.stat-card i {
    font-size: 1.5rem;
    color: var(--green);
}

.stat-card h3 {
    font-weight: 800;
    margin: 10px 0 2px;
}

.stat-card p,
.data-card p,
.section-heading p {
    color: var(--muted);
    margin-bottom: 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 20px;
}

.section-heading h2 {
    font-weight: 800;
    color: var(--green-dark);
}

.data-card {
    cursor: pointer;
    transition: all 0.2s ease;
}

.data-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(18, 55, 42, 0.12);
}

.card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.index-badge {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: white;
    background: var(--green);
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.meta-item {
    background: var(--green-soft);
    border-radius: 16px;
    padding: 12px;
}

.meta-item small {
    display: block;
    color: var(--muted);
}

.meta-item strong {
    color: var(--green-dark);
}

.trend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green);
}

footer {
    padding: 28px 0;
    background: var(--green-dark);
    color: rgba(255,255,255,0.75);
    margin-top: 64px;
}

@media (max-width: 768px) {
    .hero {
        padding: 44px 0;
    }

    .hero-card {
        flex-direction: column;
        text-align: center;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

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