/* =========================================================
   SWTCON · Homepage  —  hero · trust · advantages · products
   policy · cases · booking · cta
   ========================================================= */

/* ============ HERO ============ */
.hero { position: relative; padding: calc(var(--header-h) + 104px) 0 112px; background: var(--grad-deep); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(72% 62% at 50% 28%, #000 28%, transparent 82%); -webkit-mask-image: radial-gradient(72% 62% at 50% 28%, #000 28%, transparent 82%); }
.hero__lines { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero__lines path { fill: none; stroke: url(#heroLineGrad); stroke-width: 1.2; }
.hero__lines .flow { stroke-dasharray: 5 11; animation: dashFlow 4s linear infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -160; } }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .5; }
.hero__orb--a { width: 380px; height: 380px; background: radial-gradient(circle, #2E74F2, transparent 70%); top: -90px; right: 6%; }
.hero__orb--b { width: 300px; height: 300px; background: radial-gradient(circle, #19C2F5, transparent 70%); bottom: -70px; left: 4%; }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: 64px; align-items: center; }

.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 17px; border-radius: var(--r-full); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); font-size: 13.5px; color: rgba(255,255,255,.85); font-family: var(--font-mono); letter-spacing: .03em; }
.hero__eyebrow b { color: var(--cyan-400); font-weight: 600; }
.hero__title { font-size: clamp(39px, 5.2vw, 62px); line-height: 1.26; margin: 0; color: #fff; letter-spacing: -.025em; font-weight: 800; }
.hero__title .text-grad { background: linear-gradient(120deg, #8DEBFA 0%, #4F83F5 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { margin-top: 24px; font-size: 19px; line-height: 1.7; color: rgba(255,255,255,.78); max-width: 540px; }
.hero__actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }

/* hero stats — counter */
.hero__meta { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 46px; min-height: 92px; }
.hero__meta .m { padding: 4px 28px; min-width: 0; }
.hero__meta .m:first-child { padding-left: 0; }
.hero__meta .m:not(:last-child) { border-right: 1px solid rgba(255,255,255,.16); }
.hero__meta .m b { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: #fff; line-height: 1; display: block; min-width: 5ch; font-variant-numeric: tabular-nums; }
.hero__meta .m span { font-size: 13.5px; color: rgba(255,255,255,.62); margin-top: 8px; display: block; line-height: 1.5; }

/* hero tech capability tags */
.hero__tech { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__tech span { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 15px; border-radius: var(--r-full); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); font-size: 13px; color: rgba(255,255,255,.82); backdrop-filter: blur(4px); transition: .3s var(--ease); }
.hero__tech span:hover { background: rgba(255,255,255,.14); border-color: var(--cyan-400); color: #fff; }
.hero__tech span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 8px var(--cyan-400); }

/* hero visual — AI node network */
.hero__visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-left: auto; width: 100%; }
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__net .link { stroke: rgba(255,255,255,.16); stroke-width: 1; }
.hero__net .link--flow { stroke: url(#netGrad); stroke-width: 1.4; stroke-dasharray: 5 11; animation: dashFlow 3.4s linear infinite; }
.hero__net .node { fill: #fff; transform-box: fill-box; transform-origin: center; animation: nodePulse 2.6s ease-in-out infinite; }
@keyframes nodePulse { 0%,100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(47,211,238,.6)); } 50% { transform: scale(1.18); filter: drop-shadow(0 0 10px rgba(47,211,238,1)); } }
.hero__net .node--core { fill: var(--cyan-400); filter: drop-shadow(0 0 8px rgba(47,211,238,.9)); }
.hero__net .ring { fill: none; stroke: rgba(141,235,250,.45); stroke-width: 1.4; animation: pulseRing 3.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.hero__net .ring--2 { animation-duration: 4.4s; animation-delay: 1.4s; stroke: rgba(78,131,245,.35); }
@keyframes pulseRing { 0% { transform: scale(.85); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }

.hero__nodes { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.hero__nodes::before { content: ""; position: absolute; top: 50%; left: 50%; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; background: radial-gradient(circle, rgba(47,211,238,.20), transparent 62%); animation: pulseHalo 4s ease-in-out infinite; pointer-events: none; }
@keyframes pulseHalo { 0%,100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.2); opacity: 1; } }
.hero__chip { position: absolute; width: max-content; white-space: nowrap; padding: 9px 15px; border-radius: var(--r-full); background: rgba(255,255,255,.94); color: var(--ink-900); font-size: 13px; font-weight: 600; box-shadow: var(--sh); display: inline-flex; align-items: center; gap: 7px; animation: chipFloat 4s ease-in-out infinite; }
.hero__chip svg { width: 15px; height: 15px; color: var(--brand-600); }
@keyframes chipFloat { 0%,100% { transform: translate(-50%,-50%) translateY(0); } 50% { transform: translate(-50%,-50%) translateY(-6px); } }
.hero__chip--1 { top: 1.5%; left: 50%; animation-delay: 0s; }
.hero__chip--2 { top: 21.2%; left: 86.2%; animation-delay: .4s; }
.hero__chip--3 { top: 60.3%; left: 95.1%; animation-delay: .8s; }
.hero__chip--4 { top: 91.6%; left: 70.1%; animation-delay: 1.2s; }
.hero__chip--5 { top: 91.6%; left: 29.9%; animation-delay: 1.6s; }
.hero__chip--6 { top: 60.3%; left: 4.9%; animation-delay: 2s; }
.hero__chip--7 { top: 21.2%; left: 13.8%; animation-delay: 2.4s; }
.hero__core { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 132px; height: 132px; border-radius: 36px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 80px rgba(47,211,238,.55), 0 0 32px rgba(47,211,238,.35); }
.hero__core svg { width: 58px; height: 58px; color: #fff; }

/* ============ TRUST BAR ============ */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0 26px; flex-wrap: wrap; }
.trust__label { font-size: 13px; color: var(--ink-500); letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-mono); }
.trust__logos { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; }
.trust__logo { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink-700); letter-spacing: .02em; transition: color .3s var(--ease); }
.trust__logo:hover { color: var(--brand-600); }
/* ============ ADVANTAGES ============ */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.adv-card { padding: 34px 32px; position: relative; overflow: hidden; }
.adv-card__ic { width: 58px; height: 58px; border-radius: var(--r-md); background: var(--brand-50); display: flex; align-items: center; justify-content: center; color: var(--brand-600); margin-bottom: 22px; transition: .35s var(--ease); position: relative; }
.adv-card__ic::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--grad-brand); opacity: 0; transition: opacity .35s var(--ease); }
.adv-card__ic svg { width: 28px; height: 28px; position: relative; z-index: 1; transition: color .35s var(--ease); }
.adv-card:hover .adv-card__ic::after { opacity: 1; }
.adv-card:hover .adv-card__ic svg { color: #fff; }
.adv-card h3 { font-size: 20px; }
.adv-card p { margin-top: 13px; font-size: 15px; color: var(--ink-500); line-height: 1.68; }
.adv-card__no { position: absolute; top: 26px; right: 30px; font-family: var(--font-display); font-weight: 800; font-size: 42px; color: var(--bg-tint); line-height: 1; }

/* ============ PRODUCTS (two-level) ============ */
.prod { display: grid; grid-template-columns: 320px 1fr; gap: 36px; margin-top: 56px; align-items: start; }
.prod__nav { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 104px; }
.prod__cat { display: flex; align-items: center; gap: 15px; padding: 19px 22px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: .3s var(--ease); text-align: left; width: 100%; }
.prod__cat:hover { border-color: var(--brand-200); }
.prod__cat.is-active { border-color: transparent; background: var(--grad-brand); box-shadow: var(--sh-brand); }
.prod__cat.is-active .prod__cat-ic, .prod__cat.is-active .prod__cat-name, .prod__cat.is-active .prod__cat-count { color: #fff; }
.prod__cat.is-active .prod__cat-ic { background: rgba(255,255,255,.2); }
.prod__cat-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); display: flex; align-items: center; justify-content: center; color: var(--brand-600); flex: 0 0 46px; transition: .3s var(--ease); }
.prod__cat-ic svg { width: 23px; height: 23px; }
.prod__cat-name { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--ink-900); }
.prod__cat-count { font-size: 12.5px; color: var(--ink-400); margin-top: 3px; }
.prod__panel { position: relative; }
.prod__head { margin-bottom: 24px; }
.prod__head h3 { font-size: 25px; }
.prod__head p { margin-top: 9px; color: var(--ink-500); font-size: 15px; }
.prod__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.prod__item { padding: 26px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; transition: .35s var(--ease); position: relative; overflow: hidden; cursor: pointer; }
.prod__item:hover { border-color: var(--brand-200); box-shadow: var(--sh); transform: translateY(-4px); }
.prod__item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad-brand); opacity: 0; transition: opacity .3s var(--ease); }
.prod__item:hover::before { opacity: 1; }
.prod__item-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prod__item-name { font-family: var(--font-display); font-weight: 700; font-size: 17.5px; color: var(--ink-900); }
.prod__item-arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--brand-600); transition: .3s var(--ease); flex: 0 0 36px; }
.prod__item:hover .prod__item-arrow { background: var(--brand-600); color: #fff; transform: translateX(2px); }
.prod__item-desc { margin-top: 13px; font-size: 14.5px; color: var(--ink-500); line-height: 1.66; }
.prod__item-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.prod__item-tag { font-size: 12.5px; padding: 4px 11px; border-radius: var(--r-full); background: var(--bg-soft); color: var(--ink-600); }
.prod__item-note { margin-top: 12px; font-size: 12.5px; color: var(--cyan-500); font-weight: 600; }

/* ============ POLICY (政策咨询) ============ */
.policy-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; margin-top: 56px; align-items: start; }
.policy__feature { padding: 0; overflow: hidden; }
.policy__feature-img { height: 224px; background: var(--grad-deep); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 28px; }
.policy__feature-img::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); opacity: .7; }
.policy__feature-img .tag { position: relative; }
.policy__feature-img h3 { position: relative; color: #fff; font-size: 23px; margin-top: 12px; }
.policy__feature-body { padding: 28px 30px 32px; }
.policy__feature-body p { color: var(--ink-500); font-size: 15px; margin-top: 12px; line-height: 1.72; }
.policy__list { display: flex; flex-direction: column; gap: 14px; }
.policy__row { display: flex; gap: 16px; padding: 19px 21px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; transition: .3s var(--ease); align-items: flex-start; }
.policy__row:hover { border-color: var(--brand-200); box-shadow: var(--sh-sm); transform: translateX(4px); }
.policy__date { font-family: var(--font-mono); font-size: 12px; color: var(--brand-600); background: var(--brand-50); padding: 4px 10px; border-radius: var(--r-sm); white-space: nowrap; flex: 0 0 auto; height: fit-content; margin-top: 2px; }
.policy__row h4 { font-size: 16px; color: var(--ink-900); font-family: var(--font-display); font-weight: 700; }
.policy__row p { font-size: 13.5px; color: var(--ink-500); margin-top: 6px; line-height: 1.6; }
.policy__txt { flex: 1; min-width: 0; }
.policy__row .more { font-size: 13.5px; color: var(--brand-600); font-weight: 600; margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; }
.policy__row .more svg, .policy__feature-body .more svg { width: 14px; height: 14px; flex: 0 0 14px; }
.policy__feature-body .more { font-size: 13.5px; color: var(--brand-600); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }

/* ============ CASES (客户鉴证) ============ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.case-card { padding: 32px 30px; display: flex; flex-direction: column; }
.case-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.case-card__ind { font-family: var(--font-display); font-weight: 800; font-size: 13.5px; letter-spacing: .03em; }
.case-card__quote { font-size: 42px; color: var(--brand-100); font-family: var(--font-display); line-height: .6; height: 22px; }
.case-card h3 { font-size: 19px; }
.case-card__desc { margin-top: 13px; font-size: 14.5px; color: var(--ink-500); line-height: 1.66; flex: 1; }
.case-card__metrics { display: flex; gap: 26px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.case-card__metrics .m b { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--brand-700); display: block; }
.case-card__metrics .m span { font-size: 12.5px; color: var(--ink-400); margin-top: 5px; display: block; }
.case-card__by { margin-top: 18px; font-size: 13px; color: var(--ink-400); }
.case-card__by b { color: var(--ink-600); font-weight: 600; }

.case-logos { margin-top: 46px; display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; opacity: .85; }
.case-logos span { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink-300); }

/* ============ BOOKING (服务预约) ============ */
.book { position: relative; background: var(--grad-deep); color: #fff; overflow: hidden; }
.book::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); opacity: .6; }
.book__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.book__head .sec-title, .book__head .eyebrow { color: #fff; }
.book__head .eyebrow::before { background: var(--cyan-400); }
.book__head .sec-desc { color: rgba(255,255,255,.72); }
.book__steps { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.book__step { display: flex; gap: 14px; align-items: flex-start; }
.book__step .n { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--cyan-400); flex: 0 0 30px; }
.book__step p { font-size: 14.5px; color: rgba(255,255,255,.8); }
.book__step p b { color: #fff; font-weight: 600; }

.book__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.book__btn { display: flex; flex-direction: column; gap: 4px; padding: 19px 21px; border-radius: var(--r-md); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); text-align: left; transition: .3s var(--ease); backdrop-filter: blur(4px); }
.book__btn:hover { background: rgba(255,255,255,.14); border-color: var(--cyan-400); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.28); }
.book__btn .t { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: #fff; }
.book__btn .t svg { width: 19px; height: 19px; color: var(--cyan-400); }
.book__btn .d { font-size: 12.5px; color: rgba(255,255,255,.6); line-height: 1.55; }

/* booking modal side contents */
.book-side__qr { width: 136px; height: 136px; background: #fff; border-radius: var(--r-md); padding: 8px; margin-bottom: 18px; position: relative; z-index: 1; }
.book-side__qr img { width: 100%; height: 100%; }
.book-side__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; position: relative; z-index: 1; }
.book-side__desc { font-size: 13px; color: rgba(255,255,255,.66); margin-top: 6px; position: relative; z-index: 1; line-height: 1.6; }
.book-side__phone { margin-top: auto; position: relative; z-index: 1; }
.book-side__phone .lbl { font-size: 12.5px; color: rgba(255,255,255,.6); }
.book-side__phone .num { font-family: var(--font-display); font-weight: 800; font-size: 27px; color: #fff; margin-top: 4px; }
.book-side__phone .tip { margin-top: 12px; font-size: 12.5px; color: var(--cyan-400); display: flex; align-items: center; gap: 7px; }
.book-side__phone .tip svg { width: 15px; height: 15px; }

/* ============ CTA BAND ============ */
.cta-band { padding: 88px 0; }
.cta-band__box { position: relative; border-radius: var(--r-2xl); background: var(--grad-brand); color: #fff; padding: 60px 60px; overflow: hidden; box-shadow: var(--sh-brand); }
.cta-band__box::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); opacity: .7; }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); color: #fff; letter-spacing: -.02em; }
.cta-band p { margin-top: 12px; font-size: 16px; color: rgba(255,255,255,.85); max-width: 560px; line-height: 1.7; }
.cta-band .btn--ghost { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 52px; }
  .hero__visual { max-width: 460px; margin: 0 auto; }
  .prod { grid-template-columns: 1fr; }
  .prod__nav { flex-direction: row; flex-wrap: wrap; position: static; }
  .prod__cat { flex: 1 1 calc(50% - 12px); }
  .policy-grid { grid-template-columns: 1fr; }
  .book__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 880px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .prod__grid { grid-template-columns: 1fr; }
  .hero__meta { flex-wrap: wrap; gap: 18px; }
  .hero__meta .m { padding: 4px 22px; }
  .hero__meta .m:first-child { padding-left: 0; }
}
@media (max-width: 620px) {
  .section { padding: 76px 0; }
  .adv-grid { grid-template-columns: 1fr; }
  .prod__cat { flex: 1 1 100%; }
  .book__cards { grid-template-columns: 1fr; }
  .hero__meta { gap: 0; }
  .hero__meta .m { padding: 6px 0; border-right: none !important; width: 50%; }
  .cta-band__box { padding: 40px 28px; }
}
