html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
    background: #ffffff;
    color: #212529;
}

/* =========================================================
   Layers and three.js background
========================================================= */

#container {
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    resize: none !important;
    overscroll-behavior: none !important;
}

    #container canvas {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        pointer-events: none !important;
        overflow: hidden !important;
        resize: none !important;
    }

main,
.site-footer {
    position: relative;
    z-index: 10;
}

.home-hero-section {
    position: relative;
    z-index: 20;
}

/* =========================================================
   Common utilities
========================================================= */

.badge {
    white-space: normal;
}

/* =========================================================
   Scroll reveal
========================================================= */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

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

.reveal-delay-1 {
    transition-delay: 0.08s;
}

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

.reveal-delay-3 {
    transition-delay: 0.24s;
}

.reveal-delay-4 {
    transition-delay: 0.32s;
}

.reveal-delay-5 {
    transition-delay: 0.40s;
}

.reveal-delay-6 {
    transition-delay: 0.48s;
}

/* =========================================================
   Hover lift cards
========================================================= */

.position-card,
.strength-card,
.service-card,
.result-card,
.solution-positioning .card,
.strength-section .card,
.service-lineup .card,
.result-section .card,
.home-cta .card,
.hover-lift {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
    will-change: transform, box-shadow;
}

@media (hover: hover) and (pointer: fine) {
    .position-card,
    .strength-card,
    .service-card,
    .result-card,
    .solution-positioning .card,
    .strength-section .card,
    .service-lineup .card,
    .result-section .card,
    .home-cta .card,
    .hover-lift {
        cursor: pointer;
    }

        .position-card:hover,
        .strength-card:hover,
        .service-card:hover,
        .result-card:hover,
        .solution-positioning .card:hover,
        .strength-section .card:hover,
        .service-lineup .card:hover,
        .result-section .card:hover,
        .home-cta .card:hover,
        .hover-lift:hover {
            transform: translateY(-8px);
            box-shadow: 0 22px 42px rgba(15, 23, 42, 0.12) !important;
        }
}

/* =========================================================
   Strength fly-in animation
========================================================= */

.strength-fly-section {
    position: relative;
    overflow: hidden;
}

@supports (overflow: clip) {
    .strength-fly-section {
        overflow: clip;
    }
}

html.home-js .strength-fly-section .strength-fly-item {
    opacity: 0;
    transform: translate3d(var(--fly-x, 0), var(--fly-y, 0), 0) rotate(var(--fly-rotate, 0deg)) scale(var(--fly-scale, 0.86));
    filter: blur(12px);
    will-change: transform, opacity, filter;
}

html.home-js .strength-fly-section.fly-ready .strength-fly-item {
    transition: opacity 1.05s ease, filter 1.05s ease, transform 1.55s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--fly-delay, 0ms);
}

html.home-js .strength-fly-section.fly-landed .strength-fly-item {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    filter: blur(0);
}

html.home-js .strength-fly-section.fly-complete .strength-fly-item {
    will-change: auto;
}

