/* ==========================================================================
   喵喵云VPN (miaomiaoyunvpn.homes) - 2026 全屋智能与数字隐私堡垒
   视觉语言：北欧深邃冰川暗夜 · 极光翡翠冷萃绿 · 冰晶透态玻璃 (Nordic Aurora & Emerald Glacier Glass)
   ========================================================================== */

:root {
  --bg-main: #050913;
  --bg-secondary: #09121f;
  --bg-card: rgba(10, 22, 28, 0.72);
  --bg-card-hover: rgba(15, 32, 40, 0.85);
  
  --emerald-glow: #10b981;
  --emerald-light: #34d399;
  --emerald-deep: #064e3b;
  --aurora-cyan: #06b6d4;
  --glacier-blue: #38bdf8;
  --hearth-gold: #fbbf24;
  --hearth-amber: #f59e0b;
  
  --text-main: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-glass: rgba(52, 211, 153, 0.22);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-active: rgba(16, 185, 129, 0.6);
  
  --shadow-emerald: 0 10px 30px -5px rgba(16, 185, 129, 0.35);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.45);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* 极光冰川动态背景网格与光斑 */
.bg-aurora {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora-blob-1 {
  position: absolute;
  top: -15%;
  left: 20%;
  width: 700px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(6, 78, 59, 0.08) 50%, transparent 70%);
  filter: blur(80px);
  animation: floatAurora 18s ease-in-out infinite alternate;
}

.aurora-blob-2 {
  position: absolute;
  top: 35%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.14) 0%, rgba(2, 132, 199, 0.06) 50%, transparent 75%);
  filter: blur(90px);
  animation: floatAurora 22s ease-in-out infinite alternate-reverse;
}

.aurora-blob-3 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 800px;
  height: 700px;
  background: radial-gradient(circle, rgba(4, 120, 87, 0.16) 0%, rgba(5, 46, 22, 0.1) 60%, transparent 80%);
  filter: blur(85px);
}

.aurora-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(52, 211, 153, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 211, 153, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 85%);
}

@keyframes floatAurora {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* 顶部全屋智能隐私公告栏 */
.top-notice-bar {
  background: linear-gradient(90deg, rgba(6, 78, 59, 0.95), rgba(4, 120, 87, 0.9), rgba(6, 182, 212, 0.85));
  border-bottom: 1px solid rgba(52, 211, 153, 0.35);
  padding: 9px 16px;
  font-size: 0.88rem;
  color: #ecfdf5;
  text-align: center;
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.top-notice-bar a {
  color: #fef08a;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s;
}

.top-notice-bar a:hover {
  color: #ffffff;
}

/* 导航栏 - 冰晶透态悬浮 */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 9, 19, 0.8);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 4px 10px rgba(16, 185, 129, 0.45));
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.brand-title .highlight {
  background: linear-gradient(135deg, #34d399, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 4px;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--emerald-light);
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: all 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--emerald-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 按钮规范 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 60%, #0284c7 100%);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-emerald);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
  filter: brightness(1.08);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--emerald-light);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Hero 首屏区 */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34d399;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #34d399; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.22;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero-title .title-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #34d399 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 820px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.hero-desc strong {
  color: var(--emerald-light);
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-cta-group .btn-primary {
  padding: 14px 34px;
  font-size: 1.05rem;
}

.hero-cta-group .btn-secondary {
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* 居所生态设备徽章 (Apple TV, Mac, PC, Phone, Router) */
.hero-devices {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.device-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 22, 28, 0.6);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.device-badge svg {
  color: var(--emerald-light);
}

/* 核心特性网格 (4大维度) */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 54px;
}

.section-tag {
  color: var(--emerald-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--emerald-light), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  box-shadow: 0 20px 40px rgba(6, 78, 59, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  color: var(--emerald-light);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 全球节点雷达监控面板 */
.radar-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
}

.radar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.radar-title {
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.radar-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.radar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.radar-node-card {
  background: rgba(5, 9, 19, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s;
}

.radar-node-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
  background: rgba(6, 78, 59, 0.2);
}

.node-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.node-flag {
  font-size: 24px;
}

.node-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: #ffffff;
}

.node-type {
  font-size: 0.75rem;
  color: var(--emerald-light);
}

.node-metrics {
  text-align: right;
}

.node-ping {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--emerald-light);
}

.node-rate {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* 场景选型推荐 (全屋影院 / AI极客 / 远程跨国 / 跨境电商) */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  transition: all 0.3s;
}

.scenario-card:hover {
  transform: translateY(-5px);
  border-color: var(--emerald-light);
}

.scenario-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hearth-gold);
  background: rgba(245, 158, 11, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 14px;
}

.scenario-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.scenario-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.scenario-features {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.scenario-features li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scenario-features li svg {
  color: var(--emerald-light);
  flex-shrink: 0;
}

/* 专线套餐矩阵 (4大层级) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--emerald-light);
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.45) 0%, rgba(10, 22, 28, 0.85) 100%);
  box-shadow: 0 20px 45px rgba(6, 78, 59, 0.35);
  transform: scale(1.03);
  z-index: 2;
}

.featured-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10b981, #0284c7);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.plan-sub {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  min-height: 38px;
}

.plan-price-box {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.plan-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
}

.plan-price .currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--emerald-light);
}

.plan-price .period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-features {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  flex-grow: 1;
}

.plan-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li svg {
  color: var(--emerald-light);
  flex-shrink: 0;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
}

/* 客户端一键配置卡片 */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.25s;
}

.client-card:hover {
  border-color: var(--emerald-light);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.client-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.client-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.client-os {
  font-size: 0.8rem;
  color: var(--emerald-light);
  margin-bottom: 14px;
}

.client-btn {
  display: inline-block;
  font-size: 0.82rem;
  color: #ffffff;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.client-btn:hover {
  background: var(--emerald-glow);
  color: #ffffff;
}

/* 常见问答 FAQ */
.faq-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: var(--emerald-light);
}

.faq-q {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-q::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-light);
  font-size: 0.8rem;
  border-radius: 6px;
  font-weight: 800;
}

.faq-a {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 34px;
}

/* 页脚 Footer */
.site-footer {
  background: #03060c;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 16px 0 20px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--emerald-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--emerald-light);
  text-decoration: none;
}

/* 响应式调整 */
@media (max-width: 1024px) {
  .features-grid, .pricing-grid, .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .radar-grid, .scenarios-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.2rem; }
  .features-grid, .pricing-grid, .clients-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}