/* =========================
   GENERAL
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================
   NAVIGATION
========================= */

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.nav-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 0;
}

.logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: #12355b;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: #374151;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #008c4a;
}


/* =========================
   PROJECT HERO
========================= */

.project-hero {
    padding: 95px 0 85px;

    background:
        linear-gradient(
            135deg,
            #0b1f33 0%,
            #12355b 55%,
            #0b5d3b 100%
        );

    color: #ffffff;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.npfl-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.project-label {
    color: #7de2ad;
    font-size: 0.82rem;
    font-weight: bold;
    letter-spacing: 1.8px;
    margin-bottom: 5px;
}

.brand-caption {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: bold;
}

.project-hero h1 {
    max-width: 900px;
    font-size: 3.4rem;
    line-height: 1.12;
    margin-bottom: 25px;
}

.project-intro {
    max-width: 850px;
    color: #dce7ef;
    font-size: 1.1rem;
    margin-bottom: 35px;
}


/* =========================
   HERO STATS
========================= */

.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 800px;
    margin-bottom: 35px;

    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
    padding: 22px 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat:last-child {
    border-right: none;
}

.hero-stat strong {
    display: block;
    font-size: 1.8rem;
    color: #7de2ad;
}

.hero-stat span {
    color: #cbd5e1;
    font-size: 0.85rem;
}


/* =========================
   BUTTONS
========================= */

.project-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #008c4a;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #006f3b;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #ffffff;
    color: #12355b;
}

.btn-secondary:hover {
    background-color: #eef5f8;
    transform: translateY(-2px);
}


/* =========================
   SECTIONS
========================= */

section {
    padding: 85px 0;
}

section h2 {
    color: #111827;
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 18px;
}

.section-intro {
    max-width: 780px;
    color: #6b7280;
    margin-bottom: 35px;
}

.content {
    max-width: 800px;
}

.content p {
    color: #4b5563;
    margin-bottom: 18px;
}

.light-section {
    background-color: #f5f8f7;
}

.eyebrow {
    color: #008c4a;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1.6px;
    margin-bottom: 12px;
}

.light-eyebrow {
    color: #7de2ad;
}

.white-heading {
    color: #ffffff;
}


/* =========================
   CENTRAL QUESTION
========================= */

.question-section {
    background-color: #f1f7f4;
}

.question-section h2 {
    max-width: 850px;
    font-size: 2.6rem;
}

.large-text {
    max-width: 850px;
    color: #4b5563;
    font-size: 1.1rem;
}


/* =========================
   TWO COLUMN
========================= */

.two-column {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
}


/* =========================
   DARK SECTIONS
========================= */

.dark-section {
    background-color: #0b1f33;
    color: #ffffff;
}

.dark-section h2 {
    color: #ffffff;
}

.question-groups {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.question-group {
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.03);
}

.question-group h3 {
    color: #7de2ad;
    margin-bottom: 15px;
}

.question-group ul {
    padding-left: 20px;
    color: #cbd5e1;
}

.question-group li {
    margin-bottom: 8px;
}

.full-question {
    grid-column: span 2;
}


/* =========================
   SEASON TABLE
========================= */

.season-table {
    max-width: 700px;
    border: 1px solid #dce4e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 35px;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 15px 20px;
}

.table-header {
    background-color: #12355b;
    color: #ffffff;
    font-weight: bold;
}

.table-row {
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.table-row:last-child {
    border-bottom: none;
}


/* =========================
   METRIC GRID
========================= */

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.metric-card {
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid #e0e7e3;
    border-radius: 10px;
}

.metric-card strong {
    display: block;
    color: #008c4a;
    font-size: 1.8rem;
}

.metric-card span {
    color: #6b7280;
    font-size: 0.9rem;
}


/* =========================
   DATA ARCHITECTURE
========================= */

.architecture {
    max-width: 750px;
    margin-top: 35px;
}

.architecture-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 16px;

    padding: 20px;

    background-color: #ffffff;
    border: 1px solid #dce5e1;
    border-radius: 9px;
}

.architecture-step span {
    grid-row: span 2;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #e5f5ed;
    color: #008c4a;

    border-radius: 50%;
    font-weight: bold;
    font-size: 0.85rem;
}

.architecture-step strong {
    color: #12355b;
}

.architecture-step p {
    color: #6b7280;
    margin-top: 3px;
}

.architecture-arrow {
    text-align: center;
    color: #008c4a;
    font-size: 1.4rem;
    padding: 5px 0;
}


/* =========================
   SCHEMA BOX
========================= */

.schema-box {
    display: flex;
    gap: 12px;
    margin: 25px 0;
}

