/* ==========================================================================
   皮卡云 PikaCloud (pikacloud.cfd) - Neo-Brutalist Light Cream Theme
   Matching User Reference Design exactly (Warm Beige + Black + Electric Orange)
   ========================================================================== */

:root {
  --bg-dark: #f5f0eb;
  --bg-card: #ffffff;
  --bg-card-alt: #faf6f0;
  --primary: #f26522;
  --primary-hover: #d94f0e;
  --accent-gold: #eab308;
  --success: #16a34a;
  --text-main: #000000;
  --text-muted: #262626;
  --text-dim: #525252;
  --border-line: #000000;
  --border-thick: 2px solid #000000;
  --neo-shadow: 4px 4px 0px #000000;
  --neo-shadow-hover: 6px 6px 0px #000000;
  --neo-shadow-sm: 3px 3px 0px #000000;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-md: 4px;
  --transition-fast: all 0.15s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Neo-Brutalist Panel / Card */
.glass-panel {
  background: var(--bg-card);
  border: var(--border-thick);
  box-shadow: var(--neo-shadow);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

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

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-dark);
  border-bottom: var(--border-thick);
  padding: 16px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 900;
  color: #000;
  letter-spacing: -0.5px;
}

.brand-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-tag {
  font-size: 0.75rem;
  background: var(--primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  border: 1px solid #000;
  text-transform: uppercase;
  font-weight: 800;
}

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

.nav-links a {
  font-size: 0.98rem;
  font-weight: 700;
  color: #000;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Neo-Brutalist Buttons */
.nav-btns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 800;
  border: var(--border-thick);
  box-shadow: var(--neo-shadow-sm);
  border-radius: 2px;
  transition: var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #000;
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0px #000;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-recommend {
  background: #ffffff;
  color: #000000;
}

.btn-recommend:hover {
  background: #f3f4f6;
}

.btn-outline {
  background: #ffffff;
  color: #000000;
}

.btn-outline:hover {
  background: #f5f0eb;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: #fff;
  border: var(--border-thick);
  box-shadow: 2px 2px 0px #000;
  color: #000;
  font-size: 1.5rem;
  padding: 4px 12px;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 70px 0 50px;
  text-align: center;
}

.hero-title-main {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.05;
  color: #000;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-title-sub {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0px #000;
}

.hero-desc-box {
  background: #ffffff;
  border: var(--border-thick);
  box-shadow: var(--neo-shadow);
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 24px 30px;
  text-align: center;
}

.hero-desc-box p {
  font-size: 1.15rem;
  font-weight: 800;
  color: #000000;
  line-height: 1.7;
}

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

.hero-features-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  text-align: left;
  background: #ffffff;
  border: var(--border-thick);
  box-shadow: var(--neo-shadow);
}

.feature-pill .icon {
  font-size: 2rem;
}

.feature-pill h4 {
  font-size: 1.05rem;
  font-weight: 900;
  color: #000;
  margin-bottom: 2px;
}

.feature-pill p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
}

/* Node Ping Live Simulator */
.node-status-section {
  padding: 60px 0;
}

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

.section-head h2 {
  font-size: 2.3rem;
  font-weight: 900;
  color: #000;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 600;
}

.node-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.node-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: #ffffff;
  border: var(--border-thick);
  box-shadow: var(--neo-shadow-sm);
}

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

.node-flag {
  font-size: 1.6rem;
}

.node-name {
  font-size: 1rem;
  font-weight: 800;
  color: #000;
}

.node-type {
  font-size: 0.75rem;
  font-weight: 700;
  color: #000;
  background: #fde047;
  padding: 1px 8px;
  border: 1px solid #000;
  border-radius: 2px;
}

.node-ping {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--success);
}

.ping-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  border: 1px solid #000;
}

