/* ==========================================================================
   歪兔 YTOO (waitu.club) 官方落地页样式库 - 蓝白极客科技风
   ========================================================================== */

/* 1. 核心变量与设计系统 */
:root {
  --bg-dark: #070a14;
  --bg-card: rgba(16, 25, 53, 0.7);
  --bg-card-hover: rgba(26, 40, 80, 0.85);
  --border-color: rgba(56, 189, 248, 0.15);
  --border-glow: rgba(56, 189, 248, 0.4);
  
  --primary-blue: #2563eb;
  --primary-cyan: #38bdf8;
  --accent-glow: #00f0ff;
  --text-main: #f8fafc;
  --text-sub: #94a3b8;
  --text-muted: #64748b;
  
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.15);
  --transition-fast: 0.25s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. 全局重置与基础样式 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(0, 240, 255, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  color: var(--primary-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #7dd3fc;
}

ul {
  list-style: none;
}

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

/* 3. 头部导航 (Navbar) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 10, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.logo-brand svg {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
}

.logo-brand .brand-badge {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 4px;
}

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

.nav-links a {
  color: var(--text-sub);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

.btn-header-cta {
  background: linear-gradient(135deg, #2563eb, #0284c7);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 99px;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
}

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

/* 4. Hero 英雄区 */
.hero-section {
  padding: 160px 0 90px 0;
  position: relative;
  overflow: hidden;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-glow);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  color: var(--primary-cyan);
  margin-bottom: 24px;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-glow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--primary-cyan) 80%, var(--accent-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-sub);
  margin-bottom: 36px;
  max-width: 540px;
}

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

.btn-primary-lg {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
  transition: all var(--transition-fast);
}

.btn-primary-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(56, 189, 248, 0.5);
  color: #fff;
}

.btn-secondary-lg {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-secondary-lg:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-cyan);
  color: #fff;
}

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

.hero-rabbit-canvas {
  width: 100%;
  max-width: 480px;
  height: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.hero-rabbit-svg {
  width: 220px;
  height: 220px;
  filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.7));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

.visual-badge {
  position: absolute;
  background: rgba(10, 15, 36, 0.9);
  border: 1px solid var(--border-glow);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
}

.badge-top-right {
  top: 24px;
  right: -10px;
}

.badge-bottom-left {
  bottom: 24px;
  left: -10px;
}

/* 5. 核心优势 / 特性模块 */
.section-padding {
  padding: 90px 0;
}

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

.section-subtitle {
  color: var(--primary-cyan);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary-cyan);
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* 6. 价格套餐区域 (Pricing) */
.pricing-section {
  background: rgba(10, 15, 36, 0.5);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.price-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;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
}

.price-card.popular {
  border-color: var(--primary-cyan);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.2) 0%, rgba(16, 25, 53, 0.85) 100%);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.25);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 99px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.price-header {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

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

.plan-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-cyan);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price .currency {
  font-size: 1.2rem;
}

.plan-price .period {
  font-size: 0.9rem;
  color: var(--text-sub);
  font-weight: 500;
}

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

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

.plan-features li svg {
  color: var(--primary-cyan);
  flex-shrink: 0;
}

.btn-price {
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.price-card.popular .btn-price,
.btn-price:hover {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* 7. 客户评价区域 (`4指令 客户评论 平排左右自动展示`) */
.reviews-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
}

.reviews-marquee-container {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.reviews-marquee-container:hover .reviews-marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card {
  width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.review-card:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-4px);
}

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

.user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
}

.user-info .name {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
}

.user-info .role {
  font-size: 0.8rem;
  color: var(--primary-cyan);
}

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

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

/* 8. 深度文章矩阵 preview 模块 */
.articles-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-cyan);
  box-shadow: var(--shadow-glow);
}

.article-tag {
  font-size: 0.75rem;
  color: var(--primary-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 14px;
}

.article-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text-main);
}

.article-card-excerpt {
  color: var(--text-sub);
  font-size: 0.88rem;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 9. FAQ 问答区域 (Accordion) */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-cyan);
}

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

.faq-question svg {
  transition: transform var(--transition-fast);
  color: var(--primary-cyan);
}

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

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

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

/* 10. 页脚与 PBN 外链输血管道 (`核心任务 2`) */
.site-footer {
  background: #04060d;
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: var(--text-sub);
  font-size: 0.85rem;
}

/* 【核心任务 2 样式约束】：极具融合感、低调、优雅小字号 FRIENDLY LINK 区 */
.footer-pbn-container {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.82rem;
  color: #475569;
}

.pbn-label {
  color: #64748b;
  font-size: 0.8rem;
}

.pbn-link {
  color: #94a3b8 !important;
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pbn-link:hover {
  color: var(--primary-cyan) !important;
  text-decoration: underline;
}

.pbn-divider {
  color: #334155;
}

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

/* 11. 文章详情页专用样式 (Article Pages Layout) */
.article-page {
  padding-top: 120px;
}

.article-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px auto;
}

.article-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.article-title-main {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text-main);
}

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

.article-content-body {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(16px);
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-content-body h2 {
  color: var(--text-main);
  font-size: 1.7rem;
  font-weight: 800;
  margin: 40px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.article-content-body h3 {
  color: var(--primary-cyan);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 28px 0 12px 0;
}

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

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

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

.article-cta-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(56, 189, 248, 0.1));
  border: 1px solid var(--primary-cyan);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  margin: 40px 0;
}

.article-cta-box h4 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 10px;
}

.article-cta-box p {
  color: var(--text-sub);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* 12. 响应式布局适配 (Responsive Design) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-desc {
    margin: 0 auto 32px auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .article-title-main {
    font-size: 1.8rem;
  }
}
