/**
 * 飞鸟 FlyBird - 北欧翡翠有机风 (Nordic Forest & Emerald Air Design System)
 */
:root {
  --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  
  /* 北欧翡翠调色盘 */
  --c-p:       #2d7a50;  /* 核心北欧松石绿 */
  --c-p-l:     #5cb380;  /* 晨光新芽嫩绿 */
  --c-p-d:     #1b5235;  /* 峡湾深林浓绿 */
  --c-a:       #f59e0b;  /* 极昼琥珀金光 */
  --c-a-h:     #d97706;  /* 琥珀深金 */
  --c-bg:      #f5f8f5;  /* 晨雾微光底色 */
  --c-surface: rgba(255, 255, 255, 0.88);
  --c-text:    #15281a;  /* 深墨松针字色 */
  --c-text2:   #415b49;  /* 森林中灰字色 */
  --c-text3:   #7d9884;  /* 浅雾辅助字色 */
  --c-border:  rgba(45, 122, 80, 0.14);
  --c-glow:    rgba(45, 122, 80, 0.22);
  --radius-lg: 20px;
  --radius-sm: 12px;
}

body {
  font-family: var(--bs-font-sans-serif);
  background-color: var(--c-bg);
  color: var(--c-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(92, 179, 128, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 35%);
}

a {
  text-decoration: none;
  transition: all .25s ease;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(45, 122, 80, 0.35);
  outline-offset: 3px;
}

/* ── 动态呼吸环境光斑 (Ambient Blobs) ── */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .32;
  animation: sway 20s infinite alternate ease-in-out;
}

.blob-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #5cb380 0%, #2d7a50 70%);
  top: -120px;
  left: -120px;
}

.blob-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #fde68a 0%, #f59e0b 80%);
  top: 40%;
  right: -100px;
  animation-duration: 25s;
  animation-delay: -6s;
  opacity: .22;
}

.blob-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #6ee7b7 0%, #2d7a50 80%);
  bottom: -150px;
  left: 25%;
  animation-duration: 28s;
  animation-delay: -12s;
  opacity: .25;
}

@keyframes sway {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(50px, 40px) scale(1.08); }
  100% { transform: translate(-30px, 60px) scale(0.94); }
}

/* ── 导航栏 (Navbar) ── */
.navbar-custom {
  background: rgba(245, 248, 245, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all .3s ease;
}

.navbar-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform .25s ease;
}

.navbar-logo:hover {
  transform: scale(1.02);
}

.navbar-nav .nav-link {
  color: var(--c-text2);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color .2s ease, background .2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--c-p);
  background: rgba(45, 122, 80, 0.06);
}

/* ── 按钮规范 ── */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--c-p) 0%, var(--c-p-d) 100%);
  color: #fff !important;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(45, 122, 80, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(45, 122, 80, 0.4);
  filter: brightness(1.06);
}

.btn-outline-custom {
  background: rgba(255, 255, 255, 0.9);
  color: var(--c-p) !important;
  font-weight: 700;
  border: 1.5px solid rgba(45, 122, 80, 0.3);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}

.btn-outline-custom:hover {
  background: var(--c-p);
  color: #fff !important;
  border-color: var(--c-p);
  box-shadow: 0 8px 20px rgba(45, 122, 80, 0.25);
  transform: translateY(-2px);
}

.btn-ghost-custom {
  color: var(--c-text2) !important;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all .2s ease;
}

.btn-ghost-custom:hover {
  color: var(--c-p) !important;
  background: rgba(45, 122, 80, 0.08);
}

.btn-white-custom {
  background: #fff;
  color: var(--c-p) !important;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: all .25s ease;
}

.btn-white-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  background: #f8faf9;
}

/* ── Hero 区域 ── */
#hero {
  position: relative;
  z-index: 1;
  padding-top: 50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 122, 80, 0.09);
  color: var(--c-p);
  border: 1px solid rgba(45, 122, 80, 0.22);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-p);
  box-shadow: 0 0 10px var(--c-p);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 850;
  line-height: 1.15;
  color: var(--c-text);
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--c-p);
  position: relative;
  display: inline-block;
}

.hero-sub {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text2);
  letter-spacing: .02em;
}

.hero-desc {
  font-size: 16px;
  color: var(--c-text2);
  line-height: 1.8;
  max-width: 540px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--c-text2);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--c-border);
  padding: 6px 14px;
  border-radius: 20px;
}

/* ── Hero 实景画框 ── */
.hero-banner {
  max-width: 520px;
  position: relative;
}

.hero-banner-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(27, 82, 53, 0.16);
  border: 4px solid #fff;
  position: relative;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform .6s ease;
}

.hero-banner-img-wrap:hover .hero-banner-img {
  transform: scale(1.03);
}

/* ── 统计跑分模块 (Stats) ── */
.stat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(45, 122, 80, 0.05);
  transition: all .3s ease;
  backdrop-filter: blur(8px);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 122, 80, 0.35);
  box-shadow: 0 16px 40px rgba(45, 122, 80, 0.12);
}