html:not(.home-js) .strength-fly-section .strength-fly-item {
    opacity: 1;
    transform: none;
    filter: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll,
    html.home-js .strength-fly-section .strength-fly-item,
    html.home-js .strength-fly-section.fly-ready .strength-fly-item,
    html.home-js .strength-fly-section.fly-landed .strength-fly-item {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

/* =========================================================
   Video and support glass card
========================================================= */

.home-video-card {
    position: relative;
    min-height: 360px;
    aspect-ratio: 16 / 10;
    background: #111827;
}

.home-hero-video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center center;
    filter: brightness(1.08) contrast(1.06) saturate(1.05);
}

.support-video-composite {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    border-radius: 2rem;
    background: #111827;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

    .support-video-composite > .home-hero-video {
        position: absolute;
        inset: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        min-height: 100%;
        object-fit: cover;
        object-position: center center;
    }

.support-card-dock {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: 40%;
    min-width: 440px;
    max-width: 520px;
    display: flex;
    padding: 0 !important;
}

    .support-card-dock .support-glass-card {
        width: 100%;
        height: 100%;
        border-radius: 0 2rem 2rem 0 !important;
    }

.support-glass-card {
    color: #111827 !important;
    background-color: rgba(255, 255, 255, 0.78) !important;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.66)) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.48);
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
    border-left: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: -18px 0 48px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

    .support-glass-card .card-body {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .support-glass-card h1,
    .support-glass-card h2,
    .support-glass-card h3,
    .support-glass-card h4,
    .support-glass-card div,
    .support-glass-card span {
        color: #111827 !important;
    }

    .support-glass-card p {
        color: #374151 !important;
        line-height: 1.9;
    }

/* =========================================================
   Home AI chat showcase card
========================================================= */

.home-ai-chat-showcase {
    min-height: 620px;
    padding: 28px;
    background: radial-gradient(circle at 88% 8%, rgba(99, 102, 241, .26), transparent 32%), radial-gradient(circle at 10% 88%, rgba(20, 184, 166, .20), transparent 34%), linear-gradient(145deg, #ffffff 0%, #f7fbff 48%, #eef7ff 100%);
}

.home-ai-chat-showcase__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(6px);
    pointer-events: none;
}

.home-ai-chat-showcase__glow--blue {
    width: 220px;
    height: 220px;
    top: -92px;
    right: -88px;
    background: rgba(37, 99, 235, .18);
}

.home-ai-chat-showcase__glow--green {
    width: 180px;
    height: 180px;
    left: -82px;
    bottom: -76px;
    background: rgba(16, 185, 129, .15);
}

.home-ai-chat-showcase__header,
.home-ai-chat-showcase__body,
.home-ai-chat-showcase__footer {
    position: relative;
    z-index: 1;
}

.home-ai-chat-showcase__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

.home-ai-chat-showcase__avatar {
    width: 60px;
    height: 60px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 26px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    box-shadow: 0 18px 34px rgba(37, 99, 235, .28);
}

.home-ai-chat-showcase__eyebrow {
    color: #2563eb;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.home-ai-chat-showcase__title {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -.02em;
}

.home-ai-chat-showcase__status,
.home-ai-chat-showcase__notice {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
}

.home-ai-chat-showcase__status {
    gap: 7px;
    padding: 8px 12px;
    color: #047857;
    background: rgba(209, 250, 229, .78);
    border: 1px solid rgba(16, 185, 129, .25);
    font-size: .76rem;
    font-weight: 800;
    white-space: nowrap;
}

    .home-ai-chat-showcase__status span {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: #10b981;
        box-shadow: 0 0 0 5px rgba(16, 185, 129, .14);
    }

.home-ai-chat-showcase__body {
    display: grid;
    gap: 18px;
}

.home-ai-chat-showcase__notice {
    width: fit-content;
    gap: 9px;
    padding: 11px 16px;
    color: #047857;
    background: rgba(236, 253, 245, .86);
    border: 1px solid rgba(52, 211, 153, .36);
    font-size: .86rem;
    font-weight: 900;
}

.home-ai-chat-showcase__notice-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #34d399;
}

.home-ai-chat-showcase__message {
    max-width: 88%;
    padding: 18px 20px;
    line-height: 1.9;
    font-weight: 600;
    box-shadow: 0 18px 36px rgba(15, 23, 42, .08);
}

.home-ai-chat-showcase__message--user {
    margin-left: auto;
    color: #ffffff;
    border-radius: 26px 26px 8px 26px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

.home-ai-chat-showcase__message--bot {
    margin-right: auto;
    color: #475569;
    border-radius: 26px 26px 26px 8px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(226, 232, 240, .9);
}

.home-ai-chat-showcase__typing {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

    .home-ai-chat-showcase__typing span {
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: #60a5fa;
    }

.home-ai-chat-showcase__link {
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    font-weight: 900;
    text-decoration: none;
}

.home-ai-chat-showcase__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .home-ai-chat-showcase__chips span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 15px;
        border-radius: 999px;
        color: #334155;
        background: rgba(255, 255, 255, .86);
        border: 1px solid rgba(203, 213, 225, .8);
        font-size: .84rem;
        font-weight: 900;
    }

.home-ai-chat-showcase__footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
    text-align: center;
}

    .home-ai-chat-showcase__footer div {
        padding: 14px 8px;
        border-radius: 20px;
        background: rgba(255, 255, 255, .58);
        border: 1px solid rgba(226, 232, 240, .72);
    }

    .home-ai-chat-showcase__footer strong {
        display: block;
        color: #2563eb;
        font-size: 1.32rem;
        line-height: 1.1;
    }

    .home-ai-chat-showcase__footer span {
        display: block;
        margin-top: 5px;
        color: #64748b;
        font-size: .78rem;
        font-weight: 700;
    }

