/* 媒小助软件 · 搜狐红资讯风 */
:root {
  --sohu-red: #d7000f;
  --sohu-red-dark: #b4000c;
  --sohu-red-soft: #fff1f2;
  --ink: #1a1a1a;
  --ink-2: #333;
  --muted: #666;
  --line: #e8e8e8;
  --bg: #f5f5f5;
  --white: #fff;
  --max: 1180px;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(0, 0, 0, .06);
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --display: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}
a { color: var(--sohu-red); text-decoration: none; }
a:hover { color: var(--sohu-red-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }

/* Header · 搜狐顶栏 */
.site-top {
  background: var(--sohu-red);
  color: #fff;
  font-size: 13px;
}
.site-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
}
.site-top a { color: #fff; margin-left: 14px; text-decoration: none; }
.site-top a:hover { opacity: .9; text-decoration: underline; }

.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--sohu-red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: var(--ink) !important;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(145deg, #ff2a2a, #d7000f 55%, #9e0009);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
  letter-spacing: -1px;
  box-shadow: 0 4px 0 #8f0008;
}
.brand-text strong {
  display: block;
  font-size: 22px;
  font-family: var(--display);
  line-height: 1.2;
  color: var(--ink);
}
.brand-text span {
  font-size: 12px;
  color: var(--muted);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  align-items: center;
}
.nav a {
  color: var(--ink-2);
  padding: 8px 12px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.nav a:hover,
.nav a.active {
  color: var(--sohu-red);
  background: var(--sohu-red-soft);
  text-decoration: none;
}
.nav-cta {
  background: var(--sohu-red) !important;
  color: #fff !important;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--sohu-red-dark) !important; color: #fff !important; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
}

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(215, 0, 15, .18), transparent 35%),
    linear-gradient(120deg, #1a1a1a 0%, #2b0a0d 45%, #4a0008 100%);
  color: #fff;
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--sohu-red);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: center;
}
.hero-kicker {
  display: inline-block;
  background: var(--sohu-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: .5px;
}
.hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  font-family: var(--display);
}
.hero-lead {
  color: rgba(255,255,255,.82);
  font-size: 16px;
  max-width: 540px;
  margin: 0 0 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: .2s ease;
}
.btn-primary { background: var(--sohu-red); color: #fff !important; }
.btn-primary:hover { background: #ff1a28; color: #fff !important; }
.btn-ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.45);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline {
  background: #fff;
  color: var(--sohu-red) !important;
  border: 1px solid var(--sohu-red);
}
.btn-outline:hover { background: var(--sohu-red-soft); }
.hero-panel {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 18px;
  backdrop-filter: blur(6px);
}
.hero-panel img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
  background: #111;
  display: block;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.price-now {
  color: #ffd2d5;
  font-size: 28px;
  font-weight: 800;
}
.price-now em { font-style: normal; font-size: 14px; margin-left: 2px; }
.price-old {
  color: rgba(255,255,255,.55);
  text-decoration: line-through;
}
.tag-sale {
  background: #ffd400;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 2px;
}

/* Sections */
.section { padding: 48px 0; }
.section-white { background: var(--white); }
.section-soft { background: var(--sohu-red-soft); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  border-left: 4px solid var(--sohu-red);
  padding-left: 12px;
}
.section-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.3;
}
.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.section-head .more {
  white-space: nowrap;
  font-weight: 700;
  text-decoration: none;
}
.section-head .more:hover { text-decoration: underline; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-item,
.scene-item,
.news-card,
.info-box,
.faq-item,
.step-item,
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
  transition: .2s ease;
}
.feature-item:hover,
.news-card:hover,
.scene-item:hover {
  border-color: #f2b4b8;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--sohu-red-soft);
  color: var(--sohu-red);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 12px;
}
.feature-item h3,
.scene-item h3,
.step-item h3,
.price-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.feature-item p,
.scene-item p,
.step-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.stat {
  background: #111;
  color: #fff;
  border-radius: 6px;
  padding: 18px;
  text-align: center;
  border-top: 3px solid var(--sohu-red);
}
.stat strong {
  display: block;
  font-size: 28px;
  color: #ffd2d5;
}
.stat span { font-size: 13px; color: rgba(255,255,255,.7); }

/* News cards */
.news-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.news-card a.cover {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #eee;
}
.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.news-card:hover img { transform: scale(1.04); }
.news-card .body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.news-card .meta {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}
.news-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.45;
}
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a:hover { color: var(--sohu-red); }
.news-card .excerpt {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tables / compare */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}
.compare th,
.compare td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
}
.compare th { background: var(--sohu-red); color: #fff; }
.compare tr:nth-child(even) td { background: #fafafa; }

/* FAQ */
.faq-item { margin-bottom: 12px; }
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--ink);
}
.faq-item h3::before {
  content: "Q";
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  background: var(--sohu-red);
  color: #fff;
  border-radius: 3px;
  font-size: 12px;
  margin-right: 8px;
  vertical-align: middle;
}
.faq-item p { margin: 0; color: var(--muted); padding-left: 30px; }

