/* ========== 基础 ========== */
:root {
  --primary: #2f6bff;
  --primary-dark: #1d4fd8;
  --accent: #00d4ff;
  --ink: #0d1730;
  --text: #4a5570;
  --muted: #8b94ad;
  --bg: #ffffff;
  --bg-alt: #f5f8ff;
  --line: #e6ebf5;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(29, 63, 160, 0.08);
  --shadow-lg: 0 24px 70px rgba(29, 63, 160, 0.16);
  --grad: linear-gradient(120deg, #2f6bff, #00d4ff);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ========== 导航栏 ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.navbar.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-size: 22px; font-weight: 800;
  font-family: "Georgia", serif;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; color: var(--ink); font-size: 17px; }
.logo-text em { font-style: normal; font-size: 10px; letter-spacing: 3px; color: var(--muted); font-weight: 500; }

.nav-links { display: flex; gap: 8px; margin-left: auto; }
.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--text);
  transition: all 0.25s ease;
}
.nav-links a:hover { color: var(--primary); background: rgba(47, 107, 255, 0.08); }
.nav-links a.active { color: var(--primary); font-weight: 600; }

.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13, 23, 48, 0.25); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--bg-alt); }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: float 9s ease-in-out infinite;
}
.blob-1 { width: 480px; height: 480px; background: #7fb2ff; top: -140px; left: -100px; }
.blob-2 { width: 420px; height: 420px; background: #9ff1ff; bottom: -160px; right: -80px; animation-delay: 3s; }

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(47, 107, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 107, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 40%, transparent 100%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 25px) scale(1.06); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(47, 107, 255, 0.1);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.2;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 1px;
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub { margin: 24px 0 34px; font-size: 17px; max-width: 540px; }
.hero-sub strong { color: var(--ink); }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 30px rgba(47, 107, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(47, 107, 255, 0.45); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.btn-outline { background: #fff; color: var(--primary); border-color: rgba(47, 107, 255, 0.4); width: 100%; }
.btn-outline:hover { background: var(--primary); color: #fff; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.stat strong { display: block; font-size: 26px; color: var(--ink); font-weight: 800; }
.stat strong i { font-style: normal; font-size: 14px; font-weight: 600; color: var(--primary); margin-left: 2px; }
.stat span { font-size: 13px; color: var(--muted); }

/* 模拟界面 mockup */
.hero-visual { position: relative; }
.mockup {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transform: rotate(1.2deg);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f2f6ff;
  border-bottom: 1px solid var(--line);
}
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5deef; }
.mockup-bar i:first-child { background: #ff7a6e; }
.mockup-bar i:nth-child(2) { background: #ffce50; }
.mockup-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); }

.mockup-body { display: grid; grid-template-columns: 130px 1fr; min-height: 320px; }
.m-side {
  background: var(--ink);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.m-side span { font-size: 12px; color: rgba(255, 255, 255, 0.55); padding: 8px 10px; border-radius: 8px; }
.m-side span.active { background: rgba(47, 107, 255, 0.35); color: #fff; }

.m-main { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.m-card label { font-size: 11px; color: var(--muted); }
.m-card b { font-size: 15px; color: var(--ink); }
.m-card i { font-style: normal; font-size: 10px; font-weight: 700; }
.m-card .up { color: #16b364; }
.m-card .down { color: #f0544f; }

.m-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: 10px;
}
.m-chart .bar {
  flex: 1;
  height: var(--h);
  background: var(--grad);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

.m-rows { display: flex; flex-direction: column; gap: 8px; }
.m-rows > div {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text);
  background: var(--bg-alt);
  padding: 8px 12px;
  border-radius: 8px;
}
.m-rows b { color: #16b364; }

.float-chip {
  position: absolute;
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  animation: chipFloat 5s ease-in-out infinite;
}
.chip-1 { top: -18px; right: 12px; }
.chip-2 { bottom: -16px; left: -6px; animation-delay: 2s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ========== 通用 Section ========== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--ink);
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 48px; height: 4px;
  border-radius: 4px;
  background: var(--grad);
}
.section-head p { margin-top: 14px; font-size: 16px; color: var(--muted); }

/* ========== 产品 ========== */
.platform-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 60px;
}
.p-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.p-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.p-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 28px;
  background: rgba(47, 107, 255, 0.1);
  margin-bottom: 20px;
}
.p-card h3 { color: var(--ink); font-size: 21px; margin-bottom: 10px; }
.p-card > p { margin-bottom: 18px; }
.p-card ul { display: grid; gap: 10px; }
.p-card li { font-size: 14.5px; padding-left: 24px; position: relative; }
.p-card li::before {
  content: "✓";
  position: absolute; left: 0;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: rgba(22, 179, 100, 0.12);
  color: #16b364;
  font-size: 11px;
  font-weight: 800;
  display: grid; place-items: center;
  top: 4px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.f-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.f-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(47, 107, 255, 0.35); }
.f-icon { font-size: 30px; display: block; margin-bottom: 12px; }
.f-item h4 { color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.f-item p { font-size: 14px; }

/* ========== 价格 ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.04);
  z-index: 2;
  box-shadow: 0 24px 70px rgba(47, 107, 255, 0.3);
  background: linear-gradient(180deg, #f2f8ff 0%, #ffffff 38%);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-8px); }

.plan-flag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name { color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: 2px; }
.plan-for { color: var(--ink); font-size: 17px; font-weight: 700; margin: 6px 0 14px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 8px; }
.plan-price em { font-style: normal; font-size: 24px; font-weight: 800; color: var(--primary); }
.plan-price .price-num {
  font-size: 62px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--primary);
}
.plan-price strong {
  font-style: normal;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 2px;
}
.plan-price strong::after { content: " "; }
.plan-desc { font-size: 14px; margin: 10px 0 22px; padding-bottom: 20px; border-bottom: 1px dashed var(--line); }

.plan-features { flex: 1; display: grid; gap: 11px; margin-bottom: 26px; }
.plan-features li { font-size: 14.5px; padding-left: 26px; position: relative; color: var(--ink); }
.plan-features li.on::before {
  content: "✓";
  position: absolute; left: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(22, 179, 100, 0.12);
  color: #16b364;
  font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
  top: 3px;
}
.plan-features li.off { color: var(--muted); }
.plan-features li.off::before {
  content: "—";
  position: absolute; left: 4px;
  color: #c3c9d8;
  font-weight: 700;
}

.pricing-note { text-align: center; margin-top: 36px; font-size: 14px; color: var(--muted); }
.pricing-note a { color: var(--primary); font-weight: 700; }

/* ========== 服务 ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.s-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.s-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.s-icon {
  width: 62px; height: 62px;
  border-radius: 16px;
  background: rgba(47, 107, 255, 0.1);
  display: grid; place-items: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.s-card h3 { color: var(--ink); font-size: 20px; margin-bottom: 10px; }
.s-card p { font-size: 14.5px; margin-bottom: 18px; }
.s-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.s-tags i {
  font-style: normal;
  font-size: 12px;
  color: var(--primary);
  background: rgba(47, 107, 255, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ========== 联系 ========== */
.contact-wrap { max-width: 760px; margin: 0 auto; }
.contact-info h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 12px;
}
.contact-sub { margin-bottom: 28px; }

.contact-phone {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 26px;
}
.contact-phone:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cp-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
.contact-phone label { display: block; font-size: 13px; color: var(--muted); }
.contact-phone strong { font-size: 24px; color: var(--ink); font-weight: 800; letter-spacing: 1px; }

.contact-list { display: grid; gap: 12px; margin-bottom: 28px; }
.contact-list li { font-size: 14.5px; display: flex; gap: 10px; align-items: baseline; }
.contact-list b { color: var(--ink); }

.contact-code {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 13px;
  background: var(--ink);
  color: #9fd0ff;
  border-radius: 12px;
  padding: 18px 22px;
  line-height: 1.9;
  overflow-x: auto;
}
.contact-code i { color: #7ee787; font-style: normal; }

.contact-cta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.contact-cta h3 { color: var(--ink); font-size: 22px; margin-bottom: 8px; }
.contact-cta > p { font-size: 14px; margin-bottom: 22px; }

.contact-form { display: grid; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-alt);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12);
  background: #fff;
}
.form-tip { font-size: 13.5px; color: #16b364; font-weight: 600; text-align: center; }

/* ========== 页脚 ========== */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.65); padding: 56px 0 34px; }
.footer .logo-text { color: #fff; }
.footer .logo-text em { color: rgba(255, 255, 255, 0.4); }
.footer-brand p { margin-top: 18px; font-size: 13.5px; }
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 28px 0;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-nav a { font-size: 14px; transition: color 0.25s ease; }
.footer-nav a:hover { color: #fff; }
.footer-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.footer-meta a { color: rgba(255, 255, 255, 0.65); }
.footer-meta a:hover { color: #fff; }

/* 悬浮拨打按钮 */
.call-fab {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 24px;
  box-shadow: 0 14px 34px rgba(47, 107, 255, 0.45);
  z-index: 90;
  transition: transform 0.25s ease;
  animation: chipFloat 4s ease-in-out infinite;
}
.call-fab:hover { transform: scale(1.1); }

/* ========== 入场动画 ========== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }
.d4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .float-chip, .call-fab { animation: none; }
}

/* ========== 响应式 ========== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding-top: 120px; }
  .platform-cards, .feature-grid, .pricing-grid, .services-grid, .contact-wrap { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-8px); }

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 16px 6%;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .footer-meta { justify-content: center; text-align: center; }
  .mockup-body { grid-template-columns: 1fr; }
  .m-side { flex-direction: row; flex-wrap: wrap; }
  .m-side span { font-size: 11px; }
}
