/* ===== 变量与基础 ===== */
:root {
  --bg: #0B0B16;
  --surface: #11111E;
  --surface-2: #151527;
  --violet: #7C5CFF;
  --blue: #3B82F6;
  --cyan: #22D3EE;
  --grad: linear-gradient(135deg, #7C5CFF, #3B82F6 55%, #22D3EE);
  --grad-soft: linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(59, 130, 246, 0.12), rgba(34, 211, 238, 0.14));
  --ink: #F2F4FA;
  --muted: rgba(235, 238, 248, 0.62);
  --line: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.06);
  --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --container: 1200px;
  --header-h: 72px;
  --font: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

section {
  scroll-margin-top: calc(var(--header-h) - 10px);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 通用按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-gradient {
  background: var(--grad);
  color: #0B0B16;
  box-shadow: 0 8px 26px rgba(124, 92, 255, 0.38);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(124, 92, 255, 0.5);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(11, 11, 22, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: 62px;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  line-height: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
}

.brand-sub {
  font-size: 9px;
  letter-spacing: 2.6px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--grad);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 22px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero：终端窗口 ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #0B0B16, #0E1024 55%, #0B0B16);
  color: #fff;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg .grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.orb-a {
  top: -12%;
  right: -8%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.5), transparent 65%);
}

.orb-b {
  bottom: -22%;
  left: -12%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 65%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--cyan);
  margin-bottom: 22px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--cyan);
}

.hero-title {
  font-size: clamp(46px, 8vw, 84px);
  font-weight: 700;
  letter-spacing: 6px;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(120deg, #fff 20%, #A78BFA 55%, #22D3EE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 640px;
  font-size: clamp(16px, 2.2vw, 18px);
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.9;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

/* 终端卡片 */
.terminal {
  width: 100%;
  max-width: 620px;
  text-align: left;
  background: rgba(17, 17, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.term-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }

.terminal-title {
  margin-left: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

.terminal-body {
  padding: 20px 22px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 2;
}

.term-line {
  color: rgba(255, 255, 255, 0.72);
}

.term-prompt {
  color: var(--cyan);
  margin-right: 8px;
  font-weight: 700;
}

.term-mark {
  margin-right: 8px;
}

.term-line.ok {
  color: rgba(255, 255, 255, 0.85);
}

.term-line.ok .term-mark {
  color: #28C840;
}

.term-line.run {
  color: rgba(255, 255, 255, 0.85);
}

.term-line.run .term-mark {
  color: var(--cyan);
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  50% { opacity: 0.3; }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 2;
}

.hero-scroll span {
  width: 2px;
  height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scroll-dot 1.6s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ===== 通用 Section ===== */
.section {
  padding: 104px 0;
}

.section-about,
.section-scenes {
  background: var(--bg);
}

.section-training,
.section-accompany {
  background: var(--surface);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-desc {
  font-size: 16px;
  color: var(--muted);
}

/* ===== 关于我们：痛点 vs 解法 ===== */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}

.compare-card {
  padding: 42px 38px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}

.compare-card.pain {
  border-color: rgba(255, 100, 100, 0.22);
}

.compare-card.solution {
  border-color: rgba(34, 211, 238, 0.3);
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.08), rgba(34, 211, 238, 0.05));
}

.compare-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.compare-card.pain .compare-title {
  color: #FF9E9E;
}

.compare-card.solution .compare-title {
  color: #7EE7F5;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.compare-item:last-child {
  margin-bottom: 0;
}

.compare-mark {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}

.mark-x {
  background: rgba(255, 100, 100, 0.15);
  color: #FF8A8A;
}

.mark-check {
  background: rgba(40, 200, 64, 0.15);
  color: #28C840;
}

.compare-item p {
  color: var(--muted);
  font-size: 15px;
}

/* ===== AI 培训：水平流程管道 ===== */
.pipeline {
  display: flex;
  align-items: stretch;
  gap: 16px;
  justify-content: center;
}

.pipe-step {
  flex: 1;
  max-width: 240px;
  padding: 34px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.pipe-step:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 92, 255, 0.55);
  background: var(--card-hover);
}

.pipe-num {
  display: inline-block;
  font-size: 30px;
  font-weight: 700;
  color: #A78BFA;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 16px;
}

.pipe-step h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.pipe-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.pipe-arrow {
  align-self: center;
  font-size: 26px;
  color: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

/* ===== 陪跑服务：2x2 卡片 ===== */
.accompany-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.accompany-card {
  position: relative;
  padding: 38px 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.accompany-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.5);
  background: var(--card-hover);
}

.accompany-watermark {
  position: absolute;
  top: -16px;
  right: 8px;
  font-size: 110px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  pointer-events: none;
}

.accompany-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  color: var(--cyan);
  background: var(--grad-soft);
  margin-bottom: 20px;
}

.accompany-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.accompany-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ===== 应用场景：玻璃卡片 ===== */
.scenes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scene-card {
  position: relative;
  padding: 36px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.scene-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.scene-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, 0.5);
  box-shadow: 0 18px 50px rgba(124, 92, 255, 0.18);
}

.scene-card:hover::before {
  transform: scaleX(1);
}

.scene-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--cyan);
  background: var(--grad-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.scene-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.scene-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ===== 核心优势：玻璃拟态 ===== */
.section-advantage {
  position: relative;
  background: linear-gradient(180deg, #0E1024, #0B0B16);
  overflow: hidden;
}

.section-advantage::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124, 92, 255, 0.2), transparent 65%);
}

.advantage-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-item {
  padding: 32px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(8px);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.advantage-item:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 92, 255, 0.6);
  background: var(--card-hover);
}

.advantage-num {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.advantage-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.advantage-item p {
  font-size: 14px;
  color: var(--muted);
}

/* ===== 联系我们 ===== */
.contact-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px 60px;
  background: linear-gradient(135deg, #141433, #0E1024);
  border: 1px solid var(--line);
  border-radius: 20px;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.contact-card .section-eyebrow {
  color: var(--cyan);
}

.contact-desc {
  color: var(--muted);
  margin-bottom: 30px;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-person-label {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.4);
  padding: 4px 12px;
  border-radius: 999px;
}

.contact-person-name {
  font-size: 20px;
  font-weight: 600;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 700;
  color: #A78BFA;
  letter-spacing: 1px;
  transition: color 0.25s ease;
}

.contact-phone:hover {
  color: #fff;
}

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.contact-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== 页脚 ===== */
.site-footer {
  background: #08080F;
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-copy {
  font-size: 14px;
}

/* ===== 滚动淡入动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .pipeline {
    flex-wrap: wrap;
  }
  .pipe-step {
    max-width: calc(50% - 8px);
    flex-basis: calc(50% - 8px);
  }
  .pipe-arrow {
    display: none;
  }
  .scenes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 0 40px;
    background: rgba(11, 11, 22, 0.98);
    backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .site-nav.open {
    transform: translateX(0);
  }
  .nav-link {
    font-size: 18px;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .accompany-grid {
    grid-template-columns: 1fr;
  }

  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 72px 0;
  }
  .section-head {
    margin-bottom: 42px;
  }
  .hero-inner {
    padding-top: 80px;
  }
  .pipe-step {
    max-width: 100%;
    flex-basis: 100%;
  }
  .scenes-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .contact-phone {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-scroll span {
    animation: none;
  }
}
