/* 唯兔云 Neo-Brutalism 新野兽主义浅色主题样式表 */
:root {
  --bg-primary: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F4F1EA;
  --text-main: #18181B;
  --text-muted: #52525B;
  --border-color: #18181B;
  --border-width: 3px;
  --border-radius: 14px;
  
  /* 品牌与强调色（明快高对比浅色野兽派） */
  --rabbit-orange: #FF6B4A;
  --rabbit-yellow: #FCD34D;
  --rabbit-green: #4ADE80;
  --rabbit-blue: #60A5FA;
  --rabbit-purple: #C084FC;
  --rabbit-pink: #F472B6;
  --rabbit-cream: #FEF3C7;

  /* 硬投影 */
  --shadow-sm: 3px 3px 0px #18181B;
  --shadow-md: 5px 5px 0px #18181B;
  --shadow-lg: 8px 8px 0px #18181B;
  --shadow-hover: 7px 7px 0px #18181B;
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-primary);
}

/* 动态背景网格与点缀 */
body {
  background-color: var(--bg-primary);
  background-image: 
    linear-gradient(rgba(24, 24, 27, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 24, 27, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* 漂浮装饰几何元素 */
.floating-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  animation: floatAnim 6s ease-in-out infinite alternate;
}
@keyframes floatAnim {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(8deg); }
}

/* 通用容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* 新野兽主义通用卡片与按钮 */
.neo-box {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.neo-box:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.neo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-main);
  background: var(--rabbit-yellow);
  border: var(--border-width) solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  user-select: none;
}

.neo-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-md);
}

.neo-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px var(--border-color);
}

.neo-btn-primary {
  background: var(--rabbit-orange);
  color: #FFFFFF;
}

.neo-btn-accent {
  background: var(--rabbit-green);
}

.neo-btn-dark {
  background: var(--border-color);
  color: #FFFFFF;
}

/* Badge 徽章 */
.neo-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  border: 2px solid var(--border-color);
  border-radius: 999px;
  background: var(--rabbit-yellow);
  box-shadow: 2px 2px 0px var(--border-color);
}

/* 顶部公告跑马灯 */
.announcement-bar {
  background: var(--rabbit-yellow);
  border-bottom: var(--border-width) solid var(--border-color);
  padding: 8px 16px;
  font-weight: 800;
  font-size: 0.88rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.announcement-bar a {
  color: var(--text-main);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* 导航栏 Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: var(--border-width) solid var(--border-color);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.brand-rabbit-icon {
  width: 40px;
  height: 40px;
  background: var(--rabbit-orange);
  border: 2.5px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0px var(--border-color);
  overflow: hidden;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.nav-link:hover {
  background: var(--rabbit-cream);
  transform: translateY(-1px);
}

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

/* 移动端菜单按钮 */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
}

/* Hero 首屏 */
.hero-section {
  padding: 70px 0 50px;
  position: relative;
}

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

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 16px 0 20px;
  letter-spacing: -1px;
}

.hero-content h1 span.highlight-orange {
  background: var(--rabbit-orange);
  color: #FFFFFF;
  padding: 2px 10px;
  border: 3px solid var(--border-color);
  border-radius: 10px;
  display: inline-block;
  box-shadow: 4px 4px 0px var(--border-color);
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

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

.stat-item {
  padding: 14px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 3px 3px 0px var(--border-color);
  text-align: center;
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-main);
}

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

/* Hero 右侧兔子主视觉展台 */
.hero-rabbit-stage {
  position: relative;
  background: var(--rabbit-cream);
  border: var(--border-width) solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rabbit-illustration-box {
  width: 100%;
  max-width: 340px;
  position: relative;
  margin-bottom: 20px;
}

.rabbit-illustration-box svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.15));
}

.rabbit-badge-float {
  position: absolute;
  top: -15px;
  right: -10px;
  background: var(--rabbit-green);
  border: 2.5px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 0.85rem;
  box-shadow: 3px 3px 0px var(--border-color);
  animation: pulseBadge 2s infinite alternate ease-in-out;
}
@keyframes pulseBadge {
  0% { transform: scale(1) rotate(-3deg); }
  100% { transform: scale(1.05) rotate(3deg); }
}

/* 核心优势板块 */
.section {
  padding: 70px 0;
  position: relative;
}

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

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 12px 0 14px;
}

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

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

