/* ==========================================================================
   域爻格 · 前端设计系统 —— 浅色清爽科技风
   主色：青蓝渐变 #0ea5e9 → #6366f1
   ========================================================================== */

:root {
    /* 品牌色 */
    --sky: #0ea5e9;
    --sky-dark: #0284c7;
    --cyan: #22d3ee;
    --indigo: #6366f1;
    --indigo-dark: #4f46e5;
    --grad: linear-gradient(120deg, #0ea5e9 0%, #22d3ee 45%, #6366f1 100%);
    --grad-soft: linear-gradient(120deg, rgba(14, 165, 233, .12), rgba(99, 102, 241, .12));

    /* 中性色 */
    --ink: #0f172a;
    --ink-2: #334155;
    --ink-3: #64748b;
    --ink-4: #94a3b8;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-tint: #f0f7ff;
    --line: #e6edf5;
    --line-strong: #d7e2ee;

    /* 效果 */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, .10), 0 2px 8px rgba(15, 23, 42, .06);
    --shadow-glow: 0 10px 40px rgba(14, 165, 233, .28);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --ease: cubic-bezier(.22, .61, .36, 1);
    --transition: all .3s var(--ease);

    --max-width: 1200px;
    --header-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: var(--transition); }

button { font-family: inherit; }

::selection { background: rgba(14, 165, 233, .22); }

/* ==========================================================================
   布局工具
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 72px 0; }

/* 分区标题 */
.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--indigo);
    margin-bottom: 16px;
}

.eyebrow::before,
.eyebrow::after {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--grad);
    opacity: .7;
}

.section-head h2 {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
    margin-bottom: 14px;
}

.section-head p {
    font-size: 17px;
    color: var(--ink-3);
}

/* 渐变文字 */
.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
    background: var(--grad);
    background-size: 150% 150%;
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-position: 100% 100%;
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(14, 165, 233, .38);
    color: #fff;
}

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

.btn-ghost:hover {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .7);
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--sky);
    color: var(--sky);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* 卡片通用 */
.card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* ==========================================================================
   顶部导航
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.site-header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 16px rgba(14, 165, 233, .35);
    flex-shrink: 0;
}

.logo-mark svg { width: 22px; height: 22px; }

.logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--ink);
    white-space: nowrap;
}

.logo-text em { font-style: normal; }

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
    position: relative;
    padding: 9px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-2);
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
    transform: translateX(-50%);
    transition: var(--transition);
}

.main-nav a:hover { color: var(--ink); }

.main-nav a.active { color: var(--sky-dark); font-weight: 600; }

.main-nav a.active::after { width: 22px; }

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line);
    background: var(--bg);
    transition: var(--transition);
}

.header-phone svg { width: 16px; height: 16px; color: var(--sky); }

.header-phone:hover {
    border-color: var(--sky);
    color: var(--sky-dark);
    box-shadow: var(--shadow-sm);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 11px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: var(--transition);
}

.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 语言下拉 */
.lang-dropdown { position: relative; }

.lang-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--bg);
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn svg { width: 16px; height: 16px; color: var(--sky); }

.lang-btn svg.arrow { width: 12px; height: 12px; opacity: .6; transition: transform .3s var(--ease); }

.lang-btn:hover { border-color: var(--sky); color: var(--sky-dark); }

.lang-dropdown.open .lang-btn { border-color: var(--sky); color: var(--sky-dark); background: var(--bg-tint); }
.lang-dropdown.open .lang-btn svg.arrow { transform: rotate(180deg); }

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 150px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 6px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
}

.lang-item:hover { background: var(--bg-tint); color: var(--sky-dark); }

.lang-item.active {
    background: var(--grad);
    color: #fff;
    font-weight: 600;
}

/* ==========================================================================
   Hero 首屏
   ========================================================================== */
.hero {
    position: relative;
    min-height: min(88vh, 720px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ink);
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.1s var(--ease), transform 7s var(--ease);
}

