/* ============================================================
   链未数智教育官网 - 主样式表
   ============================================================ */

/* CSS变量 */
:root {
    --primary: #2f6bff;
    --primary-dark: #1e54d9;
    --primary-light: #5b8bff;
    --primary-bg: #e8f0ff;
    --secondary: #722ed1;
    --accent: #13c2c2;
    --success: #52c41a;
    --warning: #faad14;
    --danger: #ff4d4f;

    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-tertiary: #6b7280;
    --text-light: #9ca3af;

    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --bg-dark: #111827;

    --border: #e5e7eb;
    --border-light: #f3f4f6;

    --gradient-primary: linear-gradient(135deg, #2f6bff 0%, #722ed1 100%);
    --gradient-tech: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #8b5cf6 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.03);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);

    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --container: 1200px;
    --header-height: 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", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* 容器 */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* 文字工具类 */
.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 区块通用 */
.section { padding: 80px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
    max-width: 700px;
    margin: 0 auto;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all .25s;
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22,119,255,0.3);
}
.btn-outline {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.btn-white {
    background: #fff;
    color: var(--primary);
}
.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}
.btn-lg { padding: 14px 36px; font-size: 17px; }

/* ============================================================
   头部导航
   ============================================================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: transparent;
    z-index: 1000;
    transition: all .3s ease;
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    border-bottom-color: var(--border);
}
/* 透明导航:logo和导航文字白色 */
.header:not(.scrolled) .logo {
    color: #fff;
}
.header:not(.scrolled) .logo div.logo-icon {
    background: rgba(255,255,255,0.2);
}
.header:not(.scrolled) .nav-link {
    color: rgba(255,255,255,0.9);
}
.header:not(.scrolled) .nav-link:hover,
.header:not(.scrolled) .nav-item.active .nav-link {
    color: #fff;
    background: rgba(255,255,255,0.15);
}
.header:not(.scrolled) .menu-toggle span {
    background: #fff;
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}
.logo-icon {
    width: 40px; height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}
img.logo-icon {
    object-fit: contain;
    background: none;
    border-radius: 6px;
    width: auto;
    height: 40px;
    max-width: 120px;
}
.logo-text { display: none; }

/* 主导航 */
.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: all .2s;
}
.nav-link:hover, .nav-item.active .nav-link {
    color: var(--primary);
    background: var(--primary-bg);
}
.nav-arrow { font-size: 10px; transition: transform .2s; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* 二级菜单 */
.submenu {
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all .25s;
    border: 1px solid var(--border-light);
}
.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.submenu-item a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all .2s;
}
.submenu-item a:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    width: 40px; height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.menu-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all .3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   首页 - Banner
   ============================================================ */
.banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
}
.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
    display: flex;
    align-items: center;
}
.banner-slide.active { opacity: 1; }
.banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
video.banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}
.banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.75) 0%, rgba(22,119,255,0.5) 100%);
}
.banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
    text-align: left;
    padding-left: max(24px, calc((100% - 1200px) / 2 + 24px));
    padding-right: 24px;
}
.banner-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .8s .3s forwards;
}
.banner-subtitle {
    font-size: 22px;
    margin-bottom: 36px;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .8s .5s forwards;
    line-height: 1.5;
}
.banner-actions {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .8s .7s forwards;
}

/* Banner导航 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    z-index: 3;
    cursor: pointer;
    transition: all .2s;
}
.banner-arrow:hover { background: rgba(255,255,255,0.35); }
.banner-arrow.prev { left: 30px; }
.banner-arrow.next { right: 30px; }
.banner-dots {
    position: absolute;
    bottom: 40px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.banner-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all .2s;
}
.banner-dot.active {
    width: 30px;
    border-radius: 5px;
    background: #fff;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   首页 - 行业方案(参考设计:4列平行四边形卡片+图片背景+品牌色蒙版)
   ============================================================ */
.industry-section {
    background: #fff;
    padding-bottom: 0;
}
.industry-header {
    text-align: center;
    padding: 48px 0 40px;
    background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
}
.industry-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}
.industry-header .en-sub {
    font-size: 13px;
    font-weight: 400;
    color: #9ca3af;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.industry-header .title-line {
    width: 40px;
    height: 3px;
    background: #2F6BFF;
    border-radius: 2px;
    margin: 0 auto;
}

/* 4列等宽,卡片间通过负margin让clip-path斜切产生"锯齿"分隔 */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0 16px;
    background: #fff;
}
.industry-card {
    position: relative;
    display: block;
    height: 500px;
    margin: 0 -10px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    /* 平行四边形斜切:左右各斜8% */
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
    z-index: 1;
    transition: z-index 0s 0.4s;
}
.industry-card:hover { z-index: 5; transition: z-index 0s; }

