/* ==========================================================================
   喵喵云 (miaomiaoyun.lat) 官方品牌旗舰总站样式表
   Design Language: 赛博幻彩猫咪 · 未来霓虹云端美学 (Cyber Holographic Feline & Radiant Neon Cloud)
   Palette: Deep Cosmic Navy, Neon Sakura Pink, Cyber Laser Cyan & Quantum Violet
   ========================================================================== */

:root {
  --bg-page: #090b17;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.9);
  --bg-card-glow: rgba(244, 63, 94, 0.05);

  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-medium: rgba(148, 163, 184, 0.22);
  --border-pink: rgba(244, 63, 94, 0.4);
  --border-cyan: rgba(56, 189, 248, 0.4);

  --pink: #fb7185;
  --pink-bright: #f43f5e;
  --pink-glow: rgba(244, 63, 94, 0.3);

  --cyan: #38bdf8;
  --cyan-bright: #06b6d4;
  --cyan-glow: rgba(56, 189, 248, 0.3);

  --purple: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.25);

  --emerald: #10b981;
  --amber: #f59e0b;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-white: #ffffff;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
  --shadow-pink: 0 0 30px -5px rgba(244, 63, 94, 0.35);
  --shadow-cyan: 0 0 30px -5px rgba(56, 189, 248, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body {
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

/* Background Cyber Mesh & Radiant Ambient Trails */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(244, 63, 94, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 65%, rgba(168, 85, 247, 0.08) 0%, transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Announcement Top Notice */
.top-notice {
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.15) 0%, rgba(15, 23, 42, 0.95) 50%, rgba(56, 189, 248, 0.15) 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  position: relative;
  z-index: 101;
}
.top-notice strong {
  color: var(--pink);
}
.top-notice a {
  color: var(--cyan);
  text-decoration: underline;
  margin-left: 8px;
  font-weight: 600;
}

/* Sticky Navbar */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 11, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  transition: transform 0.3s;
}
.brand-logo:hover .brand-icon {
  transform: rotate(-6deg) scale(1.08);
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
}
.brand-name span.highlight {
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(244, 63, 94, 0.15);
  color: var(--pink);
  border: 1px solid rgba(244, 63, 94, 0.3);
  margin-left: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #8b5cf6 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(244, 63, 94, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(244, 63, 94, 0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid var(--border-medium);
  transition: all 0.25s;
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Hero Section */
.hero-section {
  padding: 70px 0 50px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}
.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 22px;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #fb7185 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 860px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.hero-desc strong {
  color: #fff;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* Feature Pillars Bento (4大核心优势) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 70px;
}

.pillar-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-card);
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-pink);
  box-shadow: var(--shadow-pink);
}
.pillar-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
}
.pillar-card.cyan-accent:hover {
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-cyan);
}
.pillar-card.cyan-accent .icon-wrap {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.25);
}

.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Section Header Structure */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--pink);
  margin-bottom: 8px;
  background: rgba(244, 63, 94, 0.1);
  padding: 4px 14px;
  border-radius: var(--radius-full);
}
.section-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.3;
}
.section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Global Node Latency Radar (全球节点网络测速面板) */
.radar-section {
  margin-bottom: 80px;
}

.radar-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.radar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all 0.25s;
}
.node-row:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: var(--border-pink);
  transform: translateX(4px);
}
.node-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.node-flag {
  font-size: 1.6rem;
}
.node-meta h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.node-meta span {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.node-stats {
  text-align: right;
}
.node-ping {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--emerald);
}
.node-status {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Scenario Selector (智能场景选型器) */
.scenario-section {
  margin-bottom: 80px;
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}
.scenario-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-4px);
  box-shadow: var(--shadow-cyan);
}
.scenario-card .icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.scenario-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.scenario-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Pricing Plans Matrix (精选专线套餐) */
.pricing-section {
  margin-bottom: 80px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pricing-card:hover {
  border-color: var(--border-pink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.pricing-card.featured {
  border-color: var(--pink);
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.08) 0%, rgba(15, 23, 42, 0.95) 100%);
  box-shadow: var(--shadow-pink);
}
.featured-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}
.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.plan-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.plan-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 24px;
}
.plan-price span {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 500;
}
.plan-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.plan-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before {
  content: "✓";
  color: var(--pink);
  font-weight: 800;
}

/* Client Setup Guide Hub */
.client-section {
  margin-bottom: 80px;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all 0.25s;
}
.client-card:hover {
  border-color: var(--border-cyan);
  background: rgba(30, 41, 59, 0.8);
}
.client-card .c-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.client-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.client-card p {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

/* FAQ Section */
.faq-section {
  max-width: 900px;
  margin: 0 auto 80px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  padding: 20px 24px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}
.faq-arrow {
  color: var(--pink);
  transition: transform 0.25s;
}
.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.8;
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  background: #050711;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  color: var(--text-dim);
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  margin-top: 14px;
  max-width: 380px;
  line-height: 1.7;
}
.footer-col h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--pink);
}
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-title { font-size: 2.2rem; }
  .node-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .node-stats { text-align: left; }
}