/* M8 影视平台介绍页 — 影院级深色主题 */
:root {
  --bg: #050508;
  --bg-elevated: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f4f8;
  --text-muted: #9a9aad;
  --pink: #ff5c9a;
  --pink-glow: rgba(255, 92, 154, 0.4);
  --cyan: #5ce1ff;
  --cyan-glow: rgba(92, 225, 255, 0.25);
  --blue: #5eb3ff;
  --blue-glow: rgba(94, 179, 255, 0.35);
  --purple: #b06aff;
  --purple-glow: rgba(176, 106, 255, 0.45);
  --gold: #f0c878;
  --gold-glow: rgba(240, 200, 120, 0.38);
  --gradient-brand: linear-gradient(135deg, #ff5c9a 0%, #b06aff 50%, #5ce1ff 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --font: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(176, 106, 255, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 92, 154, 0.08), transparent);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  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: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  will-change: auto;
}

.bg-glow--1 {
  width: 480px;
  height: 480px;
  background: var(--purple-glow);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
}

.bg-glow--2 {
  width: 360px;
  height: 360px;
  background: var(--pink-glow);
  bottom: 10%;
  right: -80px;
  opacity: 0.35;
}

.bg-glow--3 {
  width: 320px;
  height: 320px;
  background: var(--cyan-glow);
  bottom: 30%;
  left: -100px;
  opacity: 0.3;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 6, 12, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-header__wrap {
  padding-bottom: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 0.75rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mobile-top-nav {
  display: none;
}

.logo {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

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

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

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

.btn--primary {
  background: var(--gradient-brand);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 4px 28px var(--pink-glow), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn--primary:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 10px 40px var(--purple-glow);
}

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

.header-inner .nav-contact {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .header-inner .nav-contact {
    display: none;
  }
}

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

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 5rem 0 5.5rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffc8dc;
  background: rgba(255, 92, 154, 0.1);
  border: 1px solid rgba(255, 92, 154, 0.35);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 24px rgba(255, 92, 154, 0.15);
}

.hero-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  font-size: clamp(2.1rem, 5.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}

.hero-title__line {
  color: #fff;
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.15);
}

.hero-title__accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: #b8b8c8;
  max-width: 32em;
  margin-inline: auto;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 2.25rem;
}

.hero-tags span {
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #d8d8e8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--pink);
  margin-bottom: 0.65rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: rgba(255, 92, 154, 0.1);
  border: 1px solid rgba(255, 92, 154, 0.2);
}

.section-label--light {
  color: #ffc8dc;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 28em;
  margin-inline: auto;
}

/* Product showcase — 6 slots */
.showcase {
  padding-top: 3rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.showcase-item {
  margin: 0;
}

.showcase-item__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.showcase-item__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(0, 0, 0, 0.4) 100%
  );
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: 1;
}

.showcase-item:hover .showcase-item__frame {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 16px 48px rgba(168, 85, 247, 0.15);
}

.showcase-item:hover .showcase-item__frame::after {
  opacity: 1;
}

.showcase-item__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.5s ease;
}

.showcase-item.is-loaded .showcase-item__frame img {
  opacity: 1;
}

.showcase-item.is-loaded:hover .showcase-item__frame img {
  transform: scale(1.04);
}

.showcase-item.is-loaded .showcase-item__slot {
  opacity: 0;
  pointer-events: none;
}

.showcase-item__slot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.12);
  z-index: 0;
  user-select: none;
}

.showcase-item:not(.is-loaded) .showcase-item__frame {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
}

.showcase-item:not(.is-loaded) .showcase-item__frame::before {
  content: "待上传图片";
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--text-muted);
  z-index: 2;
}

/* Plan cards */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.plan-card__glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 200px;
  opacity: 0.15;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
}

.plan-card--pink .plan-card__glow { background: var(--pink); }
.plan-card--blue .plan-card__glow { background: var(--blue); }
.plan-card--purple .plan-card__glow { background: var(--purple); }
.plan-card--gold .plan-card__glow { background: var(--gold); }

.plan-card--pink { --accent: var(--pink); --accent-glow: var(--pink-glow); }
.plan-card--blue { --accent: var(--blue); --accent-glow: var(--blue-glow); }
.plan-card--purple { --accent: var(--purple); --accent-glow: var(--purple-glow); }
.plan-card--gold { --accent: var(--gold); --accent-glow: var(--gold-glow); }

.plan-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 20px 48px var(--accent-glow);
}

.plan-card--featured {
  border-color: color-mix(in srgb, var(--purple) 50%, transparent);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.2), 0 16px 40px var(--purple-glow);
}

.plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--purple);
  color: #fff;
  border-radius: 6px;
}

.plan-card__head {
  margin-bottom: 1rem;
}

.plan-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.plan-icon svg {
  width: 22px;
  height: 22px;
}

.plan-icon--pink {
  background: rgba(255, 77, 141, 0.15);
  color: var(--pink);
}

