/* 枣庄翼 (yztyun.cyou) - 官方设计系统与样式规范 */
:root {
  --bg-dark: #070913;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-color: rgba(56, 189, 248, 0.15);
  --border-color-glow: rgba(56, 189, 248, 0.5);
  
  --primary-cyan: #38bdf8;
  --primary-blue: #3b82f6;
  --primary-indigo: #6366f1;
  --accent-glow: #00f2fe;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --gradient-white-blue: linear-gradient(135deg, #ffffff 0%, #bae6fd 40%, #38bdf8 70%, #2563eb 100%);
  --gradient-btn: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --gradient-btn-hover: linear-gradient(135deg, #38bdf8 0%, #3d82f6 100%);
  --gradient-card: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #0f172a 0%, #070913 70%);
}

/* 动态背景速度线条 & 极光背景 */
.speed-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
}

.aurora-glow {
  position: absolute;
  top: -10vw;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 40vw;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.15) 0%, rgba(59, 130, 246, 0.08) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

/* 白蓝渐变字体专用类 */
.gradient-text {
  background: var(--gradient-white-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* 布局通用类 */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--primary-cyan);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

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

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
  background: var(--gradient-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--primary-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-recommend {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(249, 115, 22, 0.2) 100%);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.btn-recommend:hover {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.35) 0%, rgba(249, 115, 22, 0.35) 100%);
  color: #ffffff;
  border-color: #fbbf24;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
  transform: translateY(-2px);
}

/* 导航栏 Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition-normal);
  backdrop-filter: blur(12px);
  background: rgba(7, 9, 19, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(7, 9, 19, 0.92);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-btn);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

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

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

/* Hero Section */
.hero-section {
  padding-top: 170px;
  padding-bottom: 96px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--primary-cyan);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulse-dot 2s infinite;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title-split {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  font-size: 3rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-subtitle-split {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-ctas-split {
  justify-content: flex-start;
  margin-bottom: 40px;
}

/* 左右双栏 Split-Screen Layout */
.hero-split-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.hero-left-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-right-panel {
  width: 100%;
}

.hero-integrated-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-nodes-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

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

/* 统一合一大模板面板 (图1 + 图2) */
.unified-template-panel {
  background: rgba(10, 16, 32, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 24px;
  padding: 48px 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

/* 超整齐节点列表模版 (单行极致对齐) */
.nodes-list-neat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.node-row-neat {
  background: rgba(18, 28, 48, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition-normal);
}

.node-row-neat:hover {
  background: rgba(30, 50, 85, 0.8);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateX(4px);
}

.node-badge-code {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  min-width: 38px;
  text-align: center;
}

.node-row-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  min-width: 0;
  gap: 12px;
}

.node-row-title {
  font-weight: 700;
  font-size: 0.925rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.node-row-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  flex-grow: 1;
}

.node-row-status {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.node-status {
  text-align: right;
  flex-shrink: 0;
  margin-left: 12px;
}

.integrated-stats-bar {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.node-ping {
  font-size: 0.9rem;
  font-weight: 700;
  color: #10b981; /* 绿色代表流畅 */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.node-ping-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.node-load {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 浮动价格卡片 (指令 价格表全部要浮动展示) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  perspective: 1000px;
}

.pricing-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  /* 浮动悬浮动画样式 */
  animation: floatCard 6s ease-in-out infinite alternate;
}

.pricing-card:nth-child(2) { animation-delay: -1.5s; }
.pricing-card:nth-child(3) { animation-delay: -3s; }
.pricing-card:nth-child(4) { animation-delay: -4.5s; }

@keyframes floatCard {
  0% { transform: translateY(0px) rotateX(0deg); }
  50% { transform: translateY(-10px) rotateX(2deg); }
  100% { transform: translateY(0px) rotateX(0deg); }
}

.pricing-card:hover {
  transform: translateY(-16px) scale(1.03) rotateY(-2deg) !important;
  border-color: var(--primary-cyan);
  box-shadow: 0 25px 50px rgba(56, 189, 248, 0.3);
  z-index: 10;
}

.pricing-card.popular {
  border: 2px solid var(--primary-cyan);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-btn);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  min-height: 42px;
  margin-bottom: 24px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-cyan);
}

.plan-price {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

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

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

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.925rem;
  color: var(--text-main);
  margin-bottom: 14px;
}

.plan-feature-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-cyan);
  flex-shrink: 0;
}

/* 文章创办人 / 创办者 Card (指令 文章创办人) */
.author-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 64px;
  backdrop-filter: blur(16px);
}

.author-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--gradient-btn);
  padding: 4px;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.author-info-h {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.author-role {
  color: var(--primary-cyan);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.author-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* SEO 文章网格展现 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.article-card:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.article-tag {
  font-size: 0.8rem;
  color: var(--primary-cyan);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.article-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

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

/* FAQ 手风琴 */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  stroke: var(--primary-cyan);
  transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 22px 28px;
  transition: max-height 0.3s ease-in-out;
}

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

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

.review-stars {
  color: #fbbf24;
  display: flex;
  gap: 4px;
  font-size: 1.1rem;
}

.review-content {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
}

.review-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.review-role {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* 页脚 Footer & PBN 管道 (任务 2) */
.footer {
  background: #030712;
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px 0;
  text-align: center;
}

.footer-brand {
  margin-bottom: 24px;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

/* 核心要求：低调美观小字号 PBN 友情链接区 */
.pbn-pipeline-section {
  padding: 20px 0;
  margin-top: 24px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pbn-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pbn-links-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.pbn-link {
  font-size: 0.825rem;
  color: rgba(148, 163, 184, 0.7);
  text-decoration: none;
  transition: var(--transition-fast);
  font-weight: 500;
}

.pbn-link:hover {
  color: var(--primary-cyan);
  text-decoration: underline;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 24px;
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .hero-split-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-left-content {
    align-items: center;
    text-align: center;
  }
  .hero-title-split, .hero-subtitle-split {
    text-align: center;
  }
  .hero-ctas-split {
    justify-content: center;
  }
  .nodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .integrated-stats-bar, .hero-integrated-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .unified-template-panel {
    padding: 28px 18px;
  }
  .nodes-grid, .hero-nodes-grid {
    grid-template-columns: 1fr;
  }
  .integrated-stats-bar, .hero-integrated-stats-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-title, .hero-title-split {
    font-size: 2.25rem;
  }
  .pricing-grid, .articles-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  .stat-item::after {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .author-card {
    flex-direction: column;
    text-align: center;
  }
}