.hero-slide.active { opacity: 1; transform: scale(1); }

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide--mesh {
    background:
        radial-gradient(1200px 600px at 15% 0%, rgba(14, 165, 233, .55), transparent 60%),
        radial-gradient(1000px 600px at 90% 10%, rgba(99, 102, 241, .6), transparent 55%),
        radial-gradient(800px 700px at 50% 110%, rgba(34, 211, 238, .4), transparent 60%),
        linear-gradient(160deg, #0b1224 0%, #101a3a 55%, #0b1224 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 15, 38, .88) 0%, rgba(7, 15, 38, .62) 45%, rgba(7, 15, 38, .28) 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 60% 40%, rgba(0, 0, 0, .9), transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, rgba(0, 0, 0, .9), transparent 75%);
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .55;
    pointer-events: none;
}

.hero-orb--1 {
    width: 380px;
    height: 380px;
    top: -80px;
    right: 8%;
    background: radial-gradient(circle, rgba(34, 211, 238, .55), transparent 70%);
    animation: orbFloat 11s ease-in-out infinite;
}

.hero-orb--2 {
    width: 300px;
    height: 300px;
    bottom: -60px;
    left: 30%;
    background: radial-gradient(circle, rgba(99, 102, 241, .5), transparent 70%);
    animation: orbFloat 14s ease-in-out infinite reverse;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.12); }
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-content { max-width: 720px; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px);
    color: #c7f2ff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    margin-bottom: 28px;
}

.hero-eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, .25);
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
    margin-bottom: 22px;
}

.hero-content h1 .grad-text {
    background: linear-gradient(120deg, #7dd3fc, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(226, 238, 255, .85);
    max-width: 600px;
    margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    list-style: none;
}

.hero-trust li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(226, 238, 255, .78);
    font-size: 14px;
    font-weight: 500;
}

.hero-trust li svg { width: 17px; height: 17px; color: var(--cyan); flex-shrink: 0; }

.hero-dots {
    position: absolute;
    right: 24px;
    bottom: 30px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-dots span {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dots span.active {
    height: 26px;
    background: var(--grad);
    box-shadow: 0 0 12px rgba(34, 211, 238, .7);
}

/* ==========================================================================
   解决方案 / 特性
   ========================================================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    padding: 34px 30px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--grad);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-soft);
    color: var(--indigo);
    margin-bottom: 22px;
    transition: var(--transition);
}

.feature-icon svg { width: 28px; height: 28px; }

.feature-card:hover .feature-icon {
    background: var(--grad);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -.01em;
}

.feature-card p {
    font-size: 15px;
    color: var(--ink-3);
    line-height: 1.75;
}

/* ==========================================================================
   卡片网格（产品 / 案例 / 新闻）
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card .cover {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background: var(--bg-soft);
}

.product-card .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.product-card:hover .cover img { transform: scale(1.08); }

.product-card .cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, .28));
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .cover::after { opacity: 1; }

.product-card .info { padding: 20px 22px; }

.product-card .info h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card .info p {
    font-size: 14px;
    color: var(--ink-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 列表页列数修饰 */
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.case-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.case-card .cover {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-soft);
}

.case-card .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.case-card:hover .cover img { transform: scale(1.08); }

.case-card .info { padding: 20px 22px; }

.case-card .info h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.case-card .info .date { font-size: 13px; color: var(--ink-4); }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.news-card .cover {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-soft);
}

.news-card .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.news-card:hover .cover img { transform: scale(1.06); }

.news-card .info { padding: 22px; flex: 1; display: flex; flex-direction: column; }

.news-card .info h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .info h3 a { color: var(--ink); }
.news-card .info h3 a:hover { color: var(--sky-dark); }

.news-card .info .meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ink-4);
}

.news-card .info .meta svg { width: 14px; height: 14px; }

/* ==========================================================================
   关于我们（首页区块）
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h3 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: 20px;
}

.about-text .about-body {
    color: var(--ink-3);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.about-text .about-body p { margin-bottom: 14px; }

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.about-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(14, 165, 233, .25));
}

/* ==========================================================================
   CTA 区块
   ========================================================================== */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 88px 0;
    background:
        radial-gradient(900px 400px at 10% 0%, rgba(34, 211, 238, .35), transparent 55%),
        radial-gradient(900px 400px at 90% 100%, rgba(99, 102, 241, .4), transparent 55%),
        linear-gradient(135deg, #0b1224, #101a3a);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: 14px;
}

