:root {
  --bg-main: #050816;
  --bg-elevated: #0b1020;
  --bg-card: #111827;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --text-main: #f9fafb;
  --text-sub: #9ca3af;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.18);
  --radius-lg: 18px;
  --radius-xl: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC",
    "Microsoft YaHei", sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 50%, #000 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 顶部导航 */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.92),
    rgba(15, 23, 42, 0.4),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(148, 163, 184, 0.35));
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.3;
  color: var(--text-sub);
}

.nav-brand-text span:first-child {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--text-sub);
}

.nav-links a {
  position: relative;
  padding: 3px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  transition: width 0.18s ease-out;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-pill {
  padding: 7px 14px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 12px;
  color: var(--text-sub);
  display: none;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .nav-pill {
    display: inline-flex;
  }
}

/* Hero 区域 */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 18px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }
}

.hero-title {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.hero-gradient {
  background: linear-gradient(120deg, #e5e7eb, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-sub);
  max-width: 480px;
}

.hero-badges {
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 11px;
  color: var(--text-sub);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.7);
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.18s ease-out;
}

.btn-primary {
  border: none;
  background: linear-gradient(135deg, #38bdf8, #22c55e);
  color: #020617;
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.85);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* 右侧示意卡片 */
.hero-panel {
  position: relative;
  padding: 20px;
  border-radius: 22px;
  background: radial-gradient(
      circle at 0 0,
      rgba(56, 189, 248, 0.12),
      transparent 55%
    ),
    radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.24), transparent 55%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  min-height: 250px;
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-logo {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 20px rgba(148, 163, 184, 0.7));
}

.hero-logo-text {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-sub);
}

.hero-metric {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 6px;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-chip {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-sub);
}

.hero-orbit {
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.22);
  pointer-events: none;
  animation: spin 26s linear infinite;
}

.hero-orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.9);
  top: 6%;
  left: 52%;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 通用容器 */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 18px 70px;
}

.section-header {
  margin-bottom: 26px;
}

.section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.section-desc {
  font-size: 14px;
  color: var(--text-sub);
  max-width: 560px;
  line-height: 1.8;
}

/* 能力卡片 */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), #020617);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 18px 18px 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
    border-color 0.18s ease-out, background 0.18s ease-out;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at 0 0,
    rgba(56, 189, 248, 0.13),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  border-color: rgba(56, 189, 248, 0.8);
  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 1),
    #020617
  );
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.card-tag {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 11px;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.card-body {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* 场景/解决方案 */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(55, 65, 81, 0.9);
  color: var(--text-sub);
}

/* 流程时间线 */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  background: rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 14px 14px 16px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

.step-badge {
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.step-title {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 4px;
  font-weight: 500;
}

/* 联系区 */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 28px;
}

@media (max-width: 880px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 18px 18px 20px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.8;
}

.contact-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.contact-item {
  margin-bottom: 6px;
}

.footer {
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  padding: 20px 18px 26px;
  font-size: 11px;
  color: #6b7280;
  text-align: center;
  margin-top: 40px;
}

/* 动画：进入时淡入上移 */
[data-anim] {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s ease-out forwards;
}

[data-anim="hero"] {
  animation-delay: 0.05s;
}

[data-anim="hero-right"] {
  animation-delay: 0.18s;
}

[data-anim="section-1"] {
  animation-delay: 0.05s;
}

[data-anim="section-2"] {
  animation-delay: 0.12s;
}

[data-anim="section-3"] {
  animation-delay: 0.19s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
