/* ===================================================
   大哥云 - 极简大地色卡片式主样式 + 完整扩展模块
   dgyjc.homes
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;700;800;900&display=swap');

:root {
  /* Vivid Royal Blue / Anime Tech Theme */
  --bg-body:       #F0F5FF; 
  --bg-card:       #FFFFFF; 
  
  --text-dark:     #0F296D; 
  --text-muted:    #4C659D; 
  --text-light:    #94a3b8;
  
  --primary:       #2B79FF; 
  --primary-hover: #1E65E5; 
  
  --secondary:     #68A1FF; 
  --accent-light:  #D4E4FF; 
  
  --border-color:  #e2e8f0; 
  
  --shadow-card:   0 0 25px rgba(43, 121, 255, 0.15);
  --shadow-hover:  0 0 35px rgba(255, 255, 255, 0.9);
  --shadow-btn:    0 0 15px rgba(43, 121, 255, 0.5);
  --radius-card:   20px;
  --radius-btn:    8px;
}

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

body {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* =========================================
   0. Dynamic Effects (Ambient & Ripple)
   ========================================= */
/* Light dynamic ambient background */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(135deg, #F0F5FF 0%, #E8F0FE 100%);
}
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  z-index: 1;
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.35;
  animation: float 20s infinite alternate ease-in-out;
}
.orb-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: #2B79FF; }
.orb-2 { bottom: -20%; right: -10%; width: 70vw; height: 70vw; background: #6F42C1; animation-delay: -7s; }
.orb-3 { top: 30%; left: 30%; width: 50vw; height: 50vw; background: #E8F0FE; filter: blur(150px); opacity: 0.4; animation-delay: -3s; animation-duration: 15s;}
.orb-4 { top: -10%; right: 20%; width: 45vw; height: 45vw; background: #00e5ff; filter: blur(110px); opacity: 0.25; animation-delay: -11s; }

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 30px) scale(1.1); }
}

/* Mouse Ripple (Removed per user request) */

/* Hover float effect class */
.hover-float {
  transition: all 0.3s ease;
}
.hover-float:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary);
}

/* =========================================
   Navigation
   ========================================= */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 245, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 15px 0;
}
.nav-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo { font-size: 1.35rem; font-weight: 900; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 8px; letter-spacing: 0.5px;}
.logo-box { width: 32px; height: 32px; background: var(--primary); color: #fff; border-radius: 8px; display: flex; justify-content: center; align-items: center; font-size: 20px; font-weight: 900; box-shadow: 0 4px 10px rgba(43, 121, 255, 0.3); }
.nav-links { display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: 14px; transition: 0.2s; }
.nav-links a:hover { color: var(--primary); }
@media (max-width: 768px) { .nav-links { display: none; } }

.main-container {
  width: 90%;
  max-width: 1000px;
  margin: 40px auto;
}

/* =========================================
   1. Carousel (轮播图)
   ========================================= */
.carousel-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 80px;
  background: var(--bg-card);
  padding: 80px 60px;
}
.carousel-slide {
  display: none;
  text-align: center;
  animation: fade 0.5s ease-in-out;
}
.carousel-slide.active { display: block; }
@keyframes fade { from {opacity: .4} to {opacity: 1} }

.carousel-title { font-size: 2.5rem; font-weight: 800; color: var(--text-dark); margin-bottom: 15px; }
.carousel-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px; }

/* Carousel Outline Button */
.btn-carousel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--text-dark);
  padding: 10px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 1px solid var(--text-light);
}
.btn-carousel:hover {
  background-color: var(--bg-body);
  color: var(--primary);
  border-color: var(--primary);
}

