/* ==========================================================================
   搬瓦工 BandwagonHost Landing Page & SEO Knowledge Base
   Modern Premium Styling System
   ========================================================================== */

:root {
  --primary-color: #f59e0b;
  --primary-hover: #d97706;
  --primary-light: rgba(245, 158, 11, 0.12);
  --secondary-color: #3b82f6;
  --secondary-hover: #2563eb;
  --dark-bg: #0f172a;
  --card-bg: #1e293b;
  --card-border: #334155;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --badge-bg: #27272a;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--dark-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Notice Top Bar */
.top-notice-bar {
  background: linear-gradient(90deg, #991b1b, #7f1d1d);
  color: #fff;
  text-align: center;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-notice-bar a {
  color: #fbbf24;
  text-decoration: underline;
  font-weight: 700;
  margin-left: 6px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

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

.btn-secondary {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

.btn-recommend {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-recommend:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/* Hero Section */
.hero-section {
  padding: 65px 0 50px;
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12) 0%, rgba(15, 23, 42, 0) 70%);
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.hero-title span {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stat-item h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 4px;
}

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

/* Coupon Box */
.coupon-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px dashed var(--primary-color);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  max-width: 600px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.coupon-code {
  font-family: monospace;
  font-size: 18px;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(0,0,0,0.3);
  padding: 4px 12px;
  border-radius: 4px;
}

/* Pricing / Packages Section */
.section {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Pricing Filter Tabs */
.price-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.price-tab-btn {
  padding: 10px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.price-tab-btn:hover, .price-tab-btn.active {
  background: var(--primary-color);
  color: #0f172a;
  border-color: var(--primary-color);
}

/* Grid Layout for Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.pricing-card.popular {
  border: 2px solid var(--primary-color);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, var(--card-bg) 100%);
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

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

.plan-price span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

.spec-list {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-main);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.spec-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-green);
  flex-shrink: 0;
}

.spec-label {
  color: var(--text-muted);
  width: 70px;
}

.spec-value {
  font-weight: 600;
}

.card-action {
  margin-top: auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.25s ease;
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Keywords Cloud / Highlight tags */
.seo-keywords-bar {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.kw-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
}

.kw-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.kw-tag:hover {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: var(--primary-color);
}

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

.article-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

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

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-tag {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

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

.article-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

.article-link {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-link:hover {
  text-decoration: underline;
}

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

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

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

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0f172a;
}

.user-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

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

.stars {
  color: #fbbf24;
  margin-bottom: 12px;
  font-size: 14px;
}

.review-content {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
}

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

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background: rgba(15, 23, 42, 0.4);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

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

/* Article Detail Page Layout */
.article-layout {
  padding: 50px 0;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.article-content-body {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.article-header-area {
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 24px;
  margin-bottom: 30px;
}

.article-detail-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #fff;
}

.article-post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-prose {
  font-size: 15px;
  line-height: 1.8;
  color: #cbd5e1;
}

.article-prose h2 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
}

.article-prose h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fbbf24;
  margin: 24px 0 12px;
}

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

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

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

.article-prose a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.article-prose blockquote {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid var(--primary-color);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #f1f5f9;
}

.article-prose code {
  background: #0f172a;
  color: #fbbf24;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 14px;
}

.article-cta-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(59, 130, 246, 0.15));
  border: 1px solid var(--primary-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 35px 0;
  text-align: center;
}

.article-cta-banner h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.article-cta-banner p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.sidebar-widget {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.widget-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--card-border);
}

.related-article-list {
  list-style: none;
}

.related-article-item {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.related-article-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.related-article-item a {
  color: var(--text-main);
  font-size: 14px;
  text-decoration: none;
  line-height: 1.4;
  display: block;
  transition: color 0.2s ease;
}

.related-article-item a:hover {
  color: var(--primary-color);
}

/* Footer Section & PBN Links */
.site-footer {
  background: #090d16;
  border-top: 1px solid var(--card-border);
  padding: 40px 0 30px;
  text-align: center;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

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

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

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

/* PBN Friendly Links Styling */
.pbn-links-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 15px;
  margin-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: #64748b;
}

.pbn-links-title {
  color: #475569;
  font-weight: 600;
}

.pbn-link-item {
  color: #94a3b8;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s ease;
}

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

.copyright {
  font-size: 12px;
  color: #64748b;
  margin-top: 10px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid, .reviews-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .article-layout {
    grid-template-columns: 1fr;
  }
}

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

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .coupon-box {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

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