/* ==========================================================================
   英路科技 InRoll Tech - 企业官网样式
   风格：深色科技风 / 渐变极光 / 玻璃拟态 / 滚动动效
   ========================================================================== */

:root {
    --bg: #060913;
    --bg-2: #0a1022;
    --card: rgba(255, 255, 255, 0.04);
    --card-hover: rgba(255, 255, 255, 0.07);
    --line: rgba(255, 255, 255, 0.09);
    --text: #e8eefb;
    --muted: #97a3bb;
    --brand-1: #7c8cff;
    --brand-2: #37e0d0;
    --gov: #4ea3ff;
    --ent: #b18cff;
    --grad: linear-gradient(100deg, var(--brand-1), var(--brand-2));
    --radius: 18px;
    --shadow: 0 20px 60px rgba(2, 6, 23, 0.55);
    --nav-h: 72px;
    --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1180px, 92%); margin-inline: auto; }

::selection { background: rgba(124, 140, 255, 0.4); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #263252; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #35466f; }

/* ==========================================================================
   顶部导航
   ========================================================================== */
.site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-h);
    z-index: 100;
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
    background: rgba(6, 9, 19, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.5);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 36px; height: 36px; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-text { font-weight: 700; font-size: 19px; letter-spacing: 0.5px; display: flex; flex-direction: column; line-height: 1.15; }
.brand-text em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 2px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links > a { position: relative; font-size: 15px; color: var(--muted); transition: color 0.25s; padding: 6px 0; }
.nav-links > a::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
    background: var(--grad); border-radius: 2px; transition: width 0.3s ease;
}
.nav-links > a:hover, .nav-links > a.active { color: var(--text); }
.nav-links > a:hover::after, .nav-links > a.active::after { width: 100%; }

.nav-cta {
    padding: 9px 22px !important;
    border-radius: 999px;
    background: var(--grad);
    color: #06101f !important;
    font-weight: 700;
    box-shadow: 0 6px 24px rgba(83, 190, 224, 0.35);
    transition: transform 0.25s, box-shadow 0.25s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(83, 190, 224, 0.5); }

.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; }
.nav-toggle span {
    display: block; width: 22px; height: 2px; margin: 5px auto;
    background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero 首屏
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 40px) 0 90px;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% -10%, #101a3a 0%, var(--bg) 60%); }

.aurora {
    position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
    animation: float 14s ease-in-out infinite alternate;
    will-change: transform;
}
.aurora.a1 { width: 560px; height: 560px; left: -140px; top: -120px; background: rgba(96, 110, 255, 0.45); }
.aurora.a2 { width: 480px; height: 480px; right: -120px; top: 10%; background: rgba(45, 212, 191, 0.32); animation-delay: -5s; }
.aurora.a3 { width: 420px; height: 420px; left: 30%; bottom: -220px; background: rgba(148, 92, 255, 0.3); animation-delay: -9s; }

@keyframes float {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(60px, -40px) scale(1.12); }
    100% { transform: translate(-40px, 50px) scale(0.95); }
}

.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 216, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 216, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(75% 60% at 50% 40%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(75% 60% at 50% 40%, #000 30%, transparent 100%);
}

.hero-inner { text-align: center; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 8px 20px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--card);
    font-size: 13.5px; color: var(--muted); margin-bottom: 30px;
    backdrop-filter: blur(8px);
}
.hero-badge .dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2);
    box-shadow: 0 0 0 0 rgba(55, 224, 208, 0.7); animation: pulse 2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(55, 224, 208, 0.6); }
    70%  { box-shadow: 0 0 0 12px rgba(55, 224, 208, 0); }
    100% { box-shadow: 0 0 0 0 rgba(55, 224, 208, 0); }
}

.hero-title { font-size: clamp(34px, 6vw, 68px); line-height: 1.22; font-weight: 800; letter-spacing: 1px; }
.hero-title > span { display: block; }
.hero-title em {
    font-style: normal; display: inline-block; min-width: 5.2em; text-align: left;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    transition: opacity 0.35s, transform 0.35s;
}
.hero-title em.swapping { opacity: 0; transform: translateY(14px); }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-sub { max-width: 720px; margin: 26px auto 0; color: var(--muted); font-size: 17px; }