/* Arrows */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: 44px; height: 44px;
  margin-top: -22px;
  color: #4B5563;
  font-weight: bold;
  font-size: 18px;
  transition: 0.3s ease;
  border-radius: 50%;
  background: #F3F4F6;
  display: flex; justify-content: center; align-items: center;
  user-select: none;
}
.next { right: 30px; }
.prev { left: 30px; }
.prev:hover, .next:hover { background: #E5E7EB; color: #111827; }

/* Dots */
.carousel-dots { text-align: center; position: absolute; bottom: 30px; width: 100%; left: 0;}
.dot {
  cursor: pointer;
  height: 8px; width: 8px;
  margin: 0 5px;
  background-color: #D1D5DB;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.dot.active, .dot:hover { background-color: var(--secondary); }


/* =========================================
   2. Hero Card (from previous minimalist)
   ========================================= */
.hero-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 500px;
  z-index: 2;
}
.hero-content h1 { font-size: 3rem; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; letter-spacing: -1px; }
.hero-content .subtitle { font-size: 1.5rem; font-weight: 600; color: var(--text-dark); margin-bottom: 30px; }
.features-list { list-style: none; margin-bottom: 40px; }
.features-list li { font-size: 1rem; color: var(--text-muted); margin-bottom: 15px; display: flex; align-items: center; gap: 12px; }
.features-list li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.hero-icon { width: 350px; height: 350px; position: absolute; right: -20px; top: 50%; transform: translateY(-50%) rotate(15deg); opacity: 0.15; color: var(--secondary); pointer-events: none; z-index: 1; }
.hero-icon svg { width: 100%; height: 100%; }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background-color: var(--primary); color: #FFFFFF; padding: 12px 28px; border-radius: var(--radius-btn); text-decoration: none; font-weight: 600; font-size: 15px; transition: all 0.2s ease; box-shadow: var(--shadow-btn); border: 1px solid var(--primary); }
.btn-primary:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-2px); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background-color: #FAFAFA; color: var(--text-muted); padding: 12px 28px; border-radius: var(--radius-btn); text-decoration: none; font-weight: 500; font-size: 15px; transition: all 0.2s ease; border: 1px solid var(--border-color); }
.btn-outline:hover { background-color: #FFFFFF; border-color: var(--secondary); color: var(--text-dark); }
.btn-outline svg { color: var(--secondary); }

/* =========================================
   3. Section Header & Actions
   ========================================= */
.section-header { display: flex; flex-direction: column; align-items: center; margin: 60px 0 30px; }
.section-title { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.section-title svg { width: 22px; height: 22px; }
.section-subtitle { font-size: 14px; color: var(--text-muted); margin-top: 0; text-align: center; }

/* =========================================
   4. Node Table
   ========================================= */
.action-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.node-table-container { background-color: var(--bg-card); border-radius: var(--radius-card); padding: 10px 40px; box-shadow: var(--shadow-card); overflow-x: auto; margin-bottom: 40px; }
.node-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 600px; }
.node-table th { padding: 24px 10px 16px; font-size: 13px; font-weight: 500; color: var(--text-muted); border-bottom: 1px solid var(--border-color); }
.node-table td { padding: 20px 10px; font-size: 14px; color: var(--text-dark); font-weight: 500; border-bottom: 1px solid rgba(229, 229, 229, 0.4); }
.node-table tr:last-child td { border-bottom: none; }
.status-badge { background-color: #EBF5ED; color: #4A8C5A; padding: 4px 12px; border-radius: 4px; font-size: 13px; font-weight: 600; display: inline-block; }
.ping-good { color: #4A8C5A; font-weight: 600; }
.ping-avg { color: #7A8964; font-weight: 600; }

/* =========================================
   5. Use Cases (Tabs)
   ========================================= */
.use-cases-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; flex-wrap: wrap;}
.tab-btn { background: transparent; border: none; padding: 10px 20px; font-size: 15px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: 0.3s; border-bottom: 2px solid transparent;}
.tab-btn.active, .tab-btn:hover { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; background: var(--bg-card); padding: 40px; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.tab-content.active { display: block; animation: fadeIn 0.4s; }
.tab-content h3 { color: var(--primary); margin-bottom: 15px; }

/* =========================================
   6. Pricing & Articles
   ========================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }

.price-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.price-card.highlight {
  border: 2px solid var(--primary);
}

.price-header {
  background: #F8F9FA;
  padding: 30px;
  border-bottom: 1px solid var(--border-color);
}
.price-card.highlight .price-header {
  background: rgba(74, 95, 65, 0.05); /* very light primary */
}
.price-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}
.price-card.highlight .price-title {
  color: var(--primary);
}
.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 5px;
  display: flex;
  align-items: baseline;
  gap: 5px;
  line-height: 1;
}
.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
}
.price-period {
  font-size: 13px;
  color: var(--text-muted);
}