/* =========================================================
   Home hero embedded AI chat
========================================================= */

.home-hero-ai-chat {
    position: relative;
    z-index: 30;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
    pointer-events: auto !important;
    will-change: auto;
}

    .home-hero-ai-chat.is-ready,
    .home-hero-ai-chat.is-scroll-fading {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    .home-hero-ai-chat .towa-ai-chat,
    .home-hero-ai-chat .towa-ai-chat[data-ai-chat] {
        position: relative !important;
        inset: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 520px !important;
        margin-left: auto;
        z-index: 30 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .home-hero-ai-chat .towa-ai-chat__launcher,
    .home-hero-ai-chat .towa-ai-chat__close {
        display: none !important;
    }

    .home-hero-ai-chat .towa-ai-chat__panel,
    .home-hero-ai-chat .towa-ai-chat__panel[hidden] {
        position: relative !important;
        inset: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 650px;
        max-height: none !important;
        border-radius: 38px;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        box-shadow: 0 28px 70px rgba(15, 23, 42, .16);
    }

    .home-hero-ai-chat .towa-ai-chat__messages {
        min-height: 250px;
        max-height: 310px;
        overflow-y: auto;
    }

    .home-hero-ai-chat .towa-ai-chat__chips {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }

        .home-hero-ai-chat .towa-ai-chat__chips button {
            white-space: nowrap;
        }

    .home-hero-ai-chat .towa-ai-chat__form,
    .home-hero-ai-chat .towa-ai-chat__footer {
        flex-shrink: 0;
    }

/* =========================================================
   Home floating AI chat widget
   Desktop/tablet only on Home.css. Mobile uses the embedded hero chat.
========================================================= */

html.home-js .home-floating-ai-chat {
    --home-floating-ai-chat-opacity: 0;
    --home-floating-ai-chat-y: 22px;
    opacity: var(--home-floating-ai-chat-opacity) !important;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, var(--home-floating-ai-chat-y), 0) !important;
    transition: opacity .55s ease, transform .55s ease, visibility .55s ease;
    will-change: opacity, transform;
}

    html.home-js .home-floating-ai-chat.is-home-scroll-visible,
    html.home-js .home-floating-ai-chat.is-home-chat-open {
        visibility: visible;
        pointer-events: auto;
    }

    html.home-js .home-floating-ai-chat.is-home-scroll-complete {
        will-change: auto;
    }

    html.home-js .home-floating-ai-chat.is-home-chat-open {
        --home-floating-ai-chat-opacity: 1;
        --home-floating-ai-chat-y: 0px;
        opacity: 1 !important;
        transform: translate3d(0, 0, 0) !important;
    }

    html.home-js .home-floating-ai-chat .towa-ai-chat__panel[hidden] {
        display: none !important;
    }

    html.home-js .home-floating-ai-chat.is-home-chat-open .towa-ai-chat__panel:not([hidden]) {
        display: grid !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    html.home-js .home-floating-ai-chat.is-home-chat-open .towa-ai-chat__launcher {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    html.home-js .home-floating-ai-chat .towa-ai-chat__panel.is-closing {
        display: grid !important;
        opacity: 0 !important;
        visibility: visible;
        pointer-events: none;
        transform: translateY(18px) scale(.96) !important;
    }

@media (prefers-reduced-motion: reduce) {
    html.home-js .home-floating-ai-chat {
        transition: none;
        transform: none !important;
    }
}

/* =========================================================
   Responsive layout
========================================================= */

@media (max-width: 1199.98px) and (min-width: 992px) {
    .support-video-composite {
        min-height: 680px;
    }

    .support-card-dock {
        width: 43%;
        min-width: 400px;
        max-width: 500px;
    }

    .support-glass-card .card-body {
        padding: 2rem !important;
    }
}

@media (max-width: 1199.98px) {
    .home-hero-ai-chat .towa-ai-chat,
    .home-hero-ai-chat .towa-ai-chat[data-ai-chat] {
        max-width: 620px !important;
        margin-right: auto;
    }
}

@media (max-width: 991.98px) {
    #container {
        opacity: 0.94;
    }

    .home-video-card {
        min-height: 260px;
        aspect-ratio: 16 / 9;
    }

    .home-hero-video {
        min-height: 260px;
    }

    .support-video-composite {
        min-height: auto;
        border-radius: 2rem;
        background: #111827;
    }

        .support-video-composite > .home-hero-video {
            position: relative;
            inset: auto;
            height: 280px;
            min-height: 280px;
            border-radius: 2rem 2rem 0 0;
        }

    .support-card-dock {
        position: relative;
        inset: auto;
        display: block;
        width: 100%;
        min-width: 0;
        max-width: none;
    }

        .support-card-dock .support-glass-card {
            height: auto;
            border-radius: 0 0 2rem 2rem !important;
        }

    .support-glass-card .card-body {
        height: auto;
        display: block;
    }
}

@media (max-width: 768px) {
    #container {
        min-height: 520px;
    }

    .reveal-on-scroll {
        transform: translateY(24px);
    }
}

@media (max-width: 767.98px) {
    html.home-js .home-floating-ai-chat {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    #container {
        opacity: 0.98;
        min-height: 0;
    }

    .home-ai-chat-showcase {
        min-height: auto;
        padding: 22px;
    }

    .home-ai-chat-showcase__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-ai-chat-showcase__message {
        max-width: 100%;
    }

    .home-ai-chat-showcase__footer {
        gap: 8px;
    }

        .home-ai-chat-showcase__footer strong {
            font-size: 1.05rem;
        }

        .home-ai-chat-showcase__footer span {
            font-size: .68rem;
        }

    .home-hero-ai-chat .towa-ai-chat__panel,
    .home-hero-ai-chat .towa-ai-chat__panel[hidden] {
        min-height: auto;
        border-radius: 30px;
    }

    .home-hero-ai-chat .towa-ai-chat__messages {
        min-height: 180px;
        max-height: 220px;
    }
}

@media (max-width: 480px) {
    #container {
        min-height: 460px;
    }
}


