/* ==========================================================================
   五育通科技官网 - 核心设计系统与样式表
   ========================================================================== */

/* 1. 设计令牌 (Design Tokens) & 变量定义 */
:root {
  /* 配色系统 - 科技蓝 + 浅灰 + 米白 */
  --primary-hue: 220;
  --primary: hsl(var(--primary-hue), 95%, 50%);          /* 核心科技蓝 */
  --primary-hover: hsl(var(--primary-hue), 95%, 42%);
  --primary-light: hsl(var(--primary-hue), 100%, 96%);    /* 浅冰蓝 */
  --primary-glow: hsla(var(--primary-hue), 95%, 50%, 0.15);
  
  --dark-slate: hsl(220, 15%, 12%);                      /* 深灰蓝 - 标题与主要文本 */
  --text-body: hsl(220, 10%, 30%);                       /* 正文色 */
  --text-muted: hsl(220, 8%, 50%);                        /* 辅助与标签色 */
  
  --bg-light: hsl(218, 25%, 97%);                        /* 浅灰底色 */
  --bg-warm: hsl(40, 20%, 98%);                          /* 微米白底色 */
  --white: #ffffff;
  
  /* 辅助渐变 */
  --grad-tech: linear-gradient(135deg, hsl(220, 95%, 50%) 0%, hsl(260, 95%, 55%) 100%);
  --grad-soft: linear-gradient(135deg, hsl(220, 100%, 97%) 0%, hsl(250, 100%, 98%) 100%);
  
  /* 布局与层级 */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px hsla(var(--primary-hue), 20%, 15%, 0.03);
  --shadow-md: 0 10px 30px hsla(var(--primary-hue), 20%, 15%, 0.08);
  --shadow-lg: 0 20px 50px hsla(var(--primary-hue), 20%, 15%, 0.12);
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --z-canvas: -1;
  --z-header: 100;
  --z-drawer: 200;
}

/* 2. 全局重置与排版 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 无障碍：屏幕阅读器专用 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* 匹配导航栏高度 */
  overflow-x: hidden;
  scroll-snap-type: y proximity;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark-slate);
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 3. 布局辅助工具 */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  gap: 32px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.items-center { align-items: center; }
.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }

/* 4. 按钮与徽章 (Buttons & Badges) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 15px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px var(--primary-glow);
}

/* 5. 顶栏导航栏与收缩动效 */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: var(--z-header);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

/* CSS 滚动收缩动效 - 渐进增强 */
@keyframes shrink {
  to {
    height: 60px;
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    .main-header {
      animation: shrink auto linear both;
      animation-timeline: scroll(block root);
      animation-range: 0px 100px;
    }
  }
}

/* 导航栏内部组件 */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-symbol {
  background: var(--grad-tech);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 1.1rem;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--dark-slate) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.desktop-nav ul {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-slate);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-switch {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.lang-switch:hover {
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--dark-slate);
  transition: var(--transition);
}

/* 6. 移动端侧边抽屉菜单 */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background-color: var(--white);
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  z-index: var(--z-drawer);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transition: var(--transition);
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-drawer {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-slate);
}

.drawer-actions {
  margin-top: auto;
}

.drawer-btn {
  width: 100%;
}

/* 7. Canvas 知识图谱背景 */
#graphCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-canvas);
  pointer-events: auto; /* 让交互只发生在背景层，不遮挡按钮 */
  opacity: 0.7;
}

/* 8. 首页 (Home) - Section Style */
.hero-section {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  background-image: url('assets/images/banner_hero.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding: 80px 0 0;
  box-sizing: border-box;
  scroll-snap-align: start;
}

.hero-section .container,
.advantages-section .container,
.overview-section .container {
  width: 100%;
}

.hero-container {
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 720px;
  width: 100%;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: var(--dark-slate);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-slate);
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-links a {
  transition: var(--transition);
}

.hero-links .link-product {
  color: var(--dark-slate);
}

.hero-links .link-product:hover {
  color: var(--primary);
}

.hero-links .link-separator {
  color: hsl(220, 10%, 80%);
  font-weight: 300;
}

.hero-links .link-contact {
  color: var(--primary);
}

.hero-links .link-contact:hover {
  color: var(--primary-hover);
}

/* 9. 核心优势板块 (Advantages) */
.advantages-section {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  box-sizing: border-box;
  scroll-snap-align: start;
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
}

.advantages-grid {
  gap: 24px;
}

.card {
  background-color: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 98, 254, 0.15);
}

