/* =====================================================
   一乐数智官网设计系统
   主色：#1B2E68  辅色：#FF7A1A  中性色：灰阶
   ===================================================== */

/* 标题强调字体：思源黑体特粗 Noto Sans SC（OFL 可商用，失败时回退系统黑体） */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@700;900&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding-top: var(--site-notice-h);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul, ol, p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---- Variables ---- */
:root {
  --brand: #1B2E68;
  --brand-light: #2E4285;
  --brand-dark: #0F1A4A;
  --accent: #FF7A1A;
  --accent-hover: #E06600;
  --accent-light: #FFF3E5;

  --text: #1A1F2E;
  --text-secondary: #5A6578;
  --text-tertiary: #8B95A5;
  --bg: #FFFFFF;
  --bg-light: #F6F8FB;
  --bg-dark: #0E1530;
  --border: #E1E5EE;
  --border-light: #EEF0F5;
  --shadow-sm: 0 1px 3px rgba(26, 31, 46, 0.06);
  --shadow: 0 4px 24px rgba(26, 31, 46, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 31, 46, 0.14);
  --shadow-brand: 0 8px 28px rgba(27, 46, 104, 0.22);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container: 1200px;
  --site-notice-h: 0px; /* 顶部改版公告条已下线，保留变量以兼容既有布局计算 */
  --section-gap: 120px;
  --section-gap-sm: 80px;
}

/* ---- Typography ---- */
.text-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 900;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.section-label::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.section-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-title span {
  color: var(--brand);
}

.section-desc {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 680px;
}

@media (max-width: 768px) {
  .section-title { font-size: 36px; }
  .section-desc { font-size: 17px; }
  .section-label { font-size: 22px; }
  .page-banner__title { font-size: 40px; }
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-gap) 0;
}

.section-light { background: var(--bg-light); }

.section-header {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header--center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: var(--site-notice-h);
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.header--transparent {
  background: transparent;
  color: #fff;
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  color: var(--text) !important;
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header__logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand);
  display: none; /* logo 本身已含品牌名，隐藏文字 */
}

.header__nav-mobile { display: none; }

.header--transparent .header__logo-text {
  color: #fff;
}