/* 背景层:图片 + 兜底品牌色 */
.industry-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #2F6BFF;
    transform: scale(1.04);
    transition: transform .8s ease;
}
.industry-card:hover .industry-card-bg { transform: scale(1.1); }

/* 渐变蒙版 - 浅色调,保留图片清晰度 */
.industry-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(15, 40, 100, 0.18) 0%,
        rgba(47, 107, 255, 0.28) 55%,
        rgba(47, 107, 255, 0.55) 100%);
    transition: opacity .4s ease, background .4s ease;
}
.industry-card:hover .industry-card-overlay {
    background: linear-gradient(180deg,
        rgba(47, 107, 255, 0.45) 0%,
        rgba(47, 107, 255, 0.75) 100%);
}

.industry-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 56px 44px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.industry-card-titles {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.industry-card-en {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.5px;
    text-transform: capitalize;
}
.industry-card-name {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
    letter-spacing: 2px;
}

/* 底部图标(默认展示) */
.industry-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    font-size: 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all .3s ease;
}
.industry-card:hover .industry-card-icon {
    background: #fff;
    color: #2F6BFF;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(47,107,255,0.35);
}

/* hover 才出现的详情 */
.industry-card-detail {
    position: absolute;
    left: 44px;
    right: 44px;
    bottom: 44px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .4s ease, transform .4s ease;
    pointer-events: none;
}
.industry-card:hover .industry-card-detail {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.industry-card:hover .industry-card-icon { opacity: 0; transform: scale(0.6); }
.industry-card-desc {
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(255,255,255,0.95);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.industry-card-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.industry-card-keywords span {
    padding: 3px 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 3px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.industry-card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.6);
    padding-bottom: 4px;
    transition: gap .25s ease, border-color .25s ease;
}
.industry-card:hover .industry-card-more { gap: 12px; border-color: #fff; }

/* 底部装饰条(品牌色) */
.industry-bottom-bar {
    background: linear-gradient(180deg, #2F6BFF 0%, #5B8BFF 100%);
    padding: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}
.industry-bottom-bar::before {
    content: '';
    position: absolute;
    top: -20px; left: 0; right: 0;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 Q150 0 300 10 T600 10 T900 10 T1200 10 V20 Z' fill='%232F6BFF'/%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 20px;
}
.industry-bottom-bar a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap .2s;
}
.industry-bottom-bar a:hover { gap: 14px; }

/* ============================================================
   首页 - 产品服务
   ============================================================ */
.product-section { background: var(--bg-white); }
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all .3s;
    cursor: pointer;
}
.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.product-icon {
    width: 56px; height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 16px;
}
.product-name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.product-desc {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 十一链描述文字 */
.solution-chains-text {
    margin-top: 16px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 4px;
    text-align: center;
}

/* ============================================================
   首页 - 生态伙伴(每行7个滚动,奇数行左滑偶数行右滑)
   ============================================================ */
.partner-section { background: var(--bg-light); }
.partner-marquee-wrap {
    padding: 0 16px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 60px, black calc(100% - 60px), transparent);
    mask-image: linear-gradient(90deg, transparent, black 60px, black calc(100% - 60px), transparent);
}
.partner-marquee-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    animation: marqueeLeft 20s linear infinite;
    width: max-content;
}
.partner-marquee-row:nth-child(even) {
    animation: marqueeRight 24s linear infinite;
}
.partner-logo {
    width: 160px; height: 80px;
    background: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s;
    flex-shrink: 0;
}
.partner-logo:hover {
    box-shadow: var(--shadow-md);
}
.partner-logo img { max-height: 100%; object-fit: contain; }
@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes marqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ============================================================
   首页 - 服务客户
   ============================================================ */
.customer-section { background: #fff; }
.customer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.customer-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .3s;
    cursor: pointer;
}
.customer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.customer-image {
    height: 200px;
    background: var(--bg-gray);
    overflow: hidden;
}
.customer-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.customer-card:hover .customer-image img { transform: scale(1.05); }
.customer-body { padding: 24px; }
.customer-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}
.customer-logo {
    width: 32px; height: 32px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    object-fit: contain;
}
.customer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.customer-desc {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   首页 - 新闻资讯
   ============================================================ */
.news-section { background: var(--bg-light); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all .3s;
    cursor: pointer;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.news-image {
    height: 200px;
    background: var(--bg-gray);
    overflow: hidden;
}
.news-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.news-card:hover .news-image img { transform: scale(1.05); }
.news-body { padding: 20px; }
.news-date {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 500;
}
.news-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-summary {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   底部 Footer
   ============================================================ */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; gap: 0; }
.footer-brand .logo img.logo-icon { height: 36px; }
.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 10px;
}
.footer-col-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color .2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }
.footer-icp { display: flex; gap: 16px; flex-wrap: wrap; }
.cloud-support {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cloud-support img { height: 28px; }

/* ============================================================
   详情页通用
   ============================================================ */
.page-banner {
    height: 320px;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(22,119,255,0.2) 0%, transparent 50%);
}
.page-banner-content { position: relative; z-index: 2; }
.page-banner-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
}
.page-banner-subtitle {
    font-size: 18px;
    opacity: 0.8;
}

