/* CSS Design System for 呆鹅云 daieyunjc.homes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #00f2fe;
  --primary-glow: rgba(0, 242, 254, 0.4);
  --secondary: #4facfe;
  --accent-green: #00e676;
  --accent-cyan: #00f5c4;
  --accent-purple: #7000ff;
  --accent-magenta: #d946ef;
  --bg-dark: #050814;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(26, 38, 66, 0.85);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-highlight: rgba(0, 245, 196, 0.3);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-kaiti: "KaiTi", "STKaiti", "DFKai-SB", "Microsoft YaHei", serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-glow: 0 0 35px rgba(0, 245, 196, 0.15);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Fixed Wave Background from Image 5 aesthetics */
.bg-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, #051923 0%, #040914 60%, #02040a 100%);
}

.gradient-wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse 80% 80% at 20% -20%, rgba(0, 245, 196, 0.25), transparent 70%),
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(0, 230, 118, 0.2), transparent 60%),
    radial-gradient(ellipse 70% 70% at 50% 110%, rgba(112, 0, 255, 0.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* Canvas for Interactive Dynamic Particles */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

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

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 8, 20, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.logo-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
}

.logo-text span {
  background: linear-gradient(90deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-badge {
  font-size: 0.75rem;
  background: rgba(0, 245, 196, 0.15);
  color: var(--accent-cyan);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(0, 245, 196, 0.3);
  margin-left: 6px;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 245, 196, 0.5);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00f5c4, #00e676);
  color: #030a16;
  box-shadow: 0 4px 20px rgba(0, 245, 196, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 245, 196, 0.55);
}

.btn-danger-red {
  background: linear-gradient(135deg, #8b1d24, #b91c1c);
  color: #ffffff;
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 4px 15px rgba(185, 28, 28, 0.4);
}

.btn-danger-red:hover {
  background: linear-gradient(135deg, #991b1b, #dc2626);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(220, 38, 38, 0.6);
}

/* Hero Section */
.hero {
  padding: 160px 0 90px;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 245, 196, 0.08);
  border: 1px solid rgba(0, 245, 196, 0.25);
  padding: 6px 16px;
  border-radius: 30px;
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 70%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

/* Notice Box */
.notice-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(0, 245, 196, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: left;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
}

.notice-content {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.btn-lg {
  padding: 14px 34px;
  font-size: 1.05rem;
}

/* Section Title */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

/* Pricing Grid - Matching Image 1 Exactly */
.pricing-section {
  padding: 80px 0;
}

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

.pricing-card {
  background: rgba(22, 27, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 245, 196, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 245, 196, 0.15);
}

.pricing-card.featured {
  border: 1px solid rgba(0, 245, 196, 0.5);
  background: rgba(24, 33, 47, 0.95);
  box-shadow: 0 10px 30px rgba(0, 245, 196, 0.12);
}

.ribbon {
  position: absolute;
  top: 18px;
  right: -32px;
  transform: rotate(45deg);
  background: linear-gradient(90deg, #d946ef, #a855f7);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 36px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.plan-price {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.plan-price .currency {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ef4444;
}

.plan-price .amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ef4444;
  margin: 0 4px;
}

.plan-price .period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.plan-cta-btn {
  width: 100%;
  margin-bottom: 28px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.92rem;
}

.feature-group-title {
  color: #f1f5f9;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.badge-tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-weight: 600;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
}

.check-icon {
  color: #10b981;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 1px;
}

.feature-highlight {
  color: #ef4444;
  font-weight: 700;
}

/* Features Grid */
.features-section {
  padding: 80px 0;
}

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

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

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 245, 196, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 245, 196, 0.2);
}

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

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

/* Nodes Grid */
.nodes-section {
  padding: 80px 0;
}

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

.node-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

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

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

.node-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.node-ping {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-green);
  background: rgba(0, 230, 118, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
}

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

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

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

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

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

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.article-card:hover .article-title {
  color: var(--accent-cyan);
}

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

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

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

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(0, 245, 196, 0.3);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--accent-cyan);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px 24px;
}

/* Article Detail Page Layout (KaiTi Styled) */
.article-detail-body {
  font-family: var(--font-kaiti);
  font-size: 1.15rem;
  line-height: 1.95;
  color: #e2e8f0;
}

.article-header-section {
  padding: 140px 0 40px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.article-meta-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-content-wrapper {
  padding: 50px 0;
  max-width: 900px;
  margin: 0 auto;
}

.article-content {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 40px 48px;
}

.article-content h2 {
  font-size: 1.7rem;
  color: var(--accent-cyan);
  margin: 40px 0 20px;
  border-left: 4px solid var(--accent-cyan);
  padding-left: 14px;
}

.article-content h3 {
  font-size: 1.35rem;
  color: #fff;
  margin: 28px 0 16px;
}

.article-content p {
  margin-bottom: 22px;
  text-align: justify;
}

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

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

.article-cta-box {
  background: linear-gradient(135deg, rgba(0, 245, 196, 0.1), rgba(0, 230, 118, 0.05));
  border: 1px solid rgba(0, 245, 196, 0.3);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  margin: 40px 0;
}

.article-cta-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

/* Footer & Keywords Matrix */
.footer {
  background: rgba(3, 6, 15, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-matrix {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-matrix-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.keywords-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.keyword-tag:hover {
  color: var(--accent-cyan);
  border-color: rgba(0, 245, 196, 0.3);
  background: rgba(0, 245, 196, 0.05);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .pricing-grid, .features-grid, .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .pricing-grid, .features-grid, .articles-grid, .nodes-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .article-content {
    padding: 24px;
  }
}
