/* index.html · 首页私有样式 */

/* ── HERO ── */
.hero {
  position: relative;
  color: #fff;
  padding: 150px 0 72px;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero__background-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 10, 26, .94) 0%, rgba(12, 10, 26, .88) 38%, rgba(26, 21, 53, .55) 58%, rgba(26, 21, 53, .18) 100%),
    linear-gradient(to top, rgba(12, 10, 26, .35), transparent 40%);
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%
}

.hero__layout {
  max-width: 680px
}

.hero__content {
  max-width: 620px
}

.hero__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, .88);
}

.tag-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green)
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(100deg, #fff 10%, var(--cyan) 60%, var(--brand) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .72);
  max-width: 640px;
  margin-bottom: 38px
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center
}

.hero__note {
  font-family: var(--mono);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .45);
  margin-left: 6px
}

/* ── STATS ── */
.hero .hero__stats-row {
  margin-top: 56px
}

.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hero .hero__stat-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: .25s;
}

.hero .hero__stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--brand-rgb), .9), rgba(var(--cyan-rgb), .7));
  opacity: .85;
}

.hero .hero__stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .11);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.hero .hero__stat-card .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff 10%, var(--cyan) 70%, var(--brand) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.hero .hero__stat-card .num span {
  font-size: 20px
}

.hero .hero__stat-card .lbl {
  margin-top: 10px;
  color: rgba(255, 255, 255, .62);
  font-size: 14px
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: .28s;
  display: block;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: .35s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent
}

.product-card:hover::before {
  transform: scaleX(1)
}

.product-card .ic {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  color: var(--brand);
  margin-bottom: 20px;
  transition: .28s;
}

.product-card:hover .ic {
  background: var(--brand);
  color: #fff;
  transform: rotate(-6deg)
}

.product-card .ic svg {
  width: 24px;
  height: 24px
}

.product-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 9px
}

.product-card p {
  color: var(--text-2);
  font-size: 14.5px;
  margin-bottom: 18px;
  min-height: 44px
}

.product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px
}

.product-card__features span {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  padding: 5px 12px;
  border-radius: 100px;
  color: var(--brand);
  background: rgba(var(--brand-rgb), .08);
  border: 1px solid rgba(var(--brand-rgb), .14)
}

.link-arrow {
  font-weight: 600;
  font-size: 14px;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: .25s
}

.product-card:hover .link-arrow svg {
  transform: translateX(4px)
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px
}

.feature-card {
  display: flex;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: .25s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px)
}

.feature-card .fic {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), .12), rgba(var(--cyan-rgb), .12));
  color: var(--brand);
}

.feature-card .fic svg {
  width: 25px;
  height: 25px
}

.feature-card h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 7px
}

.feature-card p {
  color: var(--text-2);
  font-size: 14px
}

/* ── SUPPORT + NEWS ── */
.support-section {
  padding-top: 0;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: stretch;
  min-width: 0;
}

.support-card {
  background: linear-gradient(160deg, var(--hero-from) 0%, var(--hero-mid) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.support-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-rgb), .35), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.support-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  color: var(--cyan);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.support-card__icon svg {
  width: 24px;
  height: 24px
}

.support-card .section-label {
  color: var(--cyan);
  position: relative;
  z-index: 1
}

.support-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  margin: 10px 0 14px;
  position: relative;
  z-index: 1;
}

.support-card p {
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.support-card__phone {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.support-card__phone small {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  font-weight: 400;
  letter-spacing: .1em;
  margin-top: 4px;
}

.support-card .btn-primary {
  align-self: flex-start;
  position: relative;
  z-index: 1
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.news-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  min-width: 0;
}

.news-card__header h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin: 0;
}

.news-card .tabs {
  display: inline-flex;
  gap: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  max-width: 100%;
  min-width: 0;
}

.news-card .tabs a {
  display: block;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: .22s;
  white-space: nowrap;
}

.news-card .tabs a:hover {
  color: var(--brand)
}

.news-card .tabs a.active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--brand-rgb), .3);
}

.news-card .tab-pane {
  display: none;
  flex: 1
}

.news-card .tab-pane.active {
  display: block
}

.news-card li a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  transition: .2s;
  color: var(--text);
  font-size: 14px;
  border: 1px solid transparent;
}

.news-card li a:hover {
  background: var(--surface-2);
  border-color: var(--border);
}

.news-card li a span:first-child {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-card li .time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  flex: none;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto
}

.cert-card {
  text-align: center;
  padding: 34px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: .25s;
}

.cert-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px)
}

.cert-card .badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--surface-3), #fff);
  border: 1px solid var(--border);
  color: var(--brand);
}

.cert-card .badge svg {
  width: 30px;
  height: 30px
}

.cert-card h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px
}

.cert-card p {
  color: var(--text-3);
  font-size: 13px
}

@media (max-width: 980px) {
  .hero__stats-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .product-grid,
  .cert-grid {
    grid-template-columns: 1fr 1fr
  }

  .feature-grid {
    grid-template-columns: 1fr
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 20px
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 120px 0 56px
  }

  .hero .hero__stats-row {
    margin-top: 40px
  }

  .hero__background-image {
    object-position: 70% center
  }

  .hero__background-shade {
    background:
      linear-gradient(180deg, rgba(12, 10, 26, .92) 0%, rgba(12, 10, 26, .78) 55%, rgba(26, 21, 53, .45) 100%),
      linear-gradient(to top, rgba(12, 10, 26, .4), transparent 35%);
  }

  .hero__stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px
  }

  .hero .hero__stat-card {
    padding: 22px 18px
  }

  .hero .hero__stat-card .num {
    font-size: 30px
  }

  .product-grid,
  .cert-grid {
    grid-template-columns: 1fr
  }

  .support-card {
    padding: 28px 22px;
    border-radius: 16px;
  }

  .support-card h3 {
    font-size: 22px
  }

  .support-card__phone {
    font-size: 18px;
    word-break: break-word;
  }

  .support-card .btn-primary {
    width: 100%;
    justify-content: center
  }

  .news-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .news-card__header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .news-card .tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    border-radius: 12px;
    padding: 3px;
  }

  .news-card .tabs a {
    padding: 8px 6px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .news-card li a {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 14px;
  }

  .news-card li a span:first-child {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}