/* ============================================
   亚洲大学中文官网 — 全局样式表
   风格：经典大厂 (蓝金配色)
   版本：1.0
   ============================================ */

/* --- CSS Variables --- */
:root {
  --blue-deep: #002D4F;
  --blue-main: #003D6B;
  --blue-bright: #005A99;
  --blue-light: #e6f1fb;
  --gold: #E8B830;
  --gold-light: #faf3e0;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #888;
  --text-hint: #aaa;
  --bg-page: #f8f9fa;
  --bg-white: #ffffff;
  --bg-surface: #f0f4f8;
  --border-light: #e5e5e7;
  --border-medium: #d2d2d7;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 8px 28px rgba(0,0,0,.1);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.12);
  --transition-normal: .3s cubic-bezier(.25,.8,.25,1);
  --transition-fast: .2s ease;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --max-width: 1100px;
}

/* --- Reset --- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration:none; color:inherit; }
img { max-width:100%; height:auto; display:block; }
ul, ol { list-style:none; }
button { font-family:inherit; cursor:pointer; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin:0 auto; padding:0 28px; }
.section { padding:64px 0; }
.section-sm { padding:40px 0; }
.section-lg { padding:80px 0; }

/* --- Top Bar --- */
.top-bar {
  background: var(--blue-deep);
  color: rgba(255,255,255,.8);
  font-size: 12px;
  padding: 6px 0;
}
.top-bar .container { display:flex; justify-content:space-between; align-items:center; }
.top-bar a { color: rgba(255,255,255,.8); transition:color var(--transition-fast); }
.top-bar a:hover { color: #fff; }
.top-bar .lang-switch a { margin-left:12px; }

/* --- Navigation --- */
.nav {
  background: var(--bg-white);
  border-bottom: 2px solid var(--blue-main);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.nav .container { display:flex; align-items:center; justify-content:space-between; height:64px; }
.nav-brand { display:flex; align-items:center; gap:14px; }
.nav-brand .emblem { height:42px; }
.nav-brand .divider { width:1px; height:28px; background:var(--border-medium); }
.nav-brand .logotype { height:22px; }
.nav-links { display:flex; height:100%; }
.nav-links a {
  display:flex; align-items:center;
  padding:0 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
  position: relative;
}
.nav-links a:hover { color: var(--blue-main); background:rgba(0,61,107,.03); }
.nav-links a.active { color: var(--blue-main); border-bottom-color: var(--blue-main); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--blue-main);
  border-radius: 2px;
  transition: transform var(--transition-normal);
}
.nav-links a:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-actions { display:flex; align-items:center; gap:12px; }
.btn-lang {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 14px;
  border: 1px solid var(--border-medium);
  background: var(--bg-white);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-lang:hover { border-color: var(--blue-main); color: var(--blue-main); }
.btn-search { font-size:18px; background:none; border:none; color:var(--text-secondary); cursor:pointer; padding:4px; }

/* Mobile nav toggle */
.nav-toggle { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; }
.nav-toggle span { display:block; width:22px; height:2px; background:var(--text-primary); border-radius:2px; transition:var(--transition-fast); }

/* --- Hero --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--blue-main) 0%, var(--blue-bright) 40%, var(--blue-deep) 100%);
  display: flex;
  align-items: center;
  min-height: 420px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(232,184,48,.06);
}
.hero .container { position:relative; z-index:1; padding-top:40px; padding-bottom:40px; }
.hero h1 { font-size:44px; font-weight:700; letter-spacing:-1px; color:#fff; line-height:1.25; margin-bottom:18px; }
.hero h1 .gold { color: var(--gold); }
.hero .subtitle { font-size:17px; color:rgba(255,255,255,.75); max-width:540px; line-height:1.7; margin-bottom:32px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }

/* --- Buttons --- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 32px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.btn-primary { background: var(--gold); color: #1a1a1a; }
.btn-primary:hover { background: #f0c840; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,184,48,.4); }
.btn-outline { background:rgba(255,255,255,.15); color:#fff; backdrop-filter:blur(4px); }
.btn-outline:hover { background:rgba(255,255,255,.25); }
.btn-blue { background: var(--blue-main); color:#fff; }
.btn-blue:hover { background: var(--blue-bright); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,61,107,.3); }
.btn-ghost { background:transparent; color: var(--blue-main); border:1.5px solid var(--blue-main); }
.btn-ghost:hover { background: var(--blue-main); color:#fff; }
.btn-sm { padding:8px 20px; font-size:13px; border-radius:var(--radius-sm); }
.btn-lg { padding:16px 40px; font-size:17px; }

/* --- News Strip --- */
.news-strip { background: var(--bg-white); border-bottom:1px solid var(--border-light); padding:14px 0; }
.news-strip .container { display:flex; align-items:center; gap:16px; overflow:hidden; }
.news-badge {
  font-size:12px; font-weight:600;
  padding:3px 12px;
  border-radius: 3px;
  background: var(--blue-main);
  color: #fff;
  white-space: nowrap;
  flex-shrink:0;
}
.news-strip .news-text {
  font-size:13px;
  color: var(--text-secondary);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  flex:1;
}
.news-strip .news-link { font-size:13px; color: var(--blue-main); white-space:nowrap; flex-shrink:0; }

/* --- Section Titles --- */
.section-header { text-align:center; margin-bottom:48px; }
.section-header h2 { font-size:30px; font-weight:700; color: var(--blue-main); margin-bottom:10px; }
.section-header .desc { font-size:15px; color: var(--text-muted); }
.section-header .line { width:48px; height:3px; background: var(--gold); margin:16px auto 0; border-radius:2px; }

/* --- Cards --- */
.card-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.card-grid-3 { grid-template-columns:repeat(3,1fr); }
.card-grid-2 { grid-template-columns:repeat(2,1fr); }

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all .35s cubic-bezier(.25,.8,.25,1);
  position: relative;
}
.card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:transparent; }
.card::before {
  content: '';
  position: absolute;
  top:0; left:0; width:100%; height:4px;
  background: linear-gradient(90deg, var(--blue-main), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
  z-index:2;
}
.card:hover::before { transform:scaleX(1); }
.card-img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}
.card-img img { width:100%; height:100%; object-fit:cover; }
.card-img.placeholder { background: var(--bg-surface); }
.card-body { padding:20px; }
.card-body h3 { font-size:16px; font-weight:600; color:var(--text-primary); margin-bottom:8px; }
.card-body p { font-size:13px; color:var(--text-muted); line-height:1.6; }
.card-body .arrow { font-size:13px; color:var(--blue-main); margin-top:12px; display:inline-flex; align-items:center; gap:4px; font-weight:500; transition:gap var(--transition-fast); }
.card-body .arrow:hover { gap:8px; }