.stat-num {
  font-size: 42px;
  font-weight: 850;
  color: var(--c-p);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text2);
}

/* ── 章节标题规范 ── */
.sec-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-p);
  text-transform: uppercase;
  background: rgba(45, 122, 80, 0.08);
  padding: 4px 14px;
  border-radius: 20px;
}

.sec-title {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

.sec-desc {
  color: var(--c-text2);
  font-size: 16px;
  line-height: 1.8;
}

/* ── 核心特性网格 (Features) ── */
.feat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
  transition: all .3s ease;
  backdrop-filter: blur(8px);
  position: relative;
}

.feat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 122, 80, 0.35);
  box-shadow: 0 20px 45px rgba(45, 122, 80, 0.12);
  background: #fff;
}

.feat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(45, 122, 80, 0.12), rgba(92, 179, 128, 0.08));
  color: var(--c-p);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  transition: all .3s ease;
}

.feat-card:hover .feat-icon {
  background: var(--c-p);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(45, 122, 80, 0.3);
}

.feat-title {
  font-size: 19px;
  font-weight: 750;
  margin-bottom: 12px;
}

.feat-desc {
  color: var(--c-text2);
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0;
}

/* ── 套餐定价模块 (Pricing) ── */
.pricing-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all .3s ease;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(45, 122, 80, 0.4);
  box-shadow: 0 24px 50px rgba(45, 122, 80, 0.14);
}

.pricing-card.hot {
  border-color: var(--c-a);
  background: linear-gradient(180deg, #fff 0%, #fffdf9 100%);
  box-shadow: 0 16px 45px rgba(245, 158, 11, 0.15);
}

.price-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: .04em;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.plan-name {
  font-size: 20px;
  font-weight: 750;
  color: var(--c-text);
}

.plan-price {
  font-size: 44px;
  font-weight: 850;
  color: var(--c-p);
  line-height: 1;
}

.plan-price sup {
  font-size: 20px;
  font-weight: 700;
  top: -0.6em;
  margin-right: 2px;
}

.plan-price small {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text3);
}

.plan-sub {
  color: var(--c-text2);
  font-size: 14px;
}

.plan-feats {
  margin: 0 0 32px;
  padding: 0;
  flex-grow: 1;
}

.plan-feats li {
  font-size: 14.5px;
  color: var(--c-text2);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-feats .ck {
  color: var(--c-p);
  font-weight: 800;
  font-size: 16px;
}

.plan-btn {
  width: 100%;
  padding: 13px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}

/* ── 应用场景 (Scenarios) ── */
.scenario-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  transition: all .3s ease;
  backdrop-filter: blur(8px);
}

.scenario-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 122, 80, 0.3);
  box-shadow: 0 16px 40px rgba(45, 122, 80, 0.1);
  background: #fff;
}

.scenario-title {
  font-size: 18.5px;
  font-weight: 750;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scenario-desc {
  color: var(--c-text2);
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0;
}

/* ── 用户反馈 (Testimonials) ── */
.testi-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
}

.testi-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(45, 122, 80, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.testi-quote {
  color: var(--c-text);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 22px;
  flex-grow: 1;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(45, 122, 80, 0.12);
  color: var(--c-p);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.testi-name {
  font-size: 15px;
  font-weight: 700;
}

.testi-role {
  font-size: 12.5px;
  color: var(--c-text3);
}

/* ── 常见问题 FAQ 手风琴 ── */
.accordion-custom .accordion-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.accordion-custom .accordion-button {
  background: transparent;
  color: var(--c-text);
  font-weight: 750;
  font-size: 16px;
  padding: 20px 24px;
  box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--c-p);
  background: rgba(45, 122, 80, 0.04);
}

.accordion-custom .accordion-body {
  color: var(--c-text2);
  font-size: 15px;
  line-height: 1.8;
  padding: 10px 24px 24px;
}

/* ── 底部号召横幅 (CTA Banner) ── */
.cta-banner {
  background: linear-gradient(135deg, var(--c-p) 0%, var(--c-p-d) 100%);
  border-radius: 28px;
  padding: 60px 40px;
  color: #fff;
  box-shadow: 0 24px 60px rgba(27, 82, 53, 0.28);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 850;
}

.cta-desc {
  font-size: 16.5px;
  opacity: .9;
  max-width: 580px;
}

/* ── 页脚 (Footer) ── */
footer {
  background: #edf3ed;
  border-top: 1px solid var(--c-border);
  padding: 70px 0 36px;
  color: var(--c-text2);
  font-size: 14px;
}

.footer-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-heading {
  font-size: 15px;
  font-weight: 750;
  color: var(--c-text);
  margin-bottom: 18px;
}

.footer-links a {
  display: block;
  color: var(--c-text2);
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--c-p);
  transform: translateX(3px);
}

.footer-copy {
  font-size: 13px;
  color: var(--c-text3);
}

/* ── 视口淡入动效 ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 响应式适配 ── */
@media (max-width: 991px) {
  .hero-title {
    font-size: 38px;
  }
  .hero-banner {
    margin-top: 24px;
  }
  .cta-banner {
    padding: 44px 24px;
  }
}
