:root {
  color-scheme: light;
  --bg: #f4f8fe;
  --bg-soft: #ebf3fb;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: rgba(255, 255, 255, 0.95);
  --text: #0b1426;
  --muted: #4f5a70;
  --border-glass: rgba(255, 255, 255, 0.8);
  --border-light: rgba(15, 98, 254, 0.08);
  --primary: #0f62fe;
  --primary-deep: #0032a0;
  --primary-soft: #d0e2ff;
  --cyan: #00b0ff;
  --shadow-glass: 0 16px 40px rgba(0, 50, 160, 0.06);
  --shadow-hover: 0 24px 60px rgba(0, 50, 160, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: min(1240px, calc(100vw - 48px));
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  background-image: 
    radial-gradient(circle at 0% 0%, rgba(15, 98, 254, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 100% 20%, rgba(0, 176, 255, 0.12) 0%, transparent 35%),
    radial-gradient(circle at 50% 100%, rgba(0, 50, 160, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* 极光色块 - 缓慢游动的底层光影 */
body::before, body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}
body::before {
  width: 600px; height: 600px;
  top: -10%; left: -10%;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  animation: aurora-drift-1 18s ease-in-out infinite alternate;
}
body::after {
  width: 500px; height: 500px;
  bottom: -5%; right: -5%;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  animation: aurora-drift-2 22s ease-in-out infinite alternate;
}

@keyframes aurora-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(15vw, 20vh) scale(1.15); }
  100% { transform: translate(5vw, 40vh) scale(0.95); }
}
@keyframes aurora-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-12vw, -15vh) scale(1.1); }
  100% { transform: translate(-5vw, -30vh) scale(1.05); }
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}
.container-wide { width: min(1600px, calc(100vw - 48px)); }

/* 放宽顶栏与首屏内容区的大屏尺寸，完美拉开与右置背景的物理距离 */
@media (min-width: 769px) {
  .topbar .container, .hero .container {
    width: min(1600px, calc(100vw - 80px));
  }
}

/* 针对手机端：极限收缩两边留白(仅留16px边缘距)，留出最大通铺空间防止LOGO字断行 */
@media (max-width: 768px) {
  .topbar .container {
    width: calc(100vw - 32px);
  }
}

/* Animations */
.reveal, .reveal-onload {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.active, .reveal-onload.active {
  opacity: 1;
  transform: translateY(0);
}

/* Topbar */
.menu-toggle { display: none; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.topbar-inner, .footer-inner, .hero-grid, .impact-grid, .chart-row, .cta-card {
  display: grid;
  gap: 24px;
}

.topbar-inner {
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--primary-deep));
  box-shadow: 0 6px 12px rgba(0, 176, 255, 0.3);
  position: relative;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 10px 14px 16px 12px;
  border-left: 6px solid white;
  border-bottom: 6px solid white;
  transform: rotate(-45deg);
}

.brand-copy {
  display: grid;
  gap: 0px;
}

.brand-copy strong {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary-deep), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-copy span {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.3s ease;
}

.nav a:hover, .nav a:focus-visible {
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-2px);
}

/* Typography & General Shapes */
h1, h2, h3, p, ul { margin-top: 0; }
h1, h2, h3 { font-weight: 700; color: var(--text); line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 3.2vw, 3.5rem); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 0; }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.4; margin-bottom: 12px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(15, 98, 254, 0.08); border: 1px solid rgba(15, 98, 254, 0.1);
}

.hero-text, .contact-line, p, li, .stat-card span {
  color: var(--muted);
}

.hero-text {
  font-size: 1.15rem;
  max-width: 52ch;
  line-height: 1.7;
  color: var(--text);
}

/* Glass Surface (Modern UI) — 3D 玻璃质感深化 */
.card-surface, .info-card, .reason-card, .platform-card, .timeline-card, .stat-card, .chart-card, .cta-card {
  background: var(--surface);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-glass);
  box-shadow:
    var(--shadow-glass),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 50, 160, 0.03);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.card-surface {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.info-card, .reason-card, .platform-card, .timeline-card, .stat-card {
  border-radius: var(--radius-lg);
  padding: 32px;
}

.info-card:hover, .reason-card:hover, .platform-card:hover, .timeline-card:hover {
  transform: translateY(-8px);
  box-shadow:
    var(--shadow-hover),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 50, 160, 0.05);
  border-color: rgba(255, 255, 255, 1);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--primary-deep));
  box-shadow: 0 12px 24px rgba(0, 176, 255, 0.25);
  border: none;
}