/* Card variants */
.card-simple { border:1px solid var(--border-light); padding:24px; border-radius:var(--radius-lg); background:var(--bg-white); transition:all var(--transition-normal); }
.card-simple:hover { border-color:var(--blue-main); box-shadow:0 0 0 4px rgba(0,61,107,.06); }
.card-info { padding:28px 24px; background:var(--bg-white); border-radius:var(--radius-lg); border:1px solid var(--border-light); }

/* --- Data Bar --- */
.data-bar { background:var(--blue-main); padding:56px 0; }
.data-bar .container { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; text-align:center; }
.data-item h3 { font-size:40px; font-weight:700; color:var(--gold); margin-bottom:6px; }
.data-item p { font-size:14px; color:rgba(255,255,255,.7); }

/* --- Credentials (国际认证与排名) --- */
.cred-grid { max-width:780px; margin:0 auto; }
.cred-card {
  display:flex; align-items:center; gap:22px;
  padding:24px; background:var(--bg-white);
  border:1px solid var(--border-light); border-radius:var(--radius-lg);
  text-align:left; transition:all var(--transition-normal);
}
.cred-card:hover { border-color:var(--blue-main); box-shadow:0 0 0 4px rgba(0,61,107,.06); transform:translateY(-4px); }
.cred-logo {
  flex:0 0 100px; height:100px; display:flex; align-items:center; justify-content:center;
  background:var(--bg-surface); border-radius:var(--radius-lg); padding:12px;
}
.cred-logo img { max-width:100%; max-height:100%; object-fit:contain; }
.cred-card .card-body { padding:0; }
.cred-card .card-body h3 { color:var(--blue-main); margin-bottom:8px; }
.cred-card .card-body p { font-size:13px; color:var(--text-muted); line-height:1.6; }
@media (max-width:768px){
  .cred-card { flex-direction:column; text-align:center; }
  .cred-logo { flex-basis:auto; }
}