/* =========================================================
   TOWA AI Academy home
   Keep #container / home-three.js untouched so the right-side
   Three.js network remains visible in the hero area.
========================================================= */

.academy-home-main {
    overflow: hidden;
}

.academy-hero-section {
    position: relative;
    z-index: 20;
    min-height: min(760px, calc(100dvh - 90px));
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 10% 16%, rgba(37, 99, 235, .08), transparent 30%),
        linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .94) 52%, rgba(255, 255, 255, .18) 100%);
}

.academy-hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.96));
    z-index: 0;
}

.academy-hero-section > .container {
    position: relative;
    z-index: 2;
}

.academy-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid rgba(37, 99, 235, .14);
    background: rgba(37, 99, 235, .08);
    color: #2563eb;
    border-radius: 999px;
    padding: .55rem 1rem;
    font-weight: 800;
    font-size: .9rem;
    box-shadow: 0 12px 30px rgba(37, 99, 235, .08);
}

.academy-hero-title {
    font-size: clamp(2.55rem, 5.4vw, 5.3rem);
    letter-spacing: -.055em;
    line-height: 1.05;
}

.academy-hero-text {
    max-width: 820px;
    font-size: 1.07rem;
    line-height: 2.05;
    color: #5b6472;
}

.academy-network-note {
    max-width: 360px;
    padding: 1.25rem 1.35rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(37, 99, 235, .14);
    box-shadow: 0 22px 56px rgba(15, 23, 42, .10);
    backdrop-filter: blur(14px) saturate(1.12);
    -webkit-backdrop-filter: blur(14px) saturate(1.12);
}

