/**
 * 黔前智算 - 统一样式表
 * 所有前端页面共用此样式
 */

/* ==================== CSS 变量 ==================== */
:root {
    /* 品牌色 — 取自 Logo 薄荷绿 / 墨绿 / 炭黑 */
    --brand-charcoal: #12181B;
    --brand-charcoal-mid: #1A2428;
    --brand-charcoal-deep: #0A0E10;

    --primary: #20D492;
    --primary-dark: #14A873;
    --primary-light: #6EF5C4;
    --primary-rgb: 32, 212, 146;
    --secondary: #177A59;
    --secondary-dark: #0F5C43;
    --secondary-light: #2A9B74;
    --accent: #F59E0B;
    --success: #20D492;
    --warning: #F59E0B;
    
    --bg-primary: #ffffff;
    --bg-secondary: #F4FBF8;
    --bg-tertiary: #E8F8F1;
    --hero-bg: #F5F5F5;
    
    --text-primary: #12181B;
    --text-secondary: #4B5854;
    --text-tertiary: #8A9690;
    
    --border-light: #E2EBE7;
    --border-medium: #CDD9D3;
    
    --shadow-sm: 0 2px 8px rgba(18, 24, 27, 0.04);
    --shadow-md: 0 4px 16px rgba(18, 24, 27, 0.08);
    --shadow-lg: 0 8px 32px rgba(18, 24, 27, 0.12);
    --shadow-xl: 0 20px 60px rgba(18, 24, 27, 0.16);
    --shadow-glow: 0 0 40px rgba(32, 212, 146, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    
    --navbar-height: 72px;
    --transition: all 0.3s ease;

    /* 全屏布局 */
    --layout-max-width: none;
    --layout-gutter: clamp(16px, 3vw, 48px);
    --layout-gutter-wide: clamp(24px, 5vw, 80px);
}

/* ==================== 基础重置 ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
}

html,
body {
    overflow-x: clip;
}

::selection {
    background: rgba(var(--primary-rgb), 0.22);
    color: var(--brand-charcoal);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(180deg, #E8F8F1 0%, #F4FBF8 38%, #ffffff 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==================== 布局 ==================== */
.container {
    width: 100%;
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding-left: var(--layout-gutter);
    padding-right: var(--layout-gutter);
}

.container-wide {
    padding-left: var(--layout-gutter-wide);
    padding-right: var(--layout-gutter-wide);
}

@media (max-width: 768px) {
    .container,
    .container-wide {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-sm);
}

/* 顶栏全宽：Logo 左、菜单居中展开、操作区右 */
.navbar .container.navbar-content {
    width: 100%;
    max-width: none;
    padding-left: var(--layout-gutter-wide);
    padding-right: var(--layout-gutter-wide);
}

.navbar-content {
    height: 100%;
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 32px);
}

.navbar-content > .logo {
    flex-shrink: 0;
    margin-right: clamp(8px, 2vw, 32px);
}

.navbar-content > .nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 2.8vw, 52px);
    min-width: 0;
}

.navbar-content > .nav-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: clamp(8px, 2vw, 32px);
    white-space: nowrap;
}

.navbar-content > .mobile-menu-btn {
    flex-shrink: 0;
    margin-left: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

/* Logo 图片样式 */
.logo-img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s;
}

.navbar .logo .logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.navbar .logo .logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--brand-charcoal);
    white-space: nowrap;
}

.logo:hover .logo-img {
    opacity: 0.85;
}

/* 保留原有 logo-icon 和 logo-text 样式以兼容其他页面 */
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* 导航链接容器 */
.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.8vw, 52px);
}

