/* ==========================================================================
   龙猫云机场 (ttrcloud.cfd) - 官方主样式表
   高性价比 4K/8K IPLC 专线科学上网落地页
   全端响应式 / 暗黑极客微光美学
   ========================================================================== */

:root {
  --bg-dark: #080c16;
  --bg-card: #0f172a;
  --bg-card-hover: #17223b;
  --bg-glass: rgba(15, 23, 42, 0.78);
  --border-color: rgba(56, 189, 248, 0.16);
  --border-hover: rgba(56, 189, 248, 0.4);
  --border-focus: rgba(6, 182, 212, 0.5);

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --cyan: #06b6d4;
  --cyan-hover: #0891b2;
  --accent: #8b5cf6;
  --amber: #f59e0b;
  --emerald: #10b981;
  --rose: #f43f5e;

  --text-main: #f8fafc;
  --text-sub: #94a3b8;
  --text-muted: #64748b;

  --gradient-brand: linear-gradient(135deg, #2563eb 0%, #06b6d4 50%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-card: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(6, 182, 212, 0.25);
  --shadow-primary: 0 8px 24px -4px rgba(37, 99, 235, 0.45);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
}

body {
  overflow-x: hidden;
  background: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 45%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(139, 92, 246, 0.08) 0%, transparent 55%);
  background-attachment: fixed;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: #38bdf8;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 12, 22, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.logo-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--cyan);
  border-radius: 20px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-sub);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-main);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(37, 99, 235, 0.6);
  color: #fff;
  opacity: 0.95;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  background: rgba(10, 15, 28, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 24px;
  z-index: 999;
}

.mobile-nav-drawer.active {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-links a {
  display: block;
  font-size: 1.05rem;
  color: var(--text-main);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 170px;
  padding-bottom: 70px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--cyan);
  margin-bottom: 24px;
  font-weight: 500;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-sub);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: #fff;
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.metric-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  padding: 20px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.metric-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-sub);
}

/* ==========================================================================
   Interactive Node Monitor Section
   ========================================================================== */
.monitor-section {
  padding: 40px 0 70px;
}

.monitor-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.monitor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}

.monitor-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald);
  animation: pulseAnim 1.8s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.ping-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ping-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.ping-item:hover {
  background: rgba(23, 34, 59, 0.7);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.ping-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ping-flag {
  font-size: 1.6rem;
}

.ping-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.ping-detail {
  font-size: 0.78rem;
  color: var(--text-sub);
}

.ping-badge {
  text-align: right;
  min-width: 90px;
}

.ping-val {
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--emerald);
  display: block;
}

.ping-bar-bg {
  width: 70px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 6px;
  margin-left: auto;
  overflow: hidden;
}

.ping-bar-fill {
  height: 100%;
  background: var(--emerald);
  border-radius: 2px;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ==========================================================================
   Bento Grid Feature Section
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  display: inline-block;
}

.bento-card h3 {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.bento-card p {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Pricing Cards Section
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.pricing-card.popular {
  border-color: var(--cyan);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.08) 0%, rgba(15, 23, 42, 0.95) 100%);
  box-shadow: 0 12px 36px -8px rgba(6, 182, 212, 0.3);
  transform: scale(1.03);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-6px);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.plan-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.plan-subtitle {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 20px;
  min-height: 40px;
}

.plan-price-box {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-price {
  font-size: 2.3rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price span {
  font-size: 0.9rem;
  color: var(--text-sub);
  font-weight: normal;
}

.plan-features {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-features li svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Testimonials (用户评价)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

.testimonial-stars {
  color: var(--amber);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.94rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 22px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.user-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.user-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section (常见问题)
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-chevron {
  font-size: 0.9rem;
  color: var(--cyan);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-sub);
  font-size: 0.94rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 0 24px 22px;
}

/* ==========================================================================
   Article Grid Section
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.article-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan);
  margin-bottom: 14px;
  font-weight: 600;
}

.article-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 12px;
}

.article-card h3 a {
  color: #fff;
  transition: color 0.2s;
}

.article-card h3 a:hover {
  color: var(--cyan);
}

.article-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Article Details Page Layout
   ========================================================================== */
.article-page-header {
  padding-top: 140px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
  border-bottom: 1px solid var(--border-color);
}

.article-body-content {
  max-width: 860px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.article-body-content h2 {
  font-size: 1.65rem;
  color: #fff;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-body-content h3 {
  font-size: 1.28rem;
  color: #38bdf8;
  margin: 28px 0 12px;
}

.article-body-content p {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.article-body-content strong {
  color: #fff;
  font-weight: 600;
}

.article-body-content ul, 
.article-body-content ol {
  margin: 0 0 24px 24px;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.8;
}

.article-body-content li {
  margin-bottom: 10px;
}

.article-cta-box {
  margin: 48px 0;
  padding: 36px 30px;
  background: var(--gradient-card);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.article-cta-box h3 {
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 10px;
}

.article-nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.article-nav-links a {
  font-size: 0.92rem;
  color: var(--cyan);
  font-weight: 500;
}

/* ==========================================================================
   Footer Section & PBN Weight Transfer (核心任务 2)
   ========================================================================== */
.site-footer {
  background: #050811;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 0 36px;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer-desc {
  max-width: 680px;
  margin: 0 auto 20px;
  color: var(--text-sub);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 22px;
}

/* PBN Friendly Links Area */
.pbn-links-area {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pbn-links-title {
  color: var(--text-muted);
  font-weight: 500;
}

.pbn-link-item {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s ease;
}

.pbn-link-item:hover {
  color: var(--cyan);
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Adaptations (移动端深度适配)
   ========================================================================== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-6px);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .ping-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 1;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.85rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
  .metrics-row {
    grid-template-columns: 1fr;
  }
}
