@charset "utf-8";
/* =========================================================
   泉州恩特科技 · 官网样式（纯原生 CSS，无框架依赖）
   设计语言：深空科技风 / 霓虹渐变 / 玻璃拟态
   ========================================================= */

/* ---------- 变量 ---------- */
:root {
    --bg: #05091a;
    --bg-2: #080e24;
    --bg-3: #0d1533;
    --card: rgba(255, 255, 255, .045);
    --card-hover: rgba(255, 255, 255, .08);
    --line: rgba(255, 255, 255, .09);
    --txt: #e8eeff;
    --txt-2: #a8b4d6;
    --txt-3: #6d7ba3;
    --primary: #00d8ff;
    --primary-2: #0a84ff;
    --accent: #7b61ff;
    --accent-2: #ff4ecd;
    --success: #23d18b;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 20px 50px rgba(0, 0, 0, .45);
    --glow: 0 0 30px rgba(0, 216, 255, .35);
    --max: 1240px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--txt);
    line-height: 1.7;
    font-size: 15px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; border: 0; }
button, input, textarea, select { font-family: inherit; font-size: inherit; outline: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.35; letter-spacing: .5px; }
::selection { background: var(--primary); color: #041024; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #060b1c; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary), var(--accent)); border-radius: 10px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- 通用文字 ---------- */
.grad-text {
    background: linear-gradient(100deg, var(--primary) 0%, #7de2ff 30%, var(--accent) 70%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: gradMove 6s linear infinite;
}
@keyframes gradMove { to { background-position: 200% center; } }

/* ---------- 顶部条 ---------- */
.topbar {
    position: relative; z-index: 60;
    background: linear-gradient(90deg, rgba(0, 216, 255, .12), rgba(123, 97, 255, .12));
    border-bottom: 1px solid var(--line);
    font-size: 13px; color: var(--txt-2);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar .tel { color: var(--primary); font-weight: 700; letter-spacing: .5px; }
.topbar .tel b { font-size: 16px; }

/* ---------- 导航 ---------- */
.header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(5, 9, 26, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: all .35s var(--ease);
}
.header.shrink { background: rgba(4, 8, 22, .95); box-shadow: 0 8px 30px rgba(0, 0, 0, .5); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
    width: 44px; height: 44px; border-radius: 12px; position: relative;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: grid; place-items: center; font-weight: 900; font-size: 20px; color: #04122b;
    box-shadow: var(--glow);
    animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-3deg); } }
.logo-txt { line-height: 1.2; }
.logo-txt strong { display: block; font-size: 18px; letter-spacing: 1px; }
.logo-txt span { font-size: 11px; color: var(--txt-3); letter-spacing: 2px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
    display: block; padding: 10px 14px; font-size: 14.5px; color: var(--txt-2);
    border-radius: 8px; position: relative; white-space: nowrap;
}
.nav > li > a::after {
    content: ''; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: translateX(-50%); transition: width .3s var(--ease); border-radius: 2px;
}
.nav > li > a:hover, .nav > li.active > a { color: #fff; }
.nav > li > a:hover::after, .nav > li.active > a::after { width: 60%; }
.nav .sub {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
    background: rgba(10, 16, 40, .97); border: 1px solid var(--line); border-radius: 12px;
    padding: 8px; min-width: 170px; opacity: 0; visibility: hidden; transition: all .3s var(--ease);
    box-shadow: var(--shadow);
}
.nav > li:hover .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.nav .sub a { display: block; padding: 9px 12px; font-size: 13.5px; color: var(--txt-2); border-radius: 8px; }
.nav .sub a:hover { background: var(--card-hover); color: var(--primary); }

.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: 30px; font-size: 14px; font-weight: 600; color: #04122b;
    background: linear-gradient(100deg, var(--primary), #6ee7ff 50%, var(--accent));
    background-size: 200% auto; box-shadow: 0 8px 24px rgba(0, 216, 255, .28);
    animation: gradMove 5s linear infinite;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 216, 255, .45); color: #04122b; }

.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: none; cursor: pointer; }
.menu-btn i { display: block; width: 20px; height: 2px; background: var(--txt); margin: 4px auto; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 92vh; display: flex; align-items: center;
    overflow: hidden; padding: 90px 0 70px;
    background: radial-gradient(1200px 600px at 20% 10%, rgba(0, 132, 255, .22), transparent 60%),
                radial-gradient(900px 500px at 80% 30%, rgba(123, 97, 255, .22), transparent 60%),
                linear-gradient(180deg, #05091a, #070d20 60%, #05091a);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-grid {
    position: absolute; inset: 0; z-index: 0; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%);
    animation: gridMove 20s linear infinite;
}
@keyframes gridMove { to { background-position: 60px 60px, 60px 60px; } }
.hero .wrap { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 30px;
    border: 1px solid rgba(0, 216, 255, .35); background: rgba(0, 216, 255, .07);
    font-size: 13px; color: #9fe9ff; margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); animation: blink 1.6s infinite; }
@keyframes blink { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }

.hero h1 { font-size: clamp(30px, 5.2vw, 60px); line-height: 1.22; margin-bottom: 22px; letter-spacing: 1px; }
.hero h1 .type { color: var(--primary); border-right: 3px solid var(--primary); padding-right: 4px; animation: caret 1s step-end infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.hero-sub { font-size: clamp(14px, 1.5vw, 18px); color: var(--txt-2); max-width: 720px; margin-bottom: 38px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }

.btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; border-radius: 40px;
    font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
    position: relative; overflow: hidden;
}
.btn-primary {
    background: linear-gradient(100deg, var(--primary), var(--primary-2) 45%, var(--accent));
    background-size: 200% auto; color: #04122b; box-shadow: 0 10px 30px rgba(0, 216, 255, .3);
    animation: gradMove 5s linear infinite;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 216, 255, .5); color: #04122b; }
.btn-ghost { border-color: rgba(255, 255, 255, .22); color: var(--txt); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); background: rgba(0, 216, 255, .06); }
.btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    transition: left .55s var(--ease);
}
.btn:hover::before { left: 100%; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 780px; }
.hero-stats .item {
    padding: 18px 14px; border-radius: var(--radius); border: 1px solid var(--line);
    background: var(--card); backdrop-filter: blur(8px); text-align: center;
    transition: transform .35s var(--ease), border-color .35s;
}
.hero-stats .item:hover { transform: translateY(-6px); border-color: rgba(0, 216, 255, .4); }
.hero-stats .num { font-size: 30px; font-weight: 800; margin-bottom: 4px; }
.hero-stats .num em { font-style: normal; font-size: 18px; }
.hero-stats .label { font-size: 12.5px; color: var(--txt-3); }