/* 导航链接 */
.nav-link {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    transition: var(--transition);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

button.nav-link.nav-mega-trigger {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0;
    border-radius: 0;
}

button.nav-link.nav-mega-trigger:focus,
button.nav-link.nav-mega-trigger:focus-visible,
button.nav-link.nav-mega-trigger:hover,
button.nav-link.nav-mega-trigger:active {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 下拉菜单容器 */
.nav-dropdown-container {
    position: relative;
}

.nav-dropdown-container::after {
    content: '';
    position: absolute;
    left: -24px;
    right: -24px;
    top: 100%;
    height: 16px;
    display: block;
}

.nav-dropdown-container .nav-link i {
    font-size: 10px;
    transition: transform 0.3s;
}

.nav-dropdown-container:hover .nav-link i {
    transform: rotate(180deg);
}

/* 下拉菜单 */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 220px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}

.nav-dropdown-container:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-dropdown-item:hover {
    background: rgba(2,132,199,0.08);
    color: var(--primary);
}

.nav-dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

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

/* 官网顶栏：登录后头像与下拉（由 /js/main.js SiteNavAuth 注入） */
.site-user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.site-user-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: min(220px, 46vw);
    padding: 8px 14px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.06);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    font-family: inherit;
}

.site-user-menu-trigger:hover {
    background: rgba(15, 23, 42, 0.1);
}

.site-user-avatar {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.site-user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px;
    z-index: 2000;
}

.site-user-dropdown.is-open {
    display: block;
    animation: siteUserMenuIn 0.15s ease;
}

@keyframes siteUserMenuIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
}

.site-user-dropdown a i {
    width: 1.1em;
    text-align: center;
    color: var(--text-secondary);
}

.site-user-dropdown a:hover {
    background: rgba(var(--primary-rgb), 0.08);
}

.site-user-dropdown a.danger {
    color: #dc2626;
}

.site-user-dropdown a.danger i {
    color: #dc2626;
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

/* 移动端导航 */
@media (max-width: 1024px) {
    .nav-links {
        gap: 24px;
    }
    .nav-link {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    /* 移动端：左 Logo，中登录/试用，右菜单；展开层仍为全宽下拉 */
    .navbar .container.navbar-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        row-gap: 0;
        gap: 8px;
    }

    .navbar-content > .logo {
        margin-right: 0;
        order: 1;
    }

    .navbar-content > .nav-actions {
        order: 2;
        display: flex;
        flex-shrink: 0;
        gap: 8px;
        margin-left: 0;
    }

    .navbar-content > .nav-actions .btn-small {
        padding: 8px 12px;
        font-size: 13px;
    }

    .navbar-content > .mobile-menu-btn {
        order: 3;
        margin-left: 4px;
    }

    .navbar-content > .nav-links {
        order: 4;
        flex: none;
        width: 100%;
        justify-content: flex-start;
        gap: 16px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    /* 移动端下拉菜单 */
    .nav-dropdown-container::after {
        display: none;
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 16px;
        display: none;
    }
    .nav-dropdown-container.active .nav-dropdown {
        display: block;
    }
    .nav-dropdown-container .nav-link i {
        transition: transform 0.3s;
    }
    .nav-dropdown-container.active .nav-link i {
        transform: rotate(180deg);
    }
}

/* -------- 了解产品 · Mega menu -------- */
.mega-menu-backdrop {
    display: none;
}

.mega-menu-inner {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 36px var(--layout-gutter-wide) 44px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 48px;
}

/* 了解产品 · 多列卡片分区（左深右浅） */
.mega-menu-inner.mega-menu-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px var(--layout-gutter-wide) 24px;
    max-width: none;
}

.mega-cards-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mega-card {
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mega-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.mega-card--mm {
    margin-top: 4px;
    background: linear-gradient(135deg, #f8fafc 0%, #F4FBF8 48%, #ffffff 100%);
    border-color: rgba(var(--primary-rgb), 0.18);
}

.mega-card-head {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 22px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.mega-card-ico {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12), rgba(23, 122, 89, 0.08));
    color: var(--primary);
    font-size: 1.05rem;
}

.mega-card-thumb {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.mega-zlink--with-thumb {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-product-thumb {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
}

.product-thumb {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    margin-bottom: 24px;
}

.mega-card-title {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.mega-card-body {
    padding: 14px 18px 18px;
}

.mega-card-body--split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 0;
}

.mega-card-body--mm {
    padding-bottom: 18px;
}

.mega-pane {
    padding: 10px 14px;
    border-radius: 10px;
    min-width: 0;
}

.mega-pane--deep {
    background: transparent;
}

.mega-pane--soft {
    background: transparent;
}

.mega-pane-label {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
}

.mega-pane-vrule {
    width: 1px;
    margin: 4px 0;
    background: linear-gradient(180deg, transparent, rgba(148, 163, 184, 0.45), transparent);
}

.mega-cards-split-rule {
    height: 1px;
    margin: 18px 0 14px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.45), transparent);
    border: none;
}

/* ZStack 旧版（若个别页未跑脚本仍保留类名） */
.mega-menu-inner.mega-menu-zstack {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-width: none;
}

.mega-zband {
    padding: 28px var(--layout-gutter-wide) 32px;
}

.mega-zband--white {
    background: #fff;
}

.mega-zband--tint {
    background: #F4FBF8;
    border-radius: 0 0 18px 18px;
}

.mega-zrow {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.mega-zrow:first-child {
    padding-top: 4px;
}

.mega-zrow:last-child {
    border-bottom: none;
    padding-bottom: 4px;
}

.mega-zband--tint .mega-zrow {
    border-bottom-color: rgba(148, 163, 184, 0.28);
}

.mega-zrow--flush {
    padding-bottom: 8px;
}

.mega-zrow-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: 1.15rem;
}

.mega-zrow-main {
    flex: 1;
    min-width: 0;
}

.mega-zrow-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.mega-zbadge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    vertical-align: middle;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 6px;
    letter-spacing: 0.04em;
}

.mega-zrow-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
}