/* 主按钮流光溢彩动画 */
.button-primary::after {
  content: "";
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btn-shine {
  0%, 75%, 100% { left: -60%; opacity: 0; }
  10% { opacity: 1; }
  40% { left: 130%; opacity: 0; }
}

.button-primary:hover {
  box-shadow: 0 16px 32px rgba(0, 176, 255, 0.35);
}

.button-secondary {
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 50, 160, 0.1);
}

/* Layouts */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-soft { background: linear-gradient(180deg, transparent 0%, rgba(208, 226, 255, 0.3) 50%, transparent 100%); }

.section-head { text-align: left; max-width: 1000px; margin: 0 0 56px 0; }
.section-head-left { text-align: left; margin-left: 0; }
.section-head-gap { margin-top: 100px; }

/* --- HERO MODULE --- */
.hero {
  padding: min(8vw, 100px) 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 769px) {
  .hero::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; right: 0; left: 0;
    margin: 0 auto;
    max-width: 2560px; /* 锁死最大拉伸极限 */
    background-image: 
      linear-gradient(90deg, var(--bg) 0%, rgba(244, 248, 254, 0.4) 40%, rgba(244, 248, 254, 0) 65%),
      url('./图片素材/hero背景.jpg');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 1; /* Desktop可见，保留左侧柔光遮罩与底色融为一体 */
  }
}

.hero-copy { max-width: 820px; z-index: 2; position: relative; }
.hero-mobile-visual { display: none; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.contact-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-line span {
  white-space: nowrap;
}
.contact-line svg { color: var(--primary); flex-shrink: 0; }
.contact-line strong { color: var(--primary-deep); font-weight: 600; }
.company-visual img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); position: relative; z-index: 2;
}
.diagram-shell img, .platform-visual img {
  width: 100%; height: auto; display: block; border-radius: var(--radius-lg); position: relative; z-index: 2;
}

/* Ambient glow under images */
.visual-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 80%; height: 80%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--cyan) 0%, var(--primary-deep) 100%);
  filter: blur(60px); opacity: 0.15; z-index: 1;
}

.diagram-shell { padding: 24px; border-radius: var(--radius-xl); }

/* Grids */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Card icon accents */
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--bg-soft), var(--primary-soft));
  border: 1px solid white; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: color 0.3s ease;
}
/* 悬浮时图标光晕 */
.info-card:hover .card-icon {
  transform: scale(1.12);
  box-shadow: 0 0 20px rgba(15, 98, 254, 0.18);
}
.info-card:hover .card-icon svg {
  color: var(--primary-deep);
}
.reason-card .card-icon { display: none; } /* hide icon on reason cards for simplicity */

/* Platforms */
.platform-layout { display: flex; flex-direction: column; gap: 40px; }
.platform-visual { padding: 0; border: none; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: var(--radius-lg); overflow: hidden; }
.platform-visual img { width: 100%; height: auto; object-fit: contain; border-radius: var(--radius-lg); display: block; }
.platform-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.platform-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

/* Company */
.company-card {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  padding: 0;
  border-radius: var(--radius-xl); overflow: hidden;
  margin-top: 52px;
}
.company-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(40px, 4.8vw, 72px) clamp(44px, 4.8vw, 76px);
}
.company-kicker {
  margin: 0;
  font-size: clamp(1.8rem, 2vw, 2.45rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.025em;
  white-space: nowrap;
  color: var(--primary-deep);
}
.company-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 43ch;
}
.company-body p {
  margin: 0;
  font-size: clamp(1.08rem, 1.08vw, 1.24rem);
  line-height: 1.72;
  color: rgba(61, 81, 116, 0.92);
}
.company-copy .button-secondary {
  align-self: flex-start;
  min-width: 272px;
  height: 58px;
  padding: 0 40px;
  font-size: 1.08rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(0, 50, 160, 0.08);
}
.company-visual {
  align-self: center;
  min-height: auto;
  border-radius: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 1.4vw, 20px) clamp(18px, 2vw, 28px) clamp(12px, 1.4vw, 20px) 0;
  background: none;
}
.company-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 0;
  box-shadow: none;
}

/* Timeline */
.section-timeline {
  padding: 120px 0;
}

.timeline-figure {
  margin: 52px 0 0;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(198, 217, 242, 0.72);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 28px rgba(14, 38, 88, 0.03);
}

.timeline-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Impact/Stats */
.impact-layout { display: flex; flex-direction: column; gap: 40px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 36px 16px;
}
.stat-card strong {
  font-size: clamp(2.2rem, 3vw, 3.5rem);
  font-weight: 700; color: var(--primary-deep);
  line-height: 1; margin-bottom: 10px;
  letter-spacing: -0.04em;
}
.stat-card strong sup {
  font-size: 0.5em; vertical-align: super; color: var(--primary);
}