.schema-box div {
    flex: 1;
    padding: 18px;
    background-color: #f0f7f4;
    border: 1px solid #d5e8dd;
    border-radius: 8px;
}

.schema-box strong {
    display: block;
    color: #008c4a;
    font-size: 1.2rem;
}

.schema-box span {
    color: #6b7280;
    font-size: 0.85rem;
}


/* =========================
   TECHNICAL TAGS
========================= */

.technical-tags,
.dashboard-features,
.skill-tags,
.strategy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.technical-tags {
    margin-top: 35px;
}

.technical-tags span,
.dashboard-features span,
.skill-tags span,
.strategy-tags span {
    padding: 8px 13px;
    border-radius: 20px;
    font-size: 0.82rem;
}

.technical-tags span,
.skill-tags span {
    background-color: #e8f5ee;
    color: #006f3b;
    border: 1px solid #cfe5d8;
}


/* =========================
   PYTHON ANALYSIS
========================= */

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

.analysis-card {
    padding: 28px;
    background-color: #ffffff;
    border: 1px solid #dde6e1;
    border-radius: 10px;
}

.analysis-card h3 {
    color: #12355b;
    margin-bottom: 10px;
}

.analysis-card p {
    color: #6b7280;
}


/* =========================
   STATISTICAL HIGHLIGHT
========================= */

.stat-highlight {
    background-color: #edf7f2;
    text-align: center;
}

.stat-highlight h2 {
    max-width: 800px;
    margin: 0 auto 35px;
}

.correlation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 750px;
    margin: 0 auto 25px;
}

.correlation-card {
    padding: 30px;
    background-color: #ffffff;
    border: 1px solid #d8e7df;
    border-radius: 10px;
}