.plan-icon--blue {
  background: rgba(77, 166, 255, 0.15);
  color: var(--blue);
}

.plan-icon--purple {
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple);
}

.plan-icon--gold {
  background: rgba(232, 184, 109, 0.15);
  color: var(--gold);
}

.plan-card__head h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.plan-card__tagline {
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 0.15rem;
}

/* Promo banner */
.promo-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(
    90deg,
    rgba(255, 77, 141, 0.12),
    rgba(168, 85, 247, 0.12),
    rgba(232, 184, 109, 0.1)
  );
  border: 1px solid rgba(255, 77, 141, 0.25);
  overflow: hidden;
}

.promo-banner__pulse {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--pink), var(--purple));
  animation: promo-pulse 2s ease-in-out infinite;
}

@keyframes promo-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.promo-banner__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.promo-banner p {
  font-size: 0.88rem;
  color: #d8d8e4;
  margin: 0;
}

.promo-banner strong {
  color: var(--pink);
}

/* Plan price — limited offer */
.plan-price {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  border: 1px dashed color-mix(in srgb, var(--accent) 35%, transparent);
}

.plan-deal-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.plan-deal-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #000));
  border-radius: 4px;
  animation: deal-shimmer 3s ease-in-out infinite;
}

.plan-deal-off {
  display: inline-flex;
  padding: 0.2rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 4px;
}

@keyframes deal-shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

.plan-price__original {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.plan-price__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-price__was {
  font-size: 0.95rem;
  color: #6a6a7a;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 100, 100, 0.6);
  text-decoration-thickness: 2px;
}

.plan-price__current {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  line-height: 1;
}

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

.plan-price__amount {
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--text);
  text-shadow: 0 0 40px var(--accent-glow);
}

.plan-price__period {
  margin-left: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  align-self: flex-end;
  padding-bottom: 0.25rem;
}

.plan-price__save {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 90%, #fff),
    var(--accent)
  );
  border-radius: 999px;
  box-shadow: 0 2px 12px var(--accent-glow);
}

.plan-card--featured .plan-price {
  border-style: solid;
  border-color: color-mix(in srgb, var(--purple) 45%, transparent);
  background: rgba(168, 85, 247, 0.08);
}

.plans .plan-card__head {
  margin-bottom: 0.75rem;
}

.plan-card--gold .plan-price__amount {
  background: linear-gradient(135deg, #fff 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 1rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #d0d0dc;
  padding: 0.35rem 0;
  line-height: 1.45;
}

.plan-features .check {
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
}

.plan-audience {
  padding: 0.85rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
}

.plan-audience strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.plan-audience p {
  color: #b8b8c8;
  line-height: 1.5;
}

.plan-highlight {
  padding: 0.75rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.plan-highlight p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Compare table */
.compare {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--border);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-muted);
  position: sticky;
  left: 0;
  background: rgba(12, 12, 18, 0.95);
  z-index: 1;
}

