:root {
  --ink: #071b36;
  --muted: #61738c;
  --line: rgba(26, 101, 184, .15);
  --blue: #1268d5;
  --cyan: #18bce5;
  --navy: #073d92;
  --orange: #ff9855;
  --paper: #f7fbff;
  --white: #fff;
  --shadow: 0 24px 80px rgba(18, 80, 151, .13);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: "Avenir Next", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif; overflow-x: hidden; }
.home-page { height: 100vh; overflow: hidden; background: radial-gradient(circle at 51% 68%, rgba(42,156,255,.17), transparent 25%), radial-gradient(circle at 84% 15%, rgba(39,184,255,.13), transparent 30%), linear-gradient(135deg, #f8fcff, #f1f8ff 52%, #f8fcff); }
.home-page::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .2; background: repeating-linear-gradient(180deg, transparent 0 5px, rgba(19,105,205,.028) 6px); }
.home-page::after { content: ""; position: fixed; width: 48vw; height: 160vh; left: 38%; top: -32vh; pointer-events: none; z-index: -1; transform: rotate(19deg); background: linear-gradient(90deg, transparent, rgba(43,160,255,.08), rgba(255,255,255,.7), rgba(31,178,231,.06), transparent); animation: beam-shift 8s ease-in-out infinite alternate; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 16px; background: var(--ink); color: white; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.data-field { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .36; z-index: -1; }

.site-header { width: min(1280px, calc(100% - 40px)); height: 88px; margin: 12px auto 0; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.78); background: rgba(255,255,255,.72); backdrop-filter: blur(20px); border-radius: 22px; position: sticky; top: 12px; z-index: 50; box-shadow: 0 14px 50px rgba(21,82,151,.08); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; box-shadow: 0 7px 20px rgba(15,89,172,.2); }
.brand span { display: grid; gap: 1px; }
.brand b { font-size: 1.08rem; letter-spacing: .1em; }
.brand small { font-size: .75rem; letter-spacing: .14em; color: #66809f; }
.site-header nav { display: flex; align-items: center; gap: 28px; color: #405978; font-size: .9rem; }
.channel-label { color: #6b819c; font-size: .78rem; letter-spacing: .08em; }
.site-header nav a { position: relative; }
.site-header nav a::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -7px; background: var(--blue); transition: right .25s ease; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { right: 0; }
.open-badge { border: 1px solid var(--line); padding: 8px 13px; border-radius: 999px; font-size: .78rem; color: var(--navy); background: #f4f9ff; }
.open-badge i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #18b77c; box-shadow: 0 0 0 5px rgba(24,183,124,.12); }

.hero { min-height: 705px; padding: 92px 0 74px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; position: relative; }
.hero::before { content: ""; position: absolute; width: 650px; height: 650px; right: -240px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(60,159,255,.14), transparent 67%); z-index: -1; }
.eyebrow { margin: 0 0 24px; font-size: .76rem; letter-spacing: .2em; color: #6180a5; font-weight: 700; }
.eyebrow span { display: inline-grid; place-items: center; min-width: 36px; height: 27px; padding: 0 8px; margin-right: 10px; border-radius: 8px; color: white; background: var(--blue); letter-spacing: .05em; }
.hero h1 { margin: 0; max-width: 660px; font-size: clamp(3.4rem, 6.6vw, 6.7rem); line-height: .98; letter-spacing: -.065em; font-weight: 700; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, var(--navy), #1978df 52%, var(--cyan)); background-clip: text; -webkit-background-clip: text; }
.hero-intro { margin: 32px 0 7px; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; letter-spacing: .06em; }
.hero-note { margin: 0; color: var(--muted); font-size: 1rem; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.primary-button { min-height: 52px; padding: 0 20px; display: inline-flex; align-items: center; gap: 22px; background: var(--ink); color: white; border-radius: 14px; font-weight: 600; box-shadow: 0 15px 35px rgba(3,30,63,.19); transition: transform .25s ease, box-shadow .25s ease; }
.primary-button span { color: #64d8ff; }
.primary-button:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(3,30,63,.24); }
.hero-stat { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .84rem; }
.hero-stat b { font-size: 1.35rem; color: var(--blue); }

.hero-console { padding: 18px; border-radius: 28px; border: 1px solid rgba(30,112,205,.18); background: rgba(255,255,255,.77); backdrop-filter: blur(20px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-console::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.55), transparent 34%), linear-gradient(rgba(26,105,213,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(26,105,213,.045) 1px, transparent 1px); background-size: auto, 22px 22px, 22px 22px; }
.console-topline, .console-foot { position: relative; display: flex; justify-content: space-between; align-items: center; color: #7990ac; font-size: .75rem; letter-spacing: .11em; padding: 5px 5px 13px; }
.console-foot { padding: 14px 5px 3px; }
.pulse { color: #12966b; }
.pulse::before { content: ""; display: inline-block; width: 6px; height: 6px; background: #1bc68d; border-radius: 50%; margin-right: 7px; animation: pulse 1.8s infinite; }
.quick-course { position: relative; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 16px; min-height: 144px; padding: 20px; border-radius: 20px; overflow: hidden; margin-top: 10px; color: white; transition: transform .25s ease; isolation: isolate; }
.quick-course:hover { transform: translateX(-5px); }
.quick-course::after { content: ""; position: absolute; right: -52px; top: -90px; width: 250px; height: 250px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.055), 0 0 0 58px rgba(255,255,255,.035); z-index: -1; }
.quick-ecommerce { background: linear-gradient(130deg, #071b3c, #0c4b9f 70%, #1268d5); }
.quick-it { background: linear-gradient(130deg, #075a9b, #1496cf 66%, #27cce7); }
.course-index { align-self: start; font-size: .75rem; opacity: .7; }
.quick-body { display: grid; }
.quick-body small { font-size: .75rem; letter-spacing: .12em; opacity: .65; }
.quick-body strong { margin: 6px 0 12px; font-size: 1.65rem; letter-spacing: .08em; }
.quick-body > span { font-size: .78rem; opacity: .75; }
.round-arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: 1.2rem; }
.orbit-mark { position: absolute; width: 158px; height: 158px; left: 48%; bottom: 20px; display: grid; place-items: center; }
.orbit-mark img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 14px 22px rgba(11,74,151,.2)); }
.orbit { position: absolute; inset: 0; border: 1px solid rgba(12,101,206,.18); border-radius: 50%; animation: spin 9s linear infinite; }
.orbit::after { content: ""; position: absolute; width: 9px; height: 9px; top: 15px; left: 28px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 15px var(--orange); }
.orbit-two { inset: 18px; animation-direction: reverse; animation-duration: 6s; border-style: dashed; }
.orbit-two::after { background: var(--cyan); left: auto; right: 4px; top: 60px; box-shadow: 0 0 12px var(--cyan); }

/* 首页是一屏式课堂启动台：所有主操作始终保持在教室大屏首屏内。 */
.home-page .site-header { height: clamp(70px, 9.5vh, 86px); }
.home-page .hero { height: calc(100vh - clamp(94px, 12vh, 112px)); min-height: 0; padding: clamp(28px, 5vh, 64px) 0 clamp(24px, 4vh, 50px); gap: clamp(36px, 5vw, 70px); isolation: isolate; }
.home-page .hero-kicker { display: flex; align-items: center; gap: 13px; color: #396eaa; }
.home-page .hero-kicker::before { content: ""; width: 50px; height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--navy), var(--cyan)); box-shadow: 0 0 15px rgba(20,148,226,.55); }
.home-page .hero h1 { font-size: clamp(3.4rem, min(6.5vw, 10vh), 6.7rem); text-shadow: 0 12px 45px rgba(12,73,144,.09); }
.home-page .hero-actions { margin-top: clamp(24px, 4vh, 36px); gap: 24px; }
.live-signal { padding-left: 20px; border-left: 1px solid var(--line); color: #5580aa; font-size: .75rem; letter-spacing: .13em; }
.live-signal i { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #1bc68d; box-shadow: 0 0 0 6px rgba(27,198,141,.1), 0 0 18px #1bc68d; animation: pulse 1.8s infinite; }
.home-page .hero-console { border-color: rgba(30,112,205,.22); background: linear-gradient(145deg, rgba(255,255,255,.87), rgba(239,248,255,.68)); backdrop-filter: blur(22px); box-shadow: 0 30px 90px rgba(18,80,151,.18), inset 0 1px 0 rgba(255,255,255,.9); }
.home-page .hero-console::after { content: ""; position: absolute; left: -20%; right: -20%; height: 2px; top: -3px; background: linear-gradient(90deg, transparent, #1abce8, #fff, #1268d5, transparent); box-shadow: 0 0 18px #1abce8; animation: console-scan 4s ease-in-out infinite; z-index: 3; }
.home-page .quick-course { min-height: clamp(126px, 17vh, 154px); transition: transform .25s ease, filter .25s ease; }
.home-page .quick-course:hover { transform: translateX(-7px) scale(1.01); filter: saturate(1.16) brightness(1.04); }
.home-page .quick-course::before { content: ""; position: absolute; width: 42%; height: 250%; left: -55%; top: -70%; transform: rotate(24deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.23), transparent); transition: left .55s ease; z-index: -1; }
.home-page .quick-course:hover::before { left: 118%; }
.hero-watermark { position: absolute; width: clamp(390px, 54vh, 620px); aspect-ratio: 1; left: 49%; top: 55%; translate: -50% -50%; display: grid; place-items: center; z-index: -1; pointer-events: none; opacity: .3; }
.hero-watermark::before { content: ""; position: absolute; inset: -12%; border-radius: 50%; background: conic-gradient(from 40deg, transparent 0 18%, rgba(16,117,221,.21) 23%, transparent 31% 51%, rgba(24,190,229,.22) 57%, transparent 66% 83%, rgba(255,147,80,.19) 88%, transparent 96%); filter: blur(1px); animation: spin 18s linear infinite reverse; }
.hero-watermark img { width: 66%; height: 66%; border-radius: 50%; object-fit: cover; mix-blend-mode: multiply; opacity: .36; filter: saturate(1.45) contrast(1.08) drop-shadow(0 22px 35px rgba(11,74,151,.18)); }
.hero-watermark .orbit-three { inset: 17%; border-width: 2px; border-style: dotted; animation-duration: 14s; opacity: .7; }
.hero-watermark .orbit-three::after { width: 6px; height: 6px; left: 7%; top: 70%; background: #1268d5; box-shadow: 0 0 20px #1268d5; }
.orbit-label { position: absolute; padding: 5px 9px; border: 1px solid rgba(18,104,213,.2); background: rgba(255,255,255,.5); color: rgba(7,61,146,.56); font-size: .75rem; letter-spacing: .16em; }
.label-one { left: -4%; top: 38%; }
.label-two { right: -11%; bottom: 28%; }

.course-gateway, .latest { padding: 108px 0 38px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: 1; margin: 0; letter-spacing: -.045em; }
.section-heading > p { max-width: 370px; margin: 0; color: var(--muted); line-height: 1.75; }
.gateway-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gateway-card { min-height: 430px; padding: 32px; position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.gateway-card:hover { transform: translateY(-8px); box-shadow: 0 34px 90px rgba(18,80,151,.18); }
.commerce-card { color: white; background: #082b60; }
.it-card { color: #07315f; background: linear-gradient(145deg, #dff5ff, #f5fbff 58%, #d8ebff); border: 1px solid #cfe7fb; }
.gateway-card::after { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to bottom, black, transparent 78%); }
.gateway-card > * { position: relative; z-index: 1; }
.gateway-card > p { margin: 0; font-size: .75rem; letter-spacing: .18em; opacity: .64; }
.gateway-card h3 { font-size: clamp(2.5rem, 5vw, 4.6rem); letter-spacing: -.04em; margin: 18px 0 0; }
.card-signal { position: absolute; right: 30px; top: 31px; display: flex; gap: 5px; }
.card-signal span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .3; }
.card-signal span:first-child { opacity: 1; color: var(--orange); }
.gateway-graphic { position: absolute; inset: 128px 30px 72px; z-index: 0; }
.gateway-graphic i, .gateway-graphic b, .gateway-graphic span { position: absolute; font-style: normal; }
.commerce-graphic i { right: 9%; top: 9%; font-size: 7rem; color: rgba(255,255,255,.08); }
.commerce-graphic b { left: 12%; bottom: 8%; font-size: 9rem; line-height: 1; color: #1784e9; transform: rotate(-8deg); }
.commerce-graphic span { right: 19%; bottom: 24%; padding: 7px 10px; border: 1px solid rgba(255,255,255,.22); font-size: .75rem; letter-spacing: .15em; }
.code-graphic i { left: 7%; top: 16%; font-size: 6.8rem; font-weight: 700; color: #0c68c8; }
.code-graphic b { right: 15%; top: 3%; font-size: 5.5rem; color: rgba(12,104,200,.13); }
.code-graphic span { right: 8%; bottom: 8%; color: rgba(9,72,143,.22); font-size: 1.3rem; letter-spacing: .35em; writing-mode: vertical-rl; }
.gateway-meta { position: absolute; left: 32px; right: 32px; bottom: 28px; display: flex; align-items: center; justify-content: space-between; padding-top: 19px; border-top: 1px solid currentColor; }
.gateway-meta > span { opacity: .65; font-size: .84rem; }
.gateway-meta strong { display: flex; align-items: center; gap: 16px; font-size: .9rem; }
.gateway-meta i { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: currentColor; font-style: normal; color: #fff; }
.it-card .gateway-meta i { color: #dff5ff; }

.latest { padding-bottom: 100px; }
.latest-list { border-top: 1px solid var(--line); }
.latest-item { min-height: 92px; display: grid; grid-template-columns: 54px 105px 1fr auto; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.latest-item:hover { padding-inline: 14px; background: rgba(255,255,255,.7); }
.latest-no { color: #95a6b8; font-size: .75rem; }
.latest-type { width: fit-content; padding: 6px 10px; border-radius: 7px; font-size: .75rem; font-weight: 700; }
.commerce-tag { color: #a14f16; background: #fff0e5; }
.it-tag { color: #075aa4; background: #e3f4ff; }
.latest-item strong { font-size: 1rem; }
.launch-link { font-size: .8rem; color: var(--blue); font-weight: 700; }
.site-footer { min-height: 150px; padding: 32px 0; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; border-top: 1px solid var(--line); color: #71849a; font-size: .78rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.footer-brand img { width: 46px; height: 46px; border-radius: 50%; }
.footer-brand span { display: grid; }
.footer-brand small { color: #71849a; margin-top: 2px; }
.site-footer > span { letter-spacing: .11em; font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .45; box-shadow: 0 0 0 7px rgba(27,198,141,.08); } }
@keyframes beam-shift { to { transform: rotate(23deg) translateX(8vw); opacity: .55; } }
@keyframes console-scan { 0%, 100% { top: -3px; opacity: 0; } 12% { opacity: 1; } 70% { opacity: .45; } 90% { top: 100%; opacity: 0; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.course-page { background: #f6faff; }
.course-page .site-header { position: relative; top: 0; }
.course-hero { margin-top: 34px; min-height: 510px; padding: 40px 48px 0; border-radius: 32px; overflow: hidden; position: relative; color: white; box-shadow: var(--shadow); }
.commerce-theme .course-hero { background: linear-gradient(125deg, #061b3c 0%, #083b7e 54%, #1068ca 100%); }
.it-theme .course-hero { background: linear-gradient(125deg, #064779 0%, #0879b6 54%, #1abeda 100%); }
.course-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.065) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.065) 1px, transparent 1px); background-size: 31px 31px; mask-image: radial-gradient(circle at 73% 46%, black, transparent 60%); }
.course-hero::after { content: ""; position: absolute; width: 480px; height: 480px; right: -90px; top: -155px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018); }
.breadcrumb { position: relative; z-index: 2; display: flex; gap: 11px; font-size: .78rem; color: rgba(255,255,255,.62); }
.breadcrumb a:hover { color: white; }
.breadcrumb b { color: white; }
.course-hero-grid { min-height: 350px; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 360px; align-items: center; gap: 30px; }
.course-hero .eyebrow { color: rgba(255,255,255,.62); margin-bottom: 14px; }
.course-hero .eyebrow span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.course-hero h1 { margin: 0; font-size: clamp(4rem, 8vw, 7rem); line-height: 1; letter-spacing: -.06em; }
.course-hero-grid > div > p:last-child { margin: 22px 0 0; max-width: 530px; font-size: 1rem; line-height: 1.8; color: rgba(255,255,255,.72); }
.course-radar { width: 280px; height: 280px; justify-self: end; position: relative; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.course-radar::before, .course-radar::after { content: ""; position: absolute; background: rgba(255,255,255,.16); }
.course-radar::before { width: 1px; inset-block: 0; left: 50%; }
.course-radar::after { height: 1px; inset-inline: 0; top: 50%; }
.course-radar strong { font-size: 4rem; letter-spacing: -.12em; z-index: 1; }
.course-radar small { position: absolute; right: 15px; bottom: 36px; font-size: .75rem; letter-spacing: .12em; line-height: 1.6; opacity: .56; }
.radar-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.19); }
.ring-a { inset: 34px; border-style: dashed; animation: spin 12s linear infinite; }
.ring-b { inset: 70px; }
.ring-a::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #ffad70; top: 16px; left: 16px; box-shadow: 0 0 18px #ffad70; }
.course-data-strip { height: 82px; margin-inline: -48px; padding: 0 48px; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; background: rgba(2,18,42,.35); border-top: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(10px); }
.course-data-strip span { display: flex; align-items: center; gap: 12px; }
.course-data-strip small { font-size: .75rem; letter-spacing: .1em; color: rgba(255,255,255,.5); }
.course-data-strip b { font-size: .92rem; }
.catalog { padding: 96px 0 120px; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.catalog-heading .eyebrow { margin-bottom: 10px; }
.catalog-heading h2 { font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1; margin: 0; letter-spacing: -.05em; }
.search-box { width: min(380px, 100%); height: 54px; padding: 0 17px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(24,97,180,.17); border-radius: 15px; background: white; box-shadow: 0 13px 35px rgba(18,80,151,.07); }
.search-box > span[aria-hidden] { font-size: 1.5rem; color: var(--blue); transform: rotate(-15deg); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .9rem; }
.search-box:focus-within { border-color: #2383df; box-shadow: 0 0 0 4px rgba(35,131,223,.1); }
.catalog-toolbar { min-height: 82px; margin-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tabs button { min-height: 38px; padding: 0 15px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #6c7e93; cursor: pointer; font-size: .82rem; }
.filter-tabs button:hover { background: white; }
.filter-tabs button.active { color: white; background: var(--ink); box-shadow: 0 9px 22px rgba(6,29,58,.16); }
.catalog-toolbar > p { margin: 0; color: #7d8da0; font-size: .78rem; }
.courseware-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.courseware-card { min-height: 320px; padding: 25px; position: relative; overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(23,99,184,.14); border-radius: 23px; background: rgba(255,255,255,.84); box-shadow: 0 15px 45px rgba(23,83,151,.07); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.courseware-card:hover { transform: translateY(-5px); border-color: rgba(23,99,184,.32); box-shadow: 0 24px 60px rgba(23,83,151,.13); }
.courseware-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -90px; top: -90px; border: 1px solid rgba(21,112,207,.12); border-radius: 50%; box-shadow: 0 0 0 22px rgba(21,112,207,.025), 0 0 0 43px rgba(21,112,207,.018); }
.courseware-topline { display: flex; justify-content: space-between; align-items: center; }
.lesson-code { min-width: 48px; height: 34px; padding-inline: 8px; display: inline-grid; place-items: center; border-radius: 9px; color: white; background: var(--blue); font-size: .75rem; font-weight: 700; }
.it-theme .lesson-code { background: #078dbf; }
.ready-state { color: #71859a; font-size: .75rem; }
.ready-state i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #19b77e; margin-right: 5px; }
.courseware-copy { margin: 34px 0 28px; }
.courseware-copy p { margin: 0 0 12px; color: #7c8fa4; font-size: .75rem; letter-spacing: .07em; }
.courseware-copy h3 { margin: 0 0 12px; font-size: clamp(1.45rem, 3vw, 2.05rem); line-height: 1.2; letter-spacing: -.035em; }
.courseware-copy > span { color: var(--muted); font-size: .86rem; line-height: 1.7; }
.courseware-card > a { margin-top: auto; min-height: 72px; padding: 0 11px 0 24px; display: flex; justify-content: space-between; align-items: center; border-radius: 16px; color: white; background: linear-gradient(120deg, #073d92, #1268d5); box-shadow: 0 14px 30px rgba(18,104,213,.2); font-size: 1.08rem; font-weight: 700; position: relative; z-index: 2; transition: transform .22s ease, box-shadow .22s ease, filter .22s ease; }
.courseware-card > a i { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 14px; color: white; background: rgba(255,255,255,.13); font-size: 1.35rem; font-style: normal; transition: transform .25s ease, background .25s ease; }
.courseware-card > a:hover { transform: translateY(-2px); filter: saturate(1.12) brightness(1.04); box-shadow: 0 18px 36px rgba(18,104,213,.28); }
.courseware-card > a:hover i { transform: translate(2px, -2px); background: rgba(255,255,255,.22); }
.courseware-card > a:focus-visible { outline: 4px solid rgba(24,188,229,.35); outline-offset: 3px; }
.it-theme .courseware-card > a { color: white; background: linear-gradient(120deg, #0879b6, #16b9d8); }
.it-theme .courseware-card > a i { color: white; background: rgba(255,255,255,.13); }
.empty-state { min-height: 260px; place-content: center; text-align: center; border: 1px dashed rgba(23,99,184,.24); border-radius: 22px; background: rgba(255,255,255,.55); }
.empty-state:not([hidden]) { display: grid; }
.empty-state strong { font-size: 1.2rem; }
.empty-state span { margin-top: 8px; color: var(--muted); font-size: .85rem; }

@media (max-width: 900px) {
  .site-header nav a { display: none; }
  .home-page { height: auto; min-height: 100vh; overflow-y: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 68px; gap: 38px; }
  .home-page .hero { height: auto; min-height: calc(100vh - 106px); padding-top: 54px; }
  .hero h1 { max-width: 700px; }
  .hero-watermark { left: 72%; top: 36%; opacity: .18; }
  .gateway-card { min-height: 380px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > span { grid-column: 1 / -1; }
  .course-hero-grid { grid-template-columns: 1fr 240px; }
  .course-radar { width: 220px; height: 220px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1180px); }
  .site-header { width: calc(100% - 20px); height: 74px; top: 8px; margin-top: 8px; padding-inline: 14px; }
  .brand img { width: 44px; height: 44px; }
  .brand b { font-size: .95rem; }
  .brand small { display: none; }
  .channel-label { display: none; }
  .open-badge { padding: 7px 10px; }
  .hero { min-height: auto; padding: 64px 0 50px; }
  .home-page .hero { min-height: calc(100vh - 90px); padding: 48px 0 40px; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .hero-intro { font-size: 1.05rem; letter-spacing: .02em; }
  .quick-course { min-height: 128px; }
  .hero-watermark { width: 430px; left: 70%; top: 35%; opacity: .13; }
  .section-heading { align-items: start; flex-direction: column; }
  .gateway-grid { grid-template-columns: 1fr; }
  .gateway-card { min-height: 350px; padding: 25px; }
  .gateway-meta { left: 25px; right: 25px; }
  .latest-item { grid-template-columns: 34px 88px 1fr; padding: 16px 0; }
  .latest-item .launch-link { grid-column: 3; }
  .site-footer { grid-template-columns: 1fr; gap: 16px; }
  .site-footer > span { grid-column: auto; }
  .course-page .site-header nav a { display: none; }
  .course-hero { margin-top: 22px; min-height: 480px; padding: 28px 24px 0; }
  .course-hero-grid { grid-template-columns: 1fr; min-height: 360px; }
  .course-hero h1 { font-size: 3.9rem; }
  .course-radar { position: absolute; width: 170px; height: 170px; right: -24px; bottom: 5px; opacity: .52; }
  .course-radar strong { font-size: 2.8rem; }
  .course-data-strip { height: 76px; margin-inline: -24px; padding: 0 24px; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .course-data-strip span:nth-child(3), .course-data-strip span:nth-child(4) { display: none; }
  .catalog { padding: 76px 0 90px; }
  .catalog-heading { align-items: start; flex-direction: column; }
  .catalog-toolbar { align-items: start; flex-direction: column; padding: 18px 0; }
  .courseware-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}
