/* Ytoo 歪兔官网 - 独立落地页系统 CSS */
:root {
  --bg-dark: #070913;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --primary-pink: #ff4b91;
  --primary-purple: #8b5cf6;
  --primary-blue: #3b82f6;
  --primary-cyan: #06b6d4;
  --text-main: #f8fafc;
  --text-sub: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(255, 75, 145, 0.3);
  --gradient-main: linear-gradient(135deg, #ff4b91 0%, #8b5cf6 50%, #3b82f6 100%);
  --gradient-glow: linear-gradient(135deg, rgba(255, 75, 145, 0.2), rgba(139, 92, 246, 0.2));
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-glow: 0 10px 30px -10px rgba(255, 75, 145, 0.3);
}

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

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

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background: radial-gradient(circle at 15% 15%, rgba(255, 75, 145, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 85% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 45%),
              var(--bg-dark);
}

/* 鼠标尾翼 Canvas */
#mouse-trail-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
}

/* 容器与布局 */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 渐变高亮文字 */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 兔子专属元素徽章 */
.rabbit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 75, 145, 0.12);
  border: 1px solid rgba(255, 75, 145, 0.3);
  color: #ff94c2;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

.rabbit-badge svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* 按钮与 CTA */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-main);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(255, 75, 145, 0.5);
  filter: brightness(1.1);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-purple);
  transform: translateY(-2px);
}

/* 导航栏 */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(7, 9, 19, 0.85);
  border-bottom: 1px solid var(--border-color);
}

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

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

.logo img, .logo svg {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

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

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

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

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

/* Hero Section */
.hero {
  padding: 5rem 0 4rem;
  position: relative;
}

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

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-sub);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

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

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

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper img {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 75, 145, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: floatAnim 6s ease-in-out infinite;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* 核心特性模块 */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-sub);
  font-size: 1.05rem;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-pink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-glow);
  border: 1px solid rgba(255, 75, 145, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--text-sub);
  font-size: 0.92rem;
}

/* 【一排展示】价格套餐 (Pricing Cards in 1 Row) */
.pricing-section {
  background: linear-gradient(180deg, rgba(7, 9, 19, 0) 0%, rgba(139, 92, 246, 0.05) 50%, rgba(7, 9, 19, 0) 100%);
}

.pricing-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 核心要求：桌面端4个套餐一排展示 */
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.price-card.popular {
  border: 2px solid var(--primary-pink);
  background: linear-gradient(180deg, rgba(255, 75, 145, 0.08) 0%, var(--bg-card) 100%);
  box-shadow: var(--shadow-glow);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.price-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.price-header .desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  min-height: 38px;
}

.price-amount {
  margin: 1.5rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

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

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

.price-amount .unit {
  font-size: 0.85rem;
  color: var(--text-sub);
}

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

.price-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-bottom: 0.75rem;
}

.price-features li svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-cyan);
  flex-shrink: 0;
}

/* 深度 SEO 文章卡片模块 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.article-card:hover {
  border-color: var(--primary-purple);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.article-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary-purple);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.article-card h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

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

.article-card h3 a:hover {
  color: var(--primary-pink);
}

.article-card p {
  color: var(--text-sub);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

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

.read-more {
  color: var(--primary-cyan);
  text-decoration: none;
  font-weight: 600;
}

/* 用户评价 (Testimonials) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

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

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

.review-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 1rem;
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.user-info h5 {
  font-size: 0.9rem;
  font-weight: 600;
}

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

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

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

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

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--primary-pink);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem;
  color: var(--text-sub);
  font-size: 0.92rem;
  line-height: 1.6;
}

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

/* 文章详情页专用样式 */
.article-page {
  padding: 3rem 0 5rem;
}

.article-header {
  max-width: 860px;
  margin: 0 auto 2.5rem;
}

.article-header h1 {
  font-size: 2.4rem;
  line-height: 1.25;
  margin: 1rem 0;
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
}

.article-body h2 {
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.article-body h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--primary-cyan);
}

.article-body p {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-sub);
}

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

.article-body a {
  color: var(--primary-pink);
  text-decoration: underline;
}

.cta-box {
  background: var(--gradient-glow);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}

/* 【核心任务 2：页脚 PBN 权重精准输血管道】 */
footer {
  background: rgba(4, 6, 12, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* 友情链接与 PBN 输血区 - 低调美观，样式融合 */
.pbn-footer-links {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 960px;
}

.pbn-footer-links h6 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  opacity: 0.7;
}

.pbn-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.2rem;
  font-size: 0.8rem;
  line-height: 1.8;
}

.pbn-links-grid a {
  color: rgba(148, 163, 184, 0.65);
  text-decoration: none;
  transition: all 0.2s ease;
}

.pbn-links-grid a:hover {
  color: var(--primary-pink);
  opacity: 1;
  text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 1024px) {
  .pricing-row {
    grid-template-columns: repeat(2, 1fr); /* 移动/平板端自适应 2 列 */
    gap: 1.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 2rem;
  }
  .hero-actions, .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .pricing-row {
    grid-template-columns: 1fr; /* 手机端单列垂直堆叠 */
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .nav-links {
    display: none;
  }
  .nav-mobile-toggle {
    display: block;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(7, 9, 19, 0.98);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
  }
}