.price-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.price-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}
.price-features li {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.icon-check {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.icon-solid-check {
  width: 16px;
  height: 16px;
  color: #10B981;
  flex-shrink: 0;
  margin-top: 2px;
}
.icon-warning {
  color: #F59E0B;
  font-weight: 900;
  font-size: 14px;
}
.text-warning {
  color: #F59E0B;
  font-weight: 700;
}
.link-tutorial {
  color: var(--primary);
  text-decoration: underline;
}

.price-card .btn-primary {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
}

.article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.article-card { background: var(--bg-card); padding: 30px; border-radius: 12px; text-decoration: none; box-shadow: var(--shadow-card); transition: all 0.3s; display: block; border: 1px solid transparent;}
.article-card h4 { color: var(--text-dark); margin-bottom: 12px; font-size: 1.1rem; font-weight: 700;}
.article-card p { color: var(--text-muted); font-size: 13px; line-height: 1.5; }

/* =========================================
   7. FAQ Accordion
   ========================================= */
.faq-list { position: relative; display: flex; flex-direction: column; gap: 15px; margin: 0 auto; z-index: 1;}
.faq-bg { position: absolute; top: -50px; left: -50px; right: -50px; bottom: -50px; z-index: -1; background-image: radial-gradient(var(--primary) 1px, transparent 1px); background-size: 40px 40px; opacity: 0.1; pointer-events: none;}
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; cursor: pointer; transition: all 0.3s ease; }
.faq-question { font-weight: 700; font-size: 16px; color: var(--text-dark); display: flex; justify-content: space-between; align-items: center; user-select: none; }
.faq-toggle { width: 32px; height: 32px; border-radius: 50%; background: #eef2ff; color: var(--primary); display: flex; justify-content: center; align-items: center; transition: all 0.3s ease; flex-shrink: 0; margin-left: 20px; }
.faq-toggle .icon-plus { display: block; width: 16px; height: 16px; }
.faq-toggle .icon-cross { display: none; width: 14px; height: 14px; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease; opacity: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6;}
.faq-item.active { box-shadow: var(--shadow-card); border-color: transparent;}
.faq-item.active .faq-toggle { background: var(--primary); color: #ffffff; transform: rotate(90deg); }
.faq-item.active .faq-toggle .icon-plus { display: none; }
.faq-item.active .faq-toggle .icon-cross { display: block; transform: rotate(-90deg); }
.faq-item.active .faq-answer { max-height: 500px; opacity: 1; margin-top: 15px; }

/* =========================================
   8. User Reviews
   ========================================= */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--bg-card); padding: 30px; border-radius: 12px; box-shadow: var(--shadow-card); }
.review-stars { color: #FBBF24; margin-bottom: 10px; font-size: 18px; }
.review-text { font-size: 14px; color: var(--text-muted); font-style: italic; margin-bottom: 20px; line-height: 1.6; }
.review-user { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--secondary); color: white; display: flex; justify-content: center; align-items: center; font-weight: bold; }
.review-name { font-weight: 600; font-size: 14px; color: var(--text-dark); }
.review-role { font-size: 12px; color: var(--text-light); }

/* Footer */
footer { text-align: center; padding: 60px 0 40px; color: var(--text-muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; margin-bottom: 25px; }
.footer-links-title { font-weight: 700; color: var(--text-dark); }
.footer-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--primary); text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
  .hero-card { padding: 40px 30px; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-icon { opacity: 0.05; }
  .pricing-grid, .article-list, .reviews-grid { grid-template-columns: 1fr; }
  .action-buttons { flex-direction: column; width: 100%; }
  .action-buttons a { width: 100%; justify-content: center; }
  .carousel-slide { padding: 40px 20px; }
}

/* =========================================
   Neumorphic Dial & Tech Elements
   ========================================= */
.neo-dial {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: var(--bg-body);
  box-shadow: 12px 12px 24px #cdd4d9, -12px -12px 24px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.neo-curved-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  animation: spin 30s linear infinite;
}

.neo-ring-1 {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: var(--bg-body);
  box-shadow: inset 8px 8px 16px #cdd4d9, inset -8px -8px 16px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.neo-ring-2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--bg-body);
  box-shadow: 6px 6px 12px #cdd4d9, -6px -6px 12px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neo-center {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 10px 25px rgba(48, 126, 184, 0.5), inset 2px 2px 5px rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
  z-index: 2;
}

.neo-text-top { font-size: 10px; letter-spacing: 2px; opacity: 0.8; margin-bottom: 2px; font-weight: 600;}
.neo-text-mid { font-size: 36px; font-weight: 900; line-height: 1; letter-spacing: -1px; }
.neo-text-bot { font-size: 13px; font-weight: 800; letter-spacing: 1px; margin-top: 2px; }
.neo-text-est { font-size: 9px; letter-spacing: 1.5px; opacity: 0.7; margin-top: 8px; font-weight: 600;}

.orbit-container {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  animation: spin 10s linear infinite;
}
.particle {
  position: absolute;
  top: -4px;
  left: 50%;
  margin-left: -4px;
  width: 8px; height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--secondary), 0 0 30px var(--secondary);
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Dynamic Module Glow */
@keyframes module-glow {
  0% { box-shadow: var(--shadow-card), 0 0 0px rgba(56, 199, 205, 0); }
  100% { box-shadow: var(--shadow-hover), 0 0 25px rgba(56, 199, 205, 0.25); }
}

.hero-card, .carousel-container, .node-table-container, .tab-content, .price-card, .article-card {
  animation: module-glow 3.5s infinite alternate ease-in-out;
}
.hero-card:hover, .carousel-container:hover, .node-table-container:hover, .tab-content:hover, .price-card:hover, .article-card:hover {
  animation-play-state: paused;
}
