/**
 * 尔湾云 ErWanCloud (erwancloud.buzz) 官方主样式表
 * 框架 94 · 精密蓝图 | 模板 · 3D 蓝色能量球
 */

@import url("./blueprint.css");
@import url("./energy-sphere.css");

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  scroll-behavior: smooth;
  background-color: var(--bp-bg-deep);
  color: var(--bp-text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* 统一版心容器 */
.bp-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* 顶部固定导航栏 */
.bp-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 100;
  background: rgba(5, 11, 20, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  transition: all 0.3s ease;
}

.bp-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.bp-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.bp-brand-logo svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
}

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

.bp-brand-text .brand-title {
  font-size: 1.15rem;
  line-height: 1.2;
  background: linear-gradient(90deg, #ffffff, #bae6fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bp-brand-text .brand-sub {
  font-family: var(--bp-font-mono);
  font-size: 0.65rem;
  color: var(--bp-line-cyan);
  letter-spacing: 0.12em;
}

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

.bp-nav-link {
  font-size: 0.92rem;
  color: #94a3b8;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.bp-nav-link:hover,
.bp-nav-link.active {
  color: var(--bp-line-cyan);
}

.bp-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--bp-line-cyan);
  box-shadow: 0 0 6px var(--bp-line-cyan);
  transition: width 0.25s ease;
}

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

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

/* 蓝图标准 CTA 按钮 */
.bp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 4px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.bp-btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: 1px solid var(--bp-line-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
}

.bp-btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.65);
  transform: translateY(-2px);
  color: #fff;
}

.bp-btn-secondary {
  background: rgba(14, 165, 233, 0.1);
  color: var(--bp-line-cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.bp-btn-secondary:hover {
  background: rgba(14, 165, 233, 0.2);
  border-color: var(--bp-line-cyan);
  color: #fff;
}

/* Hero 核心视觉区 */
.bp-hero-section {
  padding-top: 130px;
  padding-bottom: 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
}

.bp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
}

.bp-hero-content {
  position: relative;
  z-index: 5;
}

.bp-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.bp-hero-h1 {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
}

.bp-hero-h1 span.highlight-cyan {
  background: linear-gradient(90deg, #38bdf8, #00f0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 24px rgba(0, 240, 255, 0.3);
}

.bp-hero-desc {
  font-size: 1.08rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}

.bp-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.bp-hero-cta-group .bp-btn {
  padding: 13px 28px;
  font-size: 1rem;
}

.bp-hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px dashed rgba(56, 189, 248, 0.25);
  padding-top: 24px;
}

.bp-hero-stat-item {
  font-family: var(--bp-font-mono);
}

.bp-stat-val {
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.bp-stat-val span.unit {
  font-size: 0.85rem;
  color: var(--bp-line-cyan);
}

.bp-stat-label {
  font-size: 0.76rem;
  color: #64748b;
  text-transform: uppercase;
  margin-top: 2px;
}

/* 区块通用标题与导言 */
.bp-section {
  padding: 85px 0;
  position: relative;
  z-index: 2;
}

.bp-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px auto;
}

.bp-section-tag {
  display: inline-block;
  font-family: var(--bp-font-mono);
  font-size: 0.8rem;
  color: var(--bp-line-cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bp-section-title {
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 16px;
}

.bp-section-desc {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.65;
}

/* 框架 94 · 技术蓝图拓扑图模块 */
.bp-topology-stage {
  padding: 36px;
  background: rgba(7, 16, 32, 0.88);
  border: 1px solid var(--bp-border-technical);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.bp-topology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.bp-node-card {
  padding: 20px;
  background: rgba(11, 27, 53, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
}

.bp-node-card:hover {
  border-color: var(--bp-line-cyan);
  background: rgba(14, 34, 66, 0.9);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.15);
}

.bp-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.bp-node-code {
  font-family: var(--bp-font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-node-flag {
  font-size: 1.25rem;
}

.bp-node-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--bp-font-mono);
  font-size: 0.72rem;
  color: #4ade80;
}

.bp-node-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}

.bp-node-meta {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 14px;
}

.bp-node-metrics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed rgba(56, 189, 248, 0.18);
  font-family: var(--bp-font-mono);
  font-size: 0.76rem;
}

.bp-node-ping {
  color: var(--bp-line-cyan);
  font-weight: 600;
}

.bp-node-line {
  color: #bae6fd;
}

/* 核心特性 6 宫格矩阵 */
.bp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.bp-feature-card {
  padding: 32px 28px;
}

.bp-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--bp-line-cyan);
  margin-bottom: 20px;
}

.bp-feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.bp-feature-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* 套餐方案 (Plans & Pricing) */
.bp-plans-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 45px;
}