/* 详情内容 */
.detail-section { padding: 60px 0; }
.detail-content { max-width: 900px; margin: 0 auto; }
.detail-module { margin-bottom: 48px; }
.detail-module-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
    color: var(--text-primary);
}
.detail-module-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}
.detail-module-content p { margin-bottom: 16px; }
.detail-module-content img { border-radius: var(--radius-md); margin: 20px 0; }

/* 关键词标签 */
.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.keyword-tag {
    padding: 8px 20px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
}

/* 新闻列表页 */
.news-list { max-width: 900px; margin: 0 auto; }
.news-list-item {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    transition: all .3s;
    cursor: pointer;
}
.news-list-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.news-list-image {
    width: 280px; height: 180px;
    flex-shrink: 0;
    overflow: hidden;
}
.news-list-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.news-list-body {
    padding: 24px;
    flex: 1;
}
.news-list-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.news-list-summary {
    color: var(--text-tertiary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-list-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}
.page-btn {
    min-width: 40px; height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    background: #fff;
    transition: all .2s;
    cursor: pointer;
    font-size: 14px;
}
.page-btn:hover, .page-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 新闻详情 */
.news-detail { max-width: 800px; margin: 0 auto; }
.news-detail-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.news-detail-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.news-detail-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    color: var(--text-tertiary);
}
.news-detail-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-secondary);
}
.news-detail-content p { margin-bottom: 20px; }
.news-detail-content img { max-width: 100%; border-radius: var(--radius-md); margin: 20px 0; }
.news-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.news-nav a {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 45%;
}
.news-nav a:hover { color: var(--primary); }

/* ============================================================
   动画
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
    .industry-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .solution-chains { grid-template-columns: repeat(3, 1fr); }
    .customer-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1/-1; }
    .banner-title { font-size: 42px; }
    .banner-subtitle { font-size: 18px; }
}

@media (max-width: 768px) {
    .section { padding: 48px 0; }
    .section-title { font-size: 28px; }
    .section-subtitle { font-size: 15px; }
    .container { padding: 0 16px; }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }

    /* 导航 */
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0; right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 0;
        transform: translateX(100%);
        transition: transform .3s;
        overflow-y: auto;
    }
    .nav.active { transform: translateX(0); }
    .nav-item { width: 100%; }
    .nav-link { width: 100%; padding: 14px 16px; border-bottom: 1px solid var(--border-light); }
    .submenu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        display: none;
    }
    .nav-item.expanded .submenu { display: block; }
    .menu-toggle { display: flex; }

    /* Banner */
    .banner { height: 90vh; min-height: 500px; }
    .banner-title { font-size: 32px; }
    .banner-subtitle { font-size: 16px; }
    .banner-arrow { width: 40px; height: 40px; font-size: 20px; }
    .banner-arrow.prev { left: 12px; }
    .banner-arrow.next { right: 12px; }

    /* 网格 */
    .industry-grid, .product-grid, .solution-chains, .customer-grid, .news-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-main { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    /* 详情页 */
    .page-banner { height: 200px; }
    .page-banner-title { font-size: 28px; }
    .page-banner-subtitle { font-size: 15px; }

    .news-list-item { flex-direction: column; }
    .news-list-image { width: 100%; height: 200px; }

    .news-detail-title { font-size: 22px; }
    .news-nav { flex-direction: column; gap: 12px; }
    .news-nav a { max-width: 100%; }
}

/* 加载动画 */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}
.loading-spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 空状态 */
.empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

/* ============================================================
   详情页扩展样式
   ============================================================ */

