/**
 * 秒秒云 (miaomiaocloud.mom) 全局样式表
 * 融合日式留白 (Ma) 与 日系樱花科技视觉系统
 */

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--zen-font-sans);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: var(--color-text-main);
  background-color: var(--color-obsidian);
  min-height: 100vh;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   顶部公告条 (Minimalist Zen Announcement)
   ========================================================================== */
.site-notice {
  background: rgba(255, 117, 140, 0.08);
  border-bottom: 1px solid rgba(255, 117, 140, 0.18);
  padding: 8px 16px;
  font-size: 13px;
  text-align: center;
  color: var(--color-sakura-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 50;
}

.site-notice strong {
  color: #ffffff;
  font-weight: 700;
}

.site-notice a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #ff9bb0;
}

/* ==========================================================================
   导航头部 (Sticky Glassmorphic Nav)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(9, 12, 19, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 117, 140, 0.12);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(9, 12, 19, 0.94);
  border-bottom-color: rgba(255, 117, 140, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-wrapper {
  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: 40px;
  height: 40px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-icon {
  transform: rotate(5deg) scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: var(--sakura-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.brand-slogan {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--color-text-subtle);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-sakura-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-nav-register {
  padding: 9px 22px;
  font-size: 14px;
  border-radius: 9999px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #ffffff;
}

/* ==========================================================================
   Hero 首屏视觉 (Spacious Ma Whitespace + Sakura Aura)
   ========================================================================== */
.hero-section {
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  text-align: center;
  z-index: 10;
}

.hero-badges-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-h1 {
  font-size: clamp(34px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
  color: rgba(226, 232, 240, 0.85);
  max-width: 820px;
  margin: 0 auto 36px auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 42px);
  padding: 16px 28px;
  background: rgba(17, 24, 38, 0.5);
  border: 1px solid rgba(255, 117, 140, 0.12);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  max-width: fit-content;
  margin: 0 auto;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.trust-item strong {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   实时节点网络探针 (Interactive Node Ping Probe)
   ========================================================================== */
.ping-probe-container {
  margin-top: 48px;
  background: rgba(17, 24, 38, 0.65);
  border: 1px solid var(--color-sakura-border);
  border-radius: 20px;
  padding: 24px clamp(16px, 3vw, 32px);
  backdrop-filter: blur(16px);
}

.probe-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.probe-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.probe-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-emerald-active);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.probe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.probe-node-card {
  background: rgba(11, 15, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.3s ease;
}

.probe-node-card:hover {
  border-color: rgba(255, 117, 140, 0.35);
  transform: translateY(-2px);
}

.node-region {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}

.node-ping-val {
  font-family: var(--zen-font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-sakura-primary);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.node-ping-val small {
  font-size: 11px;
  color: var(--color-text-subtle);
}

.node-protocol {
  font-size: 11px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   核心优势卡片矩阵 (Feature Grid)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  padding: clamp(24px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 117, 140, 0.1);
  border: 1px solid rgba(255, 117, 140, 0.25);
  color: var(--color-sakura-primary);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.feature-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* ==========================================================================
   套餐矩阵与周期切换 (Pricing Plans Matrix)
   ========================================================================== */
.pricing-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
}

.billing-switcher {
  display: inline-flex;
  background: rgba(17, 24, 38, 0.85);
  border: 1px solid var(--color-sakura-border);
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
}

.billing-btn {
  background: none;
  border: none;
  padding: 8px 22px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.billing-btn.active {
  background: var(--sakura-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 117, 140, 0.35);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(255, 117, 140, 0.55);
  box-shadow: 0 20px 50px -10px rgba(255, 117, 140, 0.3);
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .pricing-card.featured {
    transform: none;
  }
}

.pricing-tag-featured {
  position: absolute;
  top: 16px;
  right: 18px;
  background: var(--sakura-gradient);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-plan-name {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.pricing-plan-desc {
  font-size: 13px;
  color: var(--color-text-subtle);
  min-height: 40px;
}

.pricing-price-wrap {
  margin: 24px 0 28px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-sakura-primary);
}

.pricing-amount {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-family: var(--zen-font-sans);
}

.pricing-period {
  font-size: 14px;
  color: var(--color-text-muted);
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(241, 245, 249, 0.85);
  line-height: 1.5;
}

.pricing-feature-item svg {
  color: var(--color-sakura-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   客户端生态网格 (Multi-Platform Clients)
   ========================================================================== */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.client-card {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.client-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 117, 140, 0.08);
  border: 1px solid rgba(255, 117, 140, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.client-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.client-info p {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   深度专栏预览矩阵 (Official Pillars Showcase)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.article-meta-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--color-text-subtle);
}

.article-badge {
  background: rgba(255, 117, 140, 0.12);
  color: var(--color-sakura-primary);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.article-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #ffffff;
  transition: color 0.25s ease;
}

.article-card:hover .article-card-title {
  color: var(--color-sakura-primary);
}

.article-card-excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.article-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-sakura-primary);
}

/* ==========================================================================
   FAQ 手风琴 (Accordion FAQ)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(17, 24, 38, 0.65);
  border: 1px solid var(--color-sakura-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: rgba(255, 117, 140, 0.45);
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  gap: 16px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--color-sakura-primary);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.75;
}

.faq-item.active .faq-content {
  padding-bottom: 22px;
}

/* ==========================================================================
   底部行动号召 (CTA Section)
   ========================================================================== */
.cta-box {
  background: linear-gradient(135deg, rgba(255, 117, 140, 0.12) 0%, rgba(121, 40, 202, 0.12) 100%);
  border: 1px solid rgba(255, 117, 140, 0.35);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 70px) clamp(24px, 4vw, 56px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   页脚 (Footer)
   ========================================================================== */
.site-footer {
  background: #07090f;
  border-top: 1px solid rgba(255, 117, 140, 0.12);
  padding: 64px 0 32px 0;
  font-size: 13px;
  color: var(--color-text-subtle);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a:hover {
  color: var(--color-sakura-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

/* 响应式断点 */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}