.bp-toggle-btn {
  padding: 8px 18px;
  font-family: var(--bp-font-mono);
  font-size: 0.86rem;
  border-radius: 4px;
  background: rgba(11, 27, 53, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #94a3b8;
  transition: all 0.25s ease;
}

.bp-toggle-btn.active {
  background: var(--bp-line-cyan);
  color: #060e1a;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
}

.bp-discount-pill {
  font-size: 0.72rem;
  background: #f43f5e;
  color: #fff;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
}

.bp-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.bp-plan-card {
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.bp-plan-card.popular {
  border-color: var(--bp-line-cyan);
  background: rgba(13, 33, 62, 0.88);
  box-shadow: 0 8px 36px rgba(0, 240, 255, 0.18);
  transform: translateY(-6px);
}

.bp-plan-popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #0284c7, #00f0ff);
  color: #041021;
  font-family: var(--bp-font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

.bp-plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.bp-plan-tagline {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 20px;
  min-height: 38px;
}

.bp-plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
}

.bp-plan-currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--bp-line-cyan);
}

.bp-plan-amount {
  font-family: var(--bp-font-mono);
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
}

.bp-plan-period {
  font-size: 0.84rem;
  color: #64748b;
}

.bp-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.bp-plan-features li {
  font-size: 0.88rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bp-plan-features li svg {
  width: 15px;
  height: 15px;
  color: var(--bp-line-cyan);
  flex-shrink: 0;
}

.bp-plan-card .bp-btn {
  width: 100%;
}

/* 流媒体与 AI 解锁平台矩阵 */
.bp-unlock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.bp-unlock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  background: rgba(11, 26, 49, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 4px;
  text-align: center;
  transition: all 0.25s ease;
}

.bp-unlock-item:hover {
  border-color: var(--bp-line-cyan);
  background: rgba(14, 34, 65, 0.85);
  transform: translateY(-3px);
}

.bp-unlock-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 8px;
}

.bp-unlock-badge {
  font-family: var(--bp-font-mono);
  font-size: 0.65rem;
  color: #4ade80;
  margin-top: 4px;
}

/* 客户端支持下载生态 */
.bp-clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.bp-client-card {
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bp-client-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--bp-line-cyan);
}

.bp-client-platform {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.bp-client-tools {
  font-family: var(--bp-font-mono);
  font-size: 0.74rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

/* 6 篇官方原创文章专栏推荐 (Articles Section) */
.bp-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.bp-article-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bp-article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--bp-font-mono);
  font-size: 0.74rem;
  color: #64748b;
  margin-bottom: 12px;
}

.bp-article-meta span.date {
  color: #94a3b8;
}

.bp-article-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 14px;
  transition: color 0.2s ease;
}

.bp-article-title:hover {
  color: var(--bp-line-cyan);
}

.bp-article-excerpt {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.bp-article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--bp-font-mono);
  font-size: 0.82rem;
  color: var(--bp-line-cyan);
  font-weight: 600;
}

.bp-article-read-more:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* 用户真实体验见证 (Testimonials) */
.bp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.bp-review-card {
  padding: 28px;
}

.bp-review-stars {
  color: #facc15;
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.bp-review-text {
  font-size: 0.94rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.bp-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #00f0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #061122;
  font-size: 0.95rem;
}

.bp-review-info .name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.bp-review-info .role {
  font-family: var(--bp-font-mono);
  font-size: 0.74rem;
  color: #64748b;
}

/* FAQ 手风琴列表 */
.bp-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bp-faq-item {
  border: 1px solid var(--bp-border-technical);
  background: rgba(9, 21, 41, 0.75);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.bp-faq-item.active {
  border-color: var(--bp-line-cyan);
  background: rgba(12, 28, 55, 0.9);
}

.bp-faq-trigger {
  width: 100%;
  padding: 18px 22px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 600;
}

.bp-faq-icon {
  font-family: var(--bp-font-mono);
  font-size: 1.2rem;
  color: var(--bp-line-cyan);
  transition: transform 0.25s ease;
}

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

.bp-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 22px;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.7;
}

.bp-faq-item.active .bp-faq-body {
  max-height: 600px;
  padding: 0 22px 20px 22px;
  transition: max-height 0.35s ease-in-out;
}

/* 页脚 Footer */
.bp-footer {
  margin-top: 100px;
  border-top: 1px solid rgba(56, 189, 248, 0.25);
  background: #03070d;
  padding: 60px 0 35px 0;
  position: relative;
  z-index: 10;
}

.bp-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 45px;
}

.bp-footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.bp-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bp-footer-links a {
  font-size: 0.86rem;
  color: #94a3b8;
}

.bp-footer-links a:hover {
  color: var(--bp-line-cyan);
  padding-left: 3px;
}

.bp-footer-bottom {
  border-top: 1px dashed rgba(56, 189, 248, 0.15);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--bp-font-mono);
  font-size: 0.76rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

/* 响应式调整 */
@media (max-width: 1024px) {
  .bp-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bp-badge-row {
    justify-content: center;
  }
  .bp-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .bp-hero-cta-group {
    justify-content: center;
  }
  .bp-hero-stats-row {
    max-width: 500px;
    margin: 0 auto;
  }
  .bp-plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bp-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bp-nav-menu {
    display: none;
  }
  .bp-hero-h1 {
    font-size: 2.1rem;
  }
  .bp-plans-grid {
    grid-template-columns: 1fr;
  }
  .bp-footer-grid {
    grid-template-columns: 1fr;
  }
  .bp-features-grid {
    grid-template-columns: 1fr;
  }
  .bp-articles-grid {
    grid-template-columns: 1fr;
  }
}
