/* CSS Reset & Design Tokens for hongxingyunjc.top */
:root {
  --bg-dark: #06080C;
  --bg-card: #0D111A;
  --bg-card-hover: #151C2A;
  --border-color: rgba(255, 92, 56, 0.15);
  --border-glow: rgba(255, 92, 56, 0.4);
  
  --primary-coral: #FF5C38;
  --primary-glow: #FF7A5C;
  --accent-pink: #FF3B6B;
  --text-main: #F0F4F8;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --green-online: #10B981;
  
  --font-kaiti: "KaiTi", "楷体", "STKaiti", "华文楷体", serif, sans-serif;
  --font-code: "Fira Code", "Courier New", monospace;
  
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-coral: 0 0 25px rgba(255, 92, 56, 0.35);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

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

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

body {
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #171118 0%, #06080C 70%);
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6, nav, button, .tag, .badge {
  font-family: var(--font-kaiti);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Background Dynamic Glow Elements */
.bg-glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 56, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
  animation: pulseOrb 8s infinite alternate ease-in-out;
}

@keyframes pulseOrb {
  0% { transform: scale(0.9) translate(0, 0); opacity: 0.5; }
  100% { transform: scale(1.1) translate(30px, -20px); opacity: 0.85; }
}

/* Canvas background for dynamic floating particles */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Navigation Header */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 8, 12, 0.85);
  backdrop-filter: blur(16px);
  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: 22px;
  font-weight: bold;
  color: var(--text-main);
  letter-spacing: 1px;
}

.brand-logo img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 8px rgba(255, 92, 56, 0.6));
}

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

.nav-links a {
  font-size: 17px;
  color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-coral);
  text-shadow: 0 0 10px rgba(255, 92, 56, 0.5);
}

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

.lang-switch {
  display: flex;
  background: #111622;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 3px;
  font-size: 14px;
}

.lang-btn {
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  color: var(--text-muted);
  background: transparent;
  border: none;
  font-family: var(--font-kaiti);
}

.lang-btn.active {
  background: var(--primary-coral);
  color: #fff;
  font-weight: bold;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-coral), #D93612);
  color: #FFF;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: bold;
  box-shadow: 0 4px 20px rgba(255, 92, 56, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 92, 56, 0.6);
  filter: brightness(1.1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 92, 56, 0.1);
  color: var(--primary-coral);
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: bold;
}

.btn-secondary:hover {
  background: rgba(255, 92, 56, 0.2);
  border-color: var(--primary-coral);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 92, 56, 0.12);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  color: var(--primary-coral);
  font-size: 15px;
  margin-bottom: 24px;
}

.badge-tag .dot {
  width: 8px;
  height: 8px;
  background-color: var(--green-online);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-online);
}

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

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFD0C7 50%, var(--primary-coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

/* Live Ping Panel */
.ping-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin: 0 auto 40px;
  max-width: 980px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-muted);
}

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

.node-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.flag-icon {
  font-size: 20px;
}

.node-name {
  font-size: 16px;
  font-weight: bold;
}

.node-type {
  font-size: 12px;
  color: var(--primary-coral);
  background: rgba(255, 92, 56, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.node-ping {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green-online);
  font-family: var(--font-code);
  font-weight: bold;
}

/* Features Grid */
.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 12px;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-coral);
  box-shadow: var(--shadow-coral);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 92, 56, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-coral);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Pricing Table - Styled to match Image 2 */
.pricing-section {
  padding: 60px 0 90px;
}

.pricing-table-container {
  background: #0B0F19;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
  text-align: left;
}

.pricing-table th {
  padding: 16px 20px;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-table td {
  padding: 20px;
  background: #111625;
  font-size: 16px;
}

.pricing-table tr td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  font-weight: bold;
}

.pricing-table tr td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  text-align: right;
}

.pricing-table tr.popular td {
  background: #191E2F;
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
}

.pricing-table tr.popular td:first-child {
  border-left: 1px solid var(--border-glow);
}

.pricing-table tr.popular td:last-child {
  border-right: 1px solid var(--border-glow);
}

.plan-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.hot-badge {
  background: linear-gradient(135deg, #FF5C38, #FF3B6B);
  color: #FFF;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: normal;
}

.plan-price {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-coral);
}

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

.plan-traffic {
  color: var(--text-main);
}

.plan-speed {
  color: var(--text-muted);
}

.plan-status {
  color: var(--green-online);
  font-weight: bold;
}

.btn-buy {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-coral), #E03E1A);
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 92, 56, 0.3);
}

.btn-buy:hover {
  filter: brightness(1.15);
  box-shadow: 0 6px 16px rgba(255, 92, 56, 0.5);
}

/* Downloads Grid */
.downloads-section {
  padding: 60px 0;
}

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

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

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

.client-icon {
  font-size: 40px;
  margin-bottom: 12px;
  color: var(--primary-coral);
}

.client-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 6px;
}

.client-os {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

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

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

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

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

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF5C38, #5A2A38);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
}

.username {
  font-size: 16px;
  font-weight: bold;
}

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

.rating {
  color: #FFB800;
  font-size: 14px;
}

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

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

.faq-list {
  max-width: 900px;
  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;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-kaiti);
}

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

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

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

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

/* SEO Articles Section */
.articles-section {
  padding: 60px 0;
}

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

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

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

.article-tag {
  font-size: 13px;
  color: var(--primary-coral);
  background: rgba(255, 92, 56, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 12px;
}

.article-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

/* 85 Keyword Cloud */
.tags-section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-color);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.tag-item {
  background: #0F1420;
  border: 1px solid rgba(255, 92, 56, 0.15);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.tag-item:hover {
  color: #FFF;
  border-color: var(--primary-coral);
  background: rgba(255, 92, 56, 0.2);
  transform: scale(1.05);
}

/* Article Detail Page Specifics */
.article-container {
  max-width: 900px;
  margin: 40px auto 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

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

.article-header h1 {
  font-size: 34px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: #D1D5DB;
}

.article-body h2 {
  font-size: 24px;
  color: #FFF;
  margin: 32px 0 16px;
  border-left: 4px solid var(--primary-coral);
  padding-left: 12px;
}

.article-body h3 {
  font-size: 20px;
  color: #F3F4F6;
  margin: 24px 0 12px;
}

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

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

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

.article-cta-box {
  background: linear-gradient(135deg, rgba(255, 92, 56, 0.15), rgba(15, 20, 32, 0.9));
  border: 1px solid var(--primary-coral);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 36px 0;
  text-align: center;
}

/* Footer */
.footer {
  background: #040508;
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px;
  color: var(--text-dim);
  font-size: 15px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 18px;
  margin-bottom: 16px;
}

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

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

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .nav-links { display: none; }
  .article-container { padding: 20px; }
  .pricing-table th, .pricing-table td { padding: 12px 10px; font-size: 14px; }
}
