/* ===========================================================
   智拓为科技 ZTW - 企业官网样式
   风格参考 ilogie.com：亮橙主色 + 白底 + 大圆角卡片
   融入 AI 科技感与体育动感元素
   =========================================================== */

:root {
    --orange: #1E63B4;
    --orange-dark: #17539A;
    --orange-light: #4FB3E0;
    --orange-soft: #E9F4FD;
    --ink: #14161A;
    --ink-2: #1E2128;
    --ink-3: #2A2F38;
    --text: #2B2F36;
    --text-muted: #6B7280;
    --text-light: #9AA1AC;
    --line: #E8EAED;
    --bg-gray: #F7F8FA;
    --white: #fff;
    --radius: 18px;
    --radius-lg: 26px;
    --shadow: 0 4px 24px rgba(20, 22, 26, .06);
    --shadow-hover: 0 16px 48px rgba(30, 99, 180, .18);
    --container: 1200px;
    --nav-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* 粘性页脚：内容不足一屏时 footer 停在视口底部 */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
video, iframe { max-width: 100%; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
/* 加宽容器（首页解决方案区，与轮播横幅同宽对齐） */
.container-wide { max-width: 1280px; }

.text-orange { color: var(--orange); }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .28s cubic-bezier(.4, 0, .2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 8px 22px rgba(30, 99, 180, .28);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(30, 99, 180, .42);
}

.btn-outline {
    border-color: var(--line);
    color: var(--text);
    background: #fff;
}
.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, .6);
    color: #fff;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, .2);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-nav { padding: 10px 22px; font-size: 14px; }

/* ===========================================================
   导航
   =========================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: all .3s ease;
}
.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(20, 22, 26, .08);
    border-bottom-color: var(--line);
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark { display: flex; }
.logo-mark svg { border-radius: 9px; box-shadow: 0 4px 12px rgba(30, 99, 180, .3); }
.logo-mark img { height: 40px; width: auto; display: block; }
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-weight: 800;
    font-size: 19px;
    color: var(--ink);
    letter-spacing: .5px;
}
.logo-text em {
    font-style: normal;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.4px;
    color: var(--text-light);
}
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text em { color: rgba(255, 255, 255, .5); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
    position: relative;
    padding: 9px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    border-radius: 10px;
    transition: all .25s;
}
.nav-menu a:hover { color: var(--orange); background: var(--orange-soft); }
.nav-menu a.active { color: var(--orange); font-weight: 700; }
.nav-menu a.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    transform: translateX(-50%);
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: var(--orange);
}

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--orange-soft);
    border-radius: 10px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--orange);
    border-radius: 2px;
    transition: .3s;
}

/* ===========================================================
   Hero 轮播
   =========================================================== */
.hero {
    position: relative;
    height: 440px;
    width: calc(100% - 40px);
    max-width: 1280px;
    margin: var(--nav-h) auto 0;
    border-radius: 24px;
    overflow: hidden;
    background: var(--ink);
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s ease, visibility 1.1s;
    display: flex;
    align-items: center;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 12, 16, .94) 0%, rgba(15, 18, 24, .82) 42%, rgba(20, 24, 30, .45) 100%);
}
.hero-slide.active .hero-content { animation: heroUp .9s .25s both cubic-bezier(.2, .7, .3, 1); }

