/* 牢大云 (laodayun.cyou) 官方统一样式库 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --font-primary: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 35%, #f0f9ff 70%, #ffffff 100%);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  /* 黑红黄渐变色 (Kobe黑红黄核心视觉) */
  --grad-black-red-yellow: linear-gradient(135deg, #0f172a 0%, #dc2626 50%, #ca8a04 100%);
  --grad-accent-btn: linear-gradient(135deg, #ef4444 0%, #f59e0b 50%, #eab308 100%);
  --grad-blue-glow: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  
  --color-primary: #0284c7;
  --color-accent-red: #ef4444;
  --color-accent-yellow: #eab308;
  
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-border: rgba(56, 189, 248, 0.25);
  --card-shadow: 0 20px 40px -15px rgba(2, 132, 199, 0.12), 0 0 15px rgba(220, 38, 38, 0.05);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 锚点和通用效果 */
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 标题样式：黑红黄渐变色 */
.gradient-title {
  background: var(--grad-black-red-yellow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.gradient-text-yellow {
  background: linear-gradient(135deg, #dc2626 0%, #eab308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  padding: 1rem 2rem;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 900;
}

.logo-icon {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 4px 6px rgba(239, 68, 68, 0.3));
}

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

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

.nav-links a:hover {
  color: var(--color-accent-red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* 按钮通用 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: var(--grad-accent-btn);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px -5px rgba(239, 68, 68, 0.6);
}

.btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border: 2px solid #e2e8f0;
}

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

.btn-recommend {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 10px 20px -5px rgba(2, 132, 199, 0.4);
}

.btn-recommend:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -5px rgba(2, 132, 199, 0.6);
}

/* Hero Section (左右双栏布局) */
.hero-section {
  padding: 9rem 1.5rem 4rem;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  line-height: 1.18;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 0 2.25rem 0;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* 右侧 H1 旁边的实时统计面板 */
.hero-side-stats {
  display: flex;
  justify-content: center;
  align-items: center;
}

.stats-banner {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: 1.75rem;
  padding: 2.25rem 1.75rem;
  width: 100%;
  max-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
  transition: all 0.3s ease;
}

.stats-banner:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.22);
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    text-align: center;
  }
  .hero-content .hero-subtitle {
    margin: 0 auto 2rem;
  }
  .hero-content .hero-ctas {
    justify-content: center;
  }
  .stats-banner {
    max-width: 100%;
  }
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0f172a;
  display: block;
  margin-bottom: 0.25rem;
}

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

/* 浮动展示核心样式 (Floating Cards) */
@keyframes floatAnim {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes floatAnimLag {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
  100% { transform: translateY(0px); }
}

.floating-card {
  animation: floatAnim 6s ease-in-out infinite;
}

.floating-card-lag {
  animation: floatAnimLag 7s ease-in-out infinite 1s;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--color-primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

/* 价格表 Section */
.pricing-section {
  padding: 5rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.price-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.price-card:hover {
  transform: translateY(-15px) scale(1.02) !important;
  box-shadow: 0 30px 60px -15px rgba(2, 132, 199, 0.25), 0 0 25px rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.5);
}

.price-card.popular {
  border: 2px solid var(--color-accent-red);
  background: rgba(255, 255, 255, 0.95);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--grad-accent-btn);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

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

.plan-price {
  font-size: 2.75rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.plan-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

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

.plan-features li {
  padding: 0.6rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  border-bottom: 1px stroke #f1f5f9;
}

.plan-features li::before {
  content: "✓";
  color: var(--color-accent-red);
  font-weight: 900;
}

/* 教学表 Section (Tutorial Floating Table) */
.tutorial-section {
  padding: 5rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.tutorial-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.tutorial-card:hover {
  transform: translateY(-8px) !important;
  border-color: var(--color-primary);
}

.tut-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.tut-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.tut-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.tut-steps {
  background: #f8fafc;
  border-radius: 0.75rem;
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.tut-steps ol {
  padding-left: 1.2rem;
}

.tut-steps li {
  margin-bottom: 0.4rem;
}

/* 文章矩阵展示 Section */
.articles-section {
  padding: 5rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.article-card {
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

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

.article-tag {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 1rem;
}

.article-title-link {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  display: block;
}

.article-title-link:hover {
  color: var(--color-accent-red);
}

.article-excerpt {
  color: var(--text-secondary);
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.read-more:hover {
  gap: 0.6rem;
  color: var(--color-accent-red);
}

/* Testimonials / 用户评价 */
.reviews-section {
  padding: 5rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

.review-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-accent-btn);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.user-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

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

.stars {
  color: #f59e0b;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.review-content {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-style: italic;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.faq-icon {
  transition: transform 0.3s ease;
  font-weight: 900;
}

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

/* 页脚与 PBN 链接区 (核心任务 2) */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 1.5rem 2rem;
  margin-top: 5rem;
  border-top: 1px solid #1e293b;
  text-align: center;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
}

.footer-desc {
  max-width: 600px;
  font-size: 0.9rem;
  color: #64748b;
}

.copyright-text {
  font-size: 0.85rem;
  color: #64748b;
}

/* 核心任务2：页脚 PBN 友情链接专用低调样式 */
.pbn-links-wrapper {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px stroke rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pbn-links-wrapper span {
  color: #64748b;
}

.pbn-link {
  color: #64748b;
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pbn-link:hover {
  color: #38bdf8;
}

/* 文章详情页专用样式 */
.article-page-container {
  max-width: 900px;
  margin: 8rem auto 4rem;
  padding: 0 1.5rem;
}

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

.article-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.article-content {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #334155;
}

.article-content h2 {
  font-size: 1.75rem;
  color: #0f172a;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px stroke #f1f5f9;
}

.article-content h3 {
  font-size: 1.35rem;
  color: #1e293b;
  margin: 1.5rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 2rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-cta-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #93c5fd;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}

.article-cta-box h3 {
  color: #1e40af;
  margin-top: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .article-content {
    padding: 2rem 1.5rem;
  }
}
