﻿/* =========================================================
   Design tokens
   ========================================================= */
:root {
    --ink: #0B1220;
    --ink-2: #111A2B;
    --ink-3: #182338;
    --text: #141A24;
    --text-2: #5A6472;
    --text-3: #6E7784;
    --line: #E6E9EF;
    --line-2: #D5DAE3;
    --bg: #FFFFFF;
    --bg-soft: #F7F8FA;
    --brand: #1B3B5F;
    --brand-2: #24507C;
    --gold: #8F6D36;
    --gold-soft: #C9A96A;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04);
    --shadow-md: 0 16px 40px rgba(11, 18, 32, 0.08);
    --max: 1160px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    /* CTA motion: tweak these to make the buttons more / less insistent */
    --cta-breath-scale: 1.028;
    --cta-hover-scale: 1.045;
    --cta-press-scale: 0.95;
    --cta-breath-duration: 2.6s;
}

/* =========================================================
   Reset & base
   ========================================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
        'Segoe UI', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
}

button {
    font-family: inherit;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
        color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn i {
    font-size: 0.85em;
}

.btn-sm {
    padding: 9px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 10px 26px;
    font-size: 15px;
    border-radius: 12px;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-2);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(27, 59, 95, 0.2);
}

.btn-light {
    background: #fff;
    color: var(--ink);
}

.btn-light:hover {
    background: #EEF1F6;
    transform: translateY(-1px);
}

.btn-outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.btn-outline-light:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

/* ---- Jump / start buttons: breathing scale, hover grows, press shrinks ---- */
.btn-cta {
    transform-origin: center;
    will-change: transform;
    animation: ctaBreath var(--cta-breath-duration) var(--ease) infinite;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
        color 0.2s var(--ease), transform 0.2s var(--ease),
        box-shadow 0.2s var(--ease), scale 0.25s var(--ease);
}

.btn-cta:hover,
.btn-cta:focus-visible {
    animation-play-state: paused;
    scale: var(--cta-hover-scale);
}

.btn-cta:active {
    scale: var(--cta-press-scale);
    transition-duration: 0.08s;
}

@keyframes ctaBreath {
    0%,
    62%,
    100% {
        transform: scale(1);
    }
    78% {
        transform: scale(var(--cta-breath-scale));
    }
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s var(--ease), color 0.3s var(--ease),
        border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--text);
    border-bottom-color: var(--line);
    box-shadow: 0 1px 20px rgba(11, 18, 32, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.brand-mark {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.site-header.is-scrolled .brand-mark {
    background: var(--brand);
    color: #fff;
}

.brand-text {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    position: relative;
    padding: 4px 0;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
}

.nav a:hover {
    color: #fff;
}

.nav a:hover::after {
    transform: scaleX(1);
}

.site-header.is-scrolled .nav a {
    color: var(--text-2);
}

.site-header.is-scrolled .nav a:hover {
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-actions .btn {
    background: #fff;
    color: var(--ink);
}

.header-actions .btn:hover {
    background: #EEF1F6;
    box-shadow: none;
}

.site-header.is-scrolled .header-actions .btn {
    background: var(--brand);
    color: #fff;
}

.site-header.is-scrolled .header-actions .btn:hover {
    background: var(--brand-2);
}

.nav-toggle {
    display: none;
    width: 38px;
    height: 38px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9px;
    color: #fff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.site-header.is-scrolled .nav-toggle {
    border-color: var(--line);
    color: var(--text);
}

.nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    width: 1200px;
    height: 900px;
    transform: translateX(-50%);
    background: radial-gradient(circle at center, rgba(64, 104, 156, 0.35) 0%, rgba(11, 18, 32, 0) 62%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(40px, 6vw, 72px);
    align-items: center;
    padding: clamp(48px, 7vw, 84px) 0 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--gold);
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.hero .eyebrow {
    color: var(--gold-soft);
}

.hero-title {
    margin-top: 20px;
    font-size: clamp(32px, 4.4vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.035em;
    color: #fff;
}

.hero-title em {
    font-style: normal;
    color: var(--gold-soft);
}

.hero-sub {
    margin-top: 22px;
    max-width: 460px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.68);
}

.hero-sub strong {
    font-weight: 600;
    color: #fff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 32px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.58);
}

.hero-meta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-meta li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold-soft);
    opacity: 0.8;
}

.hero-visual {
    position: relative;
}

.hero-figure {
    position: relative;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    aspect-ratio: 4 / 3;
    background: var(--ink-3);
}

.hero-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-badge {
    position: absolute;
    left: -18px;
    bottom: -20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(6, 12, 24, 0.3);
    color: var(--text);
}

.hero-badge-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #EEF2F7;
    color: var(--brand);
    font-size: 15px;
}

.hero-badge strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hero-badge span:not(.hero-badge-icon) {
    display: block;
    font-size: 11.5px;
    color: var(--text-3);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: clamp(56px, 7vw, 80px);
    padding: 30px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 clamp(16px, 3vw, 32px);
}

.stat:first-child {
    padding-left: 0;
}

.stat + .stat {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.58);
}

/* =========================================================
   Topic bar
   ========================================================= */