/* --- Motto Section --- */
.motto-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.motto-card {
  text-align:center;
  padding:40px 28px;
  background:var(--bg-white);
  border-radius:var(--radius-lg);
  border:1px solid var(--border-light);
  transition:all var(--transition-normal);
}
.motto-card:hover { border-color:var(--gold); box-shadow:var(--shadow-md); }
.motto-card .motto-icon { font-size:40px; margin-bottom:16px; }
.motto-card h3 { font-size:19px; font-weight:600; color:var(--blue-main); margin-bottom:12px; }
.motto-card p { font-size:14px; color:var(--text-muted); line-height:1.7; }

/* --- Footer --- */
.footer { background:#1a1a2e; color:#ccc; }
.footer-grid { padding:48px 0 32px; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; }
.footer-col h4 { font-size:14px; font-weight:600; color:#fff; margin-bottom:16px; }
.footer-col a, .footer-col p { font-size:13px; color:#999; line-height:2.2; display:block; }
.footer-col a:hover { color:var(--gold); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.06); padding:20px 0; text-align:center; font-size:12px; color:#555; }

/* --- Breadcrumb --- */
.breadcrumb { background:var(--bg-white); border-bottom:1px solid var(--border-light); padding:12px 0; }
.breadcrumb .container { display:flex; align-items:center; gap:8px; font-size:13px; color:var(--text-muted); }
.breadcrumb a { color:var(--text-muted); }
.breadcrumb a:hover { color:var(--blue-main); }
.breadcrumb .sep { color:var(--text-hint); }
.breadcrumb .current { color:var(--blue-main); font-weight:500; }

/* --- Page Title --- */
.page-title { background:linear-gradient(135deg, var(--blue-main) 0%, var(--blue-bright) 40%, var(--blue-deep) 100%); color:#fff; padding:48px 0; position:relative; overflow:hidden; }
.page-title::before { content:''; position:absolute; left:0; top:0; bottom:0; width:4px; background:var(--gold); }
.page-title::after { content:''; position:absolute; right:-60px; top:-60px; width:260px; height:260px; border-radius:50%; background:rgba(255,255,255,.03); pointer-events:none; }
.page-title h1 { font-size:32px; font-weight:700; }
.page-title p { font-size:15px; color:rgba(255,255,255,.7); margin-top:8px; }

/* --- Sub-navigation (Tabs) --- */
.sub-nav { background:var(--bg-white); border-bottom:1px solid var(--border-light); overflow-x:auto; }
.sub-nav .container { display:flex; gap:0; }
.sub-nav a {
  padding:14px 24px;
  font-size:14px;
  font-weight:500;
  color:var(--text-secondary);
  border-bottom:3px solid transparent;
  white-space:nowrap;
  transition:all var(--transition-fast);
}
.sub-nav a:hover { color:var(--blue-main); background:rgba(0,61,107,.03); }
.sub-nav a.active, .sub-nav span.active { color:var(--blue-main); border-bottom-color:var(--blue-main); }
.sub-nav span.active { display:inline-flex; align-items:center; padding:14px 24px; font-size:14px; font-weight:500; border-bottom:3px solid var(--blue-main); white-space:nowrap; cursor:default; }
.sub-nav .sub-nav-back { font-size:13px; color:var(--text-muted); padding:14px 16px 14px 8px; border-right:1px solid var(--border-light); margin-right:8px; font-weight:400; }
.sub-nav .sub-nav-back:hover { color:var(--blue-main); }

/* --- Content --- */
.content { padding:48px 0; }
.content .container { max-width:860px; }
.content h2 { font-size:24px; font-weight:700; color:var(--text-primary); margin:40px 0 16px; position:relative; padding-left:0; }
.content h2:first-child { margin-top:0; }
.content h3 { font-size:18px; font-weight:600; color:var(--blue-main); margin:28px 0 12px; }
.content p { font-size:15px; color:var(--text-secondary); line-height:1.85; margin-bottom:14px; }
.content ul { list-style:disc; padding-left:20px; margin-bottom:16px; }
.content li { font-size:15px; color:var(--text-secondary); line-height:1.85; }

/* Content Tables */
.content table { width:100%; border-collapse:collapse; margin:20px 0; font-size:14px; display:block; overflow-x:auto; }
.content th { background:var(--blue-light); padding:10px 14px; text-align:left; font-weight:600; color:var(--blue-main); border:1px solid var(--border-light); white-space:nowrap; }
.content td { padding:8px 14px; border:1px solid var(--border-light); color:var(--text-secondary); white-space:nowrap; }
.content td:last-child, .content th:last-child { white-space:normal; min-width:140px; }

/* --- Professor Table (fixed layout, no horizontal scroll) --- */
.content table.prof-table { display:table; table-layout:fixed; overflow-x:visible; }
.content table.prof-table th { white-space:normal; }
.content table.prof-table td { white-space:normal; word-break:break-word; font-size:13px; }
.content table.prof-table th:nth-child(1),
.content table.prof-table th:nth-child(2) { width:11%; }
.content table.prof-table th:nth-child(3) { width:46%; }
.content table.prof-table th:nth-child(4) { width:32%; }
.content table.prof-table td:last-child,
.content table.prof-table th:last-child { min-width:auto; }
.content tr:nth-child(even) td { background:var(--bg-page); }
.content tr:hover td { background:var(--blue-light); }
.content .source { font-size:13px; color:var(--text-hint); margin-top:32px; padding-top:20px; border-top:1px solid var(--border-light); }

/* --- Sidebar layout --- */
.sidebar-layout { display:grid; grid-template-columns:240px 1fr; gap:40px; }
.sidebar { background:var(--bg-white); border:1px solid var(--border-light); border-radius:var(--radius-lg); padding:20px 0; position:sticky; top:80px; align-self:start; }
.sidebar-title { font-size:13px; font-weight:600; color:var(--text-muted); text-transform:uppercase; letter-spacing:.5px; padding:0 20px 12px; }
.sidebar a { display:block; padding:10px 20px; font-size:14px; color:var(--text-secondary); transition:all var(--transition-fast); border-left:3px solid transparent; }
.sidebar a:hover { color:var(--blue-main); background:rgba(0,61,107,.03); }
.sidebar a.active { color:var(--blue-main); font-weight:500; background:var(--blue-light); border-left-color:var(--blue-main); }

/* --- Animations --- */

/* Scroll Reveal */
.reveal { opacity:0; transform:translateY(30px); transition:all .6s cubic-bezier(.25,.8,.25,1); }
.reveal.visible { opacity:1; transform:translateY(0); }

/* Number Counter */
.counter { font-variant-numeric:tabular-nums; }

/* Skeleton Loader */
.skeleton {
  background: linear-gradient(90deg, var(--border-light) 25%, #f0f0f2 50%, var(--border-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skel-circle { width:48px; height:48px; border-radius:50%; }
.skel-line { height:14px; margin-bottom:10px; }
.skel-line.short { width:60%; }

/* Hero Parallax Text */
.hero-parallax-text {
  position: absolute;
  font-size: 100px;
  font-weight: 900;
  color: rgba(255,255,255,.03);
  white-space: nowrap;
  animation: parallax-drift 12s linear infinite;
  pointer-events: none;
}
@keyframes parallax-drift {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Pulse Button */
.btn-pulse {
  animation: pulse-ring 2s infinite;
  position: relative;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(232,184,48,.4); }
  70% { box-shadow: 0 0 0 14px rgba(232,184,48,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,184,48,0); }
}

/* Fade-in on page load */
.fade-in { animation: fadeIn .6s ease both; }
@keyframes fadeIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }

/* --- Image Placeholder --- */
.img-placeholder {
  background: linear-gradient(135deg, var(--blue-light) 0%, #dce8f4 50%, #f0f4f8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-main);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
  position: relative;
  overflow: hidden;
}
.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  animation: shimmer 2s infinite;
}
.img-placeholder.large { height: 300px; border-radius: var(--radius-lg); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns:repeat(2,1fr); }
  .motto-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 768px) {
  .hero h1 { font-size:30px; }
  .hero { min-height:auto; padding:40px 0; }
  .nav-links { display:none; }
  .nav-toggle { display:flex; }
  .nav-links.open {
    display:flex; flex-direction:column; position:absolute; top:64px; left:0; right:0;
    background:var(--bg-white); border-bottom:2px solid var(--blue-main); box-shadow:var(--shadow-md);
  }
  .nav-links.open a { padding:14px 24px; border-bottom:1px solid var(--border-light); }
  .data-bar .container { grid-template-columns:repeat(2,1fr); }
  .sidebar-layout { grid-template-columns:1fr; }
  .sidebar { position:static; }
  .card-grid, .motto-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
}

/* --- Utilities --- */
.text-center { text-align:center; }
.text-gold { color:var(--gold); }
.text-blue { color:var(--blue-main); }
.text-muted { color:var(--text-muted); }
.mt-0 { margin-top:0; }
.mt-1 { margin-top:8px; }
.mt-2 { margin-top:16px; }
.mt-3 { margin-top:24px; }
.mt-4 { margin-top:32px; }
.mb-0 { margin-bottom:0; }
.mb-2 { margin-bottom:16px; }
.mb-3 { margin-bottom:24px; }
.mb-4 { margin-bottom:32px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ===== 语言中心 hub（江苏 / 韩国 / 考试） ===== */
.lc-badge{display:inline-block;padding:3px 12px;border-radius:999px;font-size:12px;font-weight:600;margin-bottom:10px;letter-spacing:.5px;}
.lc-badge.cn{background:rgba(200,30,40,.12);color:#c81e28;}
.lc-badge.kr{background:rgba(0,61,107,.12);color:var(--blue-main);}
.lc-badge.exam{background:rgba(212,175,55,.18);color:#a87f12;}
.lc-desc{font-size:13px;color:var(--text-muted);line-height:1.6;margin:6px 0 12px;}
.lc-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px;}
.lc-tag{font-size:12px;padding:3px 10px;background:var(--bg-surface);border:1px solid var(--border-light);border-radius:999px;color:var(--text-muted);}
/* ===== 主导航下拉菜单 ===== */
.nav-item{position:relative;display:flex;align-items:stretch;}
.nav-item>a{display:flex;align-items:center;}
.nav-item>a::after{content:" ▾";font-size:9px;margin-left:3px;opacity:.6;}
.nav-dropdown{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);min-width:180px;background:var(--bg-surface);border:1px solid var(--border-medium);border-top:3px solid var(--blue-main);border-radius:0 0 8px 8px;box-shadow:0 6px 20px rgba(0,0,0,.08);z-index:100;padding:6px 0;}
.nav-item:hover .nav-dropdown{display:block;}
.nav-dropdown a{display:block;padding:9px 18px;font-size:13px;color:var(--text-primary);text-decoration:none;white-space:nowrap;border:none;border-left:3px solid transparent;transition:all .15s;}
.nav-dropdown a:hover{background:rgba(0,61,107,.04);color:var(--blue-main);border-left-color:var(--blue-main);}
.nav-dropdown .dd-divider{height:1px;background:var(--border-light);margin:3px 12px;}
.nav-dropdown .dd-label{font-size:11px;color:var(--text-muted);padding:3px 18px 5px;text-transform:uppercase;letter-spacing:.5px;}

.section-head{margin:8px 0 24px;}
.section-head h2{font-size:24px;font-weight:700;color:var(--text-primary);}
.section-head p{font-size:14px;color:var(--text-muted);margin-top:6px;}

/* ===== 新版 Hero 动画样式 ===== */
@keyframes wordReveal{from{opacity:0;transform:translateY(100%);filter:blur(4px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes fadeUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes slideInLeft{from{opacity:0;transform:translateX(-40px)}to{opacity:1;transform:translateX(0)}}
@keyframes slideInRight{from{opacity:0;transform:translateX(40px)}to{opacity:1;transform:translateX(0)}}
@keyframes scaleIn{from{opacity:0;transform:scale(0.9)}to{opacity:1;transform:scale(1)}}

.hero-new{position:relative;min-height:70vh;display:flex;align-items:center;overflow:hidden;
  background:linear-gradient(135deg,var(--blue-main) 0%,var(--blue-bright) 40%,var(--blue-deep) 100%);
}
.hero-new::before{content:'';position:absolute;right:-80px;top:-80px;width:500px;height:500px;border-radius:50%;background:rgba(232,184,48,.06);}
.hero-new .container{position:relative;z-index:1;padding-top:60px;padding-bottom:60px;}
.hero-new h1{font-family:var(--font-sans);font-weight:400;letter-spacing:-0.05em;color:#fff;line-height:1.15;}
.hero-new h1 .dimmed{opacity:0.45;}
.hero-new h1 .gold{color:var(--gold);}
.hero-new .subtitle{font-size:17px;color:rgba(255,255,255,.8);max-width:540px;line-height:1.7;margin-top:24px;}
.hero-new .cta-row{display:flex;flex-wrap:wrap;gap:20px;margin-top:32px;align-items:center;}
.hero-new .cta-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:16px 36px;border-radius:var(--radius-md);font-size:16px;font-weight:500;transition:all var(--transition-normal);}
.hero-new .cta-btn.primary{background:var(--gold);color:#1a1a1a;}
.hero-new .cta-btn.primary:hover{background:#f0c840;transform:translateY(-2px);box-shadow:0 4px 16px rgba(232,184,48,.4);}
.hero-new .cta-btn.secondary{background:rgba(255,255,255,.15);color:#fff;backdrop-filter:blur(4px);}
.hero-new .cta-btn.secondary:hover{background:rgba(255,255,255,.25);}

/* 动画工具类 */
.animate-word-reveal>span{display:inline-block;animation:wordReveal .7s cubic-bezier(.16,1,.3,1) both;}
.animate-fade-up{animation:fadeUp .8s cubic-bezier(.16,1,.3,1) both;}
.animate-fade-in{animation:fadeIn .7s cubic-bezier(.16,1,.3,1) both;}
.animate-slide-left{animation:slideInLeft .8s cubic-bezier(.16,1,.3,1) both;}
.animate-slide-right{animation:slideInRight .8s cubic-bezier(.16,1,.3,1) both;}
.animate-scale-in{animation:scaleIn 1s cubic-bezier(.16,1,.3,1) both;}
.delay-200{animation-delay:.2s}.delay-300{animation-delay:.3s}.delay-400{animation-delay:.4s}.delay-500{animation-delay:.5s}
.delay-600{animation-delay:.6s}.delay-700{animation-delay:.7s}.delay-800{animation-delay:.8s}.delay-900{animation-delay:.9s}
.delay-1000{animation-delay:1s}.delay-1100{animation-delay:1.1s}

/* 底部三栏面板 */
.hero-panels{position:relative;z-index:10;display:grid;grid-template-columns:1fr;background:#fff;}
@media(min-width:768px){.hero-panels{grid-template-columns:2fr 1fr 2fr;}}
.hero-panel{ padding:40px 24px; }
@media(min-width:768px){.hero-panel{padding:56px 32px;}}
.hero-panel-1{background:#ECEDEC;}
.hero-panel-2{background:#F8F9FA;}
.hero-panel-3{background:var(--blue-deep);color:#fff;}
.hero-panel h3{font-size:22px;font-weight:400;letter-spacing:-0.05em;margin-bottom:12px;}
@media(min-width:768px){.hero-panel h3{font-size:28px;}}
.hero-panel a{color:inherit;text-decoration:underline;}
.hero-panel .stat-grid{display:flex;gap:24px;flex-wrap:wrap;}
.hero-panel .stat-item{}
.hero-panel .stat-value{font-size:28px;font-weight:400;letter-spacing:-0.05em;color:var(--gold);}
@media(min-width:768px){.hero-panel .stat-value{font-size:36px;}}
.hero-panel .stat-label{font-size:14px;color:rgba(255,255,255,.6);}

/* Panel 2 轮播 */
.carousel-card{display:flex;align-items:center;gap:16px;transition:all .5s;}
.carousel-card.active{opacity:1;transform:translateY(0);}
.carousel-card.inactive{opacity:0;transform:translateY(16px);position:absolute;pointer-events:none;}
.carousel-icon{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.carousel-icon.bg-blue{background:var(--blue-main);}
.carousel-icon.bg-gold{background:var(--gold);}
.carousel-icon.bg-dark{background:var(--blue-deep);}
.carousel-dots{display:flex;gap:6px;margin-top:20px;}
.carousel-dot{height:2px;flex:1;border-radius:2px;background:rgba(0,0,0,.15);transition:background .3s;}
.carousel-dot.active{background:var(--blue-main);}

/* --- 待开发标签 (Badge) --- */
.badge-todo{
  display:inline-block;
  font-size:10px;
  font-weight:600;
  padding:2px 8px;
  margin-left:6px;
  border-radius:10px;
  background:linear-gradient(135deg,#FF6B35 0%,#F7931E 100%);
  color:#fff;
  letter-spacing:.5px;
  vertical-align:middle;
  line-height:1.4;
  box-shadow:0 1px 3px rgba(255,107,53,.35);
  text-transform:none;
}
.page-title .badge-todo{font-size:13px;padding:3px 10px;margin-left:10px;}
