/* Fociedző – prémium landing page */

.landing-page {
    --landing-tricolor-height: 22px;
    background: #f8fafc;
}

.landing-page main {
    background: #f8fafc;
}

/* —— Magyar trikolór sáv a landing tetején —— */
.landing-tricolor {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    height: var(--landing-tricolor-height);
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.22),
        0 4px 14px rgba(0, 0, 0, 0.22);
}

.landing-tricolor__stripe {
    display: block;
    position: relative;
    min-height: 0;
}

.landing-tricolor__stripe--red {
    background: linear-gradient(
        90deg,
        #7a101c 0%,
        #c41e32 16%,
        #e85d66 48%,
        #ce2939 72%,
        #8a1522 100%
    );
}

.landing-tricolor__stripe--white {
    background: linear-gradient(
        90deg,
        #c5ccd6 0%,
        #f4f7fb 18%,
        #ffffff 50%,
        #eef2f7 78%,
        #b8c0cc 100%
    );
}

.landing-tricolor__stripe--green {
    background: linear-gradient(
        90deg,
        #243d2c 0%,
        #3d6848 16%,
        #6fa978 48%,
        #477050 74%,
        #2c4a35 100%
    );
}

.landing-tricolor__glow {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.38) 0%,
            rgba(255, 255, 255, 0.06) 38%,
            transparent 55%,
            rgba(0, 0, 0, 0.18) 100%
        ),
        radial-gradient(
            90% 140% at 8% 50%,
            rgba(255, 255, 255, 0.22),
            transparent 58%
        ),
        radial-gradient(
            70% 160% at 92% 50%,
            rgba(0, 0, 0, 0.16),
            transparent 62%
        ),
        repeating-linear-gradient(
            115deg,
            transparent 0 10px,
            rgba(255, 255, 255, 0.04) 10px 11px
        );
}

.landing-tricolor__sheen {
    position: absolute;
    top: -40%;
    bottom: -40%;
    left: 0;
    z-index: 3;
    width: 42%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 32%,
        rgba(255, 255, 255, 0.42) 50%,
        rgba(255, 255, 255, 0.1) 62%,
        transparent 100%
    );
    transform: translateX(-70%) skewX(-18deg);
    animation: landing-tricolor-sheen 9s ease-in-out infinite;
}

@keyframes landing-tricolor-sheen {
    0%,
    18% {
        transform: translateX(-70%) skewX(-18deg);
        opacity: 0;
    }
    32% {
        opacity: 0.7;
    }
    55% {
        transform: translateX(220%) skewX(-18deg);
        opacity: 0;
    }
    100% {
        transform: translateX(220%) skewX(-18deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-tricolor__sheen {
        animation: none;
        transform: translateX(18%) skewX(-18deg);
        opacity: 0.35;
    }
}

/* —— Hero —— */
.landing-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    margin-top: calc(-4.5rem - var(--landing-tricolor-height));
    padding-top: calc(4.5rem + var(--landing-tricolor-height));
}

.landing-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url("https://static.vecteezy.com/system/resources/thumbnails/047/373/332/small/high-angle-close-up-school-coach-preparing-a-field-for-soccer-training-coach-holding-bright-orange-training-cones-kids-waiting-in-line-blurred-background-vivid-colorsrealistic-photo.jpeg");
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.02);
}

.landing-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(3, 23, 51, 0.85),
        rgba(3, 23, 51, 0.75)
    );
}

.landing-hero__container {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.landing-hero__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.25rem;
}

.landing-hero__title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.landing-hero__title-accent {
    color: #7dcea0;
}

.landing-hero__lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 32rem;
    margin-bottom: 2rem;
}

.landing-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-landing-primary {
    background: #3cb371;
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 8px 24px rgba(60, 179, 113, 0.35);
}

.btn-landing-primary:hover {
    background: #34a366;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(60, 179, 113, 0.45);
}

.btn-landing-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-weight: 600;
    padding: 0.8rem 1.65rem;
    border-radius: 999px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-landing-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

/* Stats */
.landing-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 28rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.landing-stat__value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.landing-stat__value--phrase {
    font-size: 1.05rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
    max-width: 9rem;
}

.landing-stat__label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Glass panel */
.landing-glass {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.landing-glass__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-glass__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-glass__list li:last-child {
    border-bottom: none;
}

.landing-glass__check {
    color: #3cb371;
    font-weight: 700;
    flex-shrink: 0;
}

/* —— Sections —— */
.landing-section {
    padding: 5rem 0;
}

.landing-section--muted {
    background: #fff;
}

.landing-section__header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 3rem;
}

.landing-section__header--row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    max-width: none;
    text-align: left;
    margin-bottom: 2.5rem;
}

.landing-section__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1f6b4f;
    margin-bottom: 0.5rem;
}

