/* 青云梯官网 - 全新高科技自由风格视觉系统 */
:root {
  --bg-dark: #060813;
  --bg-card: rgba(13, 17, 33, 0.85);
  --bg-card-hover: rgba(22, 30, 56, 0.95);
  --border-color: rgba(56, 189, 248, 0.18);
  --border-glow: rgba(56, 189, 248, 0.5);
  --primary-cyan: #06b6d4;
  --primary-sky: #38bdf8;
  --primary-purple: #8b5cf6;
  --primary-pink: #ec4899;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  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-family);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(6, 182, 212, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  background-attachment: fixed;
}

a {
  color: var(--primary-sky);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: #7dd3fc;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

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

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 8, 19, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.brand-logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.7));
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #8b5cf6);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.6);
  color: #fff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-sky);
  color: #fff;
}

.btn-recommend {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.45);
}

.btn-recommend:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.7);
  color: #fff;
}

/* ===================================================
   Brand New Hero Section Layout ("这里要不一样")
   =================================================== */
.hero-fresh {
  padding: 90px 0 70px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--primary-sky);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.hero-pill-badge span.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-fresh-title {
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-fresh-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-fresh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 40px;
}

/* Futuristic Tech Hub Card (Right Side Hero Visual - "这里要不一样") */
.tech-hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(6, 182, 212, 0.2);
  position: relative;
  overflow: hidden;
}

.tech-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #06b6d4, #3b82f6, #8b5cf6, #ec4899);
}

.hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #10b981;
  font-size: 0.85rem;
  font-weight: 600;
}

.hub-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.speed-meter-box {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.speed-number {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #38bdf8, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 4px;
}

.speed-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.live-nodes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 16px;
  transition: all 0.25s ease;
}

.node-row:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--primary-cyan);
}

.node-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.node-ping-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Floating Stats Dock */
.hero-dock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.dock-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.dock-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.2);
}

.dock-val {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #06b6d4, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.dock-lbl {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Features, Pricing, Nodes, Reviews, FAQ */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 54px;
}

.section-tag {
  color: var(--primary-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

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

.features-section {
  padding: 95px 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.18);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.pricing-section {
  padding: 95px 0;
  background: rgba(13, 17, 33, 0.5);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.price-card.popular {
  border-color: var(--primary-sky);
  background: rgba(20, 30, 58, 0.95);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.3);
}

.badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: 20px;
}

.price-card:hover {
  transform: translateY(-6px);
}

.price-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.price-amount span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.price-features li svg {
  color: var(--primary-cyan);
}

.nodes-section {
  padding: 95px 0;
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.node-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  transition: all 0.3s ease;
}

.node-item:hover {
  border-color: var(--primary-cyan);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.node-flag {
  font-size: 2.2rem;
  margin-bottom: 8px;
  display: block;
}

.node-name {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.node-ping {
  color: var(--primary-cyan);
  font-size: 0.78rem;
  margin-top: 4px;
  font-weight: 600;
}

.articles-section {
  padding: 95px 0;
}

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

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

.article-meta {
  color: var(--primary-sky);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.article-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.45;
}

.article-card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.reviews-section {
  padding: 95px 0;
  background: rgba(13, 17, 33, 0.5);
}

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

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

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}

.review-info h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.review-info span {
  color: var(--text-dim);
  font-size: 0.82rem;
}

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

.review-text {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.faq-section {
  padding: 95px 0;
}

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

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

.faq-question {
  padding: 22px 26px;
  font-weight: 700;
  font-size: 1.08rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.faq-answer {
  padding: 0 26px 22px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: -6px;
  padding-top: 18px;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-toggle-icon {
  transition: transform 0.3s ease;
}

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

/* Article Container */
.article-container {
  max-width: 940px;
  margin: 55px auto 95px;
  padding: 48px;
  border-radius: var(--radius-lg);
}

.article-header {
  margin-bottom: 38px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
}

.article-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.article-content {
  color: var(--text-main);
  font-size: 1.06rem;
  line-height: 1.85;
}

.article-content h2 {
  font-size: 1.65rem;
  color: #fff;
  margin: 38px 0 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-cyan);
}

.article-content h3 {
  font-size: 1.35rem;
  color: #e2e8f0;
  margin: 30px 0 14px;
}

.article-content p {
  margin-bottom: 22px;
  color: #cbd5e1;
}

.article-content ul, .article-content ol {
  margin: 0 0 26px 26px;
  color: #cbd5e1;
}

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

.article-keywords-tagbox {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kw-badge {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--primary-sky);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Footer Section - Core Task 2 Requirement */
footer {
  background: rgba(5, 7, 15, 0.96);
  border-top: 1px solid var(--border-color);
  padding: 45px 0 32px;
  text-align: center;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.footer-brand img {
  height: 34px;
}

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

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

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

/* PBN Friend Links Area - Low Profile, Small Font, DOFOLLOW Target Blank */
.friend-links-area {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.friend-links-area span {
  opacity: 0.7;
}

.friend-links-area a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.8rem;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.friend-links-area a:hover {
  opacity: 1;
  color: var(--primary-sky);
}

@media (max-width: 1024px) {
  .hero-fresh { grid-template-columns: 1fr; text-align: center; }
  .hero-fresh-actions { justify-content: center; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nodes-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-fresh-title { font-size: 2.3rem; }
  .hero-dock-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .nodes-grid { grid-template-columns: repeat(2, 1fr); }
  .article-container { padding: 24px; }
}
