:root {
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --accent: #f59e0b;
  --accent-600: #d97706;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  color: var(--white);
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -8px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
}

.btn-light:hover {
  background: var(--primary-50);
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-block {
  width: 100%;
}

/* 导航 */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.site-header.scrolled .logo-text {
  color: var(--slate-900);
}

.site-header.scrolled .main-nav a {
  color: var(--slate-700);
}

.site-header.scrolled .menu-toggle span {
  background: var(--slate-800);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: var(--primary);
  flex-shrink: 0;
}

.logo-text {
  color: var(--white);
  transition: var(--transition);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.main-nav a:not(.nav-cta):hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.nav-cta {
  background: var(--white);
  color: var(--primary) !important;
  margin-left: 8px;
  box-shadow: var(--shadow);
}

.nav-cta:hover {
  background: var(--primary-50);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.15) 0%, transparent 45%),
    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.9;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  list-style: none;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats strong {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
}

.hero-stats span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-xl);
  color: var(--white);
}

.hero-card {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.hero-card svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero-card .label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-card .value {
  font-size: 16px;
  font-weight: 700;
}

.card-1 {
  top: 5%;
  left: 5%;
  animation-delay: 0s;
  width: 260px;
}

.card-2 {
  top: 42%;
  right: 0;
  animation-delay: -2s;
  width: 240px;
}

.card-3 {
  bottom: 5%;
  left: 15%;
  animation-delay: -4s;
  width: 270px;
}

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

/* 通用 section */
.section {
  padding: 110px 0;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--primary-100);
  color: var(--primary-600);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--slate-600);
}

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

/* 业务场景 */
.solutions {
  background: var(--slate-50);
}

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

.solution-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--slate-100);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-50) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-card > * {
  position: relative;
  z-index: 1;
}

.icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--white);
}

.icon-wrap.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.icon-wrap.indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.icon-wrap.cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.icon-wrap.teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.icon-wrap.violet { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.icon-wrap.rose { background: linear-gradient(135deg, #f43f5e, #e11d48); }

.solution-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.solution-card p {
  color: var(--slate-600);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.feature-tags li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 12px;
  font-weight: 600;
}

/* 资源 */
.resources {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: var(--white);
}

.resources .section-title,
.resources .section-subtitle {
  color: var(--white);
}

.resources .section-subtitle {
  opacity: 0.8;
}

.resources-grid {
  grid-template-columns: repeat(5, 1fr);
}

.resource-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.resource-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
}

.resource-icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}

.resource-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.resource-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* 产品功能 */
.features-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.features-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
  transform: scaleY(0);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::after {
  transform: scaleY(1);
}

.feature-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.65;
}

.feature-side {
  position: sticky;
  top: 100px;
}

.side-card {
  background: linear-gradient(135deg, var(--slate-900) 0%, #1e3a8a 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-xl);
}

.side-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
}

.side-card ul {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.side-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, #1e3a8a 0%, var(--primary) 100%);
  color: var(--white);
  padding: 90px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cta-content h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 18px;
  opacity: 0.85;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
  margin-top: 24px;
}

.cta-qr {
  flex-shrink: 0;
}

.qr-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px 16px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.qr-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.qr-img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background: var(--white);
  padding: 6px;
  object-fit: contain;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.3);
}

.qr-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--white);
}

.qr-text strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.qr-text span {
  font-size: 13px;
  opacity: 0.85;
}

.footer-company {
  margin-top: 8px !important;
  font-size: 13px !important;
  opacity: 0.7;
}

/* 页脚 */
.site-footer {
  background: var(--slate-900);
  color: var(--white);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.link-group h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--white);
}

.link-group a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
  transition: var(--transition);
}

.link-group a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* 动画 */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-desc {
    max-width: 640px;
  }

  .hero-visual {
    min-height: 360px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

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

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

  .features-wrap {
    grid-template-columns: 1fr;
  }

  .feature-side {
    position: static;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: var(--transition);
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    color: var(--slate-800) !important;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .main-nav a:hover {
    background: var(--slate-100);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    background: var(--primary);
    color: var(--white) !important;
    text-align: center;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-stats {
    gap: 28px;
  }

  .hero-stats strong {
    font-size: 32px;
  }

  .hero-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    margin-bottom: 16px;
    animation: none;
  }

  .hero-visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .solutions-grid,
  .resources-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .qr-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 480px) {
  .hero-actions,
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .qr-img {
    width: 100px;
    height: 100px;
  }
}