.hero-actions { display: flex; gap: 18px; justify-content: center; margin-top: 42px; flex-wrap: wrap; }

/* 按钮 */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 34px; border-radius: 999px;
    font-size: 16px; font-weight: 700; border: 1px solid transparent;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
    will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--grad); color: #06101f; box-shadow: 0 8px 30px rgba(83, 190, 224, 0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(83, 190, 224, 0.5); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: var(--brand-2); background: rgba(55, 224, 208, 0.08); transform: translateY(-3px); }
.btn-light { background: #fff; color: #0a1022; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25); }
.btn-light:hover { transform: translateY(-3px); }
.btn-outline { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }

/* 统计数字 */
.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    max-width: 860px; margin: 72px auto 0;
    background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stat { background: rgba(10, 16, 34, 0.6); padding: 26px 10px; text-align: center; backdrop-filter: blur(6px); }
.stat b { font-size: 38px; font-weight: 800; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat b::after { content: "+"; font-size: 22px; vertical-align: 6px; margin-left: 2px; }
.stat:last-child b::after { content: ""; }
.stat span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* 跑马灯 */
.hero-marquee {
    position: absolute; left: 0; right: 0; bottom: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0; overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span {
    color: var(--muted); font-size: 14px; letter-spacing: 2px; white-space: nowrap;
    display: flex; align-items: center; gap: 46px;
}
.marquee-track span::after { content: "◆"; font-size: 9px; color: var(--brand-2); opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   通用 Section
   ========================================================================== */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 16px; }

.eyebrow {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: var(--brand-2);
}
.center { text-align: center; margin-top: 54px; }

/* 页面顶部小 Hero */
.page-hero { position: relative; padding: calc(var(--nav-h) + 90px) 0 90px; overflow: hidden; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; margin: 14px 0 18px; }
.page-sub { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 16.5px; }

/* ==========================================================================
   客户群体双卡片
   ========================================================================== */
.segment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.segment-card {
    position: relative; padding: 44px 40px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--card);
    overflow: hidden; transition: transform 0.35s ease, border-color 0.35s, box-shadow 0.35s;
}
.segment-card::before {
    content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s;
    background: radial-gradient(60% 80% at 20% 0%, var(--seg-glow, rgba(78, 163, 255, 0.16)), transparent 70%);
}
.segment-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.segment-card:hover::before { opacity: 1; }
.segment-card.gov { --seg-glow: rgba(78, 163, 255, 0.18); }
.segment-card.ent { --seg-glow: rgba(177, 140, 255, 0.18); }
.seg-icon { width: 58px; height: 58px; margin-bottom: 22px; color: var(--gov); }
.segment-card.ent .seg-icon { color: var(--ent); }
.segment-card h3 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.segment-card p { color: var(--muted); font-size: 15.5px; }
.seg-link { display: inline-flex; gap: 8px; margin-top: 26px; font-weight: 700; color: var(--brand-2); }
.seg-link i { font-style: normal; transition: transform 0.3s; }
.segment-card:hover .seg-link i { transform: translateX(6px); }

/* ==========================================================================
   选项卡
   ========================================================================== */
.tabs {
    position: relative; display: flex; gap: 8px; justify-content: center;
    width: max-content; margin: 0 auto 20px; padding: 6px;
    background: var(--card); border: 1px solid var(--line); border-radius: 999px;
}
.tab {
    position: relative; z-index: 2; border: 0; background: none; color: var(--muted);
    font-size: 15.5px; font-weight: 700; padding: 10px 34px; border-radius: 999px;
    transition: color 0.3s;
}
.tab.active { color: #06101f; }
.tab-slider {
    position: absolute; z-index: 1; top: 6px; bottom: 6px; left: 0; width: 0;
    background: var(--grad); border-radius: 999px;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cat-desc { text-align: center; color: var(--muted); margin-bottom: 46px; transition: opacity 0.3s; }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: panelIn 0.5s ease both; }
@keyframes panelIn {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   产品卡片
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
    position: relative; display: flex; flex-direction: column;
    padding: 36px 32px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--card);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.4s, background 0.3s;
    overflow: hidden;
}
.product-card::after {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--grad); transform: scaleX(0); transform-origin: left;
    transition: transform 0.45s ease;
}
.product-card:hover {
    background: var(--card-hover); border-color: rgba(124, 140, 255, 0.4);
    box-shadow: var(--shadow);
}
.product-card:hover::after { transform: scaleX(1); }

.pc-icon {
    width: 54px; height: 54px; color: var(--brand-2); margin-bottom: 20px;
    padding: 10px; border-radius: 14px;
    background: rgba(55, 224, 208, 0.08); border: 1px solid rgba(55, 224, 208, 0.25);
    transition: transform 0.4s, background 0.3s;
}
.product-card:hover .pc-icon { transform: translateY(-4px) scale(1.05); background: rgba(55, 224, 208, 0.15); }

.product-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.pc-en { font-size: 12.5px; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; }
.pc-tag { color: var(--brand-2); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.pc-sum { color: var(--muted); font-size: 14.5px; flex: 1; }

.pc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
    font-size: 12.5px; color: var(--muted); padding: 4px 12px; border-radius: 999px;
    border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}

.pc-more { margin-top: 22px; font-weight: 700; font-size: 14.5px; color: var(--brand-1); display: inline-flex; gap: 8px; }
.pc-more i { font-style: normal; transition: transform 0.3s; }
.product-card:hover .pc-more i { transform: translateX(6px); }

/* ==========================================================================
   Bento 能力区
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bento-item {
    position: relative; padding: 34px 30px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--card); overflow: hidden;
    transition: transform 0.35s, border-color 0.35s;
}
.bento-item:hover { transform: translateY(-6px); border-color: rgba(124, 140, 255, 0.4); }
.bento-item.big { grid-row: span 2; }
/* 桌面端：01 左列跨两行，02/03 中列上下叠放，04 右列跨两行 */
.bento-item.wide { grid-column: 3; grid-row: 1 / span 2; }
.bento-item h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.bento-item h3 i {
    font-style: normal; font-size: 13px; font-weight: 800; color: var(--brand-2);
    border: 1px solid rgba(55, 224, 208, 0.4); border-radius: 8px; padding: 2px 9px;
}
.bento-item p { color: var(--muted); font-size: 14.5px; }

.bento-visual { position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; }
.pulse-core {
    position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border-radius: 50%;
    background: var(--grad); transform: translate(-50%, -50%);
    box-shadow: 0 0 24px rgba(55, 224, 208, 0.8);
}
.pulse-ring {
    position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; border-radius: 50%;
    border: 1px solid rgba(124, 140, 255, 0.5); transform: translate(-50%, -50%) scale(0.4);
    animation: ring 3.2s ease-out infinite;
}
.pulse-ring.r2 { animation-delay: 1.6s; }
@keyframes ring {
    from { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
    to   { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}

.progress-bars { margin-top: 26px; display: grid; gap: 14px; }
.pbar span { font-size: 13px; color: var(--muted); }
.pbar i {
    display: block; height: 8px; margin-top: 6px; border-radius: 99px;
    background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden;
}
.pbar i::after {
    content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w);
    background: var(--grad); border-radius: 99px;
    transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.in-view .pbar i::after { transform: scaleX(1); }

/* ==========================================================================
   服务流程
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.steps li {
    position: relative; padding: 30px 22px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--card);
    transition: transform 0.35s, border-color 0.35s;
}
.steps li:hover { transform: translateY(-6px); border-color: rgba(55, 224, 208, 0.45); }
.steps b {
    display: inline-block; font-size: 15px; font-weight: 800; letter-spacing: 1px;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 12px;
}
.steps h4 { font-size: 16.5px; margin-bottom: 8px; }
.steps p { font-size: 13.5px; color: var(--muted); }
.steps li::before {
    content: ""; position: absolute; top: 50%; right: -12px; width: 6px; height: 6px;
    border-radius: 50%; background: var(--brand-2); opacity: 0.6;
}
.steps li:last-child::before { display: none; }

/* ==========================================================================
   CTA 行动号召
   ========================================================================== */
.cta-band {
    position: relative; padding: 90px 0; text-align: center; overflow: hidden;
    background: linear-gradient(120deg, rgba(124, 140, 255, 0.16), rgba(55, 224, 208, 0.12));
    border-block: 1px solid var(--line);
}
.cta-band::before {
    content: ""; position: absolute; inset: -50%;
    background: conic-gradient(from 0deg, transparent 70%, rgba(55, 224, 208, 0.18), transparent 85%);
    animation: spin 12s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band .container { position: relative; }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: var(--muted); margin-bottom: 34px; }
.cta-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   关于我们
   ========================================================================== */
.about-intro { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 15.5px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.about-visual { display: flex; justify-content: center; }
.orbit { position: relative; width: 300px; height: 300px; }
.orbit-core {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 96px; height: 96px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; font-size: 17px; letter-spacing: 1px;
    background: var(--grad); color: #06101f;
    box-shadow: 0 0 50px rgba(83, 190, 224, 0.45);
    animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.07); } }
.orbit-ring {
    position: absolute; left: 50%; top: 50%; border: 1px dashed rgba(148, 163, 216, 0.3);
    border-radius: 50%; transform: translate(-50%, -50%);
    animation: orbitSpin linear infinite;
}
.orbit-ring.r1 { width: 170px; height: 170px; animation-duration: 16s; }
.orbit-ring.r2 { width: 235px; height: 235px; animation-duration: 24s; animation-direction: reverse; }
.orbit-ring.r3 { width: 300px; height: 300px; animation-duration: 32s; }
@keyframes orbitSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.sat {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    font-size: 12.5px; padding: 3px 12px; border-radius: 999px; white-space: nowrap;
    background: var(--bg-2); border: 1px solid var(--line); color: var(--brand-2);
    animation: orbitSpin linear infinite reverse; animation-duration: inherit;
}
.sat.s2 { left: 12%; top: 70%; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.timeline::before {
    content: ""; position: absolute; top: 34px; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--brand-1), var(--brand-2)); opacity: 0.35;
}
.tl-item { position: relative; padding: 74px 26px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); transition: transform 0.35s, border-color 0.35s; }
.tl-item:hover { transform: translateY(-6px); border-color: rgba(124, 140, 255, 0.45); }
.tl-year {
    position: absolute; top: -14px; left: 26px; font-weight: 800; font-size: 15px;
    padding: 6px 16px; border-radius: 999px; background: var(--grad); color: #06101f;
}
.tl-item h4 { font-size: 17px; margin-bottom: 8px; }
.tl-item p { font-size: 14px; color: var(--muted); }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
    padding: 34px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card);
    transition: transform 0.35s, border-color 0.35s;
}
.value-card:hover { transform: translateY(-8px); border-color: rgba(55, 224, 208, 0.45); }
.value-card b { display: block; font-size: 20px; margin-bottom: 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.value-card p { font-size: 14px; color: var(--muted); }

/* ==========================================================================
   产品详情
   ========================================================================== */
.detail-hero { position: relative; padding: calc(var(--nav-h) + 80px) 0 80px; overflow: hidden; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 44px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--brand-2); }
.crumbs i { font-style: normal; opacity: 0.5; }
.crumbs span { color: var(--text); }

