
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","PingFang SC","Microsoft YaHei",sans-serif;color:#1d1d1f;background:#fff;line-height:1.6;-webkit-font-smoothing:antialiased}

nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(255,255,255,0.85);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid rgba(0,0,0,0.08)}
.nav-inner{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:0 24px;height:50px}
.nav-logo{font-size:20px;font-weight:600;color:#1d1d1f;letter-spacing:-0.3px;text-decoration:none}
.nav-back{font-size:13px;color:#e85d18;text-decoration:none;font-weight:500}
.nav-back:hover{text-decoration:underline}

.hero-curriculum{margin-top:50px;padding:80px 24px 60px;background:#1a1a1a;text-align:center;color:#fff}
.hero-curriculum .badge{display:inline-block;background:#e85d18;color:#fff;padding:4px 16px;border-radius:20px;font-size:13px;font-weight:500;margin-bottom:16px}
.hero-curriculum h1{font-size:48px;font-weight:700;letter-spacing:-1px;margin-bottom:12px}
.hero-curriculum p{font-size:18px;color:rgba(255,255,255,0.7)}
.hero-curriculum .stats{margin-top:32px;display:flex;justify-content:center;gap:48px}
.hero-curriculum .stats div{text-align:center}
.hero-curriculum .stats strong{display:block;font-size:36px;font-weight:700;color:#ffab40}
.hero-curriculum .stats span{font-size:13px;color:rgba(255,255,255,0.6)}

.layout{max-width:1200px;margin:0 auto;display:flex;gap:40px;padding:48px 24px}
.sidebar{width:220px;flex-shrink:0;position:sticky;top:70px;align-self:flex-start;max-height:calc(100vh - 90px);overflow-y:auto}
.sidebar-title{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#e85d18;margin-bottom:12px;font-weight:700}
.sidebar a{display:block;padding:8px 14px;font-size:13px;color:#6e6e73;text-decoration:none;border-radius:8px;margin-bottom:2px;transition:all 0.15s}
.sidebar a:hover,.sidebar a.active{background:#f5f5f7;color:#1d1d1f;font-weight:500}
.main{flex:1;min-width:0}

.module{margin-bottom:48px;scroll-margin-top:70px}
.module-header{display:flex;align-items:baseline;gap:16px;margin-bottom:12px}
.module-header h2{font-size:26px;font-weight:700;color:#1d1d1f;letter-spacing:-0.5px}
.module-header .days{font-size:14px;color:#e85d18;font-weight:600;white-space:nowrap;background:#fff7ed;padding:4px 12px;border-radius:12px}

.outline{margin-bottom:6px;border-radius:12px;overflow:hidden;border:1px solid rgba(0,0,0,0.06)}
.outline-summary{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;background:#fbfbfd;cursor:pointer;user-select:none;transition:background 0.15s}
.outline-summary:hover{background:#f5f5f7}
.outline-summary h4{font-size:15px;font-weight:600;color:#1d1d1f}
.outline-summary .ohours{font-size:12px;color:#e85d18;font-weight:500;white-space:nowrap;margin-left:12px}
.outline-summary .arrow{font-size:11px;color:#aeaeb2;transition:transform 0.2s}
.outline.open .arrow{transform:rotate(180deg)}
.outline-detail{display:none;padding:0 20px 16px;background:#fff}
.outline.open .outline-detail{display:block}
.outline-detail li{font-size:13px;color:#6e6e73;padding:4px 0;list-style:none;position:relative;padding-left:16px}
.outline-detail li::before{content:"";position:absolute;left:0;top:11px;width:5px;height:5px;border-radius:50%;background:#e85d18;opacity:0.5}

.btn-reg{display:inline-block;margin-top:40px;padding:14px 32px;background:#e85d18;color:#fff;border-radius:28px;text-decoration:none;font-size:16px;font-weight:500;transition:all 0.2s}
.btn-reg:hover{background:#f57c00;transform:scale(1.03)}

footer{background:#f5f5f7;padding:32px 24px;border-top:1px solid #e8e8ed;text-align:center;font-size:12px;color:#aeaeb2}

.reveal{opacity:0;transform:translateY(20px);transition:opacity 0.6s ease,transform 0.6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

nav{padding-top:env(safe-area-inset-top,0px)}
@media(max-width:768px){
.hero-curriculum h1{font-size:30px}
.hero-curriculum .stats{gap:20px;flex-wrap:wrap}
.hero-curriculum .stats strong{font-size:28px}
.layout{flex-direction:column;padding:32px 16px}
.sidebar{width:100%;position:static;display:flex;overflow-x:auto;gap:6px;padding-bottom:12px;max-height:none}
.sidebar a{white-space:nowrap;flex-shrink:0;font-size:12px;padding:6px 12px}
.sidebar-title{display:none}
.outline-summary{padding:12px 14px}
.outline-summary h4{font-size:13px}
.outline-summary .ohours{font-size:11px}
.outline-detail{padding:0 14px 12px}
.outline-detail li{font-size:12px;padding:3px 0 3px 14px}
.outline-detail li::before{top:9px;width:4px;height:4px}
.module-header h2{font-size:21px}
.module-header .days{font-size:12px}
.module{margin-bottom:36px}
.btn-reg{display:block;width:100%;text-align:center;margin-top:32px}
}
@media(max-width:480px){
.hero-curriculum{padding:64px 14px 48px}
.hero-curriculum h1{font-size:24px}
.hero-curriculum p{font-size:14px}
.hero-curriculum .stats{gap:14px}
.hero-curriculum .stats strong{font-size:22px}
.hero-curriculum .stats span{font-size:11px}
.layout{flex-direction:column;padding:24px 12px;gap:24px}
.sidebar{width:100%;position:static;display:flex;overflow-x:auto;gap:6px;padding-bottom:12px;max-height:none}
.sidebar a{white-space:nowrap;flex-shrink:0;font-size:11px;padding:5px 10px}
.sidebar-title{display:none}
.module-header h2{font-size:19px}
.module-header .days{font-size:12px;padding:3px 10px}
.outline-summary{padding:10px 12px}
.outline-summary h4{font-size:13px}
.outline-detail{padding:0 12px 12px}
.outline-detail li{font-size:11px;padding:2px 0 2px 12px}
.outline-detail li::before{top:8px;width:4px;height:4px}
.module{margin-bottom:28px}
}
@media(max-width:360px){
.hero-curriculum h1{font-size:21px}
.module-header h2{font-size:17px}
}

/* Shared additions for content used by individual course pages. */
.nav-logo{display:flex;align-items:center;text-decoration:none}
.nav-logo img{display:block;height:42px!important;width:auto}
.hero-curriculum h1{word-break:keep-all}
.outline-summary{gap:8px}
.outline-summary h4{flex:1;min-width:0;word-break:break-word}
.outline-summary .ohours,.outline-summary .arrow{flex-shrink:0}
.outline-detail p{font-size:13px;color:#6e6e73;line-height:1.8;margin:0}
.hero-price{display:flex;justify-content:center;align-items:center;gap:8px;margin:20px 0 0;flex-wrap:wrap}
.hero-price .price-tag{display:inline-flex;align-items:center;gap:4px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);border-radius:24px;padding:8px 20px;color:#fff;font-size:15px;backdrop-filter:blur(8px)}
.hero-price .price-tag em{font-style:normal;color:#ffab40;font-size:22px;font-weight:700}
.hero-price .price-note{font-size:12px;color:rgba(255,255,255,.45)}
.hero-stay{margin-top:10px;display:flex;justify-content:center;gap:16px;flex-wrap:wrap}
.hero-stay span{font-size:12px;color:rgba(255,255,255,.45)}
@media(max-width:768px){
.nav-logo img{height:40px!important}
.module-header{align-items:center}
.sidebar{-webkit-overflow-scrolling:touch}
}
@media(max-width:480px){
.module-header{align-items:flex-start;flex-direction:column;gap:6px}
.hero-price .price-tag{font-size:12px;padding:6px 14px}
.hero-price .price-tag em{font-size:16px}
.hero-price .price-note,.hero-stay span{font-size:10px}
}
/* Course direction overview */
.course-overview{max-width:1200px;margin:0 auto;padding:40px 24px 0}
.overview-heading{text-align:center;margin-bottom:22px}
.overview-heading h2{font-size:28px;letter-spacing:-.4px}
.overview-heading p{margin-top:6px;color:#6e6e73;font-size:14px}
.overview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.overview-card{padding:22px;border:1px solid rgba(0,0,0,.07);border-radius:16px;background:linear-gradient(145deg,#fff 65%,#fff8f2)}
.overview-card strong{display:block;font-size:16px;margin-bottom:6px}
.overview-card span{display:block;color:#6e6e73;font-size:13px;line-height:1.7}
.overview-card .icon{width:34px;height:34px;display:grid;place-items:center;margin-bottom:14px;border-radius:10px;background:#fff1e7;color:#e85d18;font-size:16px;font-weight:700}
@media(max-width:900px){.overview-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){.course-overview{padding:30px 16px 0}.overview-heading h2{font-size:23px}}
@media(max-width:480px){
.course-overview{padding:24px 12px 0}
.overview-grid{grid-template-columns:1fr;gap:10px}
.overview-card{display:grid;grid-template-columns:38px 1fr;padding:16px;column-gap:12px}
.overview-card .icon{grid-row:1/3;margin:0}
.overview-card strong{font-size:14px;margin:0}
.overview-card span{font-size:12px}
.overview-heading h2{font-size:21px}
}