:root {
  --bg-color: #1A1A24;
  --text-main: #FFFFFF;
  --text-muted: #E2E8F0;
  --primary-color: #FFFFFF;
  --border-color: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
  line-height: 1.6; 
  color: var(--text-main); 
  background-color: var(--bg-color); 
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

/* --- 飘浮光球背景 (Floating Orbs) --- */
.bg-orbs { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5; animation: floatOrb 20s infinite alternate ease-in-out; }
.orb-1 { width: 60vw; height: 60vw; background: rgba(255, 255, 255, 0.08); top: -20%; left: -10%; }
.orb-2 { width: 50vw; height: 50vw; background: rgba(100, 150, 255, 0.05); bottom: -20%; right: -10%; animation-delay: -5s; }
@keyframes floatOrb { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(10%, 10%) scale(1.1); } }

/* --- 微磨砂玻璃拟态 (Glassmorphism) --- */
.glass { 
  background: var(--glass-bg); 
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px); 
  border: 0.5px solid var(--border-color); 
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.2); 
}

/* --- 按钮 (Buttons) --- */
.btn { display: inline-block; background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px); padding: 12px 28px; border-radius: 8px; font-weight: 500; text-align: center; transition: all 0.3s; cursor: pointer; letter-spacing: 1px; }
.btn:hover { background: #fff; color: #000; box-shadow: 0 0 20px rgba(255,255,255,0.3); }
.btn-outline { background: transparent; border: 1px solid var(--text-muted); color: var(--text-muted); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

/* --- 导航栏 (Header) --- */
header.glass { position: sticky; top: 0; z-index: 100; border-top: none; border-left: none; border-right: none; border-radius: 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 24px; font-weight: 700; letter-spacing: 1px; color: #fff; }
.nav-links a { margin-left: 24px; font-weight: 400; color: var(--text-muted); transition: color 0.3s; font-size: 15px; }
.nav-links a:hover { color: #fff; }
.nav-links .btn { color: #fff; }

/* --- 布局区块 (Sections) --- */
section { padding: 100px 0; position: relative; z-index: 1; }
.section-title { text-align: center; font-size: 36px; margin-bottom: 15px; font-weight: 600; letter-spacing: 2px; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 60px; font-size: 16px; font-weight: 300; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.card { border-radius: 16px; padding: 40px 30px; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s; }
.card:hover { transform: translateY(-10px); background: var(--glass-bg-hover); }
.card h3, .card h4 { font-size: 20px; margin-bottom: 15px; color: #fff; }
.card p { color: var(--text-muted); font-size: 15px; }

/* --- 首屏 Hero区 --- */
.hero { display: flex; align-items: center; min-height: 85vh; padding: 60px 0; }
.hero-flex { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-left { flex: 1.2; padding-right: 40px; }
.hero-left h1 { font-size: 64px; line-height: 1.15; font-weight: 700; margin-bottom: 30px; letter-spacing: -1px; }
.hero-left p { font-size: 20px; color: var(--text-muted); margin-bottom: 50px; font-weight: 300; max-width: 500px; }
.hero-right { flex: 0.8; display: flex; justify-content: center; align-items: center; }

/* 3D SVG Abstract Graphic */
.hero-svg { width: 100%; max-width: 450px; animation: float3d 12s infinite ease-in-out; }
@keyframes float3d {
  0%, 100% { transform: translateY(0) rotateX(5deg) rotateY(-5deg); }
  50% { transform: translateY(-25px) rotateX(-5deg) rotateY(5deg); }
}

/* --- 实时节点看板 (Dashboard) --- */
.dashboard { width: 100%; border-collapse: collapse; text-align: left; }
.dashboard th, .dashboard td { padding: 16px 20px; border-bottom: 1px solid var(--border-color); font-size: 15px; }
.dashboard th { color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }
.dashboard tr:last-child td { border-bottom: none; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #00ff88; box-shadow: 0 0 10px #00ff88; margin-right: 8px; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

/* --- 360° 环形 3D 旋转木马全景展台 (Pricing) --- */
.carousel-perspective { perspective: 1200px; padding: 60px 0; display: flex; justify-content: center; overflow: hidden; height: 600px; align-items: center; }
.carousel-3d { position: relative; width: 340px; height: 480px; transform-style: preserve-3d; animation: rotateCarousel 25s infinite linear; }
.carousel-wrapper { position: absolute; width: 100%; height: 100%; left: 0; top: 0; transform: rotateY(var(--rot)) translateZ(350px); transform-style: preserve-3d; }
.carousel-3d:hover, .carousel-3d:hover .3d-item { animation-play-state: paused; }

@keyframes rotateCarousel { from { transform: rotateY(0deg); } to { transform: rotateY(-360deg); } }
@keyframes counterRotate { from { transform: rotateY(calc(0deg - var(--rot))); } to { transform: rotateY(calc(360deg - var(--rot))); } }

.pricing-card.3d-item { 
  position: relative; width: 100%; height: 100%; 
  background: rgba(20, 20, 28, 0.9); /* 高级黑卡设计 */
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08); 
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 0 20px rgba(255,255,255,0.02); 
  display: flex; flex-direction: column; justify-content: center;
  animation: counterRotate 25s infinite linear;
}

.price { font-size: 46px; font-weight: bold; margin: 25px 0; color: #fff; letter-spacing: -1px; }
.price span { font-size: 16px; color: var(--text-muted); font-weight: normal; letter-spacing: 0; }
.pricing-features { list-style: none; margin-top: 10px; flex-grow: 1; text-align: left; }
.pricing-features li { padding-left: 28px; margin-bottom: 18px; position: relative; color: var(--text-muted); font-size: 15px; }
.pricing-features li::before { content: "✦"; position: absolute; left: 0; color: #fff; font-size: 12px; top: 2px; }

/* --- 评价走马灯 (Marquee Reviews) --- */
.marquee-container { overflow: hidden; width: 100%; position: relative; padding: 20px 0; }
.marquee-content { display: flex; width: max-content; animation: marquee 35s linear infinite; gap: 30px; }
.marquee-content:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 15px)); } }
.review-card { width: 420px; flex-shrink: 0; border: 0.5px solid rgba(255, 255, 255, 0.05); }

/* --- FAQ --- */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.faq-item { padding: 30px; border-radius: 16px; }
.faq-item h4 { margin-bottom: 15px; font-size: 18px; color: #fff; }

/* --- 页脚 (Footer) --- */
footer { border-top: 1px solid var(--border-color); padding: 80px 0 30px; margin-top: 80px; }
.footer-flex { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-col { flex: 1; min-width: 200px; }
.footer-col h3 { margin-bottom: 25px; color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; opacity: 0.6; }
.footer-links-vert a { display: block; color: var(--text-muted); margin-bottom: 15px; transition: color 0.3s; font-size: 14px; }
.footer-links-vert a:hover { color: #fff; }
.copyright { text-align: center; color: rgba(255,255,255,0.2); border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; font-size: 13px; }

/* --- 二级页面样式 --- */
.page-header { padding: 120px 0 60px; text-align: center; }
.page-content { max-width: 800px; margin: 0 auto; background: var(--glass-bg); backdrop-filter: blur(20px); border: 0.5px solid var(--border-color); border-radius: 20px; padding: 50px; margin-bottom: 80px; color: var(--text-muted); }
.page-content h2 { color: #fff; margin: 40px 0 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.page-content h3 { color: #fff; margin: 30px 0 15px; }
.page-content p { margin-bottom: 20px; }
.page-content ul { margin-left: 20px; margin-bottom: 20px; }
.page-content ul li { margin-bottom: 10px; }

/* --- 移动端响应式 (Media Queries) --- */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; height: auto; padding: 20px 0; gap: 20px; }
  .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
  .nav-links a { margin: 0; font-size: 14px; }
  .hero { min-height: auto; padding: 40px 0; }
  .hero-flex { flex-direction: column; text-align: center; }
  .hero-left { padding-right: 0; }
  .hero-left h1 { font-size: 42px; }
  .hero-left p { margin: 0 auto 40px; }
  .grid-3, .grid-2, .faq-grid { grid-template-columns: 1fr; }
  .btn { display: block; width: 100%; box-sizing: border-box; padding: 18px 24px; font-size: 16px; }
  .nav-links .btn { display: inline-block; width: auto; padding: 10px 20px; }
  
  /* 移动端降级 3D 旋转木马为垂直堆叠列表以保持体验 */
  .carousel-perspective { height: auto; padding: 20px 0; perspective: none; display: block; }
  .carousel-3d { animation: none; transform: none; width: 100%; height: auto; display: flex; flex-direction: column; gap: 30px; }
  .carousel-wrapper { position: relative; transform: none !important; width: 100%; height: auto; }
  .pricing-card.3d-item { position: relative; transform: none !important; animation: none !important; box-shadow: 0 10px 30px rgba(0,0,0,0.5); height: auto; }
  
  .marquee-content { animation: marquee 20s linear infinite; }
  .review-card { width: 300px; }
  .dashboard th, .dashboard td { padding: 12px 10px; font-size: 13px; }
  .page-content { padding: 30px 20px; margin-left: 15px; margin-right: 15px; }
}


/* Accessibility & Focus */
.skip-link { position: absolute; top: -100px; left: 0; background: #00ff88; color: #000; padding: 10px 20px; z-index: 9999; font-weight: bold; transition: top 0.2s; border-radius: 0 0 8px 0; }
.skip-link:focus { top: 0; }
*:focus-visible { outline: 2px solid #00ff88 !important; outline-offset: 4px !important; }

/* Sticky Header Offset */
section, [id] { scroll-margin-top: 100px; }

/* FAQ details/summary */
details.faq-item { cursor: pointer; }
details.faq-item summary { font-size: 18px; color: #fff; font-weight: 500; list-style: none; outline: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item[open] summary { margin-bottom: 15px; color: #00ff88; }
details.faq-item p { margin-top: 10px; cursor: default; }
button.article-card { text-align: left; display: block; width: 100%; border: 1px solid rgba(255,255,255,0.05); font-family: inherit; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