.detail-head { display: flex; gap: 44px; align-items: flex-start; }
.dh-icon {
    flex: none; width: 110px; height: 110px; border-radius: 26px; padding: 24px;
    color: var(--brand-2); background: var(--card); border: 1px solid rgba(55, 224, 208, 0.35);
    box-shadow: 0 0 40px rgba(55, 224, 208, 0.15);
    animation: breathe 5s ease-in-out infinite;
}
.detail-head h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin: 8px 0 10px; }
.dh-tag { color: var(--brand-2); font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.dh-sum { color: var(--muted); max-width: 760px; font-size: 15.5px; }
.dh-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-item {
    position: relative; padding: 32px 28px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--card); overflow: hidden;
    transition: transform 0.35s, border-color 0.35s, background 0.35s;
}
.feature-item:hover { transform: translateY(-6px); border-color: rgba(124, 140, 255, 0.45); background: var(--card-hover); }
.fi-num {
    display: block; font-size: 34px; font-weight: 800; margin-bottom: 14px;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.85;
}
.feature-item h3 { font-size: 17.5px; margin-bottom: 10px; }
.feature-item p { font-size: 14px; color: var(--muted); }

.scene-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.scene-card {
    position: relative; padding: 30px 24px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--card); text-align: center;
    transition: transform 0.35s, border-color 0.35s;
}
.scene-card:hover { transform: translateY(-6px) scale(1.02); border-color: rgba(55, 224, 208, 0.5); }
.scene-card b {
    display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 16px;
    border-radius: 50%; font-size: 16px; background: rgba(124, 140, 255, 0.12);
    border: 1px solid rgba(124, 140, 255, 0.4); color: var(--brand-1);
}
.scene-card span { font-size: 15.5px; font-weight: 600; }

