/* ==========================================================================
   赔钱机场 - 品牌推广落地页 样式规范
   选定浅色调色板：浅蓝 (#F3F7FF) 固定配色体系
   ========================================================================== */

:root {
  /* 选定背景色与渐变 */
  --bg-color: #F3F7FF;
  --bg-gradient: linear-gradient(180deg, #F3F7FF 0%, #E9F1FF 60%, #F5F8FF 100%);
  
  /* 品牌主色调 */
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --primary-gradient-hover: linear-gradient(135deg, #4338CA 0%, #6D28D9 100%);
  --secondary: #3B82F6;
  --accent-light: #EEF2FF;

  /* 文字颜色 - 保证高对比度 (> 4.5:1) */
  --text-main: #0F172A;     /* Slate 900 */
  --text-muted: #475569;    /* Slate 600 */
  --text-light: #64748B;    /* Slate 500 */
  --text-white: #FFFFFF;

  /* 卡片与容器 */
  --card-bg: #FFFFFF;
  --card-border: rgba(226, 232, 240, 0.8);
  --card-shadow: 0 10px 30px -5px rgba(79, 70, 229, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --card-shadow-hover: 0 20px 35px -5px rgba(79, 70, 229, 0.14), 0 10px 15px -5px rgba(0, 0, 0, 0.05);

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* 字体 - 本地/系统优先粗圆风 */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --font-heading: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* 动画过渡 */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* 无可点击元素溢出 */
img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 链接样式 - 全站统一为推广链接 */
a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

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

/* 键盘焦点可显 */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #6366F1;
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* 容器布局 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 粗圆字体类 */
.brand-title, .section-title, .hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Header 页眉导航
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 14px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  color: var(--text-main);
  font-weight: 800;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(79, 70, 229, 0.06);
}

.nav-cta {
  background: var(--primary-gradient);
  color: var(--text-white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* ==========================================================================
   Hero 主视觉
   ========================================================================== */
.hero-section {
  padding: 60px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 20px;
}

.hero-title-highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-white) !important;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(79, 70, 229, 0.45);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main) !important;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  transform: translateY(-2px);
}

/* 动态图卡视觉 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.visual-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  width: 100%;
  max-width: 480px;
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
}

.metrics-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.metric-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}

.metric-val {
  font-weight: 700;
  color: var(--primary);
}

/* Decorative visual element without click action */
.decorative-badge {
  pointer-events: none;
}

/* ==========================================================================
   Core Advantages 核心优势
   ========================================================================== */
.section-padding {
  padding: 70px 0;
}

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

.section-title {
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 14px;
}

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

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

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(79, 70, 229, 0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* ==========================================================================
   Streaming & AI Support 流媒体与 AI 支持
   ========================================================================== */
.support-section {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  display: inline-block;
}

.service-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.service-note {
  font-size: 0.82rem;
  color: var(--text-light);
}

.support-disclaimer {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 24px;
}

/* ==========================================================================
   Plan Comparison 套餐对比
   ========================================================================== */
.billing-switcher {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin: 0 auto 40px;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  flex-wrap: wrap;
}

.switcher-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.switcher-btn.active {
  background: var(--primary-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.plan-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 15px 35px -5px rgba(79, 70, 229, 0.2);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary-gradient);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-price-box {
  margin: 16px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #F1F5F9;
}

.plan-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.plan-unit {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-monthly-calc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 6px;
}

.plan-meta-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 8px 0;
  color: var(--text-muted);
  border-bottom: 1px dashed #F1F5F9;
}

.plan-meta-val {
  font-weight: 700;
  color: var(--text-main);
}

.plan-features {
  list-style: none;
  margin: 18px 0 24px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-features li::before {
  content: "✓";
  color: #10B981;
  font-weight: 800;
}

.plan-cta {
  width: 100%;
  margin-top: auto;
}

.plans-notice {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-top: 30px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   User Reviews (隐藏模块说明 - 按要求真实资料缺失时隐藏)
   ========================================================================== */
.reviews-section-hidden {
  display: none !important;
}

/* ==========================================================================
   FAQ 常见问题
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-toggle-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  background: #FAFCFF;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
  transition: max-height 0.3s ease-in-out;
}

/* ==========================================================================
   Footer 页脚 (严格限制4个入口，点击均按规范跳转)
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #FFFFFF;
  border-top: 1px solid var(--card-border);
  padding: 40px 0 30px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

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

.footer-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 8px;
}

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

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   文章与内容页面通用样式
   ========================================================================== */
.article-header-section {
  padding: 50px 0 30px;
  text-align: center;
}

.article-main-title {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.article-body-container {
  max-width: 860px;
  margin: 0 auto 60px;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 32px 0 16px;
  color: var(--text-main);
  border-bottom: 2px solid var(--accent-light);
  padding-bottom: 8px;
}

.article-content h3 {
  font-size: 1.2rem;
  margin: 24px 0 12px;
  color: var(--text-main);
}

.article-content p {
  margin-bottom: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
  color: var(--text-muted);
}

.article-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-cta-box {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
  text-align: center;
}

.article-cta-box h3 {
  margin: 0 0 10px;
  color: var(--primary);
}

.article-source-box {
  background: #F8FAFC;
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   响应式媒体查询
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
  }
  
  .nav-links {
    gap: 12px;
  }
  
  .hero-section {
    padding: 30px 0 50px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }

  .btn {
    width: 100%;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }
  
  .article-body-container {
    padding: 24px 18px;
  }
}

/* 尊重减弱动画设置 */
@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;
  }
}