.header--scrolled .header__logo-text {
  color: var(--brand);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__nav a {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.header__nav a:hover {
  background: rgba(27, 46, 104, 0.06);
  color: var(--brand);
}

.header--transparent .header__nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.header--scrolled .header__nav a:hover {
  background: rgba(27, 46, 104, 0.06);
  color: var(--brand);
}

/* ---- 业务系统入口（一乐AI / 一乐网校 / 一乐管理） ---- */
.header__apps {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-right: 12px;
  border-right: 1px solid var(--border);
}

.header__apps a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
  transition: background 0.22s ease, color 0.22s ease,
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__apps a svg {
  width: 15px;
  height: 15px;
  flex: none;
  opacity: 0.7;
  transition: opacity 0.22s ease;
}

.header__apps a:hover {
  background: rgba(27, 46, 104, 0.06);
  color: var(--brand);
  transform: translateY(-1px);
}

.header__apps a:hover svg { opacity: 1; }

.header--transparent .header__apps { border-right-color: rgba(255, 255, 255, 0.28); }
.header--transparent .header__apps a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.header--scrolled .header__apps { border-right-color: var(--border); }
.header--scrolled .header__apps a:hover {
  background: rgba(27, 46, 104, 0.06);
  color: var(--brand);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.header__menu-btn span {
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* 中等宽度：逐级收紧导航与入口，保证单行不换行 */
@media (max-width: 1280px) {
  .header__nav { gap: 4px; }
  .header__nav a { padding: 8px 11px; font-size: 14px; }
  .header__apps a { padding: 7px 10px; font-size: 13px; }
}

@media (max-width: 1120px) {
  .header__inner { padding: 0 16px; }
  .header__nav { gap: 0; }
  .header__nav a { padding: 8px 9px; }
  .header__apps { gap: 0; padding-right: 8px; }
  .header__apps a { padding: 7px 8px; gap: 0; }
  .header__apps a svg { display: none; }
  .header__cta { gap: 8px; }
}

@media (max-width: 1024px) {
  .header__nav,
  .header__apps,
  .header__cta .btn--sm { display: none; }

  .header__inner { padding: 0 24px; }

  .header__menu-btn { display: flex; }

  .header__nav-mobile {
    display: flex;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }

  .header__nav-mobile.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header__nav-mobile a {
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
  }

  .header__nav-mobile a:last-child { border-bottom: none; }
  .header__nav-mobile .btn { margin-top: 8px; text-align: center; }

  /* 移动端业务系统入口分组 */
  .nav-mobile__label {
    margin-top: 10px;
    padding: 12px 0 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    border-top: 1px solid var(--border);
  }

  .header__nav-mobile a.nav-mobile__app {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .header__nav-mobile a.nav-mobile__app svg {
    width: 14px;
    height: 14px;
    flex: none;
    opacity: 0.45;
  }
}

/* ---- Mobile menu helpers ---- */
body.menu-open { overflow: hidden; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 122, 26, 0.3);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(255, 122, 26, 0.4);
}

.btn--brand {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn--brand:hover {
  background: var(--brand-light);
}

.btn--outline {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(27, 46, 104, 0.04);
}

.btn--white {
  background: #fff;
  color: var(--brand);
}

.btn--white:hover {
  background: #f0f2f5;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--site-notice-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: var(--bg-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(15, 26, 74, 0.92) 0%, rgba(27, 46, 104, 0.78) 55%, rgba(14, 21, 48, 0.88) 100%);
}

.hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 122, 26, 0.15) 0%, transparent 45%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  padding: 140px 24px 120px;
  text-align: center;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
}

.hero__label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

.hero__title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__subtitle {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 760px;
  margin: 0 auto 40px;
}

.hero__cta {
  justify-content: center;
  margin-bottom: 64px;
}

.hero__meta {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero__meta-value {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.hero__meta-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .hero__title { font-size: 36px; }
  .hero__subtitle { font-size: 17px; }
  .hero__meta { gap: 24px 40px; }
  .hero__meta-value { font-size: 22px; }
}

/* ---- Cards ---- */
.card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 46, 104, 0.12);
}

.card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.card__icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.card__icon--accent {
  background: var(--accent-light);
}

.card__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

.card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.card__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Stats ---- */
.stats {
  background: var(--bg-light);
  padding: 60px 0;
  border-bottom: 1px solid var(--border-light);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.stats__value {
  font-size: 42px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}

.stats__value em {
  color: var(--accent);
  font-style: normal;
}

.stats__label {
  font-size: 15px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__value { font-size: 32px; }
}

/* ---- Courses ---- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.course-card__img {
  height: 200px;
  background: var(--bg-light);
  overflow: hidden;
  position: relative;
}

.course-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-card__img img {
  transform: scale(1.05);
}

.course-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  z-index: 2;
}

.course-card__body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.course-card__meta {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 14px;
}

.course-card__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
  flex: 1;
}

.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.course-card__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.course-card__link:hover {
  color: var(--accent);
}

.course-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.course-card__link:hover svg {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .course-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .course-grid { grid-template-columns: 1fr; }
}

/* ---- Features ---- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s, transform 0.3s;
}

.feature-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-item__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item__icon img {
  width: 28px;
  height: 28px;
}

.feature-item__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-item__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .feature-list { grid-template-columns: 1fr; }
}

/* ---- CTA ---- */
.cta {
  position: relative;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
}

.cta__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.cta__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

.cta__title em {
  color: var(--accent);
  font-style: normal;
}

.cta__text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 520px;
}

.cta__contact {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.cta__contact-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.contact-row__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row__icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.contact-row__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2px;
}

.contact-row__value {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.cta__qr {
  width: 160px;
  height: 160px;
  background: #fff;
  border-radius: var(--radius);
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
  padding: 12px;
  overflow: hidden;
}

.cta__qr img,
.contact-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
  .cta__grid { grid-template-columns: 1fr; }
  .cta__title { font-size: 28px; }
}

/* ---- Placeholders ---- */
.placeholder {
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 14px;
  gap: 6px;
  padding: 16px;
}

.placeholder__num {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ---- Media images (接入配图统一工具类) ---- */
.media-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Forms ---- */
.form {
  display: grid;
  gap: 18px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.form__input,
.form__select,
.form__textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27, 46, 104, 0.1);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; }
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer__logo img {
  height: 40px;
}

.footer__about {
  max-width: 320px;
  font-size: 15px;
  line-height: 1.8;
}

.footer__title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-top: 0;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 15px;
  transition: color 0.2s, transform 0.2s;
}

.footer__links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* 页脚元信息：备案号 + 域名 */
.footer__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__meta a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer__meta a:hover,
.footer__meta a:focus-visible {
  color: rgba(255, 255, 255, 0.95);
}

.footer__meta-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
  flex: none;
}

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__meta { justify-content: center; }
}

