/* ============================
   硅基员工 - 全站共享样式
   ============================ */

body {
  font-family: 'PingFang SC', system-ui, sans-serif;
  scroll-behavior: smooth;
}

/* ---- 渐变背景 ---- */
.hero-bg { background: linear-gradient(135deg, #0F172A 0%, #1E40AF 100%); }

/* ---- 卡片悬浮光影 ---- */
.card-hover { transition: all .3s ease; }
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(59,130,246,.18);
}

/* ---- 彩色渐变图标（蓝紫粉统一） ---- */
.icon-gradient {
  background: linear-gradient(135deg, #2563eb, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.icon-bg-gradient {
  background: linear-gradient(135deg, #dbeafe, #f0e7ff, #fce7f3);
}

/* ---- 按钮渐变 ---- */
.btn-gradient {
  transition: all .3s ease;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}
.btn-gradient:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  transform: scale(1.02);
}

/* ---- Hero 主按钮（发光渐变） ---- */
.hero-main-btn {
  transition: all .3s cubic-bezier(.25,.8,.25,1);
  background: linear-gradient(135deg, #3b82f6, #2563eb, #7c3aed);
  box-shadow: 0 0 18px rgba(59,130,246,.35);
  padding: 2rem 4rem !important;
  font-size: 2.5rem !important;
  color: #fff;
}
.hero-main-btn:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 0 35px rgba(59,130,246,.55);
}

/* ---- Hero 副按钮（边框样式） ---- */
.hero-sub-btn {
  transition: all .3s cubic-bezier(.25,.8,.25,1);
  border: 2px solid rgba(255,255,255,.85);
  padding: 2rem 4rem !important;
  font-size: 2.5rem !important;
  color: #fff;
  background: transparent;
}
.hero-sub-btn:hover {
  background: rgba(255,255,255,.95);
  color: #2563eb;
  transform: scale(1.04);
  box-shadow: 0 0 25px rgba(255,255,255,.3);
}

/* ---- 白底按钮 hover ---- */
.btn-white-gradient { transition: all .3s ease; }
.btn-white-gradient:hover {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  transform: scale(1.02);
}

/* ---- 移动端导航 ---- */
.mobile-nav-btn { display: none; }

.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%; height: 100vh;
  background: #fff;
  z-index: 9999;
  transition: right .3s ease;
  padding: 80px 30px;
}
.mobile-menu.active { right: 0; }
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 32px; cursor: pointer;
}
.mobile-menu a {
  display: block;
  font-size: 22px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  color: #333;
}
.mobile-menu a.active {
  color: #3B82F6;
  font-weight: 600;
}

.mask {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 9998; display: none;
}
.mask.active { display: block; }

/* ---- 推荐套餐标记 ---- */
.price-recommend {
  border: 2px solid #3b82f6;
  position: relative;
}
.price-recommend::before {
  content: "性价比首选";
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  padding: 4px 20px;
  border-radius: 99px;
  font-size: 1rem;
}

/* ---- 功能列表标题 ---- */
.func-big-title {
  font-size: 2.5rem; font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dbeafe;
  display: inline-block;
}
.func-sub-title {
  font-size: 1.5rem; font-weight: 600;
  margin-bottom: 1.5rem; color: #111827;
}

/* ---- 移动端适配 ---- */
@media (max-width: 768px) {
  .desktop-nav { display: none !important; }
  .mobile-nav-btn { display: block; font-size: 28px; color: #1F2937; }

  nav.h-20 { height: 60px !important; }

  h1 { font-size: 36px !important; }
  h2 { font-size: 26px !important; }
  .py-20 { padding-top: 40px; padding-bottom: 40px; }
  .p-10 { padding: 24px !important; }
  .grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .px-10 { padding-left: 20px !important; padding-right: 20px !important; }

  .hero-main-btn, .hero-sub-btn {
    padding: 1rem 1.8rem !important;
    font-size: 1.4rem !important;
  }

  .hero-bg .flex-wrap {
    flex-direction: column;
    align-items: center;
  }
  .hero-bg .flex-wrap > a {
    width: 90%;
    text-align: center;
  }

  .func-big-title { font-size: 1.5rem; }
  .func-sub-title { font-size: 1.2rem; }

  .price-recommend::before { font-size: .8rem; padding: 2px 12px; top: -14px; }
}

@media (max-width: 480px) {
  h1 { font-size: 28px !important; }
  h2 { font-size: 22px !important; }
  .hero-bg .pt-32 { padding-top: 80px !important; }
  .hero-bg .pb-24 { padding-bottom: 60px !important; }
  .hero-main-btn, .hero-sub-btn { width: 100%; font-size: 1.2rem !important; }
}