.correlation-card span {
    display: block;
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.correlation-card strong {
    display: block;
    color: #008c4a;
    font-size: 2rem;
    margin-bottom: 8px;
}

.correlation-card p {
    color: #374151;
    margin-bottom: 5px;
}

.correlation-card small {
    color: #6b7280;
}

.stat-explanation {
    max-width: 700px;
    margin: 0 auto;
    color: #4b5563;
}


/* =========================
   DASHBOARD
========================= */

.dashboard-section {
    background-color: #f7faf9;
}

.dashboard-features {
    margin: 25px 0 45px;
}

.dashboard-features span {
    background-color: #12355b;
    color: #ffffff;
}

.dashboard-image {
    margin-top: 65px;
}

.dashboard-image img {
    display: block;
    width: 100%;
    max-width: 1050px;
    height: auto;
    margin: 0 auto;

    border: 1px solid #d9e3de;
    border-radius: 10px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.dashboard-caption {
    display: flex;
    gap: 18px;
    max-width: 900px;
    margin: 18px auto 0;
    align-items: flex-start;
}

.dashboard-caption > span {
    min-width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #008c4a;
    color: #ffffff;

    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}

.dashboard-caption h3 {
    color: #12355b;
    margin-bottom: 3px;
}

.dashboard-caption p {
    color: #6b7280;
}


/* =========================
   FINDINGS
========================= */

.findings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 35px;
}

.finding-card {
    padding: 30px;
    background-color: #ffffff;
    border: 1px solid #dfe7e2;
    border-radius: 10px;
}

.finding-number {
    display: block;
    color: #008c4a;
    font-size: 0.82rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.finding-card h3 {
    color: #111827;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.finding-card p {
    color: #4b5563;
    margin-bottom: 12px;
}

.featured-finding {
    border-top: 4px solid #008c4a;
}


/* =========================
   MINI STATS
========================= */

.mini-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.mini-stats div {
    padding: 12px;
    background-color: #f3f8f5;
    border-radius: 7px;
}

.mini-stats strong {
    display: block;
    color: #008c4a;
}

.mini-stats span {
    color: #6b7280;
    font-size: 0.8rem;
}


/* =========================
   BIG FINDING
========================= */

.big-finding {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    padding: 18px;
    background-color: #eff8f3;
    border-radius: 8px;
}

.big-finding strong {
    color: #008c4a;
    font-size: 2.3rem;
}

.big-finding span {
    color: #4b5563;
    font-size: 0.85rem;
}


/* =========================
   HOME ADVANTAGE
========================= */

.home-advantage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
}

.home-advantage div {
    padding: 18px;
    background-color: #f0f7f4;
    border-radius: 8px;
}

.home-advantage strong {
    display: block;
    color: #008c4a;
    font-size: 1.8rem;
}

.home-advantage span {
    color: #6b7280;
    font-size: 0.8rem;
}

.result-split {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.result-split span {
    padding: 7px 10px;
    background-color: #f3f4f6;
    border-radius: 5px;
    font-size: 0.8rem;
    color: #4b5563;
}


/* =========================
   POSITION BARS
========================= */

.position-bars {
    margin-top: 20px;
}

.position-bars div {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #edf0ee;
}

.position-bars span {
    color: #6b7280;
}

.position-bars strong {
    color: #008c4a;
}


/* =========================
   MODEL SCORE
========================= */

.model-score {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 18px 0;
}

.model-score strong {
    color: #008c4a;
    font-size: 2.5rem;
}

.model-score span {
    color: #6b7280;
    font-size: 0.85rem;
}

.small-note {
    font-size: 0.85rem;
    font-style: italic;
}


/* =========================
   CLUB LIST
========================= */

.club-list {
    color: #008c4a !important;
    font-weight: bold;
}


/* =========================
   STRATEGIC IMPLICATIONS
========================= */

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.strategy-card {
    padding: 28px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.strategy-card > span {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;

    background-color: #008c4a;
    color: #ffffff;

    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;

    margin-bottom: 18px;
}

.strategy-card h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.strategy-card p {
    color: #cbd5e1;
}

.strategy-tags {
    margin-top: 18px;
}

.strategy-tags span {
    background-color: rgba(125, 226, 173, 0.1);
    color: #7de2ad;
    border: 1px solid rgba(125, 226, 173, 0.2);
}


/* =========================
   ECOSYSTEM
========================= */

.ecosystem {
    margin-top: 55px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.ecosystem div {
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.85rem;
}

.ecosystem span {
    color: #7de2ad;
}


/* =========================
   LIMITATIONS
========================= */

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

.limitation {
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid #dde5e1;
    border-radius: 9px;
}

.limitation h3 {
    color: #12355b;
    margin-bottom: 10px;
}

.limitation p {
    color: #6b7280;
}


/* =========================
   TECHNICAL SKILLS
========================= */

.skills-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.skills-column {
    padding: 28px;
    background-color: #f6f9f8;
    border: 1px solid #dfe7e3;
    border-radius: 10px;
}

.skills-column h3 {
    color: #12355b;
    margin-bottom: 18px;
}

.skill-tags span {
    background-color: #ffffff;
}


/* =========================
   CONCLUSION
========================= */

.conclusion-section {
    background-color: #f0f7f4;
}

.conclusion-section h2 {
    font-size: 2.8rem;
    color: #12355b;
}

.conclusion-lead {
    font-size: 1.2rem;
    color: #374151;
    max-width: 800px;
    margin-bottom: 20px;
}

.conclusion-section > .container > p {
    max-width: 850px;
    color: #4b5563;
    margin-bottom: 18px;
}

.conclusion-box {
    max-width: 850px;
    margin-top: 30px;
    padding: 25px;

    background-color: #ffffff;
    border-left: 5px solid #008c4a;
    border-radius: 7px;
}

.conclusion-box p {
    color: #12355b !important;
    font-weight: bold;
    margin: 0 !important;
}


/* =========================
   DATA SOURCE
========================= */

.source-section {
    background-color: #ffffff;
}

.source-section p {
    max-width: 850px;
    color: #6b7280;
    margin-bottom: 18px;
}


/* =========================
   DISCLAIMER
========================= */

.disclaimer-section {
    padding: 55px 0;
    background-color: #f8fafc;
}

.disclaimer-section h2 {
    font-size: 1.5rem;
}

.disclaimer-section p {
    max-width: 850px;
    color: #6b7280;
    margin-bottom: 12px;
}


/* =========================
   FOOTER
========================= */

footer {
    background-color: #0b1f33;
    color: #cbd5e1;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }


    .project-hero {
        padding: 70px 0;
    }

    .project-hero h1 {
        font-size: 2.45rem;
    }

    .project-intro {
        font-size: 1rem;
    }


    .hero-brand {
        align-items: flex-start;
    }

    .npfl-logo {
        width: 140px;
        height: 140px;
    }


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

    .hero-stat:nth-child(2) {
        border-right: none;
    }


    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 1.7rem;
    }


    .question-section h2 {
        font-size: 2rem;
    }


    .two-column,
    .question-groups,
    .findings-grid,
    .strategy-grid,
    .limitations-grid,
    .skills-columns,
    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .full-question {
        grid-column: span 1;
    }


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


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


    .schema-box {
        flex-direction: column;
    }


    .dashboard-image {
        margin-top: 45px;
    }


    .project-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .project-buttons .btn {
        text-align: center;
    }


    .ecosystem {
        flex-direction: column;
    }

    .ecosystem span {
        transform: rotate(0deg);
    }


    .conclusion-section h2 {
        font-size: 2.2rem;
    }

}