/* 新闻列表工具栏 */
.news-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 32px;
}
.news-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.news-tab {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: #fff;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}
.news-tab:hover { color: var(--primary); border-color: var(--primary-light); }
.news-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.news-search {
    display: flex;
    gap: 10px;
}
.news-search input {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 220px;
    outline: none;
    transition: border-color .2s;
}
.news-search input:focus { border-color: var(--primary); }

/* 生态伙伴网格页 */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
}
.partner-grid .partner-logo {
    width: 100%;
    height: 100px;
}
.partner-grid .partner-logo:hover {
    transform: translateY(-4px);
}
@media (max-width: 1200px) {
    .partner-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1024px) {
    .partner-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .partner-grid { grid-template-columns: repeat(3, 1fr); }
    .news-toolbar { flex-direction: column; align-items: stretch; }
    .news-search input { min-width: 0; flex: 1; }
    /* 行业方案:移动端改为 1 列,弱化斜切 */
    .industry-grid { grid-template-columns: 1fr; padding: 0 24px; }
    .industry-card { height: 280px; margin: 0 0 14px; clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%); }
    .industry-card-content { padding: 28px 28px 24px; }
    .industry-card-name { font-size: 26px; }
    .industry-card-detail { left: 28px; right: 28px; bottom: 24px; }
}
@media (max-width: 1024px) and (min-width: 769px) {
    /* 平板:2列 */
    .industry-grid { grid-template-columns: repeat(2, 1fr); padding: 0 32px; }
    .industry-card { height: 380px; }
}

/* 详情页相关推荐区标题 */
.detail-related-title {
    font-size: 24px;
    font-weight: 700;
    margin: 56px 0 24px;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
    color: var(--text-primary);
}

/* 相关新闻列表 */
.related-news-list { max-width: 800px; margin: 48px auto 0; }
.related-news-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    transition: color .2s;
}
.related-news-item:last-child { border-bottom: none; }
.related-news-item:hover .related-news-title { color: var(--primary); }
.related-news-date {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--text-light);
    width: 96px;
}
.related-news-title {
    font-size: 15px;
    color: var(--text-secondary);
    transition: color .2s;
    line-height: 1.5;
}