@keyframes heroUp {
    from { opacity: 0; transform: translateY(38px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content { position: relative; z-index: 3; max-width: 760px; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 18px;
    margin-bottom: 24px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    background: rgba(30, 99, 180, .16);
    border: 1px solid rgba(30, 99, 180, .5);
    backdrop-filter: blur(6px);
}
.hero-tag::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 0 rgba(30, 99, 180, .7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(30, 99, 180, .7); }
    70% { box-shadow: 0 0 0 11px rgba(30, 99, 180, 0); }
    100% { box-shadow: 0 0 0 0 rgba(30, 99, 180, 0); }
}

.hero h1 {
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.16;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.hero h1 em {
    font-style: normal;
    color: var(--orange);
    text-shadow: 0 0 40px rgba(30, 99, 180, .5);
}

.hero-content p {
    font-size: clamp(15px, 1.6vw, 18px);
    color: rgba(255, 255, 255, .78);
    max-width: 560px;
    margin-bottom: 24px;
    line-height: 1.8;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-btns .btn { padding: 11px 24px; font-size: 14px; }

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 46px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.hero-dots span {
    width: 34px;
    height: 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .3);
    cursor: pointer;
    transition: all .35s;
}
.hero-dots span.active {
    width: 54px;
    background: var(--orange);
    box-shadow: 0 0 14px rgba(30, 99, 180, .8);
}

/* 轮播左右箭头 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 17px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s;
    backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--orange); border-color: var(--orange); }
.hero-arrow-prev { left: 28px; }
.hero-arrow-next { right: 28px; }

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(30, 99, 180, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 99, 180, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 72%);
}

/* ===========================================================
   数据统计条
   =========================================================== */
.stats-strip {
    background: var(--ink);
    padding: 56px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-item { text-align: center; }
.stat-item p {
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, .55);
    letter-spacing: .5px;
}
.stat-num {
    font-size: 46px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    letter-spacing: -2px;
}
.stat-unit { font-size: 20px; font-weight: 700; color: rgba(255, 255, 255, .8); margin-left: 2px; }

/* ===========================================================
   通用区块
   =========================================================== */
.section { padding: 100px 0; }
.section-gray { background: var(--bg-gray); }
.section-tech { background: linear-gradient(180deg, var(--white) 0%, #FFF7F0 100%); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-head-left { text-align: left; margin-left: 0; }

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.4px;
    color: var(--orange);
    padding: 5px 14px;
    margin-bottom: 16px;
    border-radius: 6px;
    background: var(--orange-soft);
}

.section-head h2 {
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.28;
    letter-spacing: -.6px;
    margin-bottom: 16px;
}
.section-head p { font-size: 16px; color: var(--text-muted); }

.section-more { text-align: center; margin-top: 54px; }

/* 页面 Hero（内页） */
.page-hero {
    padding: calc(var(--nav-h) + 78px) 0 78px;
    background:
        radial-gradient(circle at 82% 28%, rgba(30, 99, 180, .16), transparent 48%),
        linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30, 99, 180, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 99, 180, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 80% 40%, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 80% 40%, #000, transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .section-tag { background: rgba(30, 99, 180, .16); }
.page-hero h1 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 14px;
}
.page-hero p { font-size: 16px; color: rgba(255, 255, 255, .68); max-width: 660px; }

/* ===========================================================
   解决方案卡片
   =========================================================== */
.sol-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sol-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: all .38s cubic-bezier(.4, 0, .2, 1);
}
.sol-card:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 99, 180, .35);
    box-shadow: var(--shadow-hover);
}
.sol-img {
    height: 168px;
    background-size: cover;
    background-position: center;
    transition: transform .6s ease;
    position: relative;
}
.sol-card:hover .sol-img { transform: scale(1.06); }
.sol-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .45) 100%);
}
.sol-body { padding: 24px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.sol-scenario {
    display: inline-block;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    color: var(--orange);
    background: var(--orange-soft);
    padding: 3px 11px;
    border-radius: 6px;
    margin-bottom: 12px;
}
.sol-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.45;
}
.sol-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.72;
    flex: 1;
    margin-bottom: 18px;
}
.sol-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.sol-more i { font-style: normal; transition: transform .3s; }
.sol-card:hover .sol-more i,
.prod-card:hover .sol-more i { transform: translateX(5px); }

/* 解决方案列表页 */
/* 解决方案：PC 一行三列卡片 */
.sol-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.sol-card-v {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .38s cubic-bezier(.4, 0, .2, 1);
}
.sol-card-v:hover {
    transform: translateY(-6px);
    border-color: rgba(30, 99, 180, .35);
    box-shadow: var(--shadow-hover);
}
.sol-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.sol-card-img .sol-scenario { position: absolute; top: 16px; left: 16px; margin: 0; }
.sol-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.sol-card-body h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.sol-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sol-card-body .sol-more { margin-top: auto; }

@media (max-width: 1024px) {
    .sol-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .sol-grid-3 { grid-template-columns: 1fr; }
    .sol-card-img { height: 180px; }
}

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

.prod-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: all .38s cubic-bezier(.4, 0, .2, 1);
}
.section-dark .prod-card { background: var(--ink-2); border-color: rgba(255, 255, 255, .08); }
.section-dark .prod-card h3 { color: #fff; }
.section-dark .prod-card p { color: rgba(255, 255, 255, .58); }

.prod-card:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 99, 180, .4);
    box-shadow: var(--shadow-hover);
}
.prod-img {
    height: 210px;
    background-size: cover;
    background-position: center;
    transition: transform .6s ease;
}
.prod-card:hover .prod-img { transform: scale(1.05); }

