/* ===== 基础重置与全局变量 ===== */
/* Roboto Condensed 本地字体（设计稿指定英文字体，已内置，离线可用） */
@font-face {
  font-family: "Roboto Condensed";
  src: url("../fonts/RobotoCondensed-w400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("../fonts/RobotoCondensed-w700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue: #1E70FE;
  --blue-light: #0ABEFF;
  --section-bg: #E4ECFA;
  --text-dark: #131B26;
  --text-body: rgba(0,0,0,0.7);
  --text-secondary: #818299;
  --card-shadow: 0px 8px 24px 0px rgba(49,46,153,0.04);
  --radius-lg: 30px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --font-main: "Alibaba PuHuiTi 3.0", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-din: "D-DIN Exp", "DIN Alternate", "Roboto Condensed", sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); background: #fff; color: var(--text-dark); width: 1920px; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ===== 首屏 Hero ===== */
.hero { position: relative; width: 100%; height: 980px; overflow: hidden; background: #fff; }
.hero-bg { position: absolute; inset: 0; background: url('../切图/首屏.png') center/cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s; }
.header { position: relative; z-index: 10; display: flex; align-items: center; gap: 30px; width: 100%; height: 120px; padding: 30px 120px; background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%); }
.logo { display: flex; align-items: center; gap: 10.74px; flex-shrink: 0; }
.logo-img { height: 58px; width: auto; }
.logo-text { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4.3px; }
.logo-line1, .logo-line2 { font-family: "FZDaBiaoSong-B06S", "STSong", serif; font-size: 17.19px; line-height: 1.2; color: #fff; white-space: nowrap; }
.logo-text.dark .logo-line1, .logo-text.dark .logo-line2 { color: #1C1D1F; }
.logo-divider { width: 100%; height: 0; border-top: 0.54px solid #fff; }
.logo-text.dark .logo-divider { border-color: rgba(28,29,31,0.5); }
.nav { display: flex; align-items: center; justify-content: center; gap: 24px; flex: 1; align-self: stretch; }
.nav-item { padding: 10px 12px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 60px; font-size: 18px; font-weight: 600; color: rgba(255,255,255,0.9); transition: background 0.3s; }
.nav-item:hover { background: rgba(255,255,255,0.1); }
.nav-item.active { background: rgba(255,255,255,0.1); font-weight: 900; }
.header-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.search-box { display: flex; align-items: center; justify-content: space-between; width: 180px; height: 36px; padding: 0 4px 0 16px; border-radius: 40px; background: linear-gradient(180deg, rgba(255,255,255,0.1) 100%); border: 1px solid; border-image-source: linear-gradient(153deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.15) 100%); border-color: rgba(255,255,255,0.25); }
.search-placeholder { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.9); }
.search-btn { display: flex; align-items: center; justify-content: center; width: 36px; align-self: stretch; border-radius: 28px; }
.search-btn img { width: 18px; height: 18px; }
.user-info { display: flex; align-items: center; gap: 8px; }
.user-avatar { width: 36px; height: 36px; border-radius: 40px; border: 1px solid rgba(0,0,0,0.1); object-fit: cover; }
.user-name { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.9); }

/* Banner */
.banner-content { position: relative; z-index: 5; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 20px; height: calc(100% - 120px); padding: 80px 160px; }
.banner-glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.3; pointer-events: none; }
.banner-glow-1 { width: 1232px; height: 153px; left: 66px; top: 387px; background: #154FB2; }
.banner-glow-2 { width: 1070px; height: 142px; left: 66px; top: 264px; background: #0785B2; }
.banner-main { display: flex; flex-direction: column; justify-content: center; gap: 50px; align-self: stretch; padding: 0 20px; }
.banner-text-group { display: flex; flex-direction: column; gap: 40px; }
.banner-titles { display: flex; flex-direction: column; gap: 4px; }
.banner-subtitle { font-size: 38px; font-weight: 700; line-height: 1.4; letter-spacing: 0.06em; color: #fff; text-shadow: 0px 2px 0px rgba(0,0,0,0.3); }
.banner-title { font-family: "Alimama ShuHeiTi", "Alibaba PuHuiTi 3.0", sans-serif; font-size: 92px; font-weight: 700; line-height: 1.2; letter-spacing: 0.16em; color: #fff; }
.banner-divider { display: flex; align-items: center; height: 8px; }
.divider-block { width: 112px; height: 8px; background: rgba(255,255,255,0.8); }
.divider-line { flex: 1; height: 2px; background: rgba(255,255,255,0.7); opacity: 0.4; }
.banner-bottom { display: flex; flex-direction: column; gap: 60px; }
.banner-desc { font-size: 26px; font-weight: 500; line-height: 1.6; letter-spacing: 0.01em; color: #fff; opacity: 0.8; }
.banner-en { display: flex; align-items: center; padding: 0 2px; }
.banner-en span { font-size: 20px; letter-spacing: 0.1em; color: #fff; opacity: 0.7; line-height: 1.5; }

/* 分页指示器（轮播进度） */
.hero-pagination { display: flex; justify-content: center; align-items: center; gap: 16px; align-self: stretch; padding: 20px 0; }
.page-item { position: relative; width: 14px; height: 14px; border-radius: 100px; background: rgba(229,241,255,0.64); backdrop-filter: blur(10px); box-shadow: 0px 0px 3px 0px rgba(0,64,118,0.2); cursor: pointer; overflow: hidden; transition: width 0.4s ease; flex-shrink: 0; }
.page-item.active { width: 68px; }
.page-item:not(.active) .pill-progress { display: none; }
.pill-progress { position: absolute; left: 0; top: 0; height: 100%; width: 0%; border-radius: 100px; background: linear-gradient(270deg, #0ABEFF 0%, #1E70FE 100%); }
.pill-progress::after { content: ''; position: absolute; right: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0px 0px 3px 0px rgba(0,64,118,0.2); }
@keyframes pillFill { from { width: 14px; } to { width: 100%; } }
.page-item.active .pill-progress { animation: pillFill var(--pill-duration, 5s) linear forwards; }

/* 专题卡片 */
.topic-cards { display: flex; align-items: center; gap: 20px; width: 1600px; }
.topic-card { flex: 1; padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; gap: 16px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.95) 60%), #1E70FE; backdrop-filter: blur(10px); transition: transform 0.3s, box-shadow 0.3s; }
.topic-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(30,112,254,0.12); }
.topic-row { display: flex; align-items: center; gap: 16px; }
.topic-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 12px; background: radial-gradient(circle at 50% 100%, #F7FCFF 0%, #FAFDFF 100%); border: 1px solid #fff; box-shadow: inset 0px 0px 8px 0px rgba(255,255,255,0.3); overflow: hidden; }
.topic-icon img { width: 38px; height: 38px; object-fit: contain; }
.topic-info { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.topic-info h3 { font-size: 26px; font-weight: 900; line-height: 1.2; color: #1B65E5; }
.topic-info span { font-family: "Roboto Condensed", sans-serif; font-size: 12px; text-transform: uppercase; color: rgba(0,0,0,0.7); opacity: 0.6; }

/* ===== 通用 Section ===== */
.section { padding: 60px 160px; display: flex; flex-direction: column; gap: 40px; background: var(--section-bg); }
.section:nth-of-type(odd) { background: var(--section-bg); }
.section-header { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.section-left { display: flex; align-items: center; gap: 48px; }
.section-title-group { display: flex; align-items: center; gap: 12px; }
.section-icon { width: 48px; height: 48px; object-fit: contain; }
.section-title { font-size: 36px; font-weight: 900; letter-spacing: 0.0278em; line-height: 1.2; background: linear-gradient(32deg, rgba(0,0,0,0.96) 21%, rgba(0,0,0,0.64) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-tabs { display: flex; gap: 16px; }
.tab-btn { padding: 11px 20px; border-radius: 40px; font-size: 15px; font-weight: 500; color: rgba(0,0,0,0.7); background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); transition: all 0.3s; }
.tab-btn:hover { background: rgba(255,255,255,1); }
.tab-btn.active { background: linear-gradient(152deg, rgba(30,112,254,0.9) 0%, rgba(10,190,255,0.9) 100%); color: #fff; font-weight: 800; text-shadow: 0px 1px 3px rgba(0,0,0,0.08); }
.more-link { display: flex; align-items: center; padding: 10px 14px 10px 18px; border-radius: 100px; background: rgba(255,255,255,0.7); box-shadow: 0px 10px 24px 0px rgba(0,102,219,0.04), inset 0px 0px 7px 0px #fff; backdrop-filter: blur(15px); transition: transform 0.2s; }
.more-link:hover { transform: translateX(2px); }
.more-link span { font-size: 16px; font-weight: 500; color: rgba(0,0,0,0.7); }
.more-link img { width: 16px; height: 16px; margin-left: 4px; }

/* ===== 在线项目 ===== */
.programs-container { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--card-shadow); padding: 30px; width: 1600px; }
.programs-main { display: flex; flex-direction: column; gap: 24px; }
.program-featured { display: flex; gap: 24px; border-radius: 24px; min-height: 556px; }
.program-banner { flex: 1; border-radius: 24px; overflow: hidden; position: relative; }
.program-banner img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.program-detail { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 40px 24px; background: rgba(255,255,255,0.72); backdrop-filter: blur(25px); }
.program-detail-group { display: flex; flex-direction: column; gap: 30px; }
.program-detail-top { display: flex; flex-direction: row; align-items: center; gap: 10px; }
.status-tag-hot { display: flex; justify-content: center; flex-shrink: 0; }
.status-tag-hot img { height: 36px; }
.program-title { flex: 1; font-size: 32px; font-weight: 800; line-height: 1.2; color: #1B335E; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.program-meta { display: flex; align-items: center; gap: 40px; }
.meta-item { display: flex; align-items: center; gap: 10px; }
.meta-icon { width: 24px; height: 24px; }
.meta-item span { font-size: 20px; line-height: 1.2; letter-spacing: 0.01em; color: rgba(0,0,0,0.7); }
.program-desc { font-size: 18px; line-height: 1.8; color: rgba(0,0,0,0.7); display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.program-actions { display: flex; justify-content: space-between; align-items: center; }
.btn-primary { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 16px 100px; border-radius: 16px; background: linear-gradient(192deg, #0ABEFF 0%, #1E70FE 100%); font-size: 20px; font-weight: 900; color: #fff; transition: transform 0.2s, box-shadow 0.2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,112,254,0.3); }
.btn-primary img { width: 20px; height: 20px; }
.program-nav-btns { display: flex; align-items: center; gap: 30px; }
.nav-round-btn { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 54px; background: linear-gradient(180deg, rgba(30,112,254,0.02) 100%); border: 1px solid linear-gradient(180deg, rgba(30,112,254,0.1) 0%); border-color: rgba(30,112,254,0.1); color: rgba(38,54,77,0.7); transition: all 0.3s; }
.nav-round-btn:hover { background: rgba(30,112,254,0.06); border-color: rgba(30,112,254,0.2); }
.nav-round-btn svg { width: 18.67px; height: 18.67px; }
.nav-round-btn.prev svg { transform: rotate(180deg); }
.program-list { display: flex; gap: 24px; }
.program-card { flex: 1; min-width: 0; padding: 24px 28px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; border-radius: 24px; background: linear-gradient(180deg, rgba(30,112,254,0.02) 100%); border: 1px solid rgba(30,112,254,0.1); transition: all 0.3s; }
.program-card:hover { background: #E9F1FF; }
.program-card.active { background: #E9F1FF; border-color: rgba(30,112,254,0.1); }
.program-card-title { display: flex; align-items: center; gap: 4px; font-size: 22px; font-weight: 700; line-height: 1.2; color: rgba(0,0,0,0.7); }
.program-card.active .program-card-title { color: var(--blue); }
.program-card-title img { width: 20px; height: 20px; flex-shrink: 0; }
.program-card-title svg { width: 20px; height: 20px; flex-shrink: 0; color: rgba(0,0,0,0.5); }
.program-card.active .program-card-title svg { color: var(--blue); }
.program-card-title span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.program-card-desc { font-size: 16px; line-height: 1.6; color: rgba(0,0,0,0.7); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.program-card.active .program-card-desc { color: var(--blue); }

/* ===== 精品课程 ===== */
.courses-container { display: flex; align-items: center; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--card-shadow); overflow: hidden; }
.courses-sidebar { position: relative; width: 280px; align-self: stretch; padding: 20px; display: flex; flex-direction: column; gap: 54px; background: linear-gradient(180deg, rgba(255,255,255,0.1) 29%, rgba(255,255,255,0) 79%), linear-gradient(180deg, #0ABEFF 0%, #1E70FE 34%, #6D57FF 100%); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); overflow: hidden; }
.sidebar-nav { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 2; }
.sidebar-item { display: flex; align-items: center; gap: 15px; padding: 16px 20px; height: 90px; border-radius: 20px; transition: background 0.3s; }
.sidebar-item:hover { background: rgba(255,255,255,0.1); }
.sidebar-item.active { background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.12) 100%), linear-gradient(180deg, rgba(30,112,254,0.3) 0%, rgba(10,190,255,0.3) 100%); border: 1px solid rgba(255,255,255,0.3); }
.sidebar-item-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 3.6px; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.09) 100%); }
.sidebar-item.active .sidebar-item-icon { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.86) 53%, rgba(255,255,255,0.92) 100%); box-shadow: inset 0px 0px 5px 0px #fff; }
.sidebar-item-icon img { width: 30px; height: 30px; object-fit: contain; }
.sidebar-item-text { font-size: 22px; font-weight: 700; color: #fff; }
.sidebar-divider { width: 100%; border-top: 1px dashed rgba(255,255,255,0.16); }
.sidebar-decor { position: absolute; bottom: -60px; left: 0; width: 470px; opacity: 0.7; pointer-events: none; }
.sidebar-decor img { width: 100%; }
.courses-grid { flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 24px; }
.courses-row { display: flex; gap: 20px; }
.course-card { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #FBFCFF; border: 1px solid rgba(0,0,0,0.02); border-image-source: linear-gradient(180deg, rgba(30,112,254,0.06) 0%); border-radius: 24px; transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(30,112,254,0.1); }
.course-thumb { position: relative; height: 140px; border-radius: 12px; overflow: hidden; background: #fff; }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-thumb .play-overlay { position: absolute; right: 0; bottom: 0; width: 61px; height: 59px; pointer-events: none; }
.course-tag { display: inline-flex; align-items: center; justify-content: center; padding: 4px 8px; height: 26px; border-radius: 6px; font-size: 13.5px; font-weight: 500; letter-spacing: -0.04em; color: #fff; position: absolute; left: 12px; top: 12px; }
.tag-free { background: var(--blue); }
.tag-gold { background: radial-gradient(circle at 100% 0%, #FFE4A3 16%, #E7A645 100%); color: #663A00 !important; box-shadow: inset 2px -1px 4px 0px rgba(219,140,22,0.5), inset -1px 1px 4px 0px rgba(255,227,163,0.3); }
.tag-preview { background: var(--blue-light); }
.tag-smart { background: var(--blue-light); }
.course-body { display: flex; flex-direction: column; gap: 12px; padding: 4px; }
.course-title { font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--text-dark); height: 52px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-meta { display: flex; flex-direction: column; gap: 12px; }
.course-meta-row { display: flex; align-items: center; gap: 8px; }
.course-meta-row img { width: 18px; height: 18px; }
.course-meta-row span { font-size: 16px; font-weight: 500; color: rgba(0,0,0,0.5); }
.course-price { display: flex; justify-content: space-between; align-items: center; height: 30px; }
.price-member { display: flex; align-items: center; align-self: stretch; background: linear-gradient(90deg, #ECF4FF 0%, #DDF5FF 100%); border-radius: 12px; }
.member-tag-img { height: 30px; width: auto; flex-shrink: 0; }
.price-member-value { display: flex; align-items: flex-end; gap: 3px; padding: 0 8px; }
.price-member-value .yen { font-size: 10px; font-weight: 500; color: var(--blue); line-height: 1.4; }
.price-member-value .num { font-family: var(--font-din); font-size: 22px; font-weight: 700; color: var(--blue); line-height: 1; }
.price-member-value .yuan { font-size: 10px; font-weight: 500; color: #878E99; line-height: 1.5; }
.price-original { display: flex; align-items: flex-end; gap: 6px; }
.price-original .yen { font-size: 12px; font-weight: 500; color: #F03A58; line-height: 1.4; }
.price-original .num { font-family: var(--font-din); font-size: 28px; font-weight: 700; color: #F03A58; line-height: 1; }
.price-original .yuan { font-size: 11px; font-weight: 500; color: #878E99; line-height: 1.6; }
.price-free-text { font-size: 18px; font-weight: 700; color: var(--blue); }

/* ===== 公益课程 ===== */
.public-container { display: flex; gap: 30px; padding: 30px; height: 730px; background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.96) 24%, #fff 53%, rgba(255,255,255,0.96) 100%); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); }
.public-list { width: 540px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.public-item { display: flex; padding: 12px; gap: 18px; border-radius: 20px; transition: background 0.3s; flex: 1; min-height: 0; }
.public-item:hover { background: rgba(30,112,254,0.03); }
.public-item.highlight { background: #E9F1FF; }
.public-item.highlight .public-item-info h4, .public-item.highlight .live-time { color: var(--blue); }
.public-item-thumb { position: relative; width: 112px; align-self: stretch; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.public-item-thumb > img { width: 100%; height: 100%; object-fit: cover; }
.live-status { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.live-status img { height: 24px; width: auto; max-width: none; object-fit: contain; }
.public-item-info { display: flex; flex-direction: column; justify-content: center; gap: 16px; flex: 1; min-width: 0; }
.public-item-info .course-tag { position: static; align-self: flex-start; }
.tag-img { height: 26px; width: auto; align-self: flex-start; flex-shrink: 0; }
.public-item-info h4 { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.text-blue { color: var(--blue) !important; }
.live-time { font-size: 16px; color: rgba(0,0,0,0.6); }
.list-divider { width: 100%; border-top: 1px dashed rgba(0,0,0,0.05); margin: 0; }
.public-featured { flex: 1; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; }
.public-featured-media { position: relative; flex: 1; border-radius: 24px 24px 0 0; overflow: hidden; }
.public-featured-media > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.featured-status { position: absolute; top: 230px; left: 408px; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-radius: 65px; }
.featured-status img { height: 64px; width: auto; }
.featured-tag-img { position: absolute; top: 40px; right: 40px; height: 44px; width: auto; }
.public-featured-info { display: flex; align-items: center; gap: 30px; padding: 40px 36px; background: linear-gradient(7deg, rgba(228,238,255,0.9) 0%, rgba(237,235,255,0.9) 100%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 20px 20px 24px 24px; margin-top: -24px; position: relative; z-index: 2; }
.featured-text { display: flex; flex-direction: column; gap: 30px; flex: 1; }
.featured-text h3 { font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--text-dark); }
.featured-meta { display: flex; gap: 30px; }
.featured-meta-item { display: flex; align-items: center; gap: 8px; }
.featured-meta-item img { width: 20px; height: 20px; }
.featured-meta-item em { font-style: normal; font-size: 20px; font-weight: 500; line-height: 1.6; color: #474C59; }
.btn-detail { display: flex; align-items: center; justify-content: center; gap: 2px; padding: 15px 32px 15px 36px; border-radius: 32px; background: linear-gradient(192deg, rgba(10,190,255,0.92) 0%, rgba(30,112,254,0.92) 100%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 16px; font-weight: 900; letter-spacing: 0.0625em; color: #fff; flex-shrink: 0; transition: transform 0.2s, box-shadow 0.2s; }
.btn-detail:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(30,112,254,0.3); }
.btn-detail img { width: 16px; height: 16px; }

/* ===== 学堂动态 ===== */
.news-container { display: flex; gap: 36px; padding: 30px; background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.96) 24%, #fff 53%, rgba(255,255,255,0.96) 100%); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); }
.news-featured { position: relative; width: 760px; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; flex-shrink: 0; }
.news-featured > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-featured-overlay { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 40px 30px; background: linear-gradient(0deg, rgba(3,7,18,0.5) 0%, rgba(3,7,18,0.16) 65%, rgba(3,7,18,0) 100%); isolation: isolate; }
.news-featured-overlay::before { content: ''; position: absolute; inset: 0; z-index: -1; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.32) 65%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.32) 65%, rgba(0,0,0,0) 100%); pointer-events: none; }
.news-tag { display: inline-block; width: fit-content; padding: 6px 10px; border-radius: 8px; background: var(--blue); font-size: 16px; font-weight: 700; color: #fff; }
.news-tag-img { height: 30px; width: auto; align-self: flex-start; }
.news-featured-text { display: flex; flex-direction: column; gap: 10px; }
.news-featured-text h3 { font-size: 24px; font-weight: 700; line-height: 1.4; color: #fff; }
.news-featured-text p { font-size: 16px; line-height: 1.4; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list { flex: 1; display: flex; flex-direction: column; border-radius: 16px; }
.news-item { display: flex; align-items: center; gap: 20px; padding: 12px; border-radius: 16px; transition: background 0.3s; }
.news-item:hover, .news-item.highlight { background: #E9F1FF; }
.news-item:hover .news-date, .news-item.highlight .news-date { background: #F8FBFF; }
.news-item:hover .news-date .day, .news-item.highlight .news-date .day,
.news-item:hover .news-date .ym, .news-item.highlight .news-date .ym { color: var(--blue); }
.news-item:hover .news-item-info h4, .news-item.highlight .news-item-info h4 { color: var(--blue); }
.news-date { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 76px; height: 74px; padding: 8px 12px; border-radius: 10px; flex-shrink: 0; }
.news-date .day { font-family: var(--font-din); font-size: 24px; font-weight: 700; line-height: 1.2; color: #596680; }
.news-date .ym { font-family: var(--font-din); font-size: 14px; color: #99A4B8; }
.news-date.blue { background: #F8FBFF; }
.news-date.blue .day, .news-date.blue .ym { color: var(--blue); }
.news-item-info { display: flex; flex-direction: column; justify-content: center; gap: 10px; flex: 1; min-width: 0; }
.news-tag-sm { display: inline-block; width: fit-content; padding: 4px 6px; border-radius: 6px; background: var(--blue); font-size: 12px; font-weight: 500; color: #fff; }
.news-tag-sm.purple { background: #6D57FF; }
.news-tag-sm-img { height: 22px; width: auto; align-self: flex-start; flex-shrink: 0; }
.news-item-info h4 { font-size: 20px; font-weight: 500; line-height: 1.4; color: rgba(0,0,0,0.8); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.news-arrow { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.5; }

/* ===== 关于我们 ===== */
.about-container { display: flex; gap: 30px; padding: 30px; height: 540px; background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.96) 24%, #fff 53%, rgba(255,255,255,0.96) 100%); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); }
.about-left { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.about-title-row { display: flex; align-items: center; gap: 8px; }
.about-icon { border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.about-icon img { width: 42px; height: 42px; }
.about-title-row h3 { font-size: 32px; font-weight: 900; line-height: 1.6; background: linear-gradient(27deg, rgba(0,0,0,0.49) 0%, rgba(0,0,0,0.28) 100%), #0081E5; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-text-box { flex: 1; padding: 30px; background: #E9F1FF; border-radius: 16px; }
.about-text-box p { font-size: 20px; line-height: 2; color: rgba(0,0,0,0.7); text-indent: 40px; }
.about-right { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.about-video { position: relative; flex: 1; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.5); transition: box-shadow 0.4s; }
.about-video img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.about-video:hover { box-shadow: 0 16px 40px rgba(30,112,254,0.18); }
.about-video:hover img { transform: scale(1.05); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: transparent; transition: transform 0.3s; cursor: pointer; }
.play-btn img { width: 100%; height: 100%; object-fit: contain; }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }
.about-gallery { display: flex; gap: 12px; height: 110px; }
.about-gallery img { flex: 1; height: 110px; object-fit: cover; border-radius: 16px; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s; cursor: pointer; }
.about-gallery img:hover { transform: scale(1.05); box-shadow: 0 12px 32px rgba(30,112,254,0.18); position: relative; z-index: 2; }

/* ===== 合作企业（手风琴图文） ===== */
.partners-grid { display: flex; flex-direction: column; gap: 20px; }
.partner-row { display: flex; gap: 20px; }
.partner-card { flex: 1 1 0%; min-width: 0; display: flex; padding: 12px; gap: 24px; height: 220px; background: #fff; border-radius: 16px; box-shadow: var(--card-shadow); overflow: hidden; transition: flex-grow 0.5s cubic-bezier(0.4,0,0.2,1); cursor: pointer; }
.partner-card:hover, .partner-card.expanded { flex-grow: 2.4; box-shadow: 0 12px 32px rgba(49,46,153,0.08); }
.partner-info { flex: 1 1 55%; display: flex; flex-direction: column; padding: 10px; gap: 40px; min-width: 0; }
.partner-logo { height: 30px; display: flex; align-items: center; flex-shrink: 0; }
.partner-logo img { height: 100%; width: auto; object-fit: contain; }
.partner-text { display: flex; flex-direction: column; gap: 12px; min-width: 0; margin-top: auto; }
.partner-text h4 { font-size: 18px; font-weight: 700; line-height: 1.4; color: rgba(0,0,0,0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.partner-text p { font-size: 14px; line-height: 1.6; color: rgba(0,0,0,0.4); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: all 0.4s ease; }
.partner-img { flex: 0 0 0%; opacity: 0; border-radius: 8px; overflow: hidden; min-width: 0; transition: flex-basis 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease 0.08s; }
.partner-card:hover .partner-img, .partner-card.expanded .partner-img { flex: 0 0 42%; opacity: 1; }
/* 同行互斥：悬停其他卡片时，默认展开的卡片完全收起（含图片） */
.partner-row:has(.partner-card:hover) .partner-card.expanded:not(:hover) { flex-grow: 1; box-shadow: var(--card-shadow); }
.partner-row:has(.partner-card:hover) .partner-card.expanded:not(:hover) .partner-img { flex: 0 0 0%; opacity: 0; }
.partner-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Footer ===== */
.footer { background: var(--section-bg); padding: 0 160px; }
.footer-main { display: flex; align-items: center; justify-content: center; gap: 140px; padding: 48px 10px; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; flex: 1; }
.footer-slogan { font-size: 16px; line-height: 1.6; color: #818299; }
.footer-links-area { display: flex; align-items: center; gap: 80px; flex: 1; }
.footer-contact, .footer-links { display: flex; flex-direction: column; gap: 16px; }
.footer-link-item { display: flex; align-items: center; gap: 12px; font-size: 16px; color: #818299; transition: color 0.3s; }
a.footer-link-item:hover { color: var(--blue); }
.dot { width: 4px; height: 4px; border-radius: 9999px; background: var(--blue); flex-shrink: 0; }
.footer-link-item img { width: 16px; height: 16px; }
.footer-qr { display: flex; gap: 24px; }
.qr-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.qr-box { padding: 6px; background: #fff; box-shadow: 0px 6px 20px 0px rgba(49,46,153,0.04); border-radius: 8px; }
.qr-box img { width: 60px; height: 60px; border-radius: 4px; }
.qr-item > span { font-size: 12px; color: #818299; }
.footer-divider { border-top: 1px solid rgba(0,0,0,0.1); }
.footer-bottom { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 48px; padding: 20px 0; }
.footer-icp { display: flex; align-items: center; gap: 16px; flex-shrink: 0; white-space: nowrap; }
.footer-icp img { width: 19.25px; height: 22px; }
.footer-bottom span, .footer-icp span { font-size: 14px; color: #818299; white-space: nowrap; }
.footer-friend { display: flex; align-items: center; gap: 16px; flex-shrink: 0; white-space: nowrap; }
.footer-friend span, .footer-friend a { font-size: 14px; color: #818299; white-space: nowrap; }
.footer-friend a:hover { color: var(--blue); }

/* ===== 动画 ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
/* 滚动进入动画：元素由 JS 挂上 .reveal（初始隐藏），进入视口时加 .revealed 触发过渡 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.22,0.61,0.36,1), transform 0.7s cubic-bezier(0.22,0.61,0.36,1); will-change: opacity, transform; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.hidden { display: none; }
