.page-home {
    background:
        radial-gradient(900px 420px at 100% 8%, rgba(192, 132, 252, 0.12), transparent 55%),
        radial-gradient(720px 380px at 0% 28%, rgba(94, 234, 212, 0.1), transparent 50%),
        #f4f1f8;
    color: var(--color-ink);
}

.hero-stage {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.55;
}

.hero-glow--cyan {
    width: 22rem;
    height: 22rem;
    top: 8%;
    inset-inline-start: -4%;
    background: rgba(94, 234, 212, 0.45);
}

.hero-glow--magenta {
    width: 24rem;
    height: 24rem;
    top: 18%;
    inset-inline-end: -6%;
    background: rgba(192, 132, 252, 0.42);
}

.hero-glow--bronze {
    width: 16rem;
    height: 16rem;
    bottom: 8%;
    inset-inline-start: 28%;
    background: rgba(176, 137, 104, 0.28);
}

.hero-swiper,
.hero-swiper .swiper-slide {
    min-height: 100vh;
}

.hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
}

.hero-swiper .swiper-slide:not(.swiper-slide-active) .hero-frame {
    opacity: 0;
}

.hero-kenburns {
    position: absolute;
    inset: -8%;
    background-size: cover;
    background-position: center;
    animation: kenburns 18s ease-in-out infinite alternate;
}

.hero-bg--vision {
    background:
        radial-gradient(circle at 18% 22%, rgba(94, 234, 212, 0.38), transparent 42%),
        radial-gradient(circle at 88% 18%, rgba(192, 132, 252, 0.4), transparent 46%),
        linear-gradient(118deg, #243044 0%, var(--color-steel) 42%, var(--color-royal) 100%);
}

.hero-bg--academy {
    background:
        repeating-linear-gradient(-12deg, rgba(94, 234, 212, 0.07) 0 2px, transparent 2px 18px),
        radial-gradient(circle at 72% 28%, rgba(192, 132, 252, 0.48), transparent 42%),
        radial-gradient(circle at 18% 70%, rgba(94, 234, 212, 0.28), transparent 40%),
        linear-gradient(155deg, #1b2838, #3a2a52 70%);
}

.hero-bg--values {
    background:
        radial-gradient(circle at 50% 30%, rgba(176, 137, 104, 0.32), transparent 46%),
        radial-gradient(circle at 80% 80%, rgba(107, 69, 128, 0.55), transparent 50%),
        linear-gradient(180deg, #2c3a4a, #4a3060 85%);
}

.hero-bg--horizon {
    background:
        radial-gradient(circle at 30% 72%, rgba(94, 234, 212, 0.32), transparent 38%),
        radial-gradient(circle at 78% 24%, rgba(197, 208, 220, 0.22), transparent 40%),
        linear-gradient(120deg, #1a2433, var(--color-steel) 45%, var(--color-royal));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(21, 32, 51, 0.28) 0%, rgba(21, 32, 51, 0.12) 38%, rgba(21, 32, 51, 0.55) 100%);
}

.hero-frame {
    position: relative;
    z-index: 2;
    width: min(72rem, 100%);
    margin: 0 auto;
    display: grid;
    gap: 1.35rem;
    padding: calc(var(--header-h) + 1.4rem) 1.25rem 6.8rem;
    align-items: center;
}

.hero-emblem {
    width: min(34vw, 11.25rem);
    margin-inline: auto;
    position: relative;
    filter:
        drop-shadow(0 18px 30px rgba(21, 32, 51, 0.35))
        drop-shadow(0 0 28px rgba(94, 234, 212, 0.28));
}

.hero-emblem::before {
    content: "";
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(94, 234, 212, 0.18), transparent 46%),
        radial-gradient(circle at 70% 70%, rgba(192, 132, 252, 0.2), transparent 50%);
    z-index: -1;
}

.hero-emblem img {
    display: block;
    width: 100%;
    height: auto;
    background: transparent;
    animation: emblemFloat 6s ease-in-out infinite;
}

.hero-copy {
    max-width: 40rem;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-cyan);
    margin-bottom: 0.85rem;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: rgba(94, 234, 212, 0.12);
    border: 1px solid rgba(94, 234, 212, 0.28);
}

.hero-title {
    font-size: clamp(1.28rem, 2.5vw, 2.15rem);
    font-weight: 800;
    line-height: 1.5;
    text-shadow: 0 8px 28px rgba(21, 32, 51, 0.35);
}

.hero-title .wave-unit {
    display: inline-block;
    animation: waveIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-text {
    margin-top: 1rem;
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.btn-glow,
.btn-ghost,
.card-link,
.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.86rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-glow {
    background: linear-gradient(90deg, var(--color-royal), var(--color-magenta));
    color: #fff;
    padding: 0.78rem 1.3rem;
    box-shadow: 0 10px 28px rgba(107, 69, 128, 0.35), 0 0 18px rgba(94, 234, 212, 0.22);
}

.hero-stage .btn-ghost,
.cta-band .btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #fff;
    padding: 0.75rem 1.2rem;
    background: rgba(255, 255, 255, 0.08);
}

.page-home .section-block .btn-ghost {
    border: 1px solid rgba(61, 84, 112, 0.22);
    color: var(--color-steel);
    padding: 0.75rem 1.2rem;
    background: #fff;
}

.card-link {
    border: 0;
    color: var(--color-royal);
    padding: 0;
    justify-content: flex-start;
    margin-top: 1rem;
}

.btn-glow:hover,
.btn-ghost:hover,
.card-link:hover {
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 3.4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    width: 1.5rem;
    height: 2.4rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
}

.hero-scroll span {
    display: block;
    width: 0.35rem;
    height: 0.35rem;
    margin: 0.4rem auto;
    border-radius: 50%;
    background: var(--color-cyan);
    animation: scrollDot 1.6s infinite;
}

.hero-swiper .swiper-pagination {
    bottom: 5.2rem;
}

.hero-wave {
    position: absolute;
    inset-inline: 0;
    bottom: -1px;
    z-index: 4;
    line-height: 0;
    pointer-events: none;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 4.25rem;
}

.hero-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.4;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--color-cyan);
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    width: 2.55rem;
    height: 2.55rem;
    margin-top: 0;
    top: 58%;
    color: #fff;
    background: rgba(21, 32, 51, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
    font-size: 0.85rem;
    font-weight: 800;
}

.section-block {
    padding: 5rem 0;
    scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

#vision {
    background: linear-gradient(180deg, #f4f1f8 0%, #fff 55%);
}

.section-block--mist {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(244, 241, 248, 0.2)),
        radial-gradient(ellipse at top, rgba(107, 69, 128, 0.06), transparent 60%);
}

.section-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section-kicker {
    color: var(--color-royal);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin: 0.4rem 0 1rem;
    color: var(--color-ink);
}

.section-lead,
.vision-text {
    color: #4a5d73;
    line-height: 1.95;
    max-width: 46rem;
}

.vision-grid,
.travel-grid,
.courses-row,
.section-head {
    display: grid;
    gap: 2rem;
}

.vision-orb {
    width: min(100%, 17rem);
    aspect-ratio: 1;
    margin: 0 auto;
    position: relative;
    display: grid;
    place-items: center;
}

.vision-logo {
    width: 72%;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 16px 28px rgba(61, 84, 112, 0.22));
}

.hub-ring {
    position: absolute;
    inset: 4%;
    border: 1px solid rgba(94, 234, 212, 0.45);
    border-radius: 50%;
    animation: spin 18s linear infinite;
}

.hub-ring::after {
    content: "";
    position: absolute;
    inset: 12%;
    border: 1px dashed rgba(192, 132, 252, 0.45);
    border-radius: 50%;
}

.pillars-grid {
    display: grid;
    gap: 1.15rem;
    margin-top: 2rem;
}

.pillar-card,
.glass-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.45rem;
    padding: 1.55rem;
    background: #fff;
    border: 1px solid rgba(61, 84, 112, 0.1);
    box-shadow: 0 18px 44px rgba(21, 32, 51, 0.08);
    transform-style: preserve-3d;
}