.academy-section-on-white {
    position: relative;
    z-index: 20;
    background: #ffffff;
}

.academy-soft-section {
    position: relative;
    z-index: 20;
    background:
        radial-gradient(circle at 8% 10%, rgba(37, 99, 235, .08), transparent 30%),
        radial-gradient(circle at 92% 0%, rgba(14, 165, 233, .10), transparent 32%),
        linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

.academy-quick-card {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    transition: .25s ease;
}

.academy-quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(37, 99, 235, .13);
}

.academy-section-kicker {
    color: #2563eb;
    font-weight: 900;
    letter-spacing: .08em;
    font-size: .85rem;
}

.academy-section-title {
    font-size: clamp(1.9rem, 3vw, 3rem);
    letter-spacing: -.04em;
    line-height: 1.25;
}

.academy-course-card {
    position: relative;
    height: 100%;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
    overflow: hidden;
    transition: .25s ease;
}

.academy-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 56px rgba(15, 23, 42, .12);
}

.academy-card-visual {
    height: 190px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 52%, #ffffff 100%);
}

.academy-card-visual.student {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 48%, #ffffff 100%);
}

.academy-card-visual.worker {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 52%, #ffffff 100%);
}

.academy-card-visual.school {
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 55%, #ffffff 100%);
}

.academy-card-visual.corporate {
    background: linear-gradient(135deg, #ecfeff 0%, #f8fafc 52%, #ffffff 100%);
}

.academy-card-visual.gov {
    background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 55%, #ffffff 100%);
}

.academy-card-visual::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .12);
    top: -80px;
    right: -60px;
}

.academy-card-visual::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 36px;
    border: 1px solid rgba(37, 99, 235, .22);
    bottom: -35px;
    left: 30px;
    transform: rotate(16deg);
}

.academy-card-icon {
    position: absolute;
    left: 28px;
    top: 28px;
    width: 64px;
    height: 64px;
    border-radius: 1.2rem;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.8rem;
    box-shadow: 0 14px 32px rgba(37, 99, 235, .13);
}

.academy-card-label {
    position: absolute;
    right: 22px;
    top: 22px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 999px;
    padding: .45rem .8rem;
    color: #2563eb;
    font-weight: 900;
    font-size: .78rem;
}

.academy-card-body {
    position: relative;
    margin: -34px 18px 18px;
    background: #fff;
    border-radius: 1.2rem;
    border: 1px solid rgba(15, 23, 42, .08);
    padding: 1.25rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.academy-mini-box {
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .06);
    padding: .85rem;
    height: 100%;
}

.academy-mini-title {
    color: #2563eb;
    font-weight: 900;
    font-size: .85rem;
    margin-bottom: .35rem;
}

.academy-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(37, 99, 235, .13);
    background: rgba(255, 255, 255, .76);
    color: #334155;
    border-radius: 999px;
    padding: .42rem .78rem;
    font-size: .82rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.academy-roadmap-card {
    border-radius: 1.4rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
    height: 100%;
}

.academy-step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.academy-cta {
    background:
        radial-gradient(circle at 12% 18%, rgba(37, 99, 235, .10), transparent 34%),
        radial-gradient(circle at 88% 22%, rgba(14, 165, 233, .12), transparent 36%),
        linear-gradient(135deg, #f8fbff 0%, #eef6ff 52%, #ffffff 100%);
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

@media (max-width: 1199.98px) {
    .academy-hero-section {
        min-height: auto;
        background:
            radial-gradient(circle at 10% 16%, rgba(37, 99, 235, .08), transparent 30%),
            linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    }
}

@media (max-width: 991.98px) {
    .academy-card-visual {
        height: 160px;
    }

    .academy-card-body {
        margin: -28px 14px 14px;
    }
}

@media (max-width: 575.98px) {
    .academy-hero-title {
        font-size: clamp(2.35rem, 14vw, 3.4rem);
    }

    .academy-hero-text {
        font-size: 1rem;
        line-height: 1.9;
    }

    .academy-card-body {
        padding: 1rem;
    }
}
