/* ==========================================================================
   乌龟加速 (wuguijs.sbs) 样式表
   Design System: Crimson Ruby Luxury Red Theme + Glassmorphism
   ========================================================================== */

:root {
  --bg-primary: #120306;
  --bg-secondary: #1c050a;
  --bg-card: rgba(35, 7, 14, 0.82);
  --bg-card-hover: rgba(58, 12, 24, 0.92);
  --border-color: rgba(244, 63, 94, 0.22);
  --border-focus: rgba(251, 113, 133, 0.5);
  
  --color-emerald: #f43f5e;
  --color-cyan: #fb7185;
  --color-amber: #fde047;
  --color-pink: #ec4899;
  --color-purple: #be123c;
  
  --text-main: #fff1f2;
  --text-muted: #fda4af;
  --text-dim: #9f1239;
  
  --gradient-accent: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #fde047 100%);
  --gradient-gold: linear-gradient(135deg, #fde047 0%, #f59e0b 100%);
  --gradient-glow: linear-gradient(180deg, rgba(244, 63, 94, 0.2) 0%, rgba(18, 3, 6, 0) 100%);
  
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 30px rgba(244, 63, 94, 0.35);
  --shadow-card: 0 12px 35px -10px rgba(0, 0, 0, 0.7);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #3b0712 0%, #120306 70%);
}

#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 90px 0;
  position: relative;
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 55px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fb7185;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #fff;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(18, 3, 6, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(244, 63, 94, 0.15);
  transition: all 0.3s ease;
}

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

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

.brand-logo img {
  width: 42px;
  height: 42px;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #120306;
  box-shadow: 0 4px 20px rgba(244, 63, 94, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(244, 63, 94, 0.65);
  filter: brightness(1.15);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.btn-outline:hover {
  border-color: var(--color-emerald);
  color: var(--color-emerald);
  background: rgba(244, 63, 94, 0.15);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding-top: 170px;
  padding-bottom: 90px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(244, 63, 94, 0.2) 0%, rgba(18, 3, 6, 0) 75%);
}

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

.hero-content h1 {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(244, 63, 94, 0.2);
}

.stat-item h4 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-emerald);
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mascot-container {
  width: 100%;
  max-width: 440px;
  animation: floatMascot 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 20px 30px rgba(244, 63, 94, 0.35));
}

.mascot-container img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes floatMascot {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(2deg); }
}

/* 单排价格 Section */
.pricing-section {
  background: var(--gradient-glow);
}

.pricing-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(14px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-emerald);
  box-shadow: 0 15px 35px rgba(244, 63, 94, 0.3);
  background: var(--bg-card-hover);
}

.pricing-card.popular {
  border-color: var(--color-emerald);
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.2) 0%, rgba(35, 7, 14, 0.95) 100%);
  box-shadow: var(--shadow-glow);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: #120306;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-emerald);
}

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

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

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

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

.plan-features li::before {
  content: "✓";
  color: var(--color-emerald);
  font-weight: bold;
}

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

/* 节点 & 客户端 */
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.node-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flag-icon {
  font-size: 1.8rem;
}

.node-name {
  font-weight: 700;
  font-size: 1rem;
}

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

.node-ping {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--color-emerald);
  font-size: 0.9rem;
}

.ping-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-emerald);
  box-shadow: 0 0 8px var(--color-emerald);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.client-item {
  background: var(--bg-card);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.3s ease;
}

.client-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-emerald);
}

.client-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.client-name {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==========================================================================
   【图2要求】：SEO 文章列表 2个一排 格式 (2 Columns) 并包含图片 (Articles Thumbnails)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 改为2个一排 */
  gap: 28px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden; /* 容纳封面图 */
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  border-color: var(--color-emerald);
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(244, 63, 94, 0.25);
  background: var(--bg-card-hover);
}

/* 文章内部封面图容器 (图2要求: 里面要有图片的) */
.article-thumb-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #1f050b;
}

.article-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-thumb-wrap img {
  transform: scale(1.05);
}

.article-card-content {
  padding: 24px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-tag {
  font-size: 0.78rem;
  color: var(--color-amber);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #fff;
}

.article-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-link {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--color-emerald);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: var(--radius-md);
  padding: 28px;
}

.review-stars {
  color: var(--color-amber);
  margin-bottom: 14px;
  font-size: 1rem;
}

.review-content {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #120306;
}

.user-info h5 {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 700;
}

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

.faq-list {
  max-width: 800px;
  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-sm);
  overflow: hidden;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

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

/* Footer & PBN Link Section (核心任务 2) */
.footer {
  background: #0d0204;
  border-top: 1px solid rgba(244, 63, 94, 0.2);
  padding: 60px 0 30px 0;
  color: var(--text-dim);
  font-size: 0.875rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 12px;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--color-emerald);
}

.pbn-links-area {
  padding-top: 24px;
  border-top: 1px dashed rgba(244, 63, 94, 0.2);
  margin-bottom: 30px;
  text-align: center;
}

.pbn-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  opacity: 0.7;
}

.pbn-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pbn-links-list a {
  color: rgba(253, 164, 175, 0.6);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.pbn-links-list a:hover {
  color: var(--color-emerald);
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 63, 94, 0.1);
  font-size: 0.8rem;
}

/* Article Page Layout */
.article-container {
  max-width: 860px;
  margin: 140px auto 80px auto;
  padding: 0 24px;
}

.article-header {
  margin-bottom: 40px;
  text-align: center;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}

.article-body h2 {
  font-size: 1.6rem;
  color: #fff;
  margin: 36px 0 18px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.article-body h3 {
  font-size: 1.3rem;
  color: var(--color-emerald);
  margin: 28px 0 14px 0;
}

.article-body p {
  margin-bottom: 20px;
  color: #fce7f3;
}

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

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

.article-cta-box {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.2) 0%, rgba(225, 29, 72, 0.2) 100%);
  border: 1px solid var(--color-emerald);
  border-radius: var(--radius-md);
  text-align: center;
}

.article-cta-box h3 {
  color: #fff;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    margin: 0 auto 28px auto;
  }
  .hero-stats {
    justify-content: center;
  }
  .pricing-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    gap: 16px;
  }
  .pricing-card {
    min-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: center;
  }
  .articles-grid, .reviews-grid {
    grid-template-columns: 1fr; /* 手机端单列 */
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}