.topic-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.topic-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.topic-label {
    flex-shrink: 0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-3);
}

.topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topic-list li {
    padding: 5px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--text-2);
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.topic-list li:hover {
    border-color: var(--line-2);
    color: var(--text);
}

/* =========================================================
   Section shell
   ========================================================= */
.section {
    padding: clamp(64px, 9vw, 104px) 0;
}

.section--soft {
    background: var(--bg-soft);
}

.section--dark {
    background: var(--ink);
    color: #fff;
}

.section-head {
    max-width: 620px;
    margin: 0 auto clamp(40px, 5vw, 56px);
    text-align: center;
}

.section-head--left {
    margin-left: 0;
    text-align: left;
}

.section-head h2 {
    margin-top: 14px;
    font-size: clamp(25px, 3.2vw, 36px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.03em;
    color: var(--text);
}

.section-desc {
    margin-top: 14px;
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--text-2);
}

.section--dark .eyebrow {
    color: var(--gold-soft);
}

.section--dark .section-head h2 {
    color: #fff;
}

.section--dark .section-desc {
    color: rgba(255, 255, 255, 0.62);
}

/* =========================================================
   Cards & service grid
   ========================================================= */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
        box-shadow 0.25s var(--ease);
}

.card:hover {
    transform: translateY(-2px);
    border-color: var(--line-2);
    box-shadow: var(--shadow-md);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service {
    display: flex;
    flex-direction: column;
}

.service-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.service-num {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-3);
}

.service-badge {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.service-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #F1F4F8;
    color: var(--brand);
    font-size: 17px;
}

.service-top .service-icon {
    margin-left: auto;
}

.service h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.service > p {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-2);
}

.check-list {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.check-list li {
    position: relative;
    padding-left: 16px;
    font-size: 13.5px;
    color: var(--text-2);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand);
    opacity: 0.45;
}

.service--dark {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.service--dark:hover {
    border-color: var(--ink);
}

.service--dark .service-num {
    color: rgba(255, 255, 255, 0.5);
}

.service--dark .service-badge {
    background: var(--gold-soft);
    color: var(--ink);
}

.service--dark .service-icon {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.service--dark h3 {
    color: #fff;
}

.service--dark > p {
    color: rgba(255, 255, 255, 0.66);
}

.service--dark .check-list {
    border-top-color: rgba(255, 255, 255, 0.12);
}

.service--dark .check-list li {
    color: rgba(255, 255, 255, 0.72);
}

.service--dark .check-list li::before {
    background: var(--gold-soft);
    opacity: 0.8;
}

/* =========================================================
   Split layout
   ========================================================= */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.split-media {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3.2;
    background: var(--bg-soft);
}

.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-title {
    margin-top: 16px;
    font-size: clamp(24px, 2.9vw, 33px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.split-desc {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-2);
}

/* Learn list */
.learn-list {
    margin-top: 32px;
    border-top: 1px solid var(--line);
}

.learn-list li {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.learn-idx {
    flex-shrink: 0;
    min-width: 22px;
    padding-top: 3px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--gold);
}

.learn-list h3 {
    font-size: 16.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.learn-list p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-2);
}

/* Sector grid */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 30px;
}

.sector-grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
        transform 0.2s var(--ease);
}

.sector-grid li i {
    font-size: 13px;
    color: var(--brand);
}

.sector-grid li:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 26px;
    font-size: 13.5px;
    color: var(--text-2);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    width: 16px;
    text-align: center;
    font-size: 12px;
    color: var(--brand);
}

/* =========================================================
   Curriculum (dark)
   ========================================================= */
.day-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.day {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.day:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.day-num {
    display: block;
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--gold-soft);
}

.day h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.day p {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.58);
}

.day--cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: #fff;
    border-color: #fff;
}

.day--cta:hover {
    background: #fff;
    border-color: #fff;
}

.day--cta h3 {
    color: var(--text);
    margin-bottom: 0;
}

.day--cta p {
    color: var(--text-2);
    margin-bottom: 12px;
}

.day--cta .btn {
    margin-top: auto;
    background: var(--brand);
    color: #fff;
}

.day--cta .btn:hover {
    background: var(--brand-2);
}

/* =========================================================
   Advanced courses
   ========================================================= */
.track-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.track-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.track-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #EEF2F7;
    color: var(--brand);
    font-size: 16px;
}

.track h3 {
    font-size: 17.5px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.dot-list {
    display: grid;
    gap: 9px;
    margin-bottom: 22px;
}

.dot-list li {
    position: relative;
    padding-left: 15px;
    font-size: 13.5px;
    color: var(--text-2);
}

.dot-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--line-2);
}

.level {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.level-label {
    font-size: 11.5px;
    color: var(--text-3);
}

.level-bars {
    display: flex;
    gap: 4px;
}

.level-bars i {
    display: block;
    width: 18px;
    height: 4px;
    border-radius: 2px;
    background: var(--line);
}

.level-bars i.on {
    background: var(--brand);
}

/* =========================================================
   Reviews
   ========================================================= */
.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quote {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    font-size: 11px;
    color: var(--gold);
}

.quote blockquote {
    flex: 1;
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--text);
}