/* Pricing */
.price-card.hot {
  border-color: var(--sohu-red);
  box-shadow: 0 0 0 1px var(--sohu-red);
  position: relative;
}
.price-card .badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--sohu-red);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 2px;
}
.price-card .amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--sohu-red);
  margin: 8px 0;
}
.price-card .amount em { font-style: normal; font-size: 14px; }
.price-card ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

/* Breadcrumb / page hero */
.page-banner {
  background: linear-gradient(90deg, #1a1a1a, #3a0508);
  color: #fff;
  padding: 28px 0;
}
.page-banner h1 { margin: 8px 0 6px; font-size: 28px; }
.page-banner p { margin: 0; color: rgba(255,255,255,.75); }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.65); }
.breadcrumb a { color: #ffd2d5; text-decoration: none; }
.breadcrumb span { margin: 0 6px; }

.content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  padding: 32px 0 48px;
}
.main-col, .side-col > * {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.main-col { padding: 24px; }
.side-box { padding: 18px; margin-bottom: 16px; }
.side-box h3 {
  margin: 0 0 12px;
  font-size: 16px;
  border-left: 3px solid var(--sohu-red);
  padding-left: 8px;
}
.side-box ul { margin: 0; padding-left: 18px; }
.side-box li { margin: 6px 0; font-size: 14px; }
.qr-box { text-align: center; }
.qr-box img {
  width: 160px;
  margin: 0 auto 10px;
  border: 1px solid var(--line);
  padding: 6px;
  background: #fff;
}

/* Article */
.article-cover {
  width: 100%;
  border-radius: 6px;
  margin: 0 0 18px;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.article-body h2 {
  font-size: 20px;
  margin: 24px 0 10px;
  border-left: 4px solid var(--sohu-red);
  padding-left: 10px;
}
.article-body h3 { font-size: 17px; margin: 18px 0 8px; }
.article-body p { margin: 0 0 14px; color: var(--ink-2); }
.article-body ul, .article-body ol { color: var(--ink-2); margin: 0 0 14px; }
.article-body figure {
  margin: 18px 0;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.article-body figcaption {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 12px;
  text-align: center;
}
.answer-capsule {
  background: var(--sohu-red-soft);
  border: 1px solid #f2b4b8;
  border-radius: 6px;
  padding: 14px 16px;
  margin: 0 0 18px;
}
.answer-capsule strong { color: var(--sohu-red); }

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 28px 0 8px;
}
.pagination a,
.pagination span {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  border-radius: 4px;
  text-decoration: none;
  padding: 0 10px;
  font-weight: 600;
}
.pagination a:hover { border-color: var(--sohu-red); color: var(--sohu-red); }
.pagination .current {
  background: var(--sohu-red);
  border-color: var(--sohu-red);
  color: #fff;
}
.pagination .disabled { opacity: .45; pointer-events: none; }

/* Contact float */
.float-contact {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 90;
  width: 64px;
}
.float-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sohu-red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(215,0,15,.35);
  cursor: pointer;
  border: none;
  text-decoration: none !important;
}
.float-panel {
  display: none;
  position: absolute;
  right: 0;
  bottom: 76px;
  width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--shadow);
  text-align: center;
}
.float-contact:hover .float-panel,
.float-contact.open .float-panel { display: block; }
.float-panel img { width: 160px; margin: 0 auto 8px; }
.float-panel p { margin: 0; font-size: 12px; color: var(--muted); }

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,.75);
  padding: 42px 0 24px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.site-footer h4 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 15px;
}
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: #ffd2d5; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; font-size: 14px; }
.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 20px;
  margin-bottom: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
}
.footer-bottom a { color: #ffd2d5; }

/* Motion */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: rise .55s ease both; }
.reveal-delay-1 { animation-delay: .08s; }
.reveal-delay-2 { animation-delay: .16s; }
.reveal-delay-3 { animation-delay: .24s; }

@media (max-width: 980px) {
  .hero-grid,
  .content-wrap,
  .footer-grid,
  .grid-4,
  .stats { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .header-inner { position: relative; }
}
@media (max-width: 640px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .stats,
  .footer-grid,
  .content-wrap { grid-template-columns: 1fr; }
  .hero { padding: 36px 0; }
  .section { padding: 36px 0; }
}