.advantage-card .card-icon {
  color: var(--primary);
  margin-bottom: 24px;
  background-color: var(--primary-light);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.advantage-card:hover .card-icon {
  background: var(--grad-tech);
  color: var(--white);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 0;
}

/* 10. 核心业务概览 (Overview) */
.overview-section {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  box-sizing: border-box;
  scroll-snap-align: start;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-top: 16px;
  margin-bottom: 24px;
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quick-link-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.quick-link-btn:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateX(8px);
}

.quick-link-btn .arrow {
  font-size: 1.2rem;
  transition: var(--transition);
}

.quick-link-btn:hover .arrow {
  transform: translateX(5px);
}

.overview-graphic {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.graphic-network {
  width: 100%;
  max-width: 450px;
  height: 100%;
  position: relative;
}

.nodes-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.node-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: var(--grad-tech);
  border-radius: 50%;
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px var(--primary-glow);
  z-index: 2;
  animation: pulse 3s infinite alternate;
}

.node-sub {
  position: absolute;
  width: 84px;
  height: 84px;
  background-color: var(--white);
  border: 2px solid var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-slate);
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: var(--transition);
}

.node-sub:hover {
  border-color: var(--primary);
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.node-sub.s1 { top: 10%; left: 15%; }
.node-sub.s2 { top: 10%; right: 15%; }
.node-sub.s3 { bottom: 10%; left: 15%; }
.node-sub.s4 { bottom: 10%; right: 15%; }

.connection-line {
  position: absolute;
  background: linear-gradient(var(--primary), var(--primary-light));
  width: 2px;
  transform-origin: top left;
  z-index: 1;
  opacity: 0.3;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 20px var(--primary-glow); }
  100% { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 0 40px rgba(15, 98, 254, 0.4); }
}

/* 11. 数字平台板块 (Digital Platform) */
.platform-section {
  padding: 100px 0;
}

.capabilities-title {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 40px;
  position: relative;
}

.capabilities-grid {
  gap: 24px;
  margin-bottom: 80px;
}

.capability-card {
  position: relative;
  overflow: hidden;
  padding: 40px 32px;
}

.capability-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.08;
  margin-bottom: 0;
  transition: var(--transition);
  pointer-events: none;
}

.capability-card:hover .capability-icon {
  opacity: 0.15;
  transform: scale(1.1);
}

.card-icon-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.capability-card:hover .card-icon-i {
  background: var(--grad-tech);
  color: var(--white);
  transform: translateY(-2px);
}

.capability-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.capability-card p {
  font-size: 0.9rem;
  color: var(--text-body);
}

.tech-architecture {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.tech-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-light);
}

.tech-image {
  width: 100%;
  aspect-ratio: 1.63;
  object-fit: cover;
}

.tech-content {
  padding-left: 20px;
}

.tech-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.tech-desc {
  font-size: 1rem;
  margin-bottom: 24px;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.chip {
  background-color: var(--bg-light);
  color: var(--dark-slate);
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 550;
  border-radius: 50px;
}

.platform-value {
  padding: 20px;
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
}

/* 12. 应用场景板块 (Application Scenes) */
.scenes-section {
  padding: 100px 0;
}

.scenes-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.scene-item {
  gap: 60px;
}

.scene-number {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.scene-text h3 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.scene-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
}

.scene-text p {
  font-size: 1rem;
  color: var(--text-body);
}

.scene-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.02);
  background: var(--bg-light);
}

.scene-image {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.scene-item:hover .scene-image {
  transform: scale(1.04);
}

/* 13. 案例介绍板块 (Case Studies) */
.cases-section {
  padding: 100px 0;
}

.cases-grid {
  gap: 32px;
  margin-top: 60px;
}

.case-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.case-img-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background-color: var(--bg-light);
}

.case-img-wrapper::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  filter: blur(12px) brightness(0.65);
  opacity: 0.65;
  z-index: 1;
}

.case-img {
  width: 100%;
  /* height: 150px; */
  object-fit: cover;
  transition: var(--transition);
}

.case-card:hover .case-img {
  transform: scale(1.05);
}

.case-header {
  padding: 36px 36px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.case-badge {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 12px;
}

.case-header h3 {
  font-size: 1.45rem;
}

.case-body {
  padding: 24px 36px 36px;
  flex-grow: 1;
}

.case-sub-title {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.case-detail, .case-result {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.case-detail strong,
.case-result strong {
  color: var(--dark-slate);
}

/* 14. 关于我们 & 联系我们 (About & Contact) */
.about-section {
  padding: 100px 0;
}

.about-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.about-desc-p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.philosophy-box {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.philosophy-item {
  border-left: 3px solid var(--primary);
  padding-left: 16px;
}

.philosophy-item h5 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.philosophy-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--dark-slate);
}

.about-extra-text {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 16px;
  /* padding: 16px 20px; */
  /* background-color: var(--primary-light); */
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  color: var(--dark-slate);
  line-height: 1.7;
}

@media (min-width: 769px) {
  .about-info .philosophy-box {
    margin-top: 0;
  }
}

/* 联系我们卡片 */
.contact-box {
  background-color: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.03);
}

.contact-box h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-list .label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-list .value {
  display: block;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--dark-slate);
  margin-top: 2px;
}