.scroll-tip { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 12px; color: var(--txt-3); text-align: center; }
.scroll-tip span { display: block; width: 22px; height: 36px; border: 1px solid var(--line); border-radius: 12px; margin: 0 auto 8px; position: relative; }
.scroll-tip span::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: var(--primary); transform: translateX(-50%); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { top: 7px; opacity: 1; } 100% { top: 22px; opacity: 0; } }

/* ---------- 区块通用 ---------- */
.section { position: relative; padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.sec-head { text-align: center; margin-bottom: 56px; position: relative; }
.sec-head .tag {
    display: inline-block; font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--primary); margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(24px, 3vw, 38px); margin-bottom: 14px; }
.sec-head h2 small { display: block; font-size: 12px; letter-spacing: 4px; color: var(--txt-3); font-weight: 400; margin-top: 8px; text-transform: uppercase; }
.sec-head p { color: var(--txt-2); max-width: 660px; margin: 0 auto; font-size: 15px; }
.sec-head::after {
    content: ''; display: block; width: 70px; height: 3px; margin: 22px auto 0; border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
}

/* ---------- 业务卡片 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
    position: relative; padding: 34px 28px 30px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--card); overflow: hidden;
    transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.svc-card::before {
    content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 216, 255, .16), transparent 70%);
}
.svc-card:hover { transform: translateY(-10px); border-color: rgba(0, 216, 255, .45); background: var(--card-hover); }
.svc-card:hover::before { opacity: 1; }
.svc-icon {
    width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(0, 216, 255, .18), rgba(123, 97, 255, .18));
    border: 1px solid rgba(0, 216, 255, .25); color: var(--primary);
    transition: transform .4s var(--ease);
}
.svc-card:hover .svc-icon { transform: rotate(-8deg) scale(1.08); }
.svc-icon svg { width: 30px; height: 30px; }
.svc-card h3 { font-size: 19px; margin-bottom: 6px; }
.svc-card .sub { font-size: 13px; color: var(--primary); margin-bottom: 14px; }
.svc-card .desc { font-size: 13.5px; color: var(--txt-2); min-height: 66px; }
.svc-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13.5px; color: var(--primary); }
.svc-card .more:hover { gap: 12px; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-card {
    position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
    background: var(--bg-3); transition: transform .4s var(--ease), border-color .4s;
}
.case-card:hover { transform: translateY(-8px); border-color: rgba(123, 97, 255, .5); }
.case-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg, #0d1a3c, #16204d); }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case-card:hover .case-img img { transform: scale(1.1); }
.case-img .ph {
    position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; font-weight: 800;
    color: rgba(255, 255, 255, .16); letter-spacing: 2px;
}
.case-body { padding: 18px 18px 22px; }
.case-body h3 { font-size: 15.5px; margin-bottom: 6px; }
.case-body .meta { font-size: 12.5px; color: var(--txt-3); }
.case-body .tagline { display: inline-block; margin-top: 10px; font-size: 12px; padding: 3px 10px; border-radius: 20px; background: rgba(0, 216, 255, .1); color: var(--primary); }

/* ---------- 解决方案 ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sol-card {
    position: relative; padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line);
    background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
    overflow: hidden; transition: transform .4s var(--ease), border-color .4s;
}
.sol-card::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; transform: scaleX(0); transform-origin: left;
    background: linear-gradient(90deg, var(--primary), var(--accent)); transition: transform .45s var(--ease);
}
.sol-card:hover { transform: translateY(-8px); border-color: rgba(0, 216, 255, .4); }
.sol-card:hover::after { transform: scaleX(1); }
.sol-card .tag { font-size: 12px; color: var(--primary); margin-bottom: 10px; }
.sol-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.sol-card p { font-size: 13.5px; color: var(--txt-2); }

/* ---------- 新闻 ---------- */
.news-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.news-tabs a {
    padding: 9px 22px; border-radius: 30px; border: 1px solid var(--line); font-size: 14px; color: var(--txt-2);
    transition: all .3s var(--ease);
}
.news-tabs a:hover { border-color: var(--primary); color: var(--primary); }
.news-tabs a.on { background: linear-gradient(100deg, var(--primary), var(--accent)); color: #04122b; border-color: transparent; font-weight: 600; }
.news-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-item {
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card);
    transition: transform .4s var(--ease), border-color .4s;
}
.news-item:hover { transform: translateY(-8px); border-color: rgba(0, 216, 255, .4); }
.news-item .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, #101c44, #1b2760); position: relative; overflow: hidden; }
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-item:hover .thumb img { transform: scale(1.08); }
.news-item .date {
    position: absolute; left: 14px; top: 14px; background: rgba(4, 10, 28, .8); backdrop-filter: blur(6px);
    padding: 6px 12px; border-radius: 8px; font-size: 12px; color: #9fe9ff; border: 1px solid rgba(0, 216, 255, .3);
}
.news-item .body { padding: 18px; }
.news-item h3 { font-size: 15.5px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item p { font-size: 13px; color: var(--txt-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .cat-tag { display: inline-block; font-size: 11.5px; color: var(--accent); margin-bottom: 8px; }

/* 列表页新闻行 */
.news-row {
    display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 22px; border: 1px solid var(--line);
    border-radius: var(--radius); margin-bottom: 16px; background: var(--card);
    transition: transform .35s var(--ease), border-color .35s;
}
.news-row:hover { transform: translateX(6px); border-color: rgba(0, 216, 255, .4); }
.news-row .thumb { aspect-ratio: 16/10; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(135deg, #101c44, #1b2760); }
.news-row h3 { font-size: 18px; margin-bottom: 8px; }
.news-row .meta { font-size: 12.5px; color: var(--txt-3); margin-bottom: 8px; }
.news-row p { font-size: 13.5px; color: var(--txt-2); }

/* ---------- 关于 / 历程 ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.about-txt h2 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 20px; }
.about-txt p { color: var(--txt-2); margin-bottom: 16px; }
.adv-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
.adv-item { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); transition: transform .3s; }
.adv-item:hover { transform: translateY(-4px); border-color: rgba(0, 216, 255, .35); }
.adv-item .ico { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(0, 216, 255, .12); color: var(--primary); font-size: 16px; }
.adv-item h4 { font-size: 14.5px; margin-bottom: 3px; }
.adv-item p { font-size: 12.5px; color: var(--txt-3); line-height: 1.5; }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--primary), var(--accent), transparent); }
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item::before {
    content: ''; position: absolute; left: -30px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--primary); box-shadow: 0 0 12px rgba(0, 216, 255, .6);
}
.tl-item .y { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.tl-item h4 { font-size: 16px; margin-bottom: 6px; }
.tl-item p { font-size: 13.5px; color: var(--txt-2); }

/* ---------- 文化 ---------- */
.culture-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cul-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); text-align: center; transition: transform .4s; }
.cul-card:hover { transform: translateY(-8px); border-color: rgba(123, 97, 255, .45); }
.cul-card .ico { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: linear-gradient(135deg, rgba(0, 216, 255, .18), rgba(123, 97, 255, .18)); }
.cul-card h3 { font-size: 17px; margin-bottom: 10px; }
.cul-card p { font-size: 13.5px; color: var(--txt-2); }

/* ---------- 合作伙伴 ---------- */
.partner-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner-item {
    height: 84px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--card); font-size: 14px; color: var(--txt-2); transition: all .35s var(--ease); text-align: center; padding: 8px;
}
.partner-item:hover { border-color: rgba(0, 216, 255, .45); color: #fff; transform: translateY(-4px); background: var(--card-hover); }

/* ---------- 联系 / 表单 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.contact-info .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 216, 255, .1); color: var(--primary); font-size: 18px; }
.contact-info h4 { font-size: 14px; color: var(--txt-3); font-weight: 400; margin-bottom: 3px; }
.contact-info .val { font-size: 16px; font-weight: 600; }
.contact-info .val.big { color: var(--primary); font-size: 20px; letter-spacing: 1px; }

.form-box { padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); }
.form-box h3 { font-size: 20px; margin-bottom: 6px; }
.form-box .tip { font-size: 13px; color: var(--txt-3); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--txt-2); margin-bottom: 7px; }
.field label i { color: #ff5c7a; font-style: normal; }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04); color: var(--txt); transition: border-color .3s, background .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: rgba(0, 216, 255, .06); }
/* ---------- 下拉框：保证展开后的选项层可读（原生弹层默认白底，会与浅色字冲突） ---------- */
.field select {
    color-scheme: dark;
    background-color: #0a1128;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d8ff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
/* 聚焦时保留箭头图标（上面的 :focus 简写会把 background-image 清掉） */
.field select:focus {
    background-color: #0b1a3a;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d8ff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.field select option,
.field select optgroup {
    background-color: #0a1128;
    color: #e9f2ff;
}
.field select option:checked,
.field select option:hover {
    background-color: #10345c;
    color: #ffffff;
}
.field textarea { min-height: 96px; resize: vertical; }
.field .err { display: none; font-size: 12px; color: #ff6b8a; margin-top: 5px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff5c7a; }
.field.invalid .err { display: block; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.form-msg { font-size: 13.5px; padding: 10px 16px; border-radius: 8px; display: none; }
.form-msg.ok { display: block; background: rgba(35, 209, 139, .12); color: var(--success); border: 1px solid rgba(35, 209, 139, .3); }
.form-msg.no { display: block; background: rgba(255, 92, 122, .12); color: #ff6b8a; border: 1px solid rgba(255, 92, 122, .3); }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 26px 0 6px; font-size: 13px; color: var(--txt-3); }
.breadcrumb a { color: var(--txt-2); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; opacity: .5; }

/* ---------- 内页头部 ---------- */
.page-head {
    position: relative; padding: 74px 0 54px; text-align: center; overflow: hidden;
    background: radial-gradient(800px 400px at 50% 0%, rgba(0, 132, 255, .18), transparent 65%),
                linear-gradient(180deg, #070d22, var(--bg));
    border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(24px, 3.2vw, 40px); margin-bottom: 12px; }
.page-head p { color: var(--txt-2); max-width: 700px; margin: 0 auto; font-size: 15px; }

/* ---------- 正文排版 ---------- */
.article-body { font-size: 15.5px; color: #d3dcf5; }
.article-body h2 { font-size: 22px; margin: 28px 0 14px; padding-left: 14px; border-left: 4px solid var(--primary); }
.article-body h3 { font-size: 18px; margin: 22px 0 10px; color: #fff; }
.article-body p { margin-bottom: 14px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body ul li { list-style: disc; margin-bottom: 8px; }
.article-body ol li { list-style: decimal; margin-bottom: 8px; }
.article-body strong { color: #fff; }
.article-body img { border-radius: var(--radius-sm); margin: 14px 0; }
.article-body a { color: var(--primary); text-decoration: underline; }
.detail-card { padding: 40px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 44px 0 0; flex-wrap: wrap; }
.page-num {
    min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: 10px;
    border: 1px solid var(--line); font-size: 14px; color: var(--txt-2); transition: all .3s;
}
.page-num:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.page-num.active { background: linear-gradient(100deg, var(--primary), var(--accent)); color: #04122b; border-color: transparent; font-weight: 700; }
.page-dots { color: var(--txt-3); padding: 0 4px; line-height: 40px; }

/* ---------- 右侧悬浮客服 ---------- */
.side-bar { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 10px; }
.side-btn {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; cursor: pointer;
    background: rgba(10, 16, 40, .9); border: 1px solid var(--line); color: var(--txt-2); position: relative;
    backdrop-filter: blur(10px); transition: all .3s var(--ease);
}
.side-btn:hover { color: #fff; border-color: var(--primary); transform: translateX(-4px); background: rgba(0, 216, 255, .12); }
.side-btn .pop {
    position: absolute; right: 62px; top: 50%; transform: translateY(-50%) translateX(10px); white-space: nowrap;
    background: rgba(6, 12, 32, .97); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
    font-size: 13px; color: #fff; opacity: 0; visibility: hidden; transition: all .3s var(--ease);
}
.side-btn:hover .pop, .side-btn:focus .pop, .side-btn:focus-within .pop { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.side-btn .pop b { color: var(--primary); font-size: 15px; }

/* ---------- 页脚 ---------- */
.footer { position: relative; background: linear-gradient(180deg, #05091a, #03060f); border-top: 1px solid var(--line); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { font-size: 15px; margin-bottom: 18px; position: relative; padding-left: 12px; }
.footer h4::before { content: ''; position: absolute; left: 0; top: 6px; width: 3px; height: 14px; border-radius: 2px; background: linear-gradient(var(--primary), var(--accent)); }
.footer p, .footer li { font-size: 13.5px; color: var(--txt-3); }
.footer li { margin-bottom: 9px; }
.footer li a:hover { color: var(--primary); }
.footer .contact-line { display: flex; gap: 10px; margin-bottom: 10px; font-size: 13.5px; color: var(--txt-2); }
.footer .contact-line b { color: var(--primary); }
.footer .qr { width: 108px; height: 108px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; color: var(--txt-3); background: rgba(255, 255, 255, .03); }
/* 真实二维码图片：留白底保证可扫描 */
img.qr { background: #fff; padding: 4px; object-fit: contain; flex: none; }
/* 悬浮条：微信二维码弹层 */
.side-btn.side-qr { cursor: pointer; }
.side-btn .pop.pop-qr {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 10px; white-space: nowrap;
}
.side-btn .pop.pop-qr img { width: 130px; height: 130px; border-radius: 8px; background: #fff; padding: 4px; object-fit: contain; }
.side-btn .pop.pop-qr em { font-style: normal; font-size: 12.5px; color: var(--txt-2); }

/* 联系我们页：微信二维码卡片 */
.wechat-box {
    display: flex; gap: 18px; align-items: center; margin-top: 22px; padding: 18px;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
    transition: border-color .3s;
}
.wechat-box:hover { border-color: rgba(0, 216, 255, .35); }
.wechat-box img { width: 120px; height: 120px; flex: none; border-radius: 10px; background: #fff; padding: 4px; object-fit: contain; }
.wechat-box h4 { font-size: 15px; margin-bottom: 6px; color: var(--txt); }
.wechat-box p { font-size: 13px; color: var(--txt-3); line-height: 1.7; }
.foot-bottom { border-top: 1px solid var(--line); padding: 20px 0 26px; font-size: 13px; color: var(--txt-3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.foot-bottom a:hover { color: var(--primary); }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 动画：滚动揭示 ----------
   渐进增强：默认可见（无 JS 也不会白屏），只有 html.js 时才隐藏等待动画 */
.reveal, .reveal-left, .reveal-right { transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(34px); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal.d1 { transition-delay: .1s; }
html.js .reveal.d2 { transition-delay: .2s; }
html.js .reveal.d3 { transition-delay: .3s; }
html.js .reveal.d4 { transition-delay: .4s; }
html.js .reveal.d5 { transition-delay: .5s; }
html.js .reveal-left { opacity: 0; transform: translateX(-40px); }
html.js .reveal-left.in { opacity: 1; transform: none; }
html.js .reveal-right { opacity: 0; transform: translateX(40px); }
html.js .reveal-right.in { opacity: 1; transform: none; }
/* 老浏览器无 IntersectionObserver：直接全部显示，不做滚动动画 */
html.no-io .reveal, html.no-io .reveal-left, html.no-io .reveal-right { opacity: 1; transform: none; }

.float { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.pulse { animation: pulsey 3s ease-in-out infinite; }
@keyframes pulsey { 0%,100% { box-shadow: 0 0 0 0 rgba(0, 216, 255, .45); } 70% { box-shadow: 0 0 0 18px rgba(0, 216, 255, 0); } }

/* 光晕装饰 */
.glow-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none; z-index: 0; }
.orb-1 { width: 380px; height: 380px; background: #0a84ff; top: -80px; left: -60px; animation: orbMove 14s ease-in-out infinite; }
.orb-2 { width: 320px; height: 320px; background: #7b61ff; bottom: -60px; right: -40px; animation: orbMove 18s ease-in-out infinite reverse; }
@keyframes orbMove { 0%,100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.12); } }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--txt-3); }
.empty .ico { font-size: 44px; margin-bottom: 12px; opacity: .5; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .svc-grid, .sol-grid { grid-template-columns: repeat(2, 1fr); }
    .case-grid, .news-list { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .partner-wall { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: rgba(5, 10, 28, .98); border-bottom: 1px solid var(--line); flex-direction: column; padding: 12px; backdrop-filter: blur(14px); }
    .nav.open { display: flex; }
    .nav > li { width: 100%; }
    .nav > li > a { padding: 13px 14px; }
    .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255, 255, 255, .03); border: 0; min-width: 0; display: none; padding-left: 14px; }
    .nav > li:hover .sub { display: block; }
    .menu-btn { display: block; }
    .header .wrap { height: 64px; }
    .hero { min-height: auto; padding: 70px 0 50px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .culture-grid, .adv-list { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .side-bar { right: 8px; }
    .side-btn { width: 44px; height: 44px; }
    .news-row { grid-template-columns: 1fr; }
    .news-row .thumb { aspect-ratio: 16/8; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    body { font-size: 14.5px; }
    .svc-grid, .sol-grid, .case-grid, .news-list { grid-template-columns: 1fr; }
    .partner-wall { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    .detail-card { padding: 24px 18px; }
    .form-box { padding: 22px 18px; }
    .topbar .wrap { height: auto; padding: 6px 20px; flex-direction: column; gap: 2px; font-size: 12px; }
    .side-bar { top: auto; bottom: 74px; transform: none; grid-auto-flow: column; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html.js .reveal, html.js .reveal-left, html.js .reveal-right { opacity: 1; transform: none; }
}