.compare-table thead th {
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.compare-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.compare-table .yes {
  color: #6ee7a0;
  font-weight: 600;
}

.compare-table .no {
  color: #666;
}

/* Highlights */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.highlight-card {
  padding: 1.75rem 1.25rem;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.highlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(176, 106, 255, 0.35);
  box-shadow: 0 16px 40px rgba(176, 106, 255, 0.12);
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.highlight-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Contact */
.contact {
  padding-bottom: 5rem;
}

.contact-inner {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    145deg,
    rgba(255, 92, 154, 0.1),
    rgba(176, 106, 255, 0.08) 50%,
    rgba(92, 225, 255, 0.06)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.contact-inner h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 0.5rem;
}

.contact-inner > p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto 1.75rem;
  text-align: left;
}

button.contact-channel {
  width: 100%;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-channel:hover {
  transform: translateY(-3px);
}

.contact-channel--telegram:hover {
  border-color: rgba(42, 171, 238, 0.5);
  box-shadow: 0 12px 36px rgba(42, 171, 238, 0.2);
}

.contact-channel--safew:hover {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 12px 36px rgba(99, 102, 241, 0.22);
}

.contact-channel--dingtalk:hover {
  border-color: rgba(0, 137, 255, 0.5);
  box-shadow: 0 12px 36px rgba(0, 137, 255, 0.22);
}

.contact-channel--chat:hover {
  border-color: rgba(255, 122, 69, 0.55);
  box-shadow: 0 12px 36px rgba(255, 122, 69, 0.22);
}

.contact-channel__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.contact-channel__icon svg {
  width: 28px;
  height: 28px;
}

.contact-channel--telegram .contact-channel__icon {
  background: linear-gradient(135deg, #2aabee, #229ed9);
  color: #fff;
}

.contact-channel--chat .contact-channel__icon {
  background: linear-gradient(135deg, #ff7a45, #ff4d4f);
  color: #fff;
}

.contact-channel--dingtalk .contact-channel__icon,
.contact-channel--safew .contact-channel__icon {
  background: transparent;
  padding: 0;
  overflow: visible;
  border-radius: 50%;
}

.contact-channel__icon--img img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.contact-channel--safew .contact-channel__icon--img img {
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.35));
}

.contact-channel--dingtalk .contact-channel__icon--img img {
  filter: drop-shadow(0 4px 14px rgba(0, 137, 255, 0.45));
}

.contact-channel__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-channel__name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contact-channel__id {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e0e0ea;
}

.contact-channel__hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.contact-channel__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.contact-channel__arrow svg {
  width: 18px;
  height: 18px;
}

.contact-channel:hover .contact-channel__arrow {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  transform: translate(2px, -2px);
}

/* 右下角快捷咨询 */
.contact-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-float__btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-float__btn svg {
  width: 26px;
  height: 26px;
}

.contact-float__btn:hover {
  transform: scale(1.08);
}

.contact-float__btn--tg {
  background: linear-gradient(135deg, #2aabee, #229ed9);
}

.contact-float__btn--chat {
  background: linear-gradient(135deg, #ff7a45, #ff4d4f);
  border: none;
  cursor: pointer;
}

.contact-float__btn--dingtalk,
.contact-float__btn--safew {
  background: transparent;
  padding: 0;
  overflow: visible;
}

.contact-float__btn--safew {
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.45);
}

.contact-float__btn--dingtalk {
  box-shadow: 0 4px 20px rgba(0, 137, 255, 0.45);
}

.contact-float__btn--safew img,
.contact-float__btn--dingtalk img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

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

.contact-hint.success {
  color: #6ee7a0;
}

/* 在线客服加载反馈 */
.chat-toast {
  position: fixed;
  bottom: 6.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(20, 20, 32, 0.92);
  border: 1px solid rgba(255, 92, 154, 0.35);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  pointer-events: none;
  animation: toast-in 0.25s ease;
}

.chat-toast[hidden] {
  display: none;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.is-chat-loading {
  pointer-events: none;
  opacity: 0.75;
  position: relative;
}

.is-chat-loading::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

#header-chat.is-chat-loading::after {
  right: 0.65rem;
  top: 50%;
  margin-top: -0.5rem;
}

#link-chatwoot.is-chat-loading::after,
.contact-float__btn--chat.is-chat-loading::after {
  right: 1rem;
  top: 50%;
  margin-top: -0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1100px) {
  .contact-channels {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
  }

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

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

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

@media (max-width: 768px) {
  .nav--desktop {
    display: none;
  }

  .site-header__wrap {
    padding-bottom: 0;
  }

  .header-inner {
    min-height: 52px;
  }

  .header-actions .nav-contact {
    display: none;
  }

  .mobile-top-nav {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 0 0.65rem;
    margin: 0 -0.25rem;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }

  .mobile-top-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-top-nav a {
    flex-shrink: 0;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-top-nav a:active {
    color: var(--text);
    border-color: rgba(255, 92, 154, 0.4);
    background: rgba(255, 92, 154, 0.1);
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .contact-channels {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  @media (min-width: 520px) and (max-width: 768px) {
    .contact-channels {
      grid-template-columns: repeat(2, 1fr);
      max-width: 560px;
    }

  }

  .contact-float {
    right: 1rem;
    bottom: 1rem;
  }

  .contact-float__btn {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .header-inner .btn--sm {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* 手机底部导航 */
.mobile-nav {
  display: none;
}

/* 性能：移动端减弱高耗能效果 */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }

  .mobile-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    justify-content: space-around;
    align-items: stretch;
    padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 8, 14, 0.96);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }

  .mobile-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.35rem 0.25rem;
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav__icon {
    font-size: 1.15rem;
    line-height: 1;
  }

  .mobile-nav__item--chat {
    color: #ffc8dc;
  }

  .mobile-nav__item:active {
    color: var(--text);
    opacity: 0.85;
  }

  .contact-float {
    display: none;
  }

  .chat-toast {
    bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    padding-inline: 0.5rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .hero-tags span {
    font-size: 0.72rem;
    padding: 0.32rem 0.7rem;
  }

  .table-wrap {
    -webkit-overflow-scrolling: touch;
    margin-inline: -0.25rem;
    border-radius: var(--radius);
  }

  .compare-table {
    font-size: 0.8rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 0.7rem 0.65rem;
  }

  .contact-inner {
    padding: 2rem 1rem;
  }

  .site-footer {
    padding-bottom: 0.5rem;
  }

  .bg-glow {
    display: none;
  }

  .bg-mesh {
    opacity: 0.12;
  }

  .site-header {
    backdrop-filter: none;
    background: rgba(5, 5, 8, 0.94);
  }

  .plan-card:hover,
  .showcase-item:hover .showcase-item__frame,
  .highlight-card:hover,
  .contact-channel:hover {
    transform: none;
  }

  .contact-channel,
  .plan-card,
  .highlight-card {
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .bg-glow,
  .hero-badge__dot {
    animation: none;
  }
}