.quote figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.avatar {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #EEF2F7;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
}

.who strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
}

.who span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--text-3);
}

/* =========================================================
   Final CTA
   ========================================================= */
.final {
    padding: clamp(56px, 7vw, 80px) 0;
    background: var(--ink);
    color: #fff;
}

.final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.final h2 {
    font-size: clamp(25px, 3.2vw, 34px);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.final p {
    margin-top: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.62);
}

.final-points {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.final-points li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.final-points i {
    font-size: 11px;
    color: var(--gold-soft);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
    background: #070C16;
    color: #fff;
}

.footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding: 52px 0 40px;
}

.footer-brand {
    max-width: 420px;
}

.footer-brand .brand-mark {
    background: rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

.footer-brand strong {
    display: inline-block;
    margin-left: 4px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    vertical-align: middle;
}

.footer-brand p {
    margin-top: 14px;
    font-size: 12.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 6px;
}

.footer-nav a {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.48);
}

/* =========================================================
   Mobile sticky CTA
   ========================================================= */
.mobile-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
}

.mobile-cta .btn {
    width: 100%;
}

/* =========================================================
   Modals
   ========================================================= */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 13, 24, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.modal.active {
    display: flex;
}

.modal-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 620px;
    max-height: 86vh;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    padding: 20px 26px;
    border-bottom: 1px solid var(--line);
}

.modal-head h2 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.modal-close {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    border-radius: 9px;
    background: #F2F4F8;
    color: var(--text-2);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.modal-close:hover {
    background: #E6EAF1;
    color: var(--text);
}

.modal-body {
    padding: 26px;
    overflow-y: auto;
}

.modal-body h3 {
    margin: 22px 0 8px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 10px;
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--text-2);
}

.modal-body ul {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

.modal-body li {
    position: relative;
    padding-left: 14px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text-2);
}

.modal-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--line-2);
}

.notice {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px 16px;
    border: 1px solid #EBDFC8;
    border-radius: 12px;
    background: #FBF7EF;
}

.notice i {
    margin-top: 3px;
    font-size: 15px;
    color: var(--gold);
}

.notice p {
    margin: 0;
    font-size: 13px;
    color: #5A4A2E;
}

.notice--gray {
    display: block;
    margin-top: 22px;
    margin-bottom: 0;
    border-color: var(--line);
    background: var(--bg-soft);
}

.notice--gray p {
    font-weight: 600;
    color: var(--text);
}

/* =========================================================
   Reveal animation
   Uses animation (not transition) so it never overrides the
   hover transitions declared on cards. JS removes the class
   once the animation has finished.
   ========================================================= */
.reveal {
    --reveal-delay: 0ms;
    opacity: 0;
}

.reveal.is-visible {
    animation: revealUp 0.6s var(--ease) both;
    animation-delay: var(--reveal-delay);
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .btn-cta {
        animation: none;
    }

    .btn-cta:hover,
    .btn-cta:focus-visible {
        scale: none;
    }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
        padding-top: 56px;
    }

    .hero-visual {
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
    }

    .hero-badge {
        left: 16px;
        bottom: 16px;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .split-media {
        aspect-ratio: 16 / 10;
    }

    .day-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 880px) {
    .nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 16px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 32px rgba(11, 18, 32, 0.08);
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        padding: 14px 0;
        font-size: 14px;
        color: var(--text-2);
        border-bottom: 1px solid var(--line);
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .nav a::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .brand-text {
        font-size: 14px;
    }

    .service-grid,
    .track-grid,
    .quote-grid {
        grid-template-columns: 1fr;
    }

    .final-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .final-inner > .btn {
        width: 100%;
    }

    .footer-main {
        flex-direction: column;
        gap: 28px;
        padding: 40px 0 32px;
    }

    .footer-bottom {
        padding-bottom: 96px;
    }

    .mobile-cta {
        display: block;
    }

    body {
        padding-bottom: 0;
    }

    .topic-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .box{
           animation: pulse 1s ease-in-out infinite;
    }
   @keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }

}

}

@media (max-width: 560px) {
    .container {
        padding: 0 18px;
    }

    .header-inner {
        height: 64px;
    }

    .nav {
        top: 64px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-header .header-actions .btn-sm {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-meta {
        gap: 14px 18px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-badge {
        padding: 11px 14px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 44px;
    }

    .stat {
        padding: 14px 0;
    }

    .stat + .stat {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
    }

    .sector-grid {
        grid-template-columns: 1fr 1fr;
    }

    .day-grid {
        grid-template-columns: 1fr;
    }

    .learn-list li {
        gap: 14px;
    }

    .split-media {
        aspect-ratio: 4 / 3;
    }

    .modal {
        padding: 0;
        align-items: flex-end;
    }

    .modal-panel {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 18px 18px 0 0;
    }

    .modal-head {
        padding: 16px 20px;
    }

    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 26px;
    }

    .section-head h2,
    .split-title {
        font-size: 22px;
    }

    .brand-text {
        font-size: 13px;
    }

    .sector-grid {
        grid-template-columns: 1fr;
    }
}
