/* 饿饭CC云 (efanyun.xyz) - Core Design System & Styling */
:root {
  --bg-primary: #070913;
  --bg-secondary: #0d1127;
  --bg-card: rgba(18, 24, 48, 0.7);
  --bg-card-hover: rgba(26, 35, 70, 0.85);
  --border-color: rgba(64, 120, 255, 0.18);
  --border-glow: rgba(0, 242, 254, 0.4);
  --text-primary: #f0f4fc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #7f00ff;
  --accent-gold: #ffb703;
  --gradient-main: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #7f00ff 100%);
  --gradient-btn: linear-gradient(90deg, #00c6ff 0%, #0072ff 100%);
  --gradient-btn-hover: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%);
  --shadow-glow: 0 10px 30px -10px rgba(0, 242, 254, 0.35);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-lg: 18px;
  --radius-md: 12px;
  --transition: 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-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Mouse Tail Wing Cursor Canvas */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand-logo img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.6));
}

.brand-logo span.highlight {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gradient-btn);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 198, 255, 0.35);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gradient-btn-hover);
  box-shadow: 0 6px 28px rgba(0, 242, 254, 0.55);
  transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

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

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 85vh;
}

.hero-bg-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(127, 0, 255, 0.08) 50%, rgba(0,0,0,0) 80%);
  filter: blur(80px);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

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

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

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

/* Realistic Flying Bird Canvas/Visual Element */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bird-container-card {
  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(11, 15, 25, 0.9) 100%);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

#bird-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.bird-overlay-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 12px 20px;
  background: rgba(13, 17, 39, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bird-overlay-info .status-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  display: inline-block;
  margin-right: 8px;
}

/* Feature Section */
.section {
  padding: 100px 0;
  position: relative;
}

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

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

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

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

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

.feature-card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.6rem;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

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

/* Core Requirement: Pricing Format in a SINGLE HORIZONTAL ROW ("价格格式你帮我弄成一排") */
.pricing-wrapper {
  margin-top: 40px;
}

.pricing-switcher {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.switch-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.switch-label.active {
  color: var(--accent-cyan);
}

.discount-badge {
  background: rgba(255, 183, 3, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 183, 3, 0.4);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Single Row Pricing Deck */
.pricing-single-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  padding: 10px 5px 25px 5px;
}

.pricing-single-row::-webkit-scrollbar {
  height: 6px;
}
.pricing-single-row::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.pricing-card-row {
  flex: 1 1 0px;
  min-width: 260px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card-row.popular {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.25);
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.1) 0%, rgba(18, 24, 48, 0.85) 100%);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-btn);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 40px;
}

.plan-price {
  margin: 20px 0;
}

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

.plan-price .amount {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
}

.plan-price .period {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li i {
  color: var(--accent-cyan);
  font-size: 0.95rem;
}

/* Articles Section & Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  height: 100%;
}

.article-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(127, 0, 255, 0.15);
  color: #b57edc;
  border: 1px solid rgba(127, 0, 255, 0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  width: fit-content;
}

.article-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.article-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

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

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

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

.read-more {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more:hover {
  text-decoration: underline;
}

/* Article Detail Page Custom Styling */
.article-page {
  padding: 140px 0 100px 0;
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
}

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

.article-header h1 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.3;
  margin-top: 16px;
  margin-bottom: 20px;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #cbd5e1;
}

.article-content h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  margin: 40px 0 20px 0;
  border-left: 4px solid var(--accent-cyan);
  padding-left: 14px;
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 30px 0 15px 0;
}

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

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

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

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: rgba(13, 17, 39, 0.6);
  border-radius: 12px;
  overflow: hidden;
}

.article-content th, .article-content td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-content th {
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  font-weight: 700;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(127, 0, 255, 0.12) 100%);
  border: 1px solid var(--accent-cyan);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  margin: 50px 0;
}

.article-nav-links {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* User Reviews Section ("用户评价") */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--accent-gold);
  margin-bottom: 14px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  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-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

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

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

/* FAQ Accordion Section ("常见问题FAQ") */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.faq-question i {
  color: var(--accent-cyan);
  transition: transform 0.3s ease;
}

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

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

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

/* Footer & Core Requirement 2: PBN 权重精准输血管道 */
.site-footer {
  background: #04060d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 70px 0 40px 0;
  position: relative;
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent-cyan);
}

/* Core Task 2: Low-profile, sleek, small-font PBN Link cloud inside footer */
.pbn-link-cloud {
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 30px;
  text-align: center;
}

.pbn-link-cloud h6 {
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.4);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pbn-links-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
}

.pbn-link-item {
  color: rgba(148, 163, 184, 0.45);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pbn-link-item:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 24px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title { font-size: 2.6rem; }
  .hero-cta-group, .hero-stats {
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #090d1f;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active {
    transform: translateY(0);
  }
  .mobile-toggle {
    display: block;
  }
  .pricing-single-row {
    flex-direction: column;
  }
  .pricing-card-row {
    width: 100%;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-title { font-size: 2.2rem; }
}