.cta-section p {
    color: rgba(226, 238, 255, .8);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 34px;
}

/* ==========================================================================
   子页页头
   ========================================================================== */
.page-header {
    position: relative;
    overflow: hidden;
    padding: 76px 0;
    color: #fff;
    background:
        radial-gradient(800px 320px at 12% -20%, rgba(14, 165, 233, .5), transparent 60%),
        radial-gradient(700px 320px at 88% 120%, rgba(99, 102, 241, .5), transparent 60%),
        linear-gradient(135deg, #0b1224, #101a3a);
}

.page-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, .8), transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, .8), transparent 70%);
}

.page-header .container { position: relative; z-index: 2; text-align: center; }

.page-header h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 14px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(226, 238, 255, .7);
}

.breadcrumb a { color: rgba(226, 238, 255, .7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }

/* ==========================================================================
   列表布局（侧栏 + 内容）
   ========================================================================== */
.content-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    padding: 56px 0 72px;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.sidebar h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.sidebar h3 svg { width: 18px; height: 18px; color: var(--sky); }

.sidebar .cat-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }

.sidebar .cat-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 15px;
    color: var(--ink-2);
    transition: var(--transition);
}

.sidebar .cat-list li a:hover { background: var(--bg-tint); color: var(--sky-dark); }

.sidebar .cat-list li a.active {
    background: var(--grad);
    color: #fff;
    font-weight: 600;
    box-shadow: var(--shadow-glow);
}

.main-content { min-width: 0; }

/* ==========================================================================
   新闻列表（横向）
   ========================================================================== */
.news-list-style { display: flex; flex-direction: column; }

.news-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 20px;
    transition: var(--transition);
}

.news-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }

.news-item .cover {
    width: 260px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-soft);
}

.news-item .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-item:hover .cover img { transform: scale(1.06); }

.news-item .text { flex: 1; display: flex; flex-direction: column; }

.news-item .text h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
}

.news-item .text h3 a { color: var(--ink); }
.news-item .text h3 a:hover { color: var(--sky-dark); }

.news-item .text p {
    color: var(--ink-3);
    font-size: 15px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item .text .meta {
    margin-top: auto;
    font-size: 13px;
    color: var(--ink-4);
}

/* ==========================================================================
   详情页
   ========================================================================== */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    padding: 56px 0 72px;
    align-items: start;
}

.detail-main {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 44px;
}

.detail-main h1 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.01em;
    margin-bottom: 20px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    font-size: 14px;
    color: var(--ink-4);
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
}

.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail-meta svg { width: 15px; height: 15px; color: var(--sky); }

.detail-content {
    line-height: 1.9;
    font-size: 16px;
    color: var(--ink-2);
    word-wrap: break-word;
}

.detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
}

.detail-content p { margin-bottom: 18px; }
.detail-content h2, .detail-content h3 { margin: 30px 0 16px; color: var(--ink); }
.detail-content a { color: var(--sky-dark); }
.detail-content a:hover { text-decoration: underline; }
.detail-content ul, .detail-content ol { padding-left: 24px; margin-bottom: 18px; }
.detail-content blockquote {
    border-left: 3px solid var(--sky);
    background: var(--bg-tint);
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
    color: var(--ink-2);
}
.detail-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.detail-content table th, .detail-content table td {
    border: 1px solid var(--line);
    padding: 10px 14px;
    text-align: left;
}
.detail-content table th { background: var(--bg-soft); font-weight: 600; }

.detail-sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }

.widget {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.widget h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.widget h3 svg { width: 18px; height: 18px; color: var(--sky); }

.related-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.related-item:last-child { border-bottom: none; padding-bottom: 0; }
.related-item:first-child { padding-top: 0; }

.related-item .cover {
    width: 84px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 9px;
    overflow: hidden;
    background: var(--bg-soft);
}

.related-item .cover img { width: 100%; height: 100%; object-fit: cover; }

.related-item .text { min-width: 0; }

.related-item .text h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-item .text h4 a { color: var(--ink); }
.related-item .text h4 a:hover { color: var(--sky-dark); }

.related-item .text .date { font-size: 12px; color: var(--ink-4); }

/* ==========================================================================
   关于页
   ========================================================================== */
.about-page-content { padding: 56px 0 72px; }

.about-page-content .content-body {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 48px;
    line-height: 1.9;
    font-size: 16px;
    color: var(--ink-2);
}

.about-page-content .content-body img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
}

.about-page-content .content-body p { margin-bottom: 18px; }
.about-page-content .content-body h2, .about-page-content .content-body h3 { margin: 28px 0 16px; color: var(--ink); }

/* ==========================================================================
   联系页
   ========================================================================== */
.contact-section { padding: 56px 0 72px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: start;
}

.contact-form, .contact-info-box {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 40px;
}

.contact-form h3, .contact-info-box h3 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: 24px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ink-2);
}

.form-group label em { color: #ef4444; font-style: normal; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: var(--ink);
    background: var(--bg);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-4); }

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sky);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .12);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.info-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.info-item:last-child { border-bottom: none; padding-bottom: 0; }
.info-item:first-child { padding-top: 0; }

.info-item .icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--grad-soft);
    color: var(--indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item .icon svg { width: 22px; height: 22px; }

.info-item .text h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.info-item .text p { font-size: 14px; color: var(--ink-3); word-break: break-all; }

/* ==========================================================================
   分页
   ========================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 36px 0 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    background: var(--bg);
    transition: var(--transition);
}

.pagination a:hover { border-color: var(--sky); color: var(--sky-dark); transform: translateY(-2px); }

.pagination .current {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.pagination .disabled { opacity: .45; pointer-events: none; }

/* ==========================================================================
   空状态
   ========================================================================== */
.empty-state {
    text-align: center;
    padding: 72px 20px;
    color: var(--ink-4);
}

.empty-state .icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.empty-state p { font-size: 16px; }

/* ==========================================================================
   404 页
   ========================================================================== */
.error-page {
    text-align: center;
    padding: 110px 20px;
}

.error-code {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.error-page h1 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.error-page p { color: var(--ink-3); margin-bottom: 30px; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, #0b1224, #0a0f1f);
    color: rgba(226, 238, 255, .72);
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad);
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 48px;
    padding: 64px 0 48px;
}

.footer-col h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 22px;
}