/* 联系方式 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}
.contact-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all .3s;
}
.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.contact-card-label {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}
.contact-card-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-all;
}
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* 应用方案详情头部 */
.solution-detail-hero {
    text-align: center;
    margin-bottom: 48px;
    padding: 40px 24px;
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.solution-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(22,119,255,0.25) 0%, transparent 50%);
}
.solution-detail-hero-icon {
    position: relative;
    z-index: 2;
    width: 96px; height: 96px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(22,119,255,0.4);
}
.solution-detail-hero-name {
    position: relative;
    z-index: 2;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.solution-detail-hero-desc {
    position: relative;
    z-index: 2;
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.85;
    max-width: 800px;
    margin: 0 auto;
}


/* ============================================================
   核心应用方案 - 浅色主题 + 大图 + 半透明悬浮卡片
   主题色:#2F6BFF
   ============================================================ */

/* 方案页主体 */
.solution-page,
.sol-section {
    background: #f8f9fc;
    padding: 56px 0 90px;
    position: relative;
}
.sol-section .container,
.solution-page .container {
    max-width: 1320px;
    padding: 0 16px;
}
.sol-section .section-title { color: #1a1a2e; }
.sol-section .section-subtitle { color: #666; }
.sol-section .solution-chains-text {
    color: #444;
    margin-top: 16px;
}

/* 页面 Banner(浅色渐变) */
.page-banner-solution {
    height: 280px;
    background: linear-gradient(180deg, #f0f4ff 0%, #f8f9fc 100%);
    position: relative;
    overflow: hidden;
}
.page-banner-solution .page-banner-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(47,107,255,0.12), transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(255,77,79,0.08), transparent 55%);
    z-index: 1;
}
.page-banner-solution .page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.page-banner-solution .page-banner-title {
    font-size: 44px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 14px;
    letter-spacing: 1px;
}
.page-banner-solution .page-banner-subtitle {
    font-size: 18px;
    color: #666;
    letter-spacing: 2px;
}

/* 顶部 Tabs */
.sol-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px;
}
.sol-tabs::-webkit-scrollbar { display: none; }
.sol-tab {
    flex: 0 0 auto;
    min-width: 96px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 22px;
    border-radius: 10px;
    background: #fff;
    color: #444;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #e8eaf0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all .25s ease;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}
.sol-tab:hover {
    color: #2F6BFF;
    border-color: rgba(47,107,255,0.4);
    box-shadow: 0 4px 14px rgba(47,107,255,0.12);
}
.sol-tab.active {
    background: linear-gradient(135deg, #2F6BFF 0%, #1e54d9 100%);
    color: #fff;
    border-color: #2F6BFF;
    box-shadow: 0 8px 20px rgba(47,107,255,0.32);
}
.sol-tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.sol-tab-name { letter-spacing: 1px; }

/* 左文(半透明毛玻璃卡片) + 右图，宽度比 4:3 */
.sol-panel {
    position: relative;
}
.sol-panel-card {
    display: grid;
    grid-template-columns: 4fr 3fr;
    align-items: center;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}
.sol-panel-float {
    background: rgba(255,255,255,0.42);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 18px;
    padding: 44px 42px 42px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
    margin-right: -90px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 360px;
}
.sol-panel-title {
    font-size: 28px;
    font-weight: 700;
    color: #2F6BFF;
    margin-bottom: 22px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}
.sol-panel-desc {
    font-size: 15.5px;
    color: #3a3a3a;
    line-height: 1.9;
    margin-bottom: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sol-panel-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: #2F6BFF;
    color: #fff !important;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    transition: all .25s ease;
    align-self: flex-start;
    margin-top: auto;
    box-shadow: 0 6px 18px rgba(47,107,255,0.35);
}
.sol-panel-more:hover {
    background: #1e54d9;
    gap: 14px;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(47,107,255,0.5);
}
.sol-panel-arrow {
    transition: transform .25s ease;
    display: inline-block;
    font-size: 16px;
}
.sol-panel-more:hover .sol-panel-arrow { transform: translateX(2px); }
.sol-panel-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    background-color: #e1e6ef;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0,0,0,0.10);
}
.sol-panel-image-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #889;
    font-size: 15px;
    letter-spacing: 1px;
}
.sol-panel-empty {
    padding: 80px 20px;
    text-align: center;
    color: #888;
    font-size: 15px;
}

/* 详情页布局(浅色) */
.solution-detail-page {
    background: #f8f9fc;
    padding: 48px 0 80px;
    min-height: 60vh;
}
.sol-detail-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}
.sol-detail-side {
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 14px;
    padding: 12px;
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}
.sol-detail-side .sol-tab {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 16px;
    text-align: left;
}
.sol-detail-side .sol-tab.active {
    background: linear-gradient(135deg, #2F6BFF 0%, #1e54d9 100%);
    color: #fff;
    border-color: #2F6BFF;
}
.sol-detail-main { min-width: 0; }

/* 详情页也用同样的大图+悬浮卡片，宽度比 4:3 */
.sol-detail-card {
    display: grid;
    grid-template-columns: 4fr 3fr;
    align-items: center;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}
.sol-detail-card .sol-panel-image { height: 480px; }

/* 详情模块 */
.sol-detail-modules {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.sol-detail-module {
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 16px;
    padding: 36px 42px;
    color: #1a1a2e;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}
.sol-detail-module-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid #2F6BFF;
}
.sol-detail-module-content {
    font-size: 15.5px;
    line-height: 2;
    color: #555;
}
.sol-detail-module-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 14px 0;
}

/* 响应式 */
@media (max-width: 1100px) {
    .sol-panel-card { grid-template-columns: 4fr 3fr; }
    .sol-panel-float {
        margin-right: -60px;
        padding: 38px 32px 36px;
        min-height: 300px;
    }
    .sol-panel-title { font-size: 24px; }
    .sol-detail-card .sol-panel-image { height: 400px; }
}
@media (max-width: 960px) {
    .solution-page,
    .sol-section { padding: 40px 0 64px; }
    .sol-section .container,
    .solution-page .container { padding: 0 20px; }
    .sol-panel-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .sol-panel-float {
        margin-right: 0;
        min-height: 0;
        border-radius: 16px;
        padding: 32px 26px 30px;
    }
    .sol-panel-image { order: -1; }
    .sol-detail-card .sol-panel-image { height: 300px; }
    .sol-detail-layout { grid-template-columns: 1fr; }
    .sol-detail-side { position: static; flex-direction: row; flex-wrap: wrap; }
    .sol-detail-side .sol-tab { flex: 1 1 calc(50% - 4px); justify-content: center; }
    .page-banner-solution { height: 220px; }
    .page-banner-solution .page-banner-title { font-size: 30px; }
    .page-banner-solution .page-banner-subtitle { font-size: 15px; }
    .sol-panel-title { font-size: 22px; }
    .sol-tab { min-width: 80px; padding: 10px 16px; font-size: 14px; }
}
@media (max-width: 600px) {
    .sol-tabs { gap: 8px; }
    .sol-tab { flex: 1 1 30%; min-width: 70px; padding: 9px 8px; font-size: 13px; }
    .sol-tab-name { letter-spacing: 0; }
    .sol-detail-card .sol-panel-image { height: 220px; }
    .sol-panel-float { padding: 28px 20px 26px; }
    .sol-panel-desc { -webkit-line-clamp: 6; }
    .sol-detail-module { padding: 26px 22px; }
}