/* Pricing Section */
.pricing-section {
  padding: 70px 0;
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.toggle-btn {
  padding: 10px 24px;
  background: #ffffff;
  border: var(--border-thick);
  box-shadow: var(--neo-shadow-sm);
  color: #000;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.toggle-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 4px 4px 0px #000;
}

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

.price-card {
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: var(--border-thick);
  box-shadow: var(--neo-shadow);
}

.price-card.featured {
  background: #fffcf8;
  border: 3px solid #000;
  box-shadow: 7px 7px 0px #000;
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 4px 14px;
  border: 1.5px solid #000;
  box-shadow: 2px 2px 0px #000;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 900;
  color: #000;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.plan-price {
  font-size: 2.6rem;
  font-weight: 900;
  color: #000;
  margin-bottom: 24px;
}

.plan-price span {
  font-size: 0.95rem;
  color: var(--text-dim);
  font-weight: 700;
}

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

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
}

.plan-features li::before {
  content: "✔";
  color: var(--primary);
  font-weight: 900;
}

/* User Reviews Section */
.reviews-section {
  padding: 70px 0;
}

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

.review-card {
  padding: 26px;
  background: #ffffff;
  border: var(--border-thick);
  box-shadow: var(--neo-shadow);
}

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

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  color: #fff;
}

.user-meta h4 {
  font-size: 1.05rem;
  color: #000;
  font-weight: 900;
}

.user-meta span {
  font-size: 0.8rem;
  font-weight: 800;
  color: #d97706;
}

.review-body {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 70px 0;
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  border: var(--border-thick);
  box-shadow: var(--neo-shadow-sm);
  background: #ffffff;
  overflow: hidden;
  transition: var(--transition-fast);
}

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

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px 24px;
  border-top: 1px dashed #000;
}

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

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

/* Article Showcase & Blog List */
.articles-section {
  padding: 70px 0;
}

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

.article-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: var(--border-thick);
  box-shadow: var(--neo-shadow);
  transition: var(--transition-fast);
}

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

.article-tag {
  font-size: 0.78rem;
  color: #000;
  background: #fde047;
  border: 1px solid #000;
  padding: 2px 10px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 800;
}

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

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

.article-link {
  color: var(--primary);
  font-weight: 900;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* Site Footer */
.site-footer {
  background: var(--bg-dark);
  border-top: var(--border-thick);
  padding: 50px 0 30px;
  margin-top: 60px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.4rem;
  color: #000;
}

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

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #000;
}

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

.footer-copy {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
}

/* Core Task 2: Footer PBN Link Pipe / 友情链接 */
.pbn-friendly-links {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed #000000;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pbn-friendly-links span {
  color: #525252;
}

.pbn-friendly-links a {
  color: #000000;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.pbn-friendly-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Article Page Layout Styling */
.article-page-body {
  padding: 50px 0;
  background: var(--bg-dark);
}

.article-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  border: var(--border-thick);
  box-shadow: var(--neo-shadow);
}

.article-header-meta {
  margin-bottom: 30px;
  border-bottom: 2px solid #000;
  padding-bottom: 24px;
}

.article-header-meta h1 {
  font-size: 2.3rem;
  font-weight: 900;
  color: #000;
  margin-bottom: 16px;
  line-height: 1.3;
}

.meta-info {
  display: flex;
  gap: 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.article-content {
  font-size: 1.05rem;
  font-weight: 500;
  color: #171717;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 1.65rem;
  font-weight: 900;
  color: #000;
  margin: 36px 0 16px;
  border-left: 6px solid var(--primary);
  padding-left: 12px;
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #000;
  margin: 28px 0 12px;
}

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

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

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

.article-content strong {
  color: #000;
  font-weight: 800;
}

.cta-box {
  margin: 40px 0;
  padding: 30px;
  background: #fffcf8;
  border: var(--border-thick);
  box-shadow: var(--neo-shadow);
  text-align: center;
}

.cta-box h3 {
  font-size: 1.45rem;
  font-weight: 900;
  color: #000;
  margin-bottom: 10px;
}

.cta-box p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.related-articles {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid #000;
}

.related-articles h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: #000;
  margin-bottom: 20px;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .hero-title-main {
    font-size: 2.6rem;
  }
  .hero-title-sub {
    font-size: 2.2rem;
  }
  
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 20px;
    border-bottom: var(--border-thick);
  }

  .article-container {
    padding: 24px;
  }
}
