/* ===================================================================
   红杏云 (hongxin-yun.buzz) - 现代化原生极简响应式样式表
   Pure CSS - 秒开加载速度 - 无外部重型依赖
=================================================================== */

:root {
  --primary: #f03d5f;
  --primary-hover: #e02447;
  --primary-light: rgba(240, 61, 95, 0.12);
  --primary-glow: rgba(240, 61, 95, 0.35);
  --secondary: #6366f1;
  --secondary-glow: rgba(99, 102, 241, 0.3);
  --bg-dark: #0a0e17;
  --bg-card: #111726;
  --bg-card-hover: #162035;
  --bg-elevated: #1a233a;
  --border-color: #232d42;
  --border-light: #2d3b55;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-gold: #fbbf24;
  --accent-green: #10b981;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px var(--primary-glow);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --container-max: 1200px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(240, 61, 95, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 85% 60%, rgba(99, 102, 241, 0.08), transparent);
  background-attachment: fixed;
  min-height: 100vh;
}

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

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

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: var(--transition);
  flex-shrink: 0;
}

.logo:hover .brand-logo-img {
  transform: scale(1.06) rotate(-2deg);
}

.logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff4d6d);
  color: #fff;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
  background: linear-gradient(135deg, var(--primary-hover), #f03d5f);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 34px;
  font-size: 1.1rem;
}

/* 主视觉区 (Hero) */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  border: 1px solid rgba(240, 61, 95, 0.3);
  color: #ff758f;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, #ff4d6d, #f03d5f, #fb7185);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 40px auto 0;
  padding: 24px;
  background: rgba(17, 23, 38, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 2px;
}

.stat-num span {
  font-size: 1rem;
  color: var(--primary);
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 核心优势板块 (3个核心卡片) */
.section {
  padding: 70px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-light);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.feature-list {
  list-style: none;
  margin-top: 18px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.feature-list li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* 流媒体与 AI 支持图卡 */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px;
  position: relative;
}

.support-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.support-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-header-icon.pink {
  background: var(--primary-light);
  color: var(--primary);
}

.support-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.support-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 500;
}

.tag-badge .platform-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.support-metrics {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  border: 1px dashed var(--border-color);
}

.support-metric-item {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.support-metric-item strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
  margin-top: 2px;
}

/* 套餐价格对比表 - 核心要求：所有价格同排展示 */
.pricing-row-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-light);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7);
}

.price-card.popular {
  background: linear-gradient(180deg, #161e33, #111726);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(240, 61, 95, 0.2);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #ff4d6d);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.price-header {
  margin-bottom: 20px;
  text-align: center;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  min-height: 38px;
}

.price-amount-box {
  text-align: center;
  padding: 18px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 22px;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  vertical-align: super;
}

.price-val {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.price-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-sub {
  font-size: 0.78rem;
  color: var(--accent-gold);
  margin-top: 5px;
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 12px;
  line-height: 1.45;
}

.price-features li svg {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.price-features li.disabled {
  color: var(--text-dim);
  text-decoration: line-through;
}

.price-features li.disabled svg {
  color: var(--text-dim);
}

.price-card .btn {
  width: 100%;
}

/* 用户评价 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--accent-gold);
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.reviewer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.reviewer-info h4 {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 600;
}

.reviewer-info p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* FAQ 常见问题解答 */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: var(--transition);
}

.faq-card:hover {
  border-color: var(--border-light);
}

.faq-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-card h4::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 34px;
}

/* 博客文章推荐板块 (SEO文章入口) */
.articles-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.6);
}

.article-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--bg-elevated);
  color: #ff758f;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 12px;
  align-self: flex-start;
}

.article-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.45;
}

.article-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.article-meta a {
  color: var(--primary);
  font-weight: 600;
}

/* 底部 CTA 旗帜 */
.bottom-cta {
  background: linear-gradient(135deg, rgba(240, 61, 95, 0.15), rgba(99, 102, 241, 0.15));
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  text-align: center;
  margin-top: 40px;
}

.bottom-cta h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.bottom-cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 26px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 页脚 - 严格按照要求：只保留4个标题(打开新页面展示) */
.site-footer {
  background: #080b12;
  border-top: 1px solid var(--border-color);
  padding: 40px 0 30px;
  margin-top: 80px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

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

.footer-copy {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* 内页与文章专有样式 */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, rgba(17, 23, 38, 0.6) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

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

.breadcrumb a:hover {
  color: var(--primary);
}

.article-content-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  box-shadow: var(--shadow-card);
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #e2e8f0;
}

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.article-body h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin: 26px 0 12px;
}

.article-body p {
  margin-bottom: 18px;
  color: #cbd5e1;
}

.article-body ul, .article-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
  color: #cbd5e1;
}

.article-body strong {
  color: #fff;
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-elevated);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #e2e8f0;
  font-style: italic;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(240, 61, 95, 0.12), rgba(99, 102, 241, 0.12));
  border: 1px solid rgba(240, 61, 95, 0.35);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
  text-align: center;
}

.article-cta-box h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
}

.article-cta-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-links-nav {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* 网站地图样式 */
.sitemap-section {
  margin-bottom: 36px;
}

.sitemap-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.sitemap-list a {
  display: block;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-size: 0.92rem;
}

.sitemap-list a:hover {
  border-color: var(--primary);
  color: #fff;
  transform: translateX(4px);
}

/* 响应式设计 (移动端优先与平滑适配) */
@media (max-width: 1024px) {
  .pricing-row-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .articles-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(3) {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
  }
  .stat-item:nth-child(4) {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
  }
  .support-grid {
    grid-template-columns: 1fr;
  }
  .pricing-row-wrap {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .articles-preview-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .sitemap-list {
    grid-template-columns: 1fr;
  }
  .article-content-wrap {
    padding: 24px 18px;
  }
  .footer-nav {
    gap: 20px;
  }
}