.mega-zrow-cols--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 0;
    align-items: start;
}

.mega-zcol {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 28px;
    border-right: 1px solid rgba(148, 163, 184, 0.35);
}

.mega-zcol:last-child {
    border-right: none;
    padding-right: 0;
    padding-left: 8px;
}

.mega-zlink {
    display: block;
    padding: 9px 12px;
    margin-left: -8px;
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.45;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.mega-zlink:hover {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}


.mega-col-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.mega-link:hover {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}

.mega-link i {
    width: 20px;
    text-align: center;
    color: var(--primary);
    opacity: 0.85;
}

.mega-link.mega-link-sub {
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.4;
}

.mega-subgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
}

@media (min-width: 900px) {
    .mega-subgrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.mega-link.mega-link-active,
.mega-zlink.mega-link-active {
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary);
    font-weight: 600;
}

@media (min-width: 769px) {
    .nav-dropdown-container .mega-menu-panel.nav-dropdown {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--navbar-height);
        width: 100vw;
        max-width: none;
        min-width: 0;
        margin: 0;
        padding: 0;
        border-radius: 0 0 20px 20px;
        border: 1px solid var(--border-light);
        border-top: none;
        box-shadow: var(--shadow-lg);
        transform: none;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s;
    }

    .nav-dropdown-container:hover .mega-menu-panel.nav-dropdown,
    .nav-dropdown-container:focus-within .mega-menu-panel.nav-dropdown,
    .nav-dropdown-container.active .mega-menu-panel.nav-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-dropdown-container.active .nav-link i {
        transform: rotate(180deg);
    }

    .nav-dropdown-container .mega-menu-backdrop {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mega-menu-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        top: var(--navbar-height);
        background: rgba(15, 23, 42, 0.4);
        z-index: 898;
    }

    .nav-dropdown-container.active .mega-menu-backdrop {
        display: block;
    }

    .nav-dropdown-container .mega-menu-panel.nav-dropdown {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--navbar-height);
        max-height: min(72vh, 560px);
        overflow-y: auto;
        width: 100%;
        margin: 0;
        transform: none;
        border-radius: 0 0 16px 16px;
        z-index: 899;
        padding: 0;
        box-shadow: var(--shadow-lg);
    }

    .mega-menu-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px 20px 32px;
    }

    .mega-menu-inner.mega-menu-zstack {
        padding: 0;
        gap: 0;
    }

    .mega-menu-inner.mega-menu-cards {
        padding: 16px 14px 20px;
    }

    .mega-cards-top {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mega-card-body--split {
        grid-template-columns: 1fr;
    }

    .mega-pane-vrule {
        display: none;
    }

    .mega-zband {
        padding: 20px 20px 24px;
    }

    .mega-zrow {
        gap: 14px;
        padding: 14px 0;
    }

    .mega-zrow-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .mega-zrow-cols--split {
        grid-template-columns: 1fr;
    }

    .mega-zcol {
        border-right: none;
        padding-left: 0;
        padding-right: 0;
    }

    .mega-col-title {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .mega-subgrid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 按钮 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 28px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
}

.btn-ghost:hover {
    background: rgba(2,132,199,0.08);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 2px 12px rgba(2,132,199,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(2,132,199,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 17px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* ==================== Hero 区域 ==================== */
.hero {
    min-height: calc(100svh - var(--navbar-height));
    display: flex;
    align-items: center;
    padding: calc(var(--navbar-height) + 40px) 0 80px;
    background: var(--hero-bg);
    text-align: center;
}

/* Hero 全局纯色灰背景（覆盖各页内联样式） */
.hero::before,
.news-hero::before,
.model-hero::before,
.contact-hero::before,
.hero-section::before {
    display: none !important;
}

.news-hero,
.model-hero,
.contact-hero,
.ai-hero,
.products-hero,
.support-hero,
.feature-hero,
.enterprise-hero,
.hero-section {
    background: var(--hero-bg) !important;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

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

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ==================== Section ==================== */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--bg-primary);
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== 卡片 ==================== */
.card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(2,132,199,0.1), rgba(88,86,214,0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-features {
    list-style: none;
    margin-bottom: 24px;
}

.card-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* ==================== Grid ==================== */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1024px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* ==================== Footer ==================== */
.footer {
    background: var(--brand-charcoal);
    color: white;
    padding: clamp(48px, 6vw, 72px) 0 clamp(24px, 3vw, 36px);
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(200px, 260px) repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 48px);
    align-items: start;
    margin-bottom: clamp(32px, 4vw, 48px);
}

.footer-brand {
    min-width: 0;
}

.footer-brand .logo {
    display: inline-flex;
    color: white;
    margin-bottom: 16px;
}

.footer-brand .footer-desc,
.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
    margin: 0 0 20px;
}

.footer-links {
    display: contents;
}

.footer-col {
    min-width: 0;
}

.footer-col h4,
.footer-links h4 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-col a,
.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.2s;
}

.footer-col a:hover,
.footer-links a:hover {
    color: var(--primary-light);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 3vw, 32px);
    padding: clamp(20px, 3vw, 28px) 0;
    margin-bottom: clamp(20px, 3vw, 28px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    white-space: nowrap;
}

.trust-item i {
    font-size: 16px;
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: clamp(20px, 3vw, 28px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    line-height: 1.6;
}

.footer-bottom p {
    margin: 0;
}

.footer-icp {
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 420px;
    }

    .footer-links {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: clamp(20px, 2.5vw, 32px);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 28px;
    }

    .footer-brand {
        max-width: none;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-brand .footer-desc,
    .footer-brand p {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
    }

    .trust-badges {
        gap: 12px 20px;
    }

    .trust-item {
        font-size: 12px;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ==================== 文本内容页 ==================== */
.text-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-secondary);
}

.text-content p {
    margin-bottom: 20px;
}

.text-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-primary);
}

.text-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.text-content ul, .text-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.text-content li {
    margin-bottom: 8px;
}

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ==================== 弹窗 ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    display: block;
    opacity: 1;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 90%;
    max-width: 420px;
    z-index: 2001;
    display: none;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: var(--shadow-xl);
}

.modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-size: 18px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.modal h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2,132,199,0.1);
}

/* ==================== 客户评价 ==================== */
.testimonials {
    background: var(--bg-secondary);
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-quote {
    font-size: 60px;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 24px;
    line-height: 1;
}

.testimonial-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-info p {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ==================== 客户案例 ==================== */
.cases {
    background: var(--bg-primary);
}

.case-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.case-header {
    background: linear-gradient(135deg, var(--text-primary), #434344);
    padding: 32px;
    color: white;
}

.case-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.case-header p {
    font-size: 14px;
    opacity: 0.8;
}

.case-body {
    padding: 24px 32px;
}

.case-metrics {
    display: flex;
    gap: 32px;
    margin-bottom: 20px;
}

.case-metric h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.case-metric p {
    font-size: 13px;
    color: var(--text-tertiary);
}

.case-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.case-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.case-tag {
    padding: 4px 12px;
    background: var(--bg-secondary);
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ==================== GPU 卡片 ==================== */
.gpu-card {
    text-align: center;
}

.gpu-card-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--primary);
}

.gpu-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.gpu-badge.hot {
    background: #ff3b30;
}

.gpu-badge.enterprise {
    background: #1d1d1f;
}

.gpu-badge.flagship {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.gpu-title {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 16px;
}

.gpu-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.gpu-price {
    text-align: center;
    margin-bottom: 20px;
}

.gpu-price-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.gpu-price-unit {
    color: var(--text-tertiary);
}

.gpu-btn {
    width: 100%;
}

/* ==================== 模型标签 ==================== */
.model-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.tag {
    padding: 4px 12px;
    background: var(--bg-secondary);
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==================== 统计卡片 ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.stat-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.stat-card-title {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.stat-card-icon.blue {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.stat-card-icon.green {
    background: linear-gradient(135deg, #34c759, #4cd964);
}

.stat-card-icon.purple {
    background: linear-gradient(135deg, #177A59, #6EF5C4);
}

.stat-card-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card-desc {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ==================== 数据表格 ==================== */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-control {
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2,132,199,0.1);
    transform: translateY(-1px);
}

.form-control:hover {
    border-color: var(--primary-light);
    box-shadow: 0 2px 8px rgba(2,132,199,0.1);
}

/* 按钮增强效果 */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

/* 模型卡片动画增强 */
.model-card-detailed {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.model-card-detailed:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* 筛选器卡片动画 */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* 滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(2,132,199,0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.data-table th,
.data-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.data-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    white-space: nowrap;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background: rgba(2,132,199,0.02);
}

/* ==================== 徽章 ==================== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.badge-primary {
    background: var(--primary);
}

.badge-success {
    background: var(--success);
}

.badge-secondary {
    background: var(--text-tertiary);
}

/* ==================== 按钮尺寸 ==================== */
.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 20px;
}

.btn-danger {
    background: var(--accent);
    color: white;
}

.btn-danger:hover {
    background: #ff2d20;
    transform: translateY(-1px);
}

/* ==================== 模型卡片 ==================== */
.model-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.model-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.model-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.model-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.model-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.model-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.model-badge.hot {
    background: #ff3b30;
}

.model-badge.new {
    background: var(--primary);
}

.model-badge.open-source {
    background: var(--success);
}

.model-badge.domestic {
    background: var(--warning);
}

.model-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.model-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.model-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ==================== 详细模型卡片 ==================== */
.model-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

@media (max-width: 1280px) {
    .model-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .model-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

.model-card-detailed {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.model-card-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

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

.model-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.model-card-title-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.model-card-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.model-card-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.model-card-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.model-card-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-tertiary);
    background: var(--bg-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

.meta-item i {
    color: var(--primary);
    font-size: 16px;
}

.model-card-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.feature-tag {
    padding: 6px 14px;
    background: rgba(2,132,199,0.1);
    border-radius: 16px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

.model-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    flex-wrap: wrap;
}

.model-card-actions .btn {
    flex: 1;
    min-width: 100px;
}

@media (max-width: 1200px) {
    .model-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .model-grid {
        grid-template-columns: 1fr;
    }
    
    .model-card-actions {
        flex-direction: column;
    }
    
    .model-card-actions .btn {
        width: 100%;
    }
}
/* ==================== 价格表格 ==================== */
.pricing-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.pricing-table th,
.pricing-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.pricing-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover {
    background: rgba(2,132,199,0.02);
}

/* ==================== 合作流程 ==================== */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 16px;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-arrow {
    display: flex;
    align-items: center;
    color: var(--text-tertiary);
    font-size: 20px;
    margin: 0 10px;
}

/* 新合作流程样式 */
.cooperation-process {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 60px 0;
    position: relative;
}

.cooperation-process .process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.step-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.step-circle .step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin: 0;
}

.step-circle .step-icon {
    font-size: 2rem;
    color: white;
    margin: 0;
}

.cooperation-process .step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.cooperation-process .step-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.step-details {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 16px;
    transition: all 0.3s ease;
}

.step-details:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
}

.step-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-details li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.step-details li:before {
    content: "✓";
    color: var(--success);
    margin-right: 8px;
    font-weight: 600;
}

.process-connector {
    position: absolute;
    top: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    flex: 1;
    z-index: 1;
    left: 25%;
    right: 25%;
}

@media (max-width: 1024px) {
    .cooperation-process {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .process-connector {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, var(--primary-light), var(--primary));
    }
    
    .cooperation-process .process-step {
        width: 100%;
        max-width: 400px;
    }
}

/* ==================== GPU 规格对比 ==================== */
.table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    white-space: nowrap;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: rgba(2,132,199,0.02);
}

/* ==================== 模型微调 ==================== */
/* 微调流程 */
.tuning-step {
    position: relative;
}

.step-features {
    list-style: none;
    margin-top: 16px;
}

.step-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
}

.step-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* 支持模型 */
.base-models {
    display: grid;
    gap: 24px;
    margin: 40px 0;
}

.model-group {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.model-group h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.model-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.model-tag {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border-radius: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 技术特点 */
.tech-card {
    text-align: center;
}

.tech-params {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.param {
    padding: 4px 12px;
    background: rgba(2,132,199,0.1);
    border-radius: 12px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}

/* 计费说明 */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.pricing-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 24px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.price span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-tertiary);
}

.price-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.pricing-note {
    background: rgba(255,149,0,0.1);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
}

.pricing-note i {
    color: var(--warning);
    font-size: 20px;
    margin-top: 2px;
}

.pricing-note p {
    color: var(--text-primary);
    font-size: 14px;
    margin: 0;
}

/* ==================== 资源包页面 ==================== */
/* 模型分类 */
.model-categories {
    display: grid;
    gap: 24px;
    margin: 40px 0;
}

.model-category {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.model-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

/* 计费说明 */
.billing-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.billing-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    text-align: center;
}

.billing-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(2,132,199,0.1), rgba(88,86,214,0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin: 0 auto 16px;
}

.billing-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.billing-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .hero {
        padding: calc(var(--navbar-height) + 50px) 0 70px;
    }
    .section {
        padding: 70px 0;
    }
    .stats {
        gap: 40px;
    }
    .stat-value {
        font-size: 36px;
    }
    .case-metrics {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: calc(var(--navbar-height) + 40px) 0 60px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 16px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 28px;
    }
    .stats {
        gap: 32px;
    }
    .stat-value {
        font-size: 32px;
    }
    .case-metrics {
        flex-direction: column;
        gap: 16px;
    }
    .modal {
        padding: 32px 24px;
    }
    .card {
        padding: 24px;
    }
    .gpu-card-icon {
        font-size: 36px;
    }
    .gpu-price-value {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: calc(var(--navbar-height) + 30px) 0 50px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero p {
        font-size: 14px;
    }
    .section {
        padding: 50px 0;
    }
    .section-title {
        font-size: 24px;
    }
    .stats {
        gap: 24px;
    }
    .stat-value {
        font-size: 28px;
    }
    .card {
        padding: 20px;
    }
    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }
    .model-list {
        grid-template-columns: 1fr;
    }
    .pricing-table th,
    .pricing-table td {
        padding: 12px 16px;
        font-size: 14px;
    }
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    .process-step {
        width: 100%;
        max-width: 300px;
    }
    .process-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 12px 16px;
        font-size: 14px;
    }
}