/* ==========================================================================
   联系我们
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 20px; }

.ci-card {
    display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px;
    border-radius: var(--radius); border: 1px solid var(--line); background: var(--card);
    transition: transform 0.3s, border-color 0.3s;
}
.ci-card:hover { transform: translateX(6px); border-color: rgba(55, 224, 208, 0.4); }
.ci-icon { flex: none; width: 46px; height: 46px; padding: 10px; border-radius: 12px; color: var(--brand-2); background: rgba(55, 224, 208, 0.08); border: 1px solid rgba(55, 224, 208, 0.25); }
.ci-card h4 { font-size: 16px; margin-bottom: 4px; }
.ci-card a, .ci-card span { display: block; font-size: 14.5px; color: var(--muted); }
.ci-card a:hover { color: var(--brand-2); }

.map-card { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.map-visual {
    position: relative; height: 240px;
    background:
        linear-gradient(rgba(148, 163, 216, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 216, 0.12) 1px, transparent 1px),
        radial-gradient(70% 90% at 60% 40%, #12204a, var(--bg-2));
    background-size: 34px 34px, 34px 34px, cover;
}
.map-pin { position: absolute; left: 55%; top: 42%; }
.map-pin span {
    display: block; width: 16px; height: 16px; border-radius: 50% 50% 50% 0;
    background: var(--grad); transform: rotate(-45deg);
    box-shadow: 0 0 0 0 rgba(55, 224, 208, 0.5); animation: pulse 2.2s infinite;
}
.map-label {
    position: absolute; left: 55%; top: 56%; transform: translateX(-50%);
    font-size: 13px; color: var(--muted); background: rgba(6, 9, 19, 0.7);
    padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap;
}

.contact-form {
    padding: 40px 38px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(10px);
}
.contact-form h3 { font-size: 24px; font-weight: 800; }
.form-sub { color: var(--muted); font-size: 14px; margin: 8px 0 28px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field label b { color: #ff7b93; }
.field input, .field textarea {
    width: 100%; padding: 13px 16px; border-radius: 12px; font-size: 15px; font-family: inherit;
    background: rgba(6, 9, 19, 0.6); border: 1px solid var(--line); color: var(--text);
    transition: border-color 0.25s, box-shadow 0.25s; outline: none; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #5a6780; }
.field input:focus, .field textarea:focus {
    border-color: var(--brand-1);
    box-shadow: 0 0 0 3px rgba(124, 140, 255, 0.18);
}
.field input.invalid, .field textarea.invalid { border-color: #ff7b93; }

.radio-row { display: flex; gap: 22px; flex-wrap: wrap; }
.radio { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 500 !important; color: var(--muted) !important; cursor: pointer; margin: 0 !important; }
.radio input { display: none; }
.radio i {
    width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line);
    position: relative; transition: border-color 0.25s;
}
.radio i::after {
    content: ""; position: absolute; inset: 3px; border-radius: 50%;
    background: var(--grad); transform: scale(0); transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.radio input:checked + i { border-color: var(--brand-1); }
.radio input:checked + i::after { transform: scale(1); }
.radio:has(input:checked) { color: var(--text) !important; }

.form-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; text-align: center; }
.form-note.ok { color: var(--brand-2); font-weight: 700; }
.form-note.err { color: #ff7b93; font-weight: 700; }

/* 提交成功反馈面板 */
.form-done { display: none; }
.form-done.show { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 28px; }
.form-done svg { width: 64px; height: 64px; color: var(--brand-2); margin-bottom: 20px; }
.form-done h3 { font-size: 24px; margin-bottom: 10px; }
.form-done p { max-width: 360px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.form-done .done-contact { margin-top: 10px; font-size: 13.5px; }
.form-done .done-contact a { color: var(--brand-2); font-weight: 700; }
.form-done .btn { margin-top: 22px; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer { background: #04060e; border-top: 1px solid var(--line); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 18px; }
.footer-col h4 { font-size: 15.5px; margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 12px; transition: color 0.25s, transform 0.25s; }
.footer-col a:hover { color: var(--brand-2); transform: translateX(4px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 12.5px; color: #5a6780; }
.footer-bottom a { color: #5a6780; transition: color 0.25s; }
.footer-bottom a:hover { color: var(--brand-2); }
.footer-bottom i { font-style: normal; margin: 0 8px; opacity: 0.5; }
.gaba-link { display: inline-flex; align-items: center; gap: 5px; }
.gaba-link svg { width: 14px; height: 14px; }

/* ==========================================================================
   回到顶部 & 光标光晕
   ========================================================================== */
.to-top {
    position: fixed; right: 26px; bottom: 26px; z-index: 90;
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line); background: rgba(10, 16, 34, 0.8); backdrop-filter: blur(8px);
    color: var(--brand-2); display: grid; place-items: center;
    opacity: 0; transform: translateY(16px); pointer-events: none;
    transition: opacity 0.35s, transform 0.35s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { border-color: var(--brand-2); }

.cursor-glow {
    position: fixed; z-index: -1; width: 480px; height: 480px; border-radius: 50%;
    pointer-events: none; opacity: 0; transition: opacity 0.6s;
    background: radial-gradient(circle, rgba(124, 140, 255, 0.07), transparent 60%);
    transform: translate(-50%, -50%);
}

/* ==========================================================================
   滚动进场动画
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal[data-delay="1"] { --d: 1; }
.reveal[data-delay="2"] { --d: 2; }
.reveal[data-delay="3"] { --d: 3; }
.reveal[data-delay="4"] { --d: 4; }
.reveal[data-delay="5"] { --d: 5; }
.reveal.in-view { opacity: 1; transform: none; }

/* 卡片 3D 倾斜 */
[data-tilt] { transform-style: preserve-3d; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
    .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .bento { grid-template-columns: 1fr 1fr; }
    .bento-item.big { grid-row: auto; }
    .bento-item.wide { grid-column: auto; grid-row: auto; }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .steps li::before { display: none; }
    .timeline { grid-template-columns: repeat(2, 1fr); }
    .timeline::before { display: none; }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .scene-row { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0;
        background: rgba(6, 9, 19, 0.97); backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--line); padding: 10px 0 24px;
        clip-path: inset(0 0 100% 0); transition: clip-path 0.4s ease;
    }
    .nav-links.open { clip-path: inset(0 0 0 0); }
    .nav-links > a { padding: 14px 0; width: 80%; text-align: center; }
    .nav-cta { margin-top: 12px; }
    .nav-toggle { display: block; }

    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .segment-grid, .product-grid, .product-grid.cols-3, .bento,
    .steps, .timeline, .value-grid, .feature-grid, .scene-row,
    .about-intro, .contact-grid, .field-row, .footer-grid { grid-template-columns: 1fr; }

    /* Bento 单列适配：wide 不再跨列，缩小装饰与留白 */
    .bento-item.wide { grid-column: auto; grid-row: auto; }
    .bento-item { padding: 26px 22px; }
    .bento-item h3 { font-size: 17px; gap: 10px; margin-bottom: 10px; }
    .bento-visual { width: 140px; height: 140px; right: -34px; bottom: -34px; }

    .about-visual { display: none; }
    .detail-head { flex-direction: column; gap: 24px; }
    .section { padding: 76px 0; }
    .stat b { font-size: 30px; }
    .cursor-glow { display: none; }
}

/* 降低动效偏好 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
