/* =========================================================
   GermAc Arees — Intermediate landing pages
   (Board of Trustees / Medical Tourism Worldwide)
   Premium hero that redirects to an official external site.
   Uses design tokens (theme.css) + animation system.
   ========================================================= */

.landing {
    position: relative;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 22px 80px;
    overflow: hidden;
    color: var(--text);
    background:
        radial-gradient(1100px 620px at 80% -10%, rgba(0, 71, 186, 0.32), transparent 60%),
        radial-gradient(900px 540px at -6% 110%, rgba(235, 84, 5, 0.16), transparent 55%),
        linear-gradient(180deg, var(--brand-navy) 0%, var(--brand-navy-2) 55%, var(--brand-navy-3) 100%);
}

.landing::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
    opacity: 0.6;
    pointer-events: none;
}

/* atmospheric orbs */
.land-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.land-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
    animation: landFloat 18s ease-in-out infinite;
}

.land-orb-1 {
    width: 340px;
    height: 340px;
    top: 6%;
    inset-inline-start: 8%;
    background: radial-gradient(circle, rgba(0, 71, 186, 0.55), transparent 70%);
}

.land-orb-2 {
    width: 300px;
    height: 300px;
    bottom: 4%;
    inset-inline-end: 8%;
    background: radial-gradient(circle, rgba(52, 209, 180, 0.26), transparent 70%);
    animation-delay: -6s;
}

.land-orb-3 {
    width: 220px;
    height: 220px;
    top: 40%;
    inset-inline-end: 26%;
    background: radial-gradient(circle, rgba(235, 84, 5, 0.22), transparent 70%);
    animation-delay: -11s;
}

@keyframes landFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -26px, 0) scale(1.08); }
}

.landing-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 720px;
    text-align: center;
}

/* decorative medallion */
.landing-emblem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin-bottom: 30px;
    border-radius: 50%;
    font-size: 38px;
    color: #fff;
    background: radial-gradient(circle, rgba(0, 71, 186, 0.95), rgba(19, 29, 49, 0.9));
    border: 1px solid var(--border-strong);
    box-shadow: 0 0 46px -8px rgba(0, 71, 186, 0.8);
    position: relative;
}

.landing-emblem::before,
.landing-emblem::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(52, 209, 180, 0.5);
    animation: landRadar 3.4s ease-out infinite;
}

.landing-emblem::after { animation-delay: 1.7s; }

@keyframes landRadar {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.6); opacity: 0; }
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 20px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    background: rgba(52, 209, 180, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.landing-title {
    font-size: clamp(38px, 6.2vw, 62px);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 22px;
    background: linear-gradient(120deg, #ffffff 0%, var(--brand-blue-soft) 52%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-lead {
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.85;
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 38px;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.landing-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 34px;
    border-radius: var(--radius-pill);
    font-size: 15.5px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(120deg, var(--brand-blue), var(--brand-blue-2));
    box-shadow: var(--shadow-blue-glow);
    transition: transform var(--dur-fast) var(--ease-smooth),
        box-shadow var(--dur-fast) var(--ease-smooth),
        background var(--dur-mid) var(--ease-smooth);
}

.landing-cta:hover {
    transform: translateY(-3px);
    color: #fff;
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
    box-shadow: 0 22px 50px -16px rgba(52, 209, 180, 0.7);
}

.landing-cta i {
    font-size: 13px;
    transition: transform var(--dur-fast) var(--ease-smooth);
}

.landing-cta:hover i {
    transform: translate(3px, -3px);
}

.landing-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--muted);
    transition: color var(--dur-fast) var(--ease-smooth), gap var(--dur-fast) var(--ease-smooth);
}

.landing-back:hover {
    color: #fff;
    gap: 12px;
}

[dir="rtl"] .landing-back i { transform: scaleX(-1); }

/* ---- choreographed entrance (pure CSS on load) ---- */
.landing-emblem,
.landing-badge,
.landing-title,
.landing-lead,
.landing-actions {
    animation: landIn 0.8s var(--ease-smooth) backwards;
}

.landing-emblem { animation-delay: 0.05s; }
.landing-badge { animation-delay: 0.22s; }
.landing-title { animation-delay: 0.36s; }
.landing-lead { animation-delay: 0.52s; }
.landing-actions { animation-delay: 0.68s; }

@keyframes landIn {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
}

/* ---- Academic (gold) variant — distinguishes the Courses & Diplomas page ---- */
.landing--academic .landing-badge {
    color: var(--gold);
    border-color: rgba(228, 185, 118, 0.4);
    background: rgba(228, 185, 118, 0.08);
}

.landing--academic .landing-emblem {
    color: #1c1406;
    background: radial-gradient(circle, var(--gold-soft), var(--gold));
    box-shadow: 0 0 46px -8px rgba(228, 185, 118, 0.75);
}

.landing--academic .landing-emblem::before,
.landing--academic .landing-emblem::after {
    border-color: rgba(228, 185, 118, 0.55);
}

.landing--academic .land-orb-2 {
    background: radial-gradient(circle, rgba(228, 185, 118, 0.26), transparent 70%);
}

.landing--academic .landing-cta:hover {
    background: linear-gradient(120deg, #c99a4e, var(--gold));
    box-shadow: 0 22px 50px -16px rgba(228, 185, 118, 0.6);
}

@media (max-width: 767px) {
    .landing { min-height: calc(100vh - 70px); padding: 80px 20px 64px; }
    .landing-actions { flex-direction: column; }
    .landing-cta { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .land-orb,
    .landing-emblem::before,
    .landing-emblem::after {
        animation: none !important;
    }
}
