/* ─── Landing Page ─── */

.landing-body {
    overflow-x: hidden;
}

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    background: linear-gradient(160deg, var(--bg-color) 0%, var(--primary-color) 60%);
    position: relative;
}

.hero-logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 2rem;
    opacity: 0.85;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-color);
    max-width: 700px;
    margin-bottom: 1.4rem;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-color);
    opacity: 0.7;
    max-width: 520px;
    line-height: 1.65;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.btn-primary {
    padding: 0.9rem 2.2rem;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
}

.btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-primary:hover {
    background: #2563eb;
}

.btn-secondary {
    padding: 0.9rem 2.2rem;
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, transform 0.15s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.hero-stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ─── Features ─── */
.features {
    padding: 5rem 1.5rem;
    background: var(--primary-color);
}

.section-title {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.section-sub {
    text-align: center;
    color: var(--text-color);
    opacity: 0.6;
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.65;
    line-height: 1.6;
}

/* ─── Categories ─── */
.categories {
    padding: 5rem 1.5rem;
    background: var(--bg-color);
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

.cat-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    transition: transform 0.2s;
}

.cat-pill:hover {
    transform: scale(1.05);
}

.cat-strength  { background: #dc2626; }
.cat-endurance { background: #0284c7; }
.cat-speed     { background: #d97706; }
.cat-learning  { background: #7c3aed; }
.cat-recovery  { background: #16a34a; }
.cat-other     { background: #6b7280; }

/* ─── CTA Banner ─── */
.cta-banner {
    padding: 5rem 1.5rem;
    background: var(--accent-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-banner h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    max-width: 560px;
}

.cta-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    max-width: 440px;
}

.btn-white {
    padding: 0.9rem 2.4rem;
    background: #fff;
    color: var(--accent-color);
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    display: inline-block;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ─── Footer ─── */
.landing-footer {
    background: var(--primary-color);
    border-top: 1px solid var(--secondary-color);
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.55;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.4;
}

/* ─── Responsive ─── */
@media (max-width: 600px) {
    .hero-stats {
        gap: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}
