/* Tennis Doctor - Landing page enhancements */

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px auto;
    font-size: 15px;
    color: var(--td-text-muted, #4a5568);
    max-width: 700px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--td-primary, #2f855a);
    line-height: 1.1;
}

.hero-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--td-text-muted, #4a5568);
    margin-top: 4px;
}

.hero-stat-divider {
    color: var(--td-text-muted, #a0aec0);
    font-size: 24px;
    font-weight: 300;
    margin: 0 -8px;
    align-self: center;
}

/* Bibliography section */
.bibliography {
    max-width: 1100px;
    margin: 60px auto 40px;
    padding: 0 20px;
}

.bibliography h2 {
    text-align: center;
    margin-bottom: 12px;
    color: var(--td-text, #1a202c);
}

.bibliography-intro {
    text-align: center;
    color: var(--td-text-muted, #4a5568);
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.6;
}

.bibliography-intro a {
    color: var(--td-primary, #2f855a);
    font-weight: 600;
}

.bibliography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.biblio-card {
    background: var(--td-bg-card, #ffffff);
    border: 1px solid var(--td-border, #e2e8f0);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.15s, box-shadow 0.15s;
    color: var(--td-text, #1a202c);
}

.biblio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.biblio-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.biblio-card h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--td-primary, #2f855a);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.biblio-card ul {
    margin: 0;
    padding-left: 18px;
    list-style: none;
}

.biblio-card li {
    font-size: 14px;
    line-height: 1.5;
    color: var(--td-text, #2d3748);
    margin-bottom: 6px;
    position: relative;
    padding-left: 4px;
}

.biblio-card li::before {
    content: '▸';
    position: absolute;
    left: -12px;
    color: var(--td-primary, #38a169);
    font-size: 11px;
}

.biblio-card li em {
    color: var(--td-text-muted, #718096);
    font-style: italic;
    font-size: 13px;
}

.biblio-and-more {
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 13px;
    color: var(--td-text-muted, #4a5568);
}

.biblio-and-more a {
    color: var(--td-primary, #2f855a);
    font-weight: 600;
}

/* Dark mode (uses prefers-color-scheme) — DISABLED on purpose.
   User wants light mode by default. The [data-theme="dark"] blocks
   below still apply if user explicitly sets data-theme="dark". */

/* Explicit data-theme="dark" support */
[data-theme="dark"] .biblio-card,
[data-theme="dark"] .biblio-card h3,
[data-theme="dark"] .biblio-card li,
[data-theme="dark"] .biblio-card em,
[data-theme="dark"] .biblio-card p,
[data-theme="dark"] .biblio-card a {
    color: #ffffff !important;
}
[data-theme="dark"] .biblio-card {
    background: #1a2e1a;
    border-color: #2d4a2d;
}
[data-theme="dark"] .biblio-card h3 {
    color: #6ee7b7 !important;
}
[data-theme="dark"] .biblio-card li::before {
    color: #6ee7b7 !important;
}
[data-theme="dark"] .hero-stat-num {
    color: #6ee7b7;
}
[data-theme="dark"] .hero-stat-label,
[data-theme="dark"] .hero-stat-divider {
    color: #cbd5e0;
}
[data-theme="dark"] .bibliography-intro,
[data-theme="dark"] .bibliography-intro a {
    color: #e8f5e9 !important;
}

/* Mobile */
@media (max-width: 700px) {
    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }
    .hero-stat-divider {
        display: none;
    }
    .hero-stat-num {
        font-size: 22px;
    }
    .bibliography-grid {
        grid-template-columns: 1fr;
    }
}