/* 魔壳AI — 营销落地页 */
:root {
  --bg-deep: #070a12;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f6fb;
  --text-muted: #8b95a8;
  --accent: #5eead4;
  --accent-dim: rgba(94, 234, 212, 0.15);
  --accent-2: #a78bfa;
  --gradient-hero: linear-gradient(135deg, #0d1525 0%, #070a12 45%, #0a1628 100%);
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --radius: 14px;
  --shadow-glow: 0 0 80px rgba(94, 234, 212, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* 背景网格与光晕 */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(94, 234, 212, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(167, 139, 250, 0.08), transparent),
    var(--gradient-hero);
}

.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black, transparent);
  pointer-events: none;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* 导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(7, 10, 18, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  color: #070a12;
  letter-spacing: 0;
  line-height: 1;
}

.nav-panel {
  display: contents;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #2dd4bf, #5eead4);
  color: #042f2e;
  box-shadow: 0 4px 24px rgba(94, 234, 212, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(94, 234, 212, 0.45);
}

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

.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
}

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

  .nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 1.5rem 1.25rem;
    background: rgba(7, 10, 18, 0.98);
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .site-header.nav-open .nav-panel {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-cta {
    flex-direction: column;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Hero + 大图 Banner */
.hero {
  padding: 0;
  position: relative;
}

.hero-banner {
  position: relative;
  min-height: clamp(22rem, 78vh, 52rem);
  max-height: min(92vh, 56rem);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(125deg, #0f172a 0%, #070a12 40%, #1e1b4b 100%);
}

.hero-banner__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner__img {
    transform: none;
  }
}

.hero-banner__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(7, 10, 18, 0.94) 0%,
      rgba(7, 10, 18, 0.72) 38%,
      rgba(7, 10, 18, 0.35) 62%,
      rgba(7, 10, 18, 0.2) 100%
    ),
    linear-gradient(to top, rgba(7, 10, 18, 0.88) 0%, transparent 42%);
  pointer-events: none;
}

.hero-banner__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse 55% 45% at 18% 42%,
    rgba(94, 234, 212, 0.14),
    transparent 65%
  );
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-banner__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: clamp(5.5rem, 12vw, 8rem) 0 clamp(3rem, 8vw, 5rem);
  max-width: 38rem;
}

.hero-banner__btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero-banner__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-stats-wrap {
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.6) 0%, var(--bg-deep) 100%);
}

@media (max-width: 768px) {
  .hero-banner__img {
    object-position: center center;
  }

  .hero-banner__inner {
    align-items: center;
    text-align: center;
    max-width: none;
    padding-top: clamp(4.5rem, 14vw, 6rem);
  }

  .hero-actions {
    justify-content: center;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(94, 234, 212, 0.25);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fade-up 0.6s ease-out both;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  max-width: none;
  margin-inline: 0;
  animation: fade-up 0.6s ease-out 0.08s both;
}

.hero h1 .highlight {
  display: block;
  margin-top: 0.2em;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(228, 232, 242, 0.82);
  max-width: 34rem;
  margin: 0 0 2rem;
  animation: fade-up 0.6s ease-out 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  margin-bottom: 0;
  animation: fade-up 0.6s ease-out 0.24s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 520px;
  margin-inline: auto;
  animation: fade-up 0.6s ease-out 0.32s both;
}

.stat {
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 支持平台 — 圆角媒体块 */
.platforms {
  padding: clamp(2.75rem, 7vw, 4.5rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.35) 0%, transparent 45%);
}

.platforms-card {
  border-radius: 22px;
  padding: clamp(2.25rem, 5.5vw, 3.75rem) clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 42%,
    rgba(94, 234, 212, 0.04) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 28px 64px rgba(0, 0, 0, 0.35);
}

.platforms-card__head {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto clamp(2.25rem, 5vw, 3rem);
}

.platforms-card__eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(94, 234, 212, 0.22);
}

.platforms-card__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.5rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.platforms-card__lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.platform-tags {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.75rem, 1fr));
  gap: clamp(0.85rem, 2.5vw, 1.35rem);
  max-width: 52rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .platform-tags {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.1rem 1.3rem;
  }
}

.platform-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 5.75rem;
  padding: 1.15rem 0.75rem 1.2rem;
  text-align: center;
  background: rgba(7, 10, 18, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.25s,
    box-shadow 0.25s;
}

.platform-tag:hover {
  border-color: rgba(94, 234, 212, 0.35);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.platform-icon {
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color 0.25s, transform 0.25s;
}

.platform-icon path {
  fill: currentColor;
}

.platform-tag:hover .platform-icon {
  color: var(--accent);
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .platform-tag:hover {
    transform: none;
  }

  .platform-tag:hover .platform-icon {
    transform: none;
  }
}

.platform-tag__label {
  line-height: 1.35;
  max-width: 100%;
  white-space: normal;
}

/* Section 通用 */
section {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* 特性卡片 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  border-color: rgba(94, 234, 212, 0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* 流程 */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(94, 234, 212, 0.35);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 套餐价格 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.pricing-card:hover {
  border-color: rgba(94, 234, 212, 0.22);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.pricing-card--featured {
  border-color: rgba(94, 234, 212, 0.45);
  background: linear-gradient(
    160deg,
    rgba(94, 234, 212, 0.08) 0%,
    var(--bg-card) 55%
  );
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.12);
}

.pricing-card--featured:hover {
  border-color: rgba(94, 234, 212, 0.55);
}

.pricing-card--enterprise {
  border-style: dashed;
  border-color: rgba(167, 139, 250, 0.35);
}

.pricing-card--enterprise:hover {
  border-color: rgba(167, 139, 250, 0.5);
}

.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #2dd4bf, #5eead4);
  color: #042f2e;
}

.pricing-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.pricing-desc {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 2.75rem;
}

.pricing-card--featured .pricing-desc {
  padding-right: 4.5rem;
}

@media (max-width: 560px) {
  .pricing-card--featured .pricing-desc {
    padding-right: 0;
  }
}

.pricing-price {
  margin: 0 0 1.35rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.pricing-currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

.pricing-amount {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-price--custom {
  min-height: 2.35rem;
  align-items: center;
  margin-bottom: 1.35rem;
}

.pricing-custom-label {
  font-size: 1.65rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(228, 232, 242, 0.88);
}

.pricing-features li {
  position: relative;
  padding-left: 1.35rem;
  line-height: 1.5;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-dim);
}

.pricing-features strong {
  color: var(--text);
  font-weight: 700;
}

.pricing-cta {
  width: 100%;
  margin-top: auto;
  justify-content: center;
}

.pricing-footnote {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.75;
  color: rgba(139, 149, 168, 0.9);
  max-width: 44rem;
  margin-inline: auto;
}

/* CTA */
.cta-band {
  margin: 2rem 0 0;
  padding: clamp(2.5rem, 6vw, 3.5rem);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(145deg, rgba(94, 234, 212, 0.12), rgba(167, 139, 250, 0.08));
  border: 1px solid rgba(94, 234, 212, 0.2);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.cta-band__lead {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 28rem;
  margin-inline: auto;
}

.cta-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.25rem;
}

.cta-contact__row {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.cta-contact__row a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.cta-contact__row a:hover {
  text-decoration: underline;
}

.cta-contact__weixin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.cta-contact__weixin-label {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.cta-weixin {
  margin: 0;
}

.cta-weixin img {
  display: block;
  width: min(200px, 52vw);
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner a {
  color: var(--text-muted);
}

.footer-inner a:hover {
  color: var(--accent);
}

.footer-copy a {
  margin-left: 0.15em;
}
