:root {
    --sa-primary: #0b67e3;
    --sa-primary-dark: #0a4fb0;
    --sa-primary-soft: #eaf3ff;
    --sa-bg: #f5f9ff;
    --sa-bg-deep: #03162f;
    --sa-ink: #091221;
    --sa-text: #526173;
    --sa-line: #d7e5fb;
    --sa-white: #ffffff;
    --sa-shadow: 0 20px 50px rgba(8, 40, 92, 0.08);
}

html, body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--sa-ink);
    background: #ffffff;
    scroll-behavior: smooth;
}

body { overflow-x: hidden; }
a { text-decoration: none; }
img, video { display: block; }
.fw-black { font-weight: 900 !important; }
.letter-space { letter-spacing: .16em; }
.text-secondary { color: var(--sa-text) !important; }
.bg-light-subtle { background: var(--sa-bg) !important; }

.btn, .card, .badge, .form-control, .form-select, .accordion-item, .accordion-button,
.rounded, .rounded-1, .rounded-2, .rounded-3, .rounded-4, .rounded-5, .rounded-pill {
    border-radius: 0 !important;
}

.btn {
    min-height: 48px;
    font-weight: 700;
    letter-spacing: .02em;
    padding-inline: 1.1rem;
    box-shadow: none !important;
}

.btn-primary {
    background: var(--sa-primary);
    border-color: var(--sa-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--sa-primary-dark);
    border-color: var(--sa-primary-dark);
}

.btn-outline-primary {
    color: var(--sa-primary);
    border-color: #8bb4f6;
    background: #ffffff;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff;
    background: var(--sa-primary);
    border-color: var(--sa-primary);
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    background: transparent;
}

.brand-title {
    font-size: 1.06rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--sa-ink);
}

.brand-tagline {
    font-size: .76rem;
    color: #66758a;
}

.academy-header { z-index: 1031; }
.academy-navbar {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
}

.nav-link-sharp {
    color: #314053;
    font-weight: 700;
    padding: .72rem 1rem !important;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .77rem;
}

.nav-link-sharp:hover,
.nav-link-sharp.active {
    color: var(--sa-primary);
    border-color: #b7d2fb;
    background: var(--sa-primary-soft);
}

.btn-nav-outline,
.btn-nav-solid {
    min-width: 132px;
    text-align: center;
    text-transform: uppercase;
    font-size: .76rem;
    letter-spacing: .08em;
}

.btn-nav-outline {
    border: 1px solid #98bdf9;
    color: var(--sa-primary);
    background: #fff;
}

.btn-nav-outline:hover { background: var(--sa-primary-soft); }

.btn-nav-solid {
    background: var(--sa-primary);
    border: 1px solid var(--sa-primary);
    color: #fff;
}

.btn-nav-solid:hover { background: var(--sa-primary-dark); border-color: var(--sa-primary-dark); }

.hero-video-section {
    min-height: 100vh;
    background: #03162f;
}

.hero-media,
.hero-video,
.hero-fallback { position: absolute; inset: 0; }
.hero-video,
.hero-fallback { object-fit: cover; }
.hero-fallback {
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3,22,47,.94) 0%, rgba(3,22,47,.82) 43%, rgba(6,49,111,.38) 100%),
        linear-gradient(180deg, rgba(3,22,47,.12), rgba(3,22,47,.5));
}

.hero-stage { position: relative; z-index: 1; }

.hero-slide-stack {
    position: relative;
    min-height: 15rem;
    max-width: 46rem;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .42rem .8rem;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 800;
    border: 1px solid #bed4fa;
}

.hero-kicker {
    background: rgba(255,255,255,.08);
    color: #fff;
    border-color: rgba(255,255,255,.22);
}

.section-kicker {
    background: #fff;
    color: var(--sa-primary);
}

.hero-title {
    font-size: clamp(2.25rem, 4.9vw, 4.55rem);
    line-height: .98;
    letter-spacing: -.055em;
    max-width: 11ch;
}

.hero-text {
    max-width: 43rem;
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.75;
}

.hero-actions { position: relative; z-index: 2; }
.btn-hero-primary,
.btn-hero-secondary {
    min-width: 220px;
    min-height: 52px;
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .1em;
}