.contact-list a {
  border-bottom: 1.5px solid rgba(15, 98, 254, 0.3);
}
.contact-list a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.qr-codes-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.qr-code-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 32px;
}

@media (min-width: 769px) {
  .qr-code-section {
    border-top: none;
    padding-top: 0;
    padding-left: 32px;
  }
}

.qr-code-wrapper {
  width: 140px;
  height: 140px;
  background-color: var(--white);
  padding: 10px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: var(--transition);
}

.qr-code-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 98, 254, 0.15);
}

.qr-code-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.qr-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* 15. 页脚样式 (Footer) */
.site-footer {
  background-color: var(--dark-slate);
  color: hsl(220, 10%, 75%);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.site-footer h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 24px;
}

.footer-top {
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 40px;
}

.footer-brand .brand-slogan {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: -16px;
  margin-bottom: 16px;
}

.footer-desc-short {
  font-size: 0.9rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
  display: inline-block;
}

.footer-tagline p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-cta-container {
  display: flex;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  text-align: center;
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-closing-slogan {
  font-weight: 500;
  color: var(--white);
}

/* 16. 响应式适配媒体查询 (Responsive) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .scene-item { gap: 40px; }
}

@media (max-width: 768px) {
  /* Layout adjustments */
  .container {
    padding: 0 16px;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Header decluttering on mobile */
  .main-header {
    height: 60px;
  }
  
  .logo-symbol {
    font-size: 0.9rem;
    padding: 4px 8px;
  }
  
  .logo-text {
    font-size: 1.15rem;
  }
  
  .desktop-nav,
  .header-actions .lang-switch,
  .header-actions .btn {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Hero Section adjustments */
  .hero-section {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 80px 0 40px;
  }
  
  .advantages-section,
  .overview-section {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 60px 0;
  }
  
  .hero-container {
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 16px;
  }
  
  .hero-desc {
    font-size: 0.92rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
  }
  
  .hero-links {
    justify-content: center;
    margin: 0 auto;
  }
  
  /* General Card Spacing on Mobile */
  .card, .contact-box {
    padding: 24px 16px;
  }
  
  .advantage-card .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
  
  .advantage-card .card-icon svg {
    width: 28px;
    height: 28px;
  }
  
  /* Business Overview Graphic */
  .overview-graphic {
    margin-top: 40px;
    height: 320px;
  }
  
  .node-main {
    width: 90px;
    height: 90px;
    font-size: 0.95rem;
  }
  
  .node-sub {
    width: 68px;
    height: 68px;
    font-size: 0.75rem;
  }
  
  /* Platform Section */
  .platform-section {
    padding: 60px 0;
  }
  
  .tech-architecture {
    padding: 24px 16px;
    margin-top: 40px;
  }
  
  .tech-content {
    padding-left: 0;
    margin-top: 24px;
  }
  
  .tech-content h3 {
    font-size: 1.45rem;
  }
  
  /* Scenes list mobile styling */
  .scenes-section {
    padding: 60px 0;
  }
  
  .scenes-list {
    margin-top: 40px;
    gap: 48px;
  }
  
  .scene-item {
    gap: 24px;
  }
  
  .scene-text h3 {
    font-size: 1.45rem;
  }
  
  .scene-visual {
    margin-top: 16px;
  }
  
  .order-2-desktop {
    order: 2;
  }
  
  .order-1-desktop {
    order: 1;
  }
  
  /* Cases section */
  .cases-section {
    padding: 60px 0;
  }
  
  .cases-grid {
    margin-top: 40px;
    gap: 20px;
  }
  
  .case-header {
    padding: 24px 20px 16px;
  }
  
  .case-header h3 {
    font-size: 1.25rem;
  }
  
  .case-body {
    padding: 16px 20px 24px;
  }
  
  /* About us & Contact */
  .about-section {
    padding: 60px 0;
  }
  
  .about-container {
    gap: 40px;
  }
  
  .contact-box h3 {
    font-size: 1.45rem;
  }
  
  .contact-list {
    gap: 16px;
    margin-bottom: 24px;
  }
  
  .drawer-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .drawer-btn {
    width: 100%;
    max-width: 200px;
    padding: 8px 20px;
    font-size: 0.88rem;
    border-radius: 6px;
    margin: 0 auto;
  }

  .drawer-lang {
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    width: 100%;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  
  .drawer-lang:hover {
    color: var(--primary);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: hsl(var(--primary-hue), 25%, 80%);
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

