/* =================================================================
   IACS 官网首页 — 简约科技风 + 学术严谨性
   主色 #0168ad  科技银 #8899aa
   字体: Arial, Microsoft YaHei, sans-serif
   ================================================================= */

/* 首页导航栏保证可见：背景回退色（防止 bg_menu 未加载）+ 层级高于 Hero */
#page .menuwrap {
  background-color: #0168ad;
  z-index: 100;
}
#page .menuwrap .menu li a {
  color: #fff !important;
}

/* ---------- 第一屏 Hero 固定高度 ---------- */
.iacs-hero {
  position: relative;
  height: 480px;
  min-height: 400px;
  overflow: hidden;
  background-color: #013f6e;
  background-size: cover;
  background-position: center 30%;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}
.iacs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1,104,173,0.75) 0%, rgba(1,104,173,0.5) 50%, rgba(255,255,255,0.15) 100%);
  z-index: 1;
}
/* 与 index 一致的 banner 幻灯，在 hero 内全屏显示 */
.iacs-hero .banner { position: absolute; inset: 0; margin: 0; width: 100%; height: 480px; background: #013f6e; z-index: 0; }
.iacs-hero .banner .bd { position: absolute; inset: 0; overflow: hidden; background: #013f6e; }
.iacs-hero .banner .bd ul { height: 100% !important; min-height: 100% !important; }
.iacs-hero .banner .bd li { height: 100% !important; min-height: 100% !important; }
.iacs-hero .banner .bd li a { display: block; height: 100%; min-height: 100% !important; }
.iacs-hero .banner .bd li img { width: 100%; height: 480px !important; min-height: 480px !important; object-fit: fill; object-position: center; display: block; vertical-align: top; }
.iacs-hero .hero-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 900px;
}
.hero-sub-en {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.hero-inner h1 {
  font-size: clamp(16px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
  color: #fff;
  letter-spacing: 0.5px;
}
.hero-inner h1 span { font-size: 0.55em; font-weight: 400; opacity: 0.9; display: block; margin-top: 4px; }
.hero-slogan-wrap { margin-bottom: 36px; }
.hero-inner .hero-slogan {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 500;
  letter-spacing: 6px;
  color: #fff;
  display: inline-block;
  border-bottom: 3px solid #0168ad;
  padding-bottom: 6px;
}
.hero-btns { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.hero-btns .btn-outline-light {
  display: inline-block;
  padding: 12px 32px;
  background: #fff;
  color: #0168ad;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}
.hero-btns .btn-outline-light:hover { background: rgba(255,255,255,0.9); transform: scale(1.03); }
.hero-btns .btn-cta-red {
  display: inline-block;
  padding: 12px 32px;
  background: #0168ad;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}
.hero-btns .btn-cta-red:hover { background: #014f85; transform: scale(1.03); }
.hero-teaser {
  position: absolute;
  right: 40px;
  bottom: 80px;
  z-index: 10;
  text-align: right;
}
.hero-teaser .teaser-tag {
  font-size: 11px;
  color: #0168ad;
  font-weight: 700;
  margin-bottom: 4px;
}
.hero-teaser .teaser-text { font-size: 13px; color: rgba(255,255,255,0.9); margin-bottom: 8px; }
.hero-teaser .teaser-link {
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.6);
  transition: border-color 0.2s;
}
.hero-teaser .teaser-link:hover { border-color: #fff; }
.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ---------- 首页动效：入场动画 ---------- */
@keyframes iacsFadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes iacsFadeInUpScroll {
  from { opacity: 0; transform: translateX(-50%) translateY(24px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
/* Hero 内文案依次入场 */
.hero-inner .hero-sub-en {
  animation: iacsFadeInUp 0.6s ease-out 0s both;
}
.hero-inner h1 {
  animation: iacsFadeInUp 0.6s ease-out 0.15s both;
}
.hero-inner .hero-slogan-wrap {
  animation: iacsFadeInUp 0.6s ease-out 0.3s both;
}
.hero-inner .hero-btns {
  animation: iacsFadeInUp 0.6s ease-out 0.45s both;
}
.hero-teaser {
  animation: iacsFadeInUp 0.6s ease-out 0.6s both;
}
.hero-scroll-hint {
  animation: iacsFadeInUpScroll 0.5s ease-out 0.85s both, bounce 2s 1.2s infinite;
}

/* ---------- 第二屏 四卡片 ---------- */
.iacs-cards-section {
  padding: 72px 0;
  background: #fff;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}
.iacs-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.iacs-card {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 32px 24px 28px;
  text-decoration: none;
  color: #1a2535;
  transition: transform 0.25s, box-shadow 0.25s;
  border: none;
  opacity: 0;
  transform: translateY(28px);
}
/* 滚动进入视口时再播放 */
.iacs-cards-section.in-view .iacs-card {
  animation: iacsFadeInUp 0.6s ease-out both;
}
.iacs-cards-section.in-view .iacs-card:nth-child(1) { animation-delay: 0.05s; }
.iacs-cards-section.in-view .iacs-card:nth-child(2) { animation-delay: 0.15s; }
.iacs-cards-section.in-view .iacs-card:nth-child(3) { animation-delay: 0.25s; }
.iacs-cards-section.in-view .iacs-card:nth-child(4) { animation-delay: 0.35s; }
.iacs-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.iacs-card:hover .iacs-card-icon { transform: scale(1.08); }
.iacs-card-icon { font-size: 36px; margin-bottom: 16px; transition: transform 0.25s ease; }
.iacs-card-icon.blue { color: #0168ad; }
.iacs-card-icon.silver { color: #8899aa; }
.iacs-card-icon.red { color: #0168ad; }
.iacs-card h3 { font-size: 17px; font-weight: 700; color: #0168ad; margin: 0 0 10px; }
.iacs-card p { font-size: 13px; color: #5a6a80; line-height: 1.6; margin: 0 0 16px; }
.iacs-card-arrow { font-size: 13px; color: #0168ad; font-weight: 500; }
.iacs-card:hover .iacs-card-arrow { text-decoration: underline; }

/* ---------- 第三屏 创始人 + 最新动态 ---------- */
.iacs-third-section {
  padding: 72px 0;
  background: #fff;
  border-top: 1px solid #e8ecf2;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}
.iacs-third-section .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.iacs-third-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.iacs-founder-block { padding-right: 24px; border-right: 1px solid #e8ecf2; opacity: 0; transform: translateY(28px); }
.iacs-news-block { opacity: 0; transform: translateY(28px); }
/* 滚动进入视口时再播放 */
.iacs-third-section.in-view .iacs-founder-block {
  animation: iacsFadeInUp 0.6s ease-out 0.1s both;
}
.iacs-third-section.in-view .iacs-news-block {
  animation: iacsFadeInUp 0.6s ease-out 0.25s both;
}
.iacs-founder-block .block-title { font-size: 18px; font-weight: 700; color: #0168ad; margin-bottom: 20px; }
.iacs-founder-block .block-sub { font-size: 13px; color: #8899aa; margin-bottom: 16px; }
.iacs-founder-inner { display: flex; gap: 24px; align-items: flex-start; }
.iacs-founder-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #dde4ed;
}
.iacs-founder-avatar img { width: 100%; height: 100%; object-fit: cover; }
.iacs-founder-name { font-size: 14px; font-weight: 700; color: #1a2535; margin-bottom: 4px; }
.iacs-founder-role { font-size: 12px; color: #8899aa; margin-bottom: 14px; }
.iacs-founder-excerpt { font-size: 14px; color: #334155; line-height: 1.85; margin-bottom: 16px; }
.iacs-founder-excerpt p { margin: 0 0 10px; }
.iacs-btn-link { font-size: 14px; font-weight: 600; color: #0168ad; text-decoration: none; }
.iacs-btn-link:hover { text-decoration: underline; }
.iacs-news-block .block-title { font-size: 18px; font-weight: 700; color: #0168ad; margin-bottom: 20px; }
.iacs-news-block .block-sub { font-size: 13px; color: #8899aa; margin-bottom: 16px; }
.iacs-news-list { list-style: none; padding: 0; margin: 0; }
.iacs-news-list li { margin-bottom: 20px; }
.iacs-news-list li a { text-decoration: none; color: inherit; display: block; }
.iacs-news-list li a:hover .news-item-title { color: #0168ad; transform: translateX(4px); }
.news-item-date {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #0168ad;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 6px;
}
.news-item-title { font-size: 15px; font-weight: 600; color: #1a2535; margin-bottom: 4px; transition: color 0.2s, transform 0.2s; }
.news-item-desc { font-size: 13px; color: #5a6a80; line-height: 1.5; }
.iacs-news-block .iacs-btn-link { color: #0168ad; }

/* ---------- 第四屏 全球会员 ---------- */
.iacs-community-section {
  padding: 72px 0;
  background: #e8f2f8;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}
.iacs-community-section .container { max-width: 1000px; margin: 0 auto; padding: 0 20px; text-align: center; }
.iacs-community-title { font-size: 26px; font-weight: 700; color: #0168ad; margin-bottom: 32px; }
.iacs-map-placeholder {
  width: 100%;
  max-width: 800px;
  height: 320px;
  margin: 0 auto 28px;
  background: #d0e0ed;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a6a80;
  font-size: 14px;
}
.iacs-community-desc { font-size: 15px; color: #334155; line-height: 1.7; margin-bottom: 28px; }
.iacs-community-desc strong { color: #0168ad; }
.iacs-btn-community {
  display: inline-block;
  padding: 14px 36px;
  background: #0168ad;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.iacs-btn-community:hover { background: #014f85; transform: scale(1.02); }

/* ---------- Footer 四列 ---------- */
.iacs-footer {
  background: #0168ad;
  color: #fff;
  padding: 56px 0 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}
.iacs-footer .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.iacs-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.iacs-footer h4 { font-size: 15px; font-weight: 700; margin: 0 0 16px; color: #fff; }
.iacs-footer p, .iacs-footer li { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.85); margin: 0 0 8px; }
.iacs-footer ul { list-style: none; padding: 0; margin: 0; }
.iacs-footer ul li { margin-bottom: 8px; }
.iacs-footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
.iacs-footer a:hover { color: #fff; text-decoration: underline; }
.iacs-newsletter { display: flex; gap: 8px; margin-top: 12px; }
.iacs-newsletter input {
  flex: 1;
  padding: 10px 14px;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  outline: none;
}
.iacs-newsletter .btn-sub { padding: 10px 20px; background: #0168ad; color: #fff; border: none; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; }
.iacs-newsletter .btn-sub:hover { background: #014f85; }
.iacs-footer-bottom {
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.15);
}
.iacs-footer-bottom a { color: rgba(255,255,255,0.85); }

/* ---------- 列表面板（保留 CMS 动态列表用） ---------- */
.list-panels-section { width: 100%; padding: 56px 0; background: #f5f7fa; }
.list-panels-section .line-big { margin-left: 0; margin-right: 0; }
.list-panels-section .xs12 { width: 100%; padding-left: 0; padding-right: 0; margin-bottom: 0; }
.panel-block { background: #fff; border: none; border-bottom: 1px solid #dde4ed; margin-bottom: 0; display: flex; flex-direction: column; }
.panel-block:first-child { border-top: 1px solid #dde4ed; }
.panel-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: #fff; border-bottom: 1px solid #e8ecf2; }
.panel-header a { text-decoration: none; }
.panel-title { font-size: 15px; font-weight: 700; color: #0168ad; margin: 0; }
.panel-more { font-size: 12px; font-weight: 500; color: #8899aa; white-space: nowrap; }
.panel-more:hover { color: #0168ad; }
.article-list { list-style: none; padding: 0; margin: 0; }
.article-list li { border-bottom: 1px solid #f0f3f7; }
.article-list li:last-child { border-bottom: none; }
.article-list li a { display: flex; align-items: center; padding: 0; text-decoration: none; color: #1a2535; transition: background 0.15s, color 0.15s; }
.article-list li a:hover { background: #f8fafc; color: #0168ad; }
.art-date { flex-shrink: 0; width: 56px; padding: 10px 12px 10px 20px; font-size: 12px; font-family: 'Courier New', monospace; color: #5a6a80; }
.art-title { flex: 1; padding: 10px 20px 10px 12px; font-size: 14px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 响应式 ---------- */
/* Header logo + 标题：桌面端并排，移动端缩小 logo 或仅显示标题 */
.header .logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.header .site-title {
  font-size: clamp(16px, 2.5vw, 28px);
  font-weight: 700;
  color: #0168ad;
  margin: 0;
  line-height: 1.3;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}
@media (max-width: 760px) {
  .header .logo .logo-img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }
  .header .site-title {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .header .logo a {
    display: none;
  }
  .header .logo .site-title {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  /* 移动端/平板：统一为竖向单列，形成竖向树状布局 */
  .iacs-cards-grid { grid-template-columns: 1fr; gap: 24px; }
  .iacs-third-grid { grid-template-columns: 1fr; }
  .iacs-founder-block { border-right: none; padding-right: 0; padding-bottom: 24px; border-bottom: 1px solid #e8ecf2; }
  .iacs-founder-inner { flex-direction: column; }
  .iacs-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .iacs-hero { min-height: 480px; }
  .hero-teaser { right: 16px; bottom: 60px; }
  .iacs-cards-grid { grid-template-columns: 1fr; gap: 24px; }
  .iacs-cards-section { padding: 48px 0; }
  .iacs-third-section { padding: 48px 0; }
  .iacs-community-section { padding: 48px 0; }
  .iacs-map-placeholder { height: 220px; }
  .iacs-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .iacs-footer { padding: 40px 0 0; }
}