/* ---- Page Banner ---- */
.page-banner {
  position: relative;
  padding: 160px 0 90px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.page-banner__content {
  position: relative;
  z-index: 1;
}

.page-banner__title {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.page-banner__desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
}

/* ---- Contact page ---- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
}

.contact-card--wide {
  grid-column: 1 / -1;
}

.contact-card__tel {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand);
  margin: 8px 0 10px;
  letter-spacing: -0.01em;
}

.contact-card__tel:hover {
  color: var(--accent);
}

.form__hint {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.6;
}

.contact-qr,
.contact-map {
  width: 100%;
}

.contact-qr {
  height: 240px;
}

.contact-map {
  height: 260px;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .contact-card--wide {
    grid-column: auto;
  }
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.breadcrumb a:hover {
  color: #fff;
}

/* ---- Content ---- */
.content h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 48px 0 18px;
  color: var(--text);
}

.content h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--text);
}

.content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content ul {
  margin: 16px 0;
  padding-left: 20px;
}

.content li {
  list-style: disc;
  margin-bottom: 10px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---- Logo wall / partners ---- */
.partner-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
}

.partner-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.partner-item:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow);
  color: var(--brand);
}

/* ---- Gallery ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.gallery__item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery__caption {
  padding: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(255, 122, 26, 0); }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease both;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ---- Skip link / a11y ---- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }

/* ---- Print ---- */
@media print {
  .header, .footer, .hero__canvas, .btn { display: none; }
  body { font-size: 12pt; color: #000; }
}

/* ---- News list (news.html) ---- */
.news-list {
  display: grid;
  gap: 28px;
}

.news-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 46, 104, 0.12);
}

.news-card__media {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 190px;
}

.news-card__media .placeholder {
  height: 100%;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card__meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.news-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 12px;
}

.news-card__excerpt {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .news-card {
    grid-template-columns: 1fr;
  }
  .news-card__media {
    min-height: 180px;
  }
}

/* =====================================================
   科技感纹理 / 无障碍增强（2026-07-17 优化）
   ===================================================== */

/* 深色区极淡网格纹理：去"塑料感"、增强科技签名感 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M64 0H0V64' fill='none' stroke='%23ffffff' stroke-width='0.6'/%3E%3C/svg%3E");
  background-size: 64px 64px;
  opacity: 0.35;
}

.cta {
  background-image: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M64 0H0V64' fill='none' stroke='%23ffffff' stroke-width='0.6' stroke-opacity='0.07'/%3E%3C/svg%3E");
  background-size: cover, 64px 64px;
}

.footer {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M64 0H0V64' fill='none' stroke='%23ffffff' stroke-width='0.6' stroke-opacity='0.06'/%3E%3C/svg%3E");
  background-size: 64px 64px;
}

/* 区块留白节奏：默认 .section 用 --section-gap，此处提供轻重两档用于差异化 */
.section--tight { padding-top: 72px; padding-bottom: 72px; }
.section--loose { padding-top: 128px; padding-bottom: 128px; }

/* 键盘焦点可见（无障碍） */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.form__input:focus-visible,
.form__select:focus-visible,
.form__textarea:focus-visible {
  outline: none;
}

/* 尊重系统"减少动态"设置（前庭敏感用户无障碍） */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__canvas { display: none !important; }
}

/* ===== FAQ 问答模块（新闻动态页） ===== */
.faq-section { background: var(--bg-light); }
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item[open] {
  border-color: rgba(27, 46, 104, 0.18);
  box-shadow: var(--shadow);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;            /* 去除原生 marker（部分浏览器） */
  font-size: 17px;
  font-weight: 600;
  color: var(--brand);
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; } /* 去除 WebKit 原生三角形 */
.faq-q__text { flex: 1; line-height: 1.5; }
.faq-q__icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  transition: transform 0.28s ease, background 0.28s ease;
}
.faq-q__icon::before,
.faq-q__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.faq-q__icon::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.faq-q__icon::after  { width: 2px; height: 10px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-q__icon { transform: rotate(180deg); background: var(--accent); }
.faq-item[open] .faq-q__icon::after { opacity: 0; transform: translate(-50%, -50%) scale(0); }
.faq-q:hover { color: var(--brand-light); }
.faq-a {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.faq-a p { margin: 0; }
.faq-a p + p { margin-top: 12px; }
@media (max-width: 640px) {
  .faq-q { padding: 18px 18px; font-size: 16px; }
  .faq-a { padding: 0 18px 18px; }
}

/* ===== 顶部改版说明条 ===== */
.site-notice {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--site-notice-h);
  padding: 7px 16px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  box-sizing: border-box;
}
.site-notice a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.site-notice a:hover { color: var(--accent-light); }

@media (max-width: 640px) {
  .site-notice { font-size: 12px; }
}