.prod-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    border-radius: 999px;
    background: var(--orange);
    box-shadow: 0 4px 14px rgba(11, 74, 143, .45);
}

.prod-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.prod-cat {
    display: inline-block;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 10px;
    letter-spacing: .5px;
}
.prod-body h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.prod-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 14px; }

/* 筛选条 */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}
.filter-item {
    padding: 9px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-gray);
    border: 1px solid transparent;
    border-radius: 999px;
    transition: all .28s;
}
.filter-item:hover { color: var(--orange); border-color: rgba(30, 99, 180, .3); }
.filter-item.active {
    color: #fff;
    background: var(--orange);
    box-shadow: 0 6px 18px rgba(30, 99, 180, .3);
}

/* ===========================================================
   技术能力卡片
   =========================================================== */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tech-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all .38s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
}
.tech-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s;
}
.tech-card:hover::before { transform: scaleX(1); }
.tech-card:hover {
    transform: translateY(-6px);
    border-color: rgba(30, 99, 180, .3);
    box-shadow: var(--shadow-hover);
}
.tech-icon {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--orange-soft);
    margin-bottom: 24px;
}
.tech-icon svg { width: 34px; height: 34px; }
.tech-card h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.tech-card p { font-size: 14px; color: var(--text-muted); line-height: 1.78; }

/* ===========================================================
   详情页
   =========================================================== */
/* 详情页头部：纯文字（无背景图），上下留白 60px */
.detail-hero {
    padding: calc(var(--nav-h) + 60px) 0 60px;
}
.detail-hero h1 {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    color: var(--ink);
    margin: 12px 0 8px;
    letter-spacing: -.5px;
}
.detail-hero p { font-size: 15px; color: var(--text-muted); max-width: 700px; }

.detail-main h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--ink);
    margin: 44px 0 18px;
    padding-left: 16px;
    border-left: 4px solid var(--orange);
    line-height: 1.3;
}
.detail-main h2:first-child { margin-top: 0; }
.detail-desc { font-size: 15px; color: var(--text-muted); line-height: 2; }

/* ===========================================================
   关于我们
   =========================================================== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text p { font-size: 15px; color: var(--text-muted); line-height: 2; margin-bottom: 18px; }
.about-richtext { font-size: 15px; color: var(--text-muted); line-height: 2; margin-bottom: 18px; }
.about-richtext p { margin-bottom: 10px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.about-tags span {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--orange-dark);
    background: var(--orange-soft);
    border-radius: 999px;
}
.about-img {
    height: 440px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}

/* ===========================================================
   联系我们
   =========================================================== */
.contact-layout { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.contact-info h2, .contact-form-wrap h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 30px;
}
.contact-item {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.contact-item h4 { font-size: 13px; font-weight: 600; color: var(--text-light); letter-spacing: 1px; margin-bottom: 8px; }
.contact-item p { font-size: 15px; color: var(--text); line-height: 1.75; }
.contact-strong { font-size: 19px !important; font-weight: 700; color: var(--orange) !important; letter-spacing: -.3px; }
.contact-item span { font-size: 13px; color: var(--text-light); }

.contact-form-wrap {
    padding: 44px 46px;
    border-radius: var(--radius-lg);
    background: var(--bg-gray);
    border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 9px;
}
.form-group label em { font-style: normal; color: var(--orange); }
.form-control {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    transition: all .25s;
    outline: none;
}
.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(30, 99, 180, .1);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 130px; line-height: 1.75; }
.field-error { display: block; font-size: 13px; color: #E53935; margin-top: 6px; }

.alert-success {
    padding: 15px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #1B7F4C;
    background: #E8F7EF;
    border: 1px solid #B7E4CA;
    border-radius: 12px;
}

/* ===========================================================
   试用下载
   =========================================================== */
.trial-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: start;
}

.trial-info .section-head { margin-bottom: 30px; }