/* Donut Chart */
.chart-card { padding: 40px 48px; }
.chart-card h3 { text-align: center; margin-bottom: 32px; font-size: 1.1rem; line-height: 1.5; }
.chart-source { font-size: 0.72rem; color: var(--text-muted); margin-top: 24px; text-align: center; line-height: 1.6; }
.chart-row { display: flex; flex-direction: column; gap: 24px; align-items: center; justify-content: center; margin-bottom: 24px; }

.donut-wrapper {
  position: relative; width: 220px; height: 220px;
}
.donut {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary) 0deg 190deg, 
    var(--muted) 190deg 290deg, 
    var(--bg-soft) 290deg 360deg
  );
  mask: radial-gradient(transparent 55%, white 56%);
  -webkit-mask: radial-gradient(transparent 55%, white 56%);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.donut-wrapper:hover .donut { transform: scale(1.05); }

.donut-center {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; color: var(--text); font-size: 0.9rem; letter-spacing: 0.1em;
}

.chart-legend { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 16px; }
.legend-item {
  display: flex; align-items: center; padding: 12px 24px;
  background: rgba(255,255,255,0.4); border-radius: 12px;
  transition: background 0.3s;
}
.legend-item:hover { background: rgba(255,255,255,0.8); }
.legend-item.highlight { background: rgba(255,255,255,0.9); box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; margin-right: 16px; }
.legend-primary { background: var(--primary); }
.legend-secondary { background: var(--muted); }
.legend-muted { background: var(--bg-soft); border: 1px solid var(--muted); }
.legend-item strong { display: inline-block; width: 60px; font-size: 1.25rem; }
.legend-item p { margin: 0; font-size: 0.95rem; }

/* Call to Action */
.cta-card {
  grid-template-columns: 1fr auto;
  align-items: center; padding: 60px;
  border-radius: var(--radius-xl);
  background: 
    radial-gradient(circle at right top, rgba(0, 176, 255, 0.15) 0%, transparent 60%),
    rgba(255, 255, 255, 0.8);
  border: 1px solid white; box-shadow: 0 20px 60px rgba(0, 50, 160, 0.08);
}
.cta-card .eyebrow { margin-bottom: 16px; }
.cta-card h2 { margin-bottom: 12px; }
.cta-card p { margin-bottom: 0; font-size: 1.1rem; }

/* Footer */
.footer { border-top: 1px solid var(--border-glass); padding: 40px 0; margin-top: 40px; }
.footer-inner p:last-child { text-align: right; }

/* --- Responsiveness --- */

/* Tablet & Smaller Desktop */
@media (max-width: 1200px) {
  .hero-grid, .platform-layout, .impact-grid { grid-template-columns: 1fr; }
  .feature-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .reason-grid { grid-template-columns: 1fr; }
  .platform-stack { grid-template-columns: repeat(2, 1fr); } 
  .platform-layout .platform-visual { order: -1; }
  .company-card { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .timeline-figure {
    margin-top: 40px;
    padding: 20px;
    border-radius: 24px;
  }
}

/* Mobile Portrait */
@media (max-width: 768px) {
  /* 隐藏较长的副标题，精简Logo层级 */
  .brand-subtitle { display: none; }
  .brand-copy strong { font-size: 1rem; }
  
  /* Topbar 横向两端对齐并固定较小高度 */
  .topbar-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 64px;
    min-height: auto;
    padding: 0;
  }
  .brand { gap: 10px; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }

  /* 汉堡按钮样式 */
  .menu-toggle { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: none; 
    border: none; 
    color: var(--text); 
    padding: 8px; 
    cursor: pointer;
  }
  
  /* 折叠菜单样式与动画 */
  .nav { 
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 160, 0.05);
    border-bottom: 1px solid var(--border-glass);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .nav.nav-open {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  /* Hero 首屏移动端独立排版：文字上浮，图文上下分离自然过渡 */
  .hero { 
    flex-direction: column; 
    padding: 80px 0 0 0; 
    background-image: none; 
    align-items: stretch;
  }
  .hero-grid { gap: 32px; flex: 1; }
  .hero-mobile-visual { 
    display: block; 
    width: 100%; 
    margin-top: 40px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
  }
  .hero-mobile-visual img { 
    width: 100%; 
    height: auto; 
    display: block; 
    object-fit: cover;
  }
  
  .feature-grid, .stat-grid, .platform-stack { grid-template-columns: 1fr; }
  
  .cta-card { grid-template-columns: 1fr; text-align: center; padding: 40px 16px; }
  .cta-card p { font-size: 1rem; text-wrap: balance; margin-left: auto; margin-right: auto; }
  .footer-inner p:last-child { text-align: center; margin-top: 8px;}
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
}