.footer-brand {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.footer-brand .logo-mark { width: 34px; height: 34px; border-radius: 10px; }

.footer-col p {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(226, 238, 255, .55);
    margin-bottom: 12px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-contact-item .label { color: rgba(226, 238, 255, .4); min-width: 54px; flex-shrink: 0; }

.footer-contact-item span { color: rgba(226, 238, 255, .78); word-break: break-all; }

.footer-col .footer-links { list-style: none; }

.footer-col .footer-links li { margin-bottom: 10px; }

.footer-col .footer-links li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(226, 238, 255, .6);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col .footer-links li a:hover { color: #7dd3fc; transform: translateX(4px); }

.subscribe-desc { font-size: 14px; color: rgba(226, 238, 255, .55); margin-bottom: 16px; }

.subscribe-form { display: flex; gap: 10px; }

.subscribe-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.subscribe-form input[type="email"]::placeholder { color: rgba(226, 238, 255, .4); }

.subscribe-form input[type="email"]:focus { border-color: var(--sky); background: rgba(255, 255, 255, .1); }

.subscribe-form button {
    padding: 12px 22px;
    background: var(--grad);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.subscribe-form button:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

.subscribe-msg { margin-top: 12px; font-size: 13px; min-height: 20px; }
.subscribe-msg.success { color: #4ade80; }
.subscribe-msg.error { color: #f87171; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 24px 0 30px;
    text-align: center;
    font-size: 13px;
    color: rgba(226, 238, 255, .4);
}

.footer-links-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-links-row a {
    color: rgba(226, 238, 255, .5);
    font-size: 13px;
    transition: var(--transition);
}

.footer-links-row a:hover { color: #7dd3fc; }

.footer-links-row .separator { color: rgba(226, 238, 255, .25); font-size: 12px; }

.footer-bottom p { margin-top: 6px; }

/* ==========================================================================
   回到顶部
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--grad);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top svg { width: 20px; height: 20px; }

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(14, 165, 233, .45); }

/* ==========================================================================
   滚动显现动画
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    will-change: opacity, transform;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .hero-content h1 { font-size: 46px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .detail-sidebar .widget { flex: 1; min-width: 260px; }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }

    .section { padding: 64px 0; }
    .section-head { margin-bottom: 40px; }
    .section-head h2 { font-size: 28px; }

    .mobile-toggle { display: flex; }

    .header-right { position: relative; z-index: 1001; }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        height: auto;
        max-height: calc(100vh - var(--header-h));
        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 24px 20px;
        transform: translateX(100%);
        transition: transform .35s var(--ease);
        overflow-y: auto;
        z-index: 999;
    }

    .main-nav.open { transform: translateX(0); }

    .main-nav a {
        padding: 16px 18px;
        font-size: 17px;
        border-radius: 12px;
    }

    .main-nav a::after { display: none; }
    .main-nav a.active { background: var(--grad-soft); }

    .header-phone { display: none; }

    .hero { min-height: 82vh; }
    .hero-content h1 { font-size: 34px; }
    .hero-sub { font-size: 16px; }
    .hero-trust { gap: 8px 18px; }
    .hero-dots { right: 16px; bottom: 20px; }

    .feature-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .case-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }

    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-image img { height: 260px; }

    .content-layout { grid-template-columns: 1fr; padding: 40px 0 56px; }
    .sidebar { position: static; }
    .sidebar .cat-list { flex-direction: row; flex-wrap: wrap; }
    .sidebar .cat-list li a { padding: 9px 14px; font-size: 14px; }

    .news-item { flex-direction: column; }
    .news-item .cover { width: 100%; height: 200px; }
    .news-item .cover img { height: 100%; }

    .detail-main { padding: 26px 20px; }
    .detail-main h1 { font-size: 24px; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-form, .contact-info-box { padding: 28px 22px; }

    .about-page-content .content-body { padding: 28px 22px; }

    .site-footer .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 32px; }

    .footer-contact-item {
        flex-wrap: wrap;
        gap: 4px 10px;
    }

    .footer-col .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .footer-col .footer-links li { margin-bottom: 0; }
    .footer-col .footer-links li a {
        padding: 6px 12px;
        background: rgba(255, 255, 255, .06);
        border-radius: 8px;
        font-size: 13px;
    }

    .footer-links-row {
        gap: 6px 12px;
        line-height: 2;
    }
    .footer-links-row .separator { display: none; }
    .footer-links-row a {
        padding: 4px 10px;
        background: rgba(255, 255, 255, .06);
        border-radius: 6px;
    }

    .error-code { font-size: 90px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }

    .hero-content h1 { font-size: 29px; }
    .hero-actions .btn { flex: 1; }
    .hero { min-height: 78vh; }

    .product-grid { grid-template-columns: 1fr; }
    .product-grid.cols-3 { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; }
    .case-grid.cols-2 { grid-template-columns: 1fr; }

    .section-head h2 { font-size: 25px; }

    .detail-meta { gap: 10px 14px; }

    .subscribe-form { flex-direction: column; }
    .subscribe-form button { width: 100%; }

    .footer-links-row { justify-content: center; }
    .footer-links-row a { font-size: 12px; padding: 3px 8px; }

    .footer-col .footer-links { gap: 6px; }
    .footer-col .footer-links li a { padding: 5px 10px; font-size: 12px; }

    .cta-section h2 { font-size: 28px; }
    .page-header h1 { font-size: 30px; }
}