.landing-section__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f2d52;
    margin: 0;
    line-height: 1.15;
}

.landing-section__more {
    font-weight: 700;
    color: #1f6b4f;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.landing-section__more:hover {
    color: #3cb371;
}

.landing-empty {
    text-align: center;
    color: #64748b;
    padding: 2rem;
}

/* Why cards */
.landing-why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.landing-why-card {
    background: #fff;
    border-radius: 18px;
    padding: 2rem 1.75rem;
    border: 1px solid rgba(15, 45, 82, 0.06);
    box-shadow: 0 4px 24px rgba(15, 45, 82, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}

.landing-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 45, 82, 0.1);
}

.landing-why-card__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.landing-why-card__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f2d52;
    margin-bottom: 0.65rem;
}

.landing-why-card__text {
    color: #64748b;
    margin: 0;
    line-height: 1.65;
}

/* Article / drill grid */
.landing-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.landing-article-card,
.landing-drill-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(15, 45, 82, 0.06);
    box-shadow: 0 8px 30px rgba(15, 45, 82, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.landing-article-card:hover,
.landing-drill-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(15, 45, 82, 0.12);
}

.landing-article-card__media,
.landing-drill-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    text-decoration: none;
}

.landing-article-card__media img,
.landing-drill-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.landing-article-card:hover .landing-article-card__media img,
.landing-drill-card:hover .landing-drill-card__media img {
    transform: scale(1.05);
}

.landing-article-card__placeholder,
.landing-drill-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8eef5 0%, #d4e4dc 100%);
}

.landing-drill-card__placeholder {
    background: linear-gradient(135deg, #d4ebe0 0%, #b8d4c8 100%);
}

.landing-pill {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #fff;
    color: #1f6b4f;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.landing-pill--drill {
    color: #0f2d52;
}

.landing-pill--new {
    left: auto;
    right: 1rem;
    background: #3cb371;
    color: #fff;
}

.landing-pill--read {
    top: auto;
    bottom: 1rem;
    left: auto;
    right: 1rem;
    background: #0f2d52;
    color: #fff;
}

.landing-article-card__body,
.landing-drill-card__body {
    padding: 1.5rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.landing-article-card__title,
.landing-drill-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.landing-article-card__title a,
.landing-drill-card__title a {
    color: #0f2d52;
    text-decoration: none;
    transition: color 0.2s;
}

.landing-article-card__title a:hover,
.landing-drill-card__title a:hover {
    color: #1f6b4f;
}

.landing-article-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.landing-article-card__summary,
.landing-drill-card__summary {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.landing-article-card__meta,
.landing-drill-card__meta {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.landing-article-card__dot {
    margin: 0 0.35rem;
}

.landing-article-card__link {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1f6b4f;
    text-decoration: none;
    transition: color 0.2s, gap 0.2s;
    display: inline-flex;
    align-items: center;
}

.landing-article-card__link:hover {
    color: #3cb371;
}

/* CTA */
.landing-cta {
    padding: 4rem 0 5rem;
}

.landing-cta__inner {
    background: linear-gradient(135deg, #0f2d52 0%, #1a4a6e 50%, #1f6b4f 100%);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 24px 56px rgba(15, 45, 82, 0.2);
}

.landing-cta__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.landing-cta__text {
    color: rgba(255, 255, 255, 0.8);
    max-width: 28rem;
    margin: 0 auto 1.75rem;
}

/* Footer */
.landing-footer {
    background: #0f2d52;
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 0 0;
}

.landing-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.landing-footer__logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.landing-footer__logo-icon {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.landing-footer__mission {
    max-width: 22rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    font-size: 0.95rem;
}

.landing-footer__heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.landing-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.landing-footer__links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: block;
    padding: 0.35rem 0;
    transition: color 0.2s;
}

.landing-footer__links a:hover {
    color: #3cb371;
}

.landing-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    text-align: center;
}

.landing-footer__bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay {
    transition-delay: 0.1s;
}

.reveal--delay-2 {
    transition-delay: 0.2s;
}

/* —— Navbar (landing: átlátszó a hero felett) —— */
.landing-page .site-navbar--landing {
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
    padding-top: var(--landing-tricolor-height);
}

.landing-page .site-navbar--landing.scrolled {
    background: rgba(15, 45, 82, 0.92) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 991.98px) {
    .landing-hero {
        min-height: auto;
        padding-bottom: 0;
    }

    .landing-hero__container {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    .landing-glass {
        margin-top: 0.5rem;
    }

    .landing-stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
    }

    .landing-stats .landing-stat:last-child {
        grid-column: span 2;
    }

    .landing-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .landing-articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .landing-hero__cta {
        flex-direction: column;
    }

    .landing-hero__cta .btn {
        width: 100%;
        text-align: center;
    }

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

    .landing-section {
        padding: 3.5rem 0;
    }
}
