:root {
  --bg: #fdfefe;
  --bg-accent: #f4f7ff;
  --text: #0f172a;
  --subtext: #4b5563;
  --primary: #2563eb;
  --primary-light: rgba(37, 99, 235, 0.14);
  --glass: rgba(255, 255, 255, 0.9);
  --border: rgba(37, 99, 235, 0.14);
  --gradient: radial-gradient(circle at 20% 20%, #d7e8ff, transparent 45%),
    radial-gradient(circle at 80% 0%, #c8f5e8, transparent 40%),
    radial-gradient(circle at 60% 80%, #ffe9b8, transparent 45%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* 新增：平滑滚动体验 */
}

html {
  scroll-behavior: smooth; /* 新增：启用平滑滚动 */
}

body {
  margin: 0;
  font-family: 'Space Grotesk', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: var(--gradient);
  background-color: var(--bg);
  opacity: 0.35;
  z-index: -2;
}

.hero {
  padding: 48px clamp(24px, 6vw, 100px) 120px;
  min-height: 100vh; /* 新增：首屏全屏高度 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 56px;
}

.logo {
  font-weight: 600;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
}

.nav-links a,
.ghost-btn {
  color: var(--subtext);
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.ghost-btn {
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 999px;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.12;
  margin: 16px 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.85rem;
  color: var(--primary);
}

.lead {
  color: var(--subtext);
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0 24px;
}

.primary-btn,
.secondary-btn {
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  background: linear-gradient(120deg, #6380ff, #52c7ea);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(99, 128, 255, 0.3);
}

.primary-btn.light {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.secondary-btn {
  color: var(--text);
  border: 1px solid var(--border);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hero-stats span {
  font-size: 1.5rem;
  display: block;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 70%;
  max-width: 520px;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  position: relative;
  z-index: 0;
  opacity: 0.95;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 220px;
  height: 220px;
  background: rgba(99, 128, 255, 0.18);
  right: 15%;
  top: 10%;
}

.orb-2 {
  width: 160px;
  height: 160px;
  background: rgba(82, 199, 234, 0.16);
  left: 5%;
  bottom: 15%;
  animation-delay: 2s;
}

.glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.2);
  backdrop-filter: blur(14px);
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  width: 220px;
  right: 5%;
  top: 20%;
  animation: rise 6s ease-in-out infinite;
}

.glass-card.delayed {
  top: auto;
  bottom: 18%;
  left: 5%;
  right: auto;
  animation-delay: 2s;
}

.glass-card h3 {
  margin: 8px 0;
  font-size: 1.8rem;
}

.muted {
  color: var(--subtext);
  font-size: 0.85rem;
}

.section {
  padding: 80px clamp(24px, 6vw, 100px);
}

.section-label {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--primary);
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 24px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: start;
}

.timeline {
  border-left: 1px solid var(--border);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline-item span {
  font-size: 1.2rem;
  color: var(--primary);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
}

.card span {
  color: var(--primary);
  font-size: 0.9rem;
}

.technology {
  background: linear-gradient(135deg, rgba(226, 238, 255, 0.95), rgba(210, 243, 255, 0.92));
}

.pill-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-list li {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
}

.tech-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.tech-panel div {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.tech-visual {
  margin-bottom: 16px;
}

.tech-visual img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  object-fit: cover;
}

.tech-panel span {
  color: var(--subtext);
  font-size: 0.85rem;
}

.tech-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 1.3rem;
}

.cta-card {
  border-radius: 28px;
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(132, 183, 255, 0.28), rgba(137, 240, 210, 0.28));
  border: 1px solid rgba(37, 99, 235, 0.18);
  backdrop-filter: blur(14px);
}

.cta-sub {
  margin-top: 24px;
  color: var(--subtext);
}

.cta-sub span {
  color: var(--text);
}

.footer {
  padding: 32px clamp(24px, 6vw, 100px);
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--subtext);
  font-size: 0.9rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes rise {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .hero-stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .nav-links {
    display: none;
  }
  .cta-card {
    padding: 32px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 32px;
  }
  .section {
    padding: 64px 20px;
  }
  .hero-visual {
    min-height: 260px;
  }
  .glass-card {
    width: 180px;
  }
}