/* 安装包列表：可勾选、可多选 */
.trial-pkg-list { display: flex; flex-direction: column; gap: 14px; }
.trial-pkg-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-gray);
    transition: all .3s;
}
.trial-pkg-item:hover { border-color: rgba(30, 99, 180, .35); }
.trial-pkg-item.granted { background: var(--orange-soft); border-color: rgba(30, 99, 180, .35); }
.trial-check {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--orange);
    cursor: pointer;
}
.trial-granted-mark {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trial-pkg-info { flex: 1; min-width: 0; cursor: pointer; }
.trial-pkg-item.granted .trial-pkg-info { cursor: default; }
.trial-pkg-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.trial-pkg-meta { font-size: 12.5px; color: var(--text-light); margin-top: 6px; }
.trial-pkg-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-top: 8px; }
.trial-dl-btn { flex: 0 0 auto; align-self: center; padding: 9px 22px; font-size: 14px; }
.trial-ver {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    padding: 4px 13px;
    border-radius: 999px;
    background: var(--orange);
}

.trial-empty {
    padding: 56px 30px;
    text-align: center;
    font-size: 15px;
    color: var(--text-light);
    background: var(--bg-gray);
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
}

.trial-card {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    padding: 42px 44px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.trial-card h2 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.trial-tip { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 26px; }

.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-row .form-control { flex: 1; min-width: 0; }
.captcha-row img {
    flex: 0 0 auto;
    width: 132px;
    height: 46px;
    border-radius: 10px;
    border: 1.5px solid var(--line);
    background: var(--bg-gray);
    cursor: pointer;
    transition: border-color .25s;
}
.captcha-row img:hover { border-color: var(--orange); }

.alert-error {
    padding: 15px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #B3261E;
    background: #FDECEA;
    border: 1px solid #F5C6C2;
    border-radius: 12px;
}
.alert-error ul { margin: 0; padding-left: 18px; }
.alert-error li + li { margin-top: 4px; }

/* ===========================================================
   后台管理
   =========================================================== */
.admin-body { background: var(--bg-gray); }

.admin-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.admin-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
}
.admin-header-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-user { font-size: 14px; color: var(--text-muted); }
.admin-user strong { color: var(--ink); }
.admin-logout-form { display: inline-flex; margin: 0; }

.admin-main { padding: 44px 0 70px; }

.admin-head { margin-bottom: 28px; }
.admin-head h1 { font-size: 28px; font-weight: 800; color: var(--ink); margin-bottom: 10px; letter-spacing: -.6px; }
.admin-head p { font-size: 14px; color: var(--text-muted); line-height: 1.8; max-width: 880px; }
.admin-head strong { color: var(--orange-dark); }