.pillar-card {
    display: flex;
    flex-direction: column;
}

.pillar-card::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--pillar, var(--color-royal));
}

.pillar-card--values {
    --pillar: var(--color-bronze);
    background: linear-gradient(180deg, rgba(176, 137, 104, 0.14), #fff 46%);
}
.pillar-card--academy {
    --pillar: var(--color-cyan);
    background: linear-gradient(180deg, rgba(94, 234, 212, 0.14), #fff 46%);
}
.pillar-card--travel {
    --pillar: #9aa8b8;
    background: linear-gradient(180deg, rgba(154, 168, 184, 0.18), #fff 46%);
}
.pillar-card--journal {
    --pillar: var(--color-magenta);
    background: linear-gradient(180deg, rgba(192, 132, 252, 0.14), #fff 46%);
}

.pillar-icon {
    width: 3.1rem;
    height: 3.1rem;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    color: var(--pillar);
    background: rgba(107, 69, 128, 0.1);
    margin-bottom: 0.35rem;
}

.pillar-card--values .pillar-icon { background: rgba(176, 137, 104, 0.16); }
.pillar-card--academy .pillar-icon { background: rgba(94, 234, 212, 0.16); }
.pillar-card--travel .pillar-icon { background: rgba(154, 168, 184, 0.22); }
.pillar-card--journal .pillar-icon { background: rgba(192, 132, 252, 0.16); }

.pillar-icon svg {
    width: 1.7rem;
    height: 1.7rem;
}

.tilt-card {
    transition: transform 0.12s ease-out, box-shadow 0.2s ease;
}

.tilt-card:hover {
    box-shadow: 0 0 0 1px rgba(107, 69, 128, 0.28), 0 22px 48px rgba(107, 69, 128, 0.16);
}

.pillar-card h3,
.glass-card h3 {
    font-size: 1.18rem;
    font-weight: 800;
    margin: 0.4rem 0 0.75rem;
    color: var(--color-ink);
}

.pillar-card p,
.glass-card p {
    color: #4a5d73;
    line-height: 1.8;
    font-size: 0.95rem;
    flex: 1;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.1rem 0 0.2rem;
}

.chip {
    padding: 0.35rem 0.75rem;
    background: #f4f1f8;
    color: var(--color-steel);
    border: 1px solid rgba(61, 84, 112, 0.12);
}

.chip-ai {
    background: rgba(192, 132, 252, 0.16);
    color: var(--color-royal);
    border-color: rgba(192, 132, 252, 0.28);
}

.journal-card {
    min-height: 14rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(180deg, rgba(192, 132, 252, 0.08), transparent 40%),
        #fff;
}

.badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-royal);
    background: rgba(192, 132, 252, 0.14);
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
}

.journal-swiper .swiper-pagination-bullet {
    background: var(--color-royal);
}

.travel-map {
    position: relative;
    min-height: 22rem;
    padding: 0;
    background: linear-gradient(135deg, #1c2a3d, #4a3060);
    border: 1px solid rgba(94, 234, 212, 0.2);
}

.map-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 1.4rem;
    height: 1.4rem;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.map-marker .dot {
    position: relative;
    z-index: 2;
    display: block;
    width: 0.7rem;
    height: 0.7rem;
    margin: 0.35rem auto 0;
    border-radius: 50%;
    background: var(--color-cyan);
    box-shadow: 0 0 12px var(--color-magenta);
}

.map-marker .pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(94, 234, 212, 0.45);
    animation: markerPulse 2s ease-out infinite;
}

.marker-tip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    background: rgba(21, 32, 51, 0.94);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.map-marker:hover .marker-tip,
.map-marker.is-active .marker-tip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.path-steps {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.path-steps li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid rgba(61, 84, 112, 0.1);
    font-weight: 700;
    color: var(--color-ink);
    box-shadow: 0 10px 24px rgba(21, 32, 51, 0.05);
}

.path-steps li span {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.7rem;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    color: #fff;
    flex-shrink: 0;
}

.path-steps li:nth-child(1) span { background: var(--color-bronze); }
.path-steps li:nth-child(2) span { background: linear-gradient(135deg, var(--color-steel), var(--color-cyan)); }
.path-steps li:nth-child(3) span { background: var(--color-magenta); }
.path-steps li:nth-child(4) span { background: var(--color-royal); }

.cta-band {
    padding: 0 0 5rem;
}

.cta-panel {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 1.75rem;
    color: #fff;
    background:
        radial-gradient(circle at 18% 20%, rgba(94, 234, 212, 0.22), transparent 42%),
        radial-gradient(circle at 88% 80%, rgba(192, 132, 252, 0.28), transparent 46%),
        linear-gradient(120deg, var(--color-ink), var(--color-steel) 42%, var(--color-royal));
    box-shadow: 0 24px 50px rgba(21, 32, 51, 0.22);
}

.cta-logo {
    width: 5.5rem;
    height: auto;
    margin: 0 auto 0.75rem;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

.cta-panel h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
}

.cta-panel p {
    margin: 0.75rem auto 0;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.86);
}

.cta-panel .hero-actions {
    justify-content: center;
}

@media (max-width: 767px) {
    .hero-swiper .swiper-button-prev,
    .hero-swiper .swiper-button-next {
        display: none;
    }

    .hero-frame {
        padding-top: calc(var(--header-h) + 5.2rem);
        text-align: center;
        justify-items: center;
    }

    .hero-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-text {
        margin-inline: auto;
    }
}

@media (min-width: 768px) {
    .vision-grid,
    .travel-grid,
    .courses-row,
    .section-head {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .pillars-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-head {
        align-items: end;
    }

    .hero-frame {
        grid-template-columns: minmax(10rem, 15rem) 1fr;
        gap: 2rem;
        padding: calc(var(--header-h) + 1.1rem) 1.25rem 5.8rem;
    }

    .hero-emblem {
        width: min(100%, 14rem);
        margin-inline: 0;
    }
}

@keyframes kenburns {
    from {
        transform: scale(1) translate(0, 0);
    }
    to {
        transform: scale(1.12) translate(-2%, -1.5%);
    }
}

@keyframes emblemFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes waveIn {
    from {
        opacity: 0;
        transform: translateY(14px) rotate(-3deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes markerPulse {
    0% {
        transform: scale(0.4);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-kenburns,
    .hub-ring,
    .hero-emblem img,
    .map-marker .pulse,
    .hero-title .wave-unit {
        animation: none !important;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
    }
}