.feature-card {
  padding: 28px;
  background: #FFFFFF;
  position: relative;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border: 2.5px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
  box-shadow: 3px 3px 0px var(--border-color);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

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

/* 节点延迟和状态板块 */
.node-status-board {
  background: #FFFFFF;
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}

.node-board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 2px dashed #E4E4E7;
}

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

.pulse-indicator {
  width: 14px;
  height: 14px;
  background-color: #22C55E;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulseGreen 1.8s infinite;
}
@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.node-table-wrapper {
  overflow-x: auto;
}

.node-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.node-table th, .node-table td {
  padding: 14px 16px;
  border-bottom: 2px solid #F4F1EA;
  font-size: 0.95rem;
}

.node-table th {
  font-weight: 800;
  background: var(--rabbit-cream);
  border-bottom: 2.5px solid var(--border-color);
  color: var(--text-main);
}

.node-flag {
  font-size: 1.3rem;
  margin-right: 8px;
  vertical-align: middle;
}

.latency-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.85rem;
  border: 1.5px solid var(--border-color);
}
.latency-low { background: #DCFCE7; color: #166534; }
.latency-mid { background: #FEF9C3; color: #854D0E; }

/* 套餐价格板块 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pricing-card {
  padding: 30px 24px;
  background: #FFFFFF;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: #FFFBEB;
  border-width: 4px;
  transform: scale(1.02);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--rabbit-orange);
  color: #FFFFFF;
  border: 2px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.75rem;
  box-shadow: 2px 2px 0px var(--border-color);
}

.pricing-plan-name {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 12px 0 16px;
}
.pricing-price span.unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin: 20px 0 30px;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 12px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li svg {
  flex-shrink: 0;
  color: #16A34A;
}

/* 用户评价板块 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  padding: 24px;
  background: #FFFFFF;
}

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

.review-avatar {
  width: 48px;
  height: 48px;
  border: 2.5px solid var(--border-color);
  border-radius: 12px;
  background: var(--rabbit-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 2px 2px 0px var(--border-color);
}

.review-meta h4 {
  font-size: 1rem;
  font-weight: 800;
}

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

.star-rating {
  color: #F59E0B;
  font-size: 1rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
}

/* 知识库与教程板块 */
.kb-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.kb-filter-btn {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 800;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  background: #FFFFFF;
  cursor: pointer;
  box-shadow: 2px 2px 0px var(--border-color);
  transition: all 0.15s ease;
}

.kb-filter-btn.active, .kb-filter-btn:hover {
  background: var(--rabbit-orange);
  color: #FFFFFF;
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0px var(--border-color);
}

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

.article-card {
  padding: 24px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
}

.article-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.article-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card h3 a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.15s ease;
}

.article-card h3 a:hover {
  color: var(--rabbit-orange);
  text-decoration: underline;
}

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

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 2px dashed #E4E4E7;
  font-size: 0.85rem;
  font-weight: 700;
}

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

.faq-item {
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-question {
  padding: 18px 24px;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

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

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

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

/* 转化引导条 CTA Banner */
.cta-banner-section {
  padding: 50px 0 80px;
}

.cta-banner {
  background: var(--rabbit-cream);
  border: var(--border-width) solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.cta-text p {
  font-size: 1rem;
  color: var(--text-muted);
}

/* 页脚 Footer */
footer.site-footer {
  background: #FFFFFF;
  border-top: var(--border-width) solid var(--border-color);
  padding: 60px 0 30px;
}

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

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

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

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

.footer-links a:hover {
  color: var(--rabbit-orange);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 2px solid #E4E4E7;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* 文章详情页专用排版 */
.article-detail-wrap {
  max-width: 860px;
  margin: 40px auto 80px;
  background: #FFFFFF;
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 44px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--rabbit-orange);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #27272A;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 900;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2.5px solid var(--border-color);
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 24px 0 12px;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
}

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

.article-content blockquote {
  background: var(--rabbit-cream);
  border-left: 6px solid var(--rabbit-orange);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 8px;
  font-weight: 600;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.article-content th, .article-content td {
  border: 2px solid var(--border-color);
  padding: 10px 14px;
}

.article-content th {
  background: var(--rabbit-yellow);
}

.article-callout-box {
  background: #ECFDF5;
  border: 2.5px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  box-shadow: 4px 4px 0px var(--border-color);
}

/* 响应式适配 */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-rabbit-stage {
    margin-top: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .nav-menu {
    display: none;
  }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 3px solid var(--border-color);
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }
  .mobile-toggle {
    display: block;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-detail-wrap {
    padding: 24px;
  }
}