.admin-panel {
    padding: 34px 36px;
    margin-bottom: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.admin-panel h2 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.admin-panel-tip { font-size: 13px; color: var(--text-light); line-height: 1.7; margin-bottom: 22px; }
.admin-empty { padding: 40px 0; text-align: center; font-size: 14px; color: var(--text-light); }

.admin-upload { margin-top: 22px; }
.admin-file { padding: 10px 12px; font-size: 14px; background: var(--bg-gray); }

.admin-table-wrap { overflow-x: auto; margin-top: 22px; }
.admin-table { width: 100%; min-width: 900px; border-collapse: collapse; }
.admin-table th {
    padding: 0 16px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: .6px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
}
.admin-table td {
    padding: 16px;
    font-size: 14px;
    color: var(--text);
    vertical-align: middle;
    border-bottom: 1px solid var(--line);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #FCFCFD; }
.admin-sub { font-size: 12.5px; color: var(--text-light); margin-top: 4px; word-break: break-all; }

.admin-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 11px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    white-space: nowrap;
}
.admin-badge.on { color: #1B7F4C; background: #E8F7EF; }
.admin-badge.off { color: #8A8F98; background: #EEEFF2; }
.admin-badge.live { color: #fff; background: var(--orange); }

.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-actions form { display: inline-flex; margin: 0; }

.admin-nav { border-top: 1px solid var(--line); }
.admin-nav-inner { display: flex; gap: 4px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.admin-nav-inner a {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13.5px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all .2s ease;
}
.admin-nav-inner a:hover { color: #fff; background: var(--orange); }

.admin-panel-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.admin-panel-bar h2 { margin-bottom: 0; }

.admin-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); padding-top: 30px; }
.admin-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--orange); }

/* 富文本编辑器 */
.rte { background: #fff; border-radius: 0 0 12px 12px; min-height: 180px; font-size: 14px; }
.rte .ql-editor { min-height: 180px; }
.ql-toolbar.ql-snow { border-radius: 12px 12px 0 0; border-color: var(--line); }
.ql-container.ql-snow { border-color: var(--line); border-radius: 0 0 12px 12px; }

/* 配图上传 */
.img-upload { display: flex; flex-direction: column; gap: 10px; }
.img-upload-preview { display: none; max-width: 320px; max-height: 180px; border-radius: 12px; border: 1px solid var(--line); object-fit: cover; }
.img-upload-tip { font-size: 13px; color: var(--text-light); }

.btn-small { padding: 7px 15px; font-size: 13px; }
.btn-danger { background: #fff; border-color: #F5C6C2; color: #B3261E; }
.btn-danger:hover { background: #FDECEA; border-color: #E9A9A3; color: #B3261E; transform: translateY(-1px); }

.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    background:
        radial-gradient(circle at 80% 25%, rgba(30, 99, 180, .14), transparent 48%),
        linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
}
.admin-login-card {
    width: 100%;
    max-width: 440px;
    padding: 46px 44px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.admin-login-card h1 { font-size: 24px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.admin-login-card > p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 28px; }

@media (max-width: 1080px) {
    .trial-layout { grid-template-columns: 1fr; gap: 40px; }
    .trial-card { position: static; }
}

@media (max-width: 860px) {
    .admin-panel { padding: 26px 22px; }
    .admin-header-inner { min-height: 64px; }
    .trial-card { padding: 30px 24px; }
    .captcha-row { flex-wrap: wrap; }
    .captcha-row .form-control { flex: 1 1 100%; }
}

/* ===========================================================
   页脚版权/备案条
   =========================================================== */
.footer-bar {
    background: var(--ink);
    padding: 22px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .38);
    text-align: center;
}
.footer-bar-inner { display: flex; flex-direction: column; gap: 6px; }
.footer-beian { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.footer-beian a { display: inline-flex; align-items: center; gap: 5px; color: rgba(255, 255, 255, .38); text-decoration: none; transition: color .2s; }
.footer-beian a img { height: 15px; width: auto; display: block; }
.footer-beian a:hover { color: rgba(255, 255, 255, .7); }

/* ===========================================================
   滚动动画
   =========================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===========================================================
   响应式
   =========================================================== */
@media (max-width: 1080px) {
    .sol-grid { grid-template-columns: repeat(2, 1fr); }
    .prod-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-layout { grid-template-columns: 1fr; gap: 44px; }
    .about-intro { grid-template-columns: 1fr; gap: 40px; }
    .about-img { height: 340px; }
}

/* 导航栏完整展开的最小断点为 860px：公司名加长后 861-900px 区间需收紧菜单横向间距，避免菜单挤压换行 */
@media (max-width: 900px) {
    .nav-menu a { padding: 9px 12px; }
}

@media (max-width: 860px) {
    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px 26px;
        background: #fff;
        box-shadow: 0 16px 34px rgba(20, 22, 26, .12);
        transform: translateY(-14px);
        opacity: 0;
        visibility: hidden;
        transition: all .32s ease;
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
    }
    .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-menu a { padding: 15px 14px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
    .nav-menu a.active::after { display: none; }
    .nav-menu a.active { background: var(--orange-soft); }
    .nav-toggle { display: flex; }
    .btn-nav { display: none; }

    .hero { height: auto; min-height: 480px; padding: 72px 0 84px; border-radius: 18px; }
    .hero-dots { bottom: 26px; }

    .section { padding: 68px 0; }
    /* 移动端首屏 section 需避开 76px 固定导航，防止遮住筛选条/卡片文字 */
    main > .section:first-child { padding-top: calc(var(--nav-h) + 20px); }
    .section-head { margin-bottom: 42px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
    .stat-num { font-size: 38px; }

    .sol-grid, .prod-grid, .tech-grid { grid-template-columns: 1fr; }
    .value-grid { grid-template-columns: 1fr; }
    .value-grid-4 { grid-template-columns: 1fr; }

    .contact-form-wrap { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    .detail-main h2 { font-size: 21px; }
}

@media (max-width: 520px) {
    .container { padding: 0 18px; }
    .hero-arrow { width: 36px; height: 36px; font-size: 14px; }
    .hero-arrow-prev { left: 12px; }
    .hero-arrow-next { right: 12px; }
    .btn-lg { padding: 13px 26px; font-size: 15px; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-num { font-size: 32px; }
}
