/* ===================================================================
   Nice Duck 好鸭云 (haoyayun.mom) 官方高清落地页样式库
   主题：好鸭！极速翻墙 · 冲鸭！ (Cyber Duck Amber & Slate Tech Theme)
   设计：活力鸭黄色 + 炫酷科技蓝 + 深邃夜空灰 + 高质感玻璃拟态卡片
   =================================================================== */

:root {
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-light: #fffbe6;
  --primary-grad: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
  --cyan-grad: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  
  --bg-page: #0b0f19;
  --bg-section-alt: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.95);
  --bg-header: rgba(15, 23, 42, 0.85);

  --accent-yellow: #fbbf24;
  --accent-cyan: #38bdf8;
  --accent-green: #10b981;
  --accent-orange: #f97316;

  --text-heading: #f8fafc;
  --text-main: #e2e8f0;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dimmer: #64748b;

  --border-subtle: rgba(245, 158, 11, 0.15);
  --border-bright: rgba(245, 158, 11, 0.4);
  --border-cyan: rgba(56, 189, 248, 0.3);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.25);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition-smooth: all 0.3s 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;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-page);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(56, 189, 248, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text-body);
}

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

ul, ol {
  list-style: none;
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

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

/* 常用组件与文本类 */
.text-gradient {
  background: var(--primary-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  color: var(--accent-cyan);
}

.text-yellow {
  color: var(--accent-yellow);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-yellow);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-grad);
  color: #0f172a;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-heading);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* 导航栏 */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
}

.nav-link:hover {
  color: var(--accent-yellow);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

/* Hero Section */
.hero-section {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.25;
  font-weight: 900;
  color: var(--text-heading);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-subtitle strong {
  color: var(--accent-yellow);
  font-weight: 700;
}

.hero-cta-box {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-yellow);
  font-family: var(--font-sans);
}

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

.hero-visual {
  position: relative;
}

.hero-card-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.hero-card-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-grad);
}

/* 通用 Section 标头 */
.section-padding {
  padding: 90px 0;
}

.section-bg-alt {
  background-color: var(--bg-section-alt);
}

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

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 核心优势 Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent-yellow);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

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

/* 节点实时探针 */
.probe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

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

.probe-flag {
  font-size: 1.75rem;
}

.probe-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
}

.probe-spec {
  font-size: 0.8rem;
  color: var(--text-dimmer);
}

.probe-latency {
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  color: var(--accent-green);
  font-weight: 700;
  font-size: 0.85rem;
}

/* 价格套餐 Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 2px solid var(--accent-yellow);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-grad);
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.plan-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.plan-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-yellow);
}

.plan-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1;
}

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

.plan-features {
  margin-bottom: 30px;
  flex-grow: 1;
}

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

.plan-features li span.icon {
  color: var(--accent-yellow);
}

/* 客户端下载 Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition-smooth);
}

.client-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.client-icon {
  font-size: 2.2rem;
}

.client-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
}

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

/* 深度文章/博客 Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.article-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

.article-tag {
  align-self: flex-start;
  padding: 4px 12px;
  background: rgba(56, 189, 248, 0.12);
  border-radius: 20px;
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  line-height: 1.5;
}

.article-title a:hover {
  color: var(--accent-yellow);
}

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

.article-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-yellow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-link:hover {
  gap: 10px;
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
}

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

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0f172a;
}

.review-name {
  font-weight: 700;
  color: var(--text-heading);
}

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

.review-stars {
  color: var(--accent-yellow);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
}

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

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

.faq-item:hover {
  border-color: var(--border-bright);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-toggle {
  font-size: 1.3rem;
  color: var(--accent-yellow);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

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

/* 文章详情页样式 Article Page Specific CSS */
.article-container {
  max-width: 900px;
  margin: 120px auto 80px auto;
  padding: 0 20px;
}

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

.article-main-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 16px;
}

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

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

.article-body h2 {
  font-size: 1.5rem;
  color: var(--text-heading);
  margin: 32px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-body h3 {
  font-size: 1.2rem;
  color: var(--accent-yellow);
  margin: 24px 0 12px 0;
}

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

.article-body ul, .article-body ol {
  margin: 0 0 20px 20px;
  list-style-type: disc;
}

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

.article-body blockquote {
  border-left: 4px solid var(--accent-yellow);
  padding: 14px 20px;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
}

.article-cta-box {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(56, 189, 248, 0.15) 100%);
  border: 1px solid var(--accent-yellow);
  border-radius: var(--radius-md);
  text-align: center;
}

/* 页脚 <footer> 核心样式 - PBN 低调精准输血 */
footer.site-footer {
  background: #070a11;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 20px 30px 20px;
  text-align: center;
  color: var(--text-dimmer);
  font-size: 0.85rem;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-pbn-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.8rem;
  color: #64748b;
  margin: 8px 0;
}

.footer-pbn-links span {
  opacity: 0.4;
}

.footer-pbn-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-pbn-links a:hover {
  color: var(--accent-yellow);
  text-decoration: underline;
}

.footer-copyright {
  font-size: 0.8rem;
  color: #475569;
}

/* 响应式媒体查询 Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-grid, .pricing-grid, .articles-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .probe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #0f172a;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .features-grid, .pricing-grid, .clients-grid, .articles-grid, .reviews-grid, .probe-grid, .guide-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .article-body {
    padding: 24px 18px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .btn-lg {
    width: 100%;
    padding: 14px 20px;
  }
  .hero-cta-box {
    flex-direction: column;
  }
}

/* 避坑指南指南板块样式 */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition-smooth);
}

.guide-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.guide-badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-grad);
  color: #0f172a;
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.guide-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.guide-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.guide-item-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

.guide-item-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-yellow);
  font-size: 1.2rem;
  line-height: 1;
}