.btn-hero-primary {
    background: #fff;
    color: var(--sa-primary);
    border: 1px solid #fff;
}

.btn-hero-primary:hover { background: var(--sa-primary-soft); color: var(--sa-primary); }

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.32);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.hero-metrics { margin-top: 2rem !important; }
.hero-stat {
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    padding: 1rem 1.05rem;
    backdrop-filter: blur(10px);
    min-height: 100%;
}
.hero-stat strong,
.hero-stat span { display: block; color: #fff; }
.hero-stat strong { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.hero-stat span { font-size: .88rem; opacity: .82; margin-top: .3rem; line-height: 1.6; }

.hero-globe-shell {
    position: relative;
    width: min(100%, 540px);
    aspect-ratio: 1 / 1;
    margin-left: auto;
}

.hero-globe-backdrop {
    position: absolute;
    inset: 10% 10%;
    background: radial-gradient(circle at center, rgba(11,103,227,.28), rgba(11,103,227,0) 62%);
    filter: blur(16px);
}

.hero-globe {
    position: absolute;
    inset: 0;
}

.hero-globe canvas {
    width: 100% !important;
    height: 100% !important;
}

.globe-chip {
    position: absolute;
    padding: .72rem .9rem;
    background: rgba(255,255,255,.9);
    border: 1px solid #cddffb;
    color: var(--sa-ink);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
    max-width: 180px;
}

.globe-chip-top { top: 12%; left: 0; }
.globe-chip-right { right: -2%; top: 44%; }
.globe-chip-bottom { left: 12%; bottom: 3%; }

.brand-strip-pill,
.brand-strip-item,
.parent-card,
.academy-course-card,
.category-tile,
.feature-card,
.info-stat,
.career-board,
.footer-note,
.cta-banner,
.detail-chip,
.batch-card,
.price-box,
.payment-pill,
.batch-rule,
.contact-line,
.meta-pill,
.check-card,
.curriculum-panel,
.academy-note,
.topic-row,
.lab-row,
.module-outcome {
    border: 1px solid var(--sa-line);
    background: #fff;
}

.brand-strip-pill,
.brand-strip-item,
.feature-card,
.info-stat,
.career-board,
.footer-note,
.cta-banner,
.detail-chip,
.batch-card,
.price-box,
.payment-pill,
.batch-rule,
.contact-line,
.meta-pill,
.check-card,
.curriculum-panel,
.academy-note,
.module-outcome { padding: 1.2rem; }

.brand-strip-pill,
.brand-strip-item { height: 100%; }
.brand-strip-pill { font-weight: 800; color: var(--sa-primary); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.brand-strip-item strong,
.brand-strip-item span { display: block; }
.brand-strip-item strong { color: var(--sa-ink); font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.brand-strip-item span { color: var(--sa-text); font-size: .88rem; margin-top: .22rem; }

.section-title {
    font-size: clamp(1.9rem, 2.8vw, 3rem);
    line-height: 1.05;
    letter-spacing: -.05em;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-text {
    color: var(--sa-text);
    font-size: 1.04rem;
    line-height: 1.82;
}

.parent-card,
.academy-course-card,
.category-tile,
.card,
.footer-note,
.cta-banner,
.info-stat,
.feature-card,
.detail-chip,
.batch-card,
.price-box,
.payment-pill,
.batch-rule,
.contact-line,
.meta-pill,
.check-card,
.curriculum-panel,
.academy-note,
.module-outcome,
.curriculum-item,
.accordion-button,
.gallery-thumb { box-shadow: var(--sa-shadow); }

.parent-card-image,
.course-card-image,
.category-tile-image,
.page-banner-image,
.gallery-thumb,
.visual-slide {
    width: 100%;
    object-fit: cover;
}

.parent-card-image { height: 260px; }
.course-card-image-wrap,
.course-card-image { height: 230px; }
.course-card-image { transition: transform .5s ease; }
.academy-course-card:hover .course-card-image,
.parent-card:hover .parent-card-image,
.category-tile:hover .category-tile-image { transform: scale(1.04); }

.category-badge { border: 1px solid #d5e4fb; }

.meta-pill {
    background: var(--sa-bg);
    height: 100%;
    font-size: .88rem;
}

.meta-pill strong,
.meta-pill span,
.detail-chip strong,
.detail-chip span,
.batch-rule strong,
.batch-rule span,
.contact-line strong,
.contact-line span { display: block; }

.meta-pill strong,
.detail-chip strong,
.batch-rule strong,
.contact-line strong { font-weight: 800; color: var(--sa-ink); }

.meta-pill span,
.detail-chip span,
.batch-rule span,
.contact-line span,
.price-box span,
.batch-meta span {
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #68798e;
    margin-bottom: .4rem;
}

.page-banner {
    min-height: 27rem;
    background: var(--sa-bg-deep);
}
.page-banner-image,
.page-banner-overlay { position: absolute; inset: 0; }
.page-banner-image { height: 100%; }
.page-banner-overlay {
    background: linear-gradient(90deg, rgba(3,22,47,.92) 0%, rgba(3,22,47,.78) 46%, rgba(10,103,227,.26) 100%);
}
.page-title {
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.04;
    letter-spacing: -.05em;
    font-weight: 900;
}

.hero-side-badges { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-side-badge {
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    color: #fff;
    padding: .8rem 1rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-size: .76rem;
}

.back-link { font-weight: 700; }

.visual-shell { border: 1px solid var(--sa-line); box-shadow: var(--sa-shadow); }
.visual-slide {
    min-height: 32rem;
    background-position: center;
    background-size: cover;
    position: relative;
}

.visual-overlay,
.visual-content { position: absolute; inset: 0; }
.visual-overlay { background: linear-gradient(180deg, rgba(4,22,47,.06), rgba(4,22,47,.82)); }
.visual-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
    z-index: 2;
}

.feature-card i {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sa-primary-soft);
    color: var(--sa-primary);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.feature-card h3,
.career-board h3,
.curriculum-panel-title { font-size: 1.06rem; font-weight: 800; margin-bottom: .65rem; }
.feature-card p,
.career-board p,
.footer-links a,
.footer-note,
.academy-note p,
.module-outcome p,
.lab-row p,
.topic-row p { color: var(--sa-text) !important; }

.info-stat { height: 100%; }
.info-stat strong,
.info-stat span,
.price-box strong,
.price-box span { display: block; }
.info-stat strong,
.price-box strong { font-weight: 900; color: var(--sa-ink); }
.info-stat span,
.price-box span { color: var(--sa-text); margin-top: .25rem; }

.category-tile { overflow: hidden; padding: 0; height: 100%; }
.category-tile-image { height: 190px; }
.category-tile-body { padding: 1.25rem; }

.gallery-thumb {
    border: 1px solid var(--sa-line);
    height: 220px;
}

.detail-chip { background: var(--sa-bg); height: 100%; }
.academy-list { padding-left: 1.1rem; }
.academy-list li { margin-bottom: .72rem; color: var(--sa-text); line-height: 1.72; }

.check-card {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    background: var(--sa-bg);
    height: 100%;
}
.check-card i { color: var(--sa-primary); font-size: 1.08rem; margin-top: .15rem; }

.batch-date {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -.03em;
    color: var(--sa-primary);
}
.batch-mode { font-weight: 800; margin-top: .35rem; margin-bottom: .18rem; }
.batch-meta { margin-top: .85rem; }
.batch-meta strong { color: var(--sa-ink); display: block; }

.price-box { background: var(--sa-bg); }
.price-box strong { font-size: 1.55rem; line-height: 1.1; margin-bottom: .45rem; }
.price-box small { color: var(--sa-text) !important; }
.price-box-primary { background: linear-gradient(180deg, #edf5ff, #f8fbff); border-color: #a8c7fb; }
.price-box-muted strong { font-size: 1.15rem; }

.payment-pill {
    display: flex;
    align-items: center;
    gap: .8rem;
    background: var(--sa-bg);
    font-weight: 700;
}
.payment-pill i { color: var(--sa-primary); }
.batch-rule,
.contact-line { background: var(--sa-bg); margin-top: .9rem; }

.career-chip {
    border: 1px solid var(--sa-line);
    padding: .95rem 1rem;
    text-align: center;
    font-weight: 700;
    background: var(--sa-bg);
    color: var(--sa-ink);
    box-shadow: var(--sa-shadow);
}
.career-board { background: linear-gradient(180deg, #ffffff, #f8fbff); }

.cta-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.2rem;
    align-items: center;
    background: linear-gradient(180deg, #fff, #f5f9ff);
}

.footer-heading { font-weight: 800; margin-bottom: 1rem; color: var(--sa-ink); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.footer-links li + li { margin-top: .7rem; }
.footer-links a:hover { color: var(--sa-primary) !important; }
.footer-note { background: var(--sa-bg); }

.curriculum-accordion { --bs-accordion-border-width: 0; }
.curriculum-item {
    border: 1px solid var(--sa-line) !important;
    background: #fff;
    margin-bottom: 1rem;
}
.curriculum-item:last-child { margin-bottom: 0; }
.accordion-button {
    background: #fff;
    color: var(--sa-ink);
    box-shadow: none !important;
    padding: 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
}
.accordion-button:not(.collapsed) {
    color: var(--sa-primary);
    background: #fff;
}
.accordion-button::after { margin-left: auto; }
.module-number {
    display: block;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .68rem;
    color: #6b7f96;
    margin-bottom: .25rem;
}
.module-meta-inline {
    font-size: .77rem;
    color: #6b7f96;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.topic-list-wrap,
.lab-list-wrap {
    display: grid;
    gap: .85rem;
}
.topic-row,
.lab-row {
    padding: .95rem 1rem;
    background: var(--sa-bg);
}
.topic-row-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: .38rem;
}
.topic-row-head strong,
.lab-row strong {
    font-size: .93rem;
    color: var(--sa-ink);
}
.topic-row-head span,
.lab-row span {
    white-space: nowrap;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--sa-primary);
    font-weight: 800;
}
.lab-row { border: 1px solid #d7e5fb; }
.module-outcome,
.academy-note { background: var(--sa-bg); }
.course-sidebar .card { background: #fff; }

.min-vh-50 { min-height: 50vh; }

@media (max-width: 1199.98px) {
    .hero-globe-shell { width: min(100%, 460px); }
    .globe-chip-right { right: 0; }
}

@media (max-width: 991.98px) {
    .hero-stage { padding-top: 4rem; padding-bottom: 3rem; }
    .hero-slide-stack { min-height: 16rem; max-width: 100%; }
    .hero-title { max-width: 100%; }
    .hero-globe-shell { margin-inline: auto; width: min(100%, 420px); }
    .globe-chip-top { top: 6%; }
    .globe-chip-right { top: auto; right: 0; bottom: 22%; }
    .globe-chip-bottom { left: 0; bottom: 2%; }
    .hero-side-badges { justify-content: flex-start !important; }
    .course-sidebar { position: static !important; }
}

@media (max-width: 767.98px) {
    .brand-logo { width: 46px; height: 46px; }
    .brand-tagline { font-size: .72rem; }
    .hero-video-section { min-height: auto; }
    .hero-stage { min-height: auto !important; }
    .hero-slide-stack { min-height: 18rem; }
    .hero-title { font-size: clamp(2rem, 10vw, 2.8rem); }
    .hero-text { font-size: .98rem; }
    .btn-hero-primary,
    .btn-hero-secondary { min-width: 100%; }
    .hero-globe-shell {
        width: min(100%, 360px);
        margin: 0 auto 1rem;
    }
    .globe-chip {
        max-width: 145px;
        font-size: .64rem;
        padding: .6rem .72rem;
    }
    .parent-card-image,
    .course-card-image-wrap,
    .course-card-image,
    .category-tile-image,
    .gallery-thumb { height: 200px; }
    .visual-slide { min-height: 24rem; }
    .page-title { font-size: clamp(1.9rem, 10vw, 2.8rem); }
    .accordion-button { padding-right: 3rem; }
    .topic-row-head { flex-direction: column; gap: .35rem; }
}
