/* ==========================================================================
   速云 SuYun - 商务极简代理落地页 (纯 CSS 样式)
   ========================================================================== */

:root {
  --bg-main: #090d16;
  --bg-card: #111726;
  --bg-card-hover: #182033;
  --primary: #00f2fe;
  --primary-hover: #38bdf8;
  --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #0284c7 100%);
  --secondary: #10b981;
  --accent-purple: #8b5cf6;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 242, 254, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 242, 254, 0.2);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Navbar & Catalog */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.nav-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
}

.logo-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  background: rgba(0, 242, 254, 0.15);
  color: var(--primary);
  border: 1px solid var(--border-highlight);
  border-radius: 20px;
}

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

.nav-catalog a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav-catalog a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #040914;
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-highlight);
}

.btn-outline:hover {
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Hero Section (Left-Right Split) */
.hero {
  padding: 70px 0 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-left {
  text-align: left;
}

.hero-pill {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-highlight);
  border-radius: 30px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.8px;
}

.highlight-text {
  background: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Right Dynamic Animated Card */
.dynamic-status-card {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.dynamic-status-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.status-badge-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--secondary);
  background: rgba(16, 185, 129, 0.15);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.live-nodes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

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

.node-info-flag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
}

.node-ping-tag {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 700;
}

.live-stream-bar {
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stream-wave {
  width: 60px;
  height: 16px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.wave-bar {
  width: 6px;
  background: var(--primary);
  border-radius: 2px;
  animation: wave-anim 1.2s infinite ease-in-out;
}

.wave-bar:nth-child(1) { animation-delay: 0.1s; height: 40%; }
.wave-bar:nth-child(2) { animation-delay: 0.3s; height: 90%; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; height: 60%; }
.wave-bar:nth-child(4) { animation-delay: 0.4s; height: 100%; }

@keyframes wave-anim {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Section Shared */
.section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Core Advantages 3 Cards */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 242, 254, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* Streaming & AI Cards Grid */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

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

.media-badge {
  font-size: 0.75rem;
  color: var(--secondary);
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 4px;
}

/* Pricing Table (Real Market Reference) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary-gradient);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
}

.price-amount {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--primary);
  margin: 16px 0;
}

.price-amount span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
}

.price-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
}

/* Reviews / Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

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

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.stars {
  color: #f59e0b;
  font-size: 0.85rem;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.faq-answer {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer Strict Specification */
.footer {
  border-top: 1px solid var(--border);
  background: #060910;
  padding: 40px 0 30px;
  margin-top: auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

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

.footer-link:hover {
  color: var(--primary);
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-left { text-align: center; }
  .hero-actions { justify-content: center; }
  .nav-catalog { display: none; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.1rem; }
  .section-title { font-size: 1.6rem; }
  .footer-nav { gap: 16px; flex-direction: column; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
