/* 唐院检测 · 科技视觉与动态效果。内容与业务数据保持独立。 */
:root { --c-cyan: #39e0e5; --c-cyan-soft: #e4fafa; --ease: cubic-bezier(.22,.8,.2,1); }
.hero { background: radial-gradient(ellipse at 82% 30%,#123f63 0,transparent 52%),linear-gradient(120deg,#040e1c,#08243c 65%,#0a344d); padding-bottom: 112px; }
.hero::before { background-size: 64px 64px; opacity: .35; transform: perspective(700px) rotateX(20deg) scale(1.25); }
.hero::after { width: 860px; height: 860px; right: -180px; background: radial-gradient(circle,rgba(21,219,216,.15),transparent 65%); animation: hero-breathe 9s ease-in-out infinite alternate; pointer-events: none; }
.hero-grid { gap: 44px; }
.hero h1 { font-size: clamp(34px,4.6vw,58px); letter-spacing: -1px; line-height: 1.25; }
.hero h1 .hl { background: linear-gradient(105deg,#62f1d7,#37cde6 50%,#9bc7ff); background-clip: text; -webkit-background-clip: text; color: transparent; text-shadow: 0 0 45px rgba(57,224,229,.12); }
.hero .lead { font-size: 17px; line-height: 1.9; color: #a9bfd3; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 2px; }
.hero .eyebrow::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #39e0e5; box-shadow: 0 0 16px #39e0e5; }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .7; }
.hero-orbits { position: absolute; width: min(72vw,900px); aspect-ratio: 1; right: -8%; top: 50%; transform: translateY(-50%); pointer-events: none; }
.hero-orbits span { position: absolute; inset: 0; border: 1px solid rgba(91,207,227,.14); border-radius: 50%; animation: orbit-turn 75s linear infinite; }
.hero-orbits span::before { content: ""; position: absolute; top: 14.5%; left: 14.5%; width: 5px; height: 5px; border-radius: 50%; background: #7ef3ea; box-shadow: 0 0 20px #39e0e5; }
.hero-orbits span:nth-child(2) { inset: 14%; border-style: dashed; animation-direction: reverse; animation-duration: 95s; }
.hero-orbits span:nth-child(3) { inset: 28%; border-color: rgba(91,207,227,.08); animation-duration: 45s; }
.hero-panel { position: relative; border-radius: 22px; background: linear-gradient(150deg,rgba(39,83,117,.58),rgba(5,26,45,.8)); border-color: rgba(114,210,234,.28); box-shadow: 0 30px 90px rgba(0,0,0,.3),0 0 60px rgba(20,185,218,.08); }
.hero-panel::before { content: ""; position: absolute; height: 1px; top: -1px; left: 15%; right: 15%; background: linear-gradient(90deg,transparent,#8cf7eb,transparent); }
.hero-panel h4 { font-size: 13px; color: #d1e9f2; letter-spacing: 1.5px; }
.hero-panel h4 .dot { animation: signal-pulse 3s ease-out infinite; }
.hero-badge { border-radius: 10px; background: rgba(17,48,73,.7); border-color: rgba(150,209,235,.17); padding: 12px 16px; }
.hero-badge b { font-size: 19px; color: #dcecf6; }
.gauge { border: 1px solid rgba(57,224,229,.08); background: rgba(40,117,145,.09); }
.gauge b { font-variant-numeric: tabular-nums; }
.hero-scroll { position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; color: #86a6bd; font-size: 10px; letter-spacing: 3px; white-space: nowrap; }
.hero-scroll::before { content: ""; width: 19px; height: 30px; border: 1px solid #537c98; border-radius: 12px; }
.hero-scroll::after { content: ""; position: absolute; width: 3px; height: 6px; left: 8px; top: 6px; background: #60e7dc; border-radius: 2px; animation: scroll-cue 2s ease-in-out infinite; }
.header { border-bottom: 1px solid rgba(160,209,235,.1); }
.header.is-scrolled { background: rgba(249,252,255,.94); }
.nav { gap: 18px; }
.nav-links { gap: clamp(15px,2.2vw,30px); }
.nav-links a, .nav-phone { white-space: nowrap; }
.brand, .nav-cta, .lang-switch { flex-shrink: 0; }
.brand-logo { box-shadow: 0 0 25px rgba(75,210,230,.14); }
/* 复用 TYMAP 首页的居中徽标，按正方形原比例显示。 */
.header .brand { --brand-size: 44px; width: var(--brand-size); height: var(--brand-size); display: grid; place-items: center; overflow: hidden; border-radius: 50%; box-shadow: 0 0 22px rgba(75,210,230,.14); }
.header .brand-logo { width: 100%; height: 100%; max-width: none; object-fit: contain; padding: 0; background: transparent; border-radius: 0; box-shadow: none; transform: none; }
@media (max-width: 420px) { .header .brand { --brand-size: 40px; } }
.btn { position: relative; isolation: isolate; overflow: hidden; transition: transform .25s,box-shadow .25s,background .25s; }
.btn::before { content: ""; position: absolute; pointer-events: none; inset: -50% auto -50% -100%; width: 40%; transform: skewX(-25deg); background: linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent); transition: left .65s; }
.btn:hover::before { left: 150%; }
.btn--primary { background: linear-gradient(115deg,#ffbb39,#f6a316); box-shadow: 0 8px 30px rgba(246,163,22,.22); }
.btn--primary:hover { box-shadow: 0 12px 38px rgba(246,163,22,.35); }
.section-head h2 { letter-spacing: -.6px; }
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.section-head .eyebrow::before, .section-head .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .45; }
.stats-section { position: relative; padding: 58px 0; background: #071a2d; border-top: 1px solid rgba(89,204,221,.15); border-bottom: 1px solid rgba(89,204,221,.15); }
.stats-section::before { content: ""; position: absolute; top: -1px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg,transparent,#3bcbd2,transparent); }
.stats .stat { position: relative; }
.stats .stat + .stat::before { content: ""; position: absolute; left: -12px; top: 12%; bottom: 12%; width: 1px; background: linear-gradient(transparent,rgba(151,205,233,.2),transparent); }
.stat .num { color: #6ceade; font-size: clamp(38px,4.8vw,60px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -1px; text-shadow: 0 0 32px rgba(57,224,229,.13); white-space: nowrap; }
.stat .label { color: #8facc3; font-size: 13px; letter-spacing: 1px; margin-top: 18px; }
.odometer-digit { display: inline-block; height: 1em; width: .65em; overflow: hidden; vertical-align: top; }
.odometer-strip { display: block; transform: translateY(0); transition: transform var(--roll-duration,2400ms) cubic-bezier(.12,.7,.15,1); }
.odometer-strip span { display: block; height: 1em; line-height: 1; }
.odometer-unit { display: inline-block; font-size: .43em; letter-spacing: 0; margin-inline-start: .2em; vertical-align: baseline; }
.stat.is-counted .num { animation: count-settle .8s ease-out 2.5s both; }
.card { position: relative; border-radius: 18px; border-color: #e4ebf1; transition: transform .45s var(--ease),border-color .3s,box-shadow .3s; }
.card::before { content: ""; position: absolute; pointer-events: none; inset: 0; border-radius: inherit; opacity: 0; background: radial-gradient(350px circle at var(--spot-x,50%) var(--spot-y,0%),rgba(14,162,206,.09),transparent 70%); transition: opacity .35s; }
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(24,161,191,.4); box-shadow: 0 24px 48px rgba(13,56,85,.12); }
.card .ic { border-radius: 14px; background: linear-gradient(135deg,#e5f8fa,#eef4fd); transition: transform .4s var(--ease); }
.card:hover .ic { transform: translateY(-3px) rotate(-5deg); }
.section--soft { background: linear-gradient(160deg,#f0f5f9,#f8fbfd); }
.ai-showcase { background: radial-gradient(ellipse at 85% 10%,rgba(28,195,213,.13),transparent 55%),linear-gradient(130deg,#040f1e,#0a283e); }
.ai-showcase::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(112,207,232,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(112,207,232,.025) 1px,transparent 1px); background-size: 56px 56px; }
.ai-showcase > .container { position: relative; }
.ai-showcase h2 { background: linear-gradient(110deg,#fff,#b4e4ed); background-clip: text; -webkit-background-clip: text; color: transparent; letter-spacing: -.8px; }
.ai-player { position: relative; box-shadow: 0 24px 70px rgba(0,0,0,.3),0 0 50px rgba(48,180,207,.06); border-color: rgba(87,194,222,.3); }
.ai-player-top { background: linear-gradient(100deg,rgba(57,224,229,.08),transparent); }
.ai-rec::before { animation: signal-pulse 3s ease-out infinite; }
.ai-video-option { transition: border-color .25s,background .25s,transform .25s; }
.ai-video-option:hover { border-color: rgba(57,224,229,.55); background: rgba(57,224,229,.08); transform: translateY(-2px); }
.ai-capabilities article > span { font-size: 20px; font-weight: 600; opacity: .7; }
.page-hero { background: radial-gradient(ellipse at 80% 10%,#155270,transparent 60%),linear-gradient(120deg,#051425,#103752); }
.footer { border-top: 1px solid rgba(57,224,229,.16); background: #041222; }
.fade-up { opacity: 1; transform: none; }
.motion-ready .fade-up:not(.in) { opacity: 0; transform: translateY(26px); }
.motion-ready .fade-up { transition: opacity .8s var(--ease),transform .8s var(--ease); transition-delay: var(--reveal-delay,0ms); }
.reading-progress { position: fixed; z-index: 1100; top: 0; left: 0; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg,#39e0e5,#95f5db); box-shadow: 0 0 12px rgba(57,224,229,.55); pointer-events: none; }
.effect-tools { position: fixed; z-index: 950; right: 22px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.effect-tools button { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 38px; padding: 8px 12px; border: 1px solid rgba(129,192,220,.3); border-radius: 10px; background: rgba(6,29,48,.91); backdrop-filter: blur(10px); color: #bee5ee; font: inherit; font-size: 11px; cursor: pointer; box-shadow: 0 5px 22px rgba(0,0,0,.12); }
.effect-tools button:hover { border-color: #39e0e5; color: #fff; }
.effect-tools button:focus-visible { outline: 2px solid #39e0e5; outline-offset: 3px; }
.effect-tools .back-to-top[hidden] { display: none; }
.back-to-top { width: 38px; font-size: 20px !important; }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes hero-breathe { to { transform: translate(-50px,-45%) scale(1.15); opacity: .65; } }
@keyframes signal-pulse { 0% { box-shadow: 0 0 0 0 rgba(57,224,229,.4); } 80%,100% { box-shadow: 0 0 0 9px rgba(57,224,229,0); } }
@keyframes scroll-cue { 0%,100% { transform: translateY(0); opacity: .3; } 60% { transform: translateY(9px); opacity: 1; } }
@keyframes count-settle { from { filter: brightness(1.5); } to { filter: brightness(1); } }
@media (hover: hover) and (pointer: fine) { html[data-motion="on"] .card.in:hover { transform: perspective(900px) translateY(-7px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); } }
/* 导航在平板宽度提前收起，避免文字被挤成竖排。 */
@media (max-width: 1100px) {
  .nav-links { position: fixed; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 10px 24px 20px; box-shadow: 0 14px 30px rgba(11,42,74,.12); transform: translateY(-140%); transition: transform .35s var(--ease); max-height: calc(100dvh - 76px); overflow-y: auto; visibility: hidden; }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { color: var(--c-ink) !important; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--c-line); }
  .nav-links a::after { display: none; }
  .hamburger { display: flex; }
  .nav-phone { display: none; }
}
@media (max-width: 980px) { .hero-grid { gap: 36px; } .hero-panel { width: 100%; max-width: 620px; } .hero-orbits { width: 110vw; right: -30%; top: 65%; } }
@media (max-width: 760px) { .hero { padding: 115px 0 90px; } .hero h1 { font-size: clamp(32px,7.7vw,46px); } .hero .lead { font-size: 16px; } .hero-panel { padding: 20px; } .hero-badges { gap: 8px; margin-top: 28px; } .hero-badge { padding: 10px 12px; } .hero-badge b { font-size: 16px; } .hero-badge span { font-size: 11px; } .stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 12px; } .stats-section { padding: 36px 0; } .stats .stat:nth-child(3)::before { display: none; } .stat .num { font-size: 42px; } .stat .label { font-size: 11px; letter-spacing: 0; } .effect-tools { right: 12px; bottom: 12px; } .hero-scroll { font-size: 9px; bottom: 22px; } }
@media (max-width: 420px) { .nav { gap: 9px; } .nav-cta .btn { padding: 9px 12px; font-size: 12px; } .lang-select { max-width: 110px; } .brand-logo { height: 34px; padding: 3px 6px; } .container { padding: 0 18px; } .gauge-row { gap: 6px; } .gauge { padding: 9px 4px; } .gauge b { font-size: 18px; } }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] .fade-up { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before, html:not([data-motion="on"]) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
