/* 中科芯科技有限公司官网样式表 - CRC Technology Co., Ltd. */

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

:root {
    /* 企业级配色方案 */
    --primary-blue: #0068B5;
    --deep-blue: #003C71;
    --tech-blue: #0080FF;
    --light-blue: #E6F2FF;
    
    /* 专业灰色系 */
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    
    /* 黑色拉丝金属 */
    --metal-black: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    --brushed-texture: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 1px,
        rgba(255,255,255,0.05) 1px,
        rgba(255,255,255,0.05) 2px
    );
    
    /* 明黄色强调 */
    --accent-yellow: #FFC107;
    --bright-yellow: #FFD700;
    --warning-yellow: #FFA000;
    
    /* 功能色 */
    --success-green: #28A745;
    --error-red: #DC3545;
    --info-cyan: #17A2B8;
    
    /* 间距系统 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    --spacing-xxxl: 4rem;
}

/* 全局样式 */
body {
    font-family: -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: #FFFFFF;
}

/* 容器系统 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-fluid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* 顶部通知栏 */
.top-banner {
    background: var(--deep-blue);
    color: white;
    padding: var(--spacing-sm) 0;
    font-size: 14px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    position: relative;
}

.top-banner .banner-link {
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.top-banner .banner-link:hover {
    text-decoration: underline;
}

.banner-close {
    position: absolute;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 2px;
    transition: background-color 0.2s;
}

.banner-close:hover {
    background: rgba(255,255,255,0.1);
}

/* 主导航 */
.main-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    text-decoration: none;
}

.logo-icon {
    width: 70px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: white;
    font-size: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-text span {
    color: var(--primary-blue);
}

/* 主导航菜单 */
.main-nav {
    display: flex;
    gap: var(--spacing-xl);
    list-style: none;
}

.main-nav a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-sm) 0;
    position: relative;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-blue);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-blue);
    transition: width 0.3s;
}

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

/* 实用工具栏 */
.nav-tools {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-700);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-contact:hover {
    color: var(--primary-blue);
}

/* 语言选择器样式 */
.language-selector {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 4px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-700);
    transition: all 0.2s;
    position: relative;
}

.language-selector:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* 语言下拉菜单 */
.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
    overflow: hidden;
    min-width: 160px;
    z-index: 1001;
}

.language-selector.active .language-dropdown {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 8px 16px;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.2s;
}

.lang-option:hover {
    background: var(--gray-100);
    color: var(--primary-blue);
}

.lang-option.active {
    background: var(--light-blue);
    color: var(--primary-blue);
    font-weight: 600;
}

.lang-option .flag {
    font-size: 14px;
    font-weight: 600;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 面包屑导航 */
.breadcrumb {
    background: var(--gray-100);
    padding: var(--spacing-md) 0;
    font-size: 14px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    list-style: none;
}

.breadcrumb-list li::after {
    content: '/';
    margin-left: var(--spacing-sm);
    color: var(--gray-400);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: var(--gray-600);
    text-decoration: none;
}

.breadcrumb-list a:hover {
    color: var(--primary-blue);
}

/* Hero横幅 - 企业级风格 */
.hero-enterprise {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-blue) 100%);
    color: white;
    padding: var(--spacing-xxxl) 0;
    position: relative;
    overflow: hidden;
}

.hero-enterprise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--brushed-texture);
    opacity: 0.1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxxl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

.hero-content h1 span {
    color: var(--accent-yellow);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.hero-feature-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-blue);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* 按钮系统 */
.btn {
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 16px;
    justify-content: center;
}

.btn-primary {
    background: var(--accent-yellow);
    color: var(--gray-900);
}

.btn-primary:hover {
    background: var(--warning-yellow);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

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

.btn-outline:hover {
    background: var(--gray-100);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* 产品展示图 */
.hero-visual {
    position: relative;
}

.hero-product {
    width: 100%;
    height: 400px;
    background: var(--metal-black);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--brushed-texture);
}

.hero-product img {
    width: 96%;
    height: 96%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-yellow);
    color: var(--gray-900);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

/* 产品选择器 */
.product-selector {
    background: var(--gray-100);
    padding: var(--spacing-xxxl) 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.selector-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.selector-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.selector-header p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
}

.selector-tabs {
    display: flex;
    gap: var(--spacing-xs);
    background: white;
    padding: 4px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    justify-content: center;
    flex-wrap: wrap;
}

.selector-tab {
    padding: 8px 24px;
    background: transparent;
    border: none;
    color: var(--gray-600);
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.selector-tab.active {
    background: var(--primary-blue);
    color: white;
}

.selector-tab:hover:not(.active) {
    background: var(--gray-100);
    color: var(--primary-blue);
}

/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.product-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-color: var(--primary-blue);
}

.product-image {
    height: 200px;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.product-label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.label-new {
    background: var(--success-green);
    color: white;
}

.label-hot {
    background: var(--error-red);
    color: white;
}

.label-pro {
    background: var(--primary-blue);
    color: white;
}

.product-body {
    padding: var(--spacing-lg);
}

.product-series {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
}

.product-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.product-specs {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.product-specs li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.product-specs li::before {
    content: '•';
    color: var(--primary-blue);
    font-weight: 700;
    margin-top: 2px;
}

.product-highlight {
    background: var(--light-blue);
    padding: var(--spacing-md);
    border-radius: 4px;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.product-highlight strong {
    color: var(--primary-blue);
    font-size: 28px;
    display: block;
    line-height: 1;
}

.product-actions {
    display: flex;
    gap: var(--spacing-sm);
}

/* 技术规格表 - 增强版对比样式 */
.specs-section {
    padding: var(--spacing-xxxl) 0;
    background: white;
}

.specs-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.specs-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.specs-header p {
    font-size: 18px;
    color: var(--gray-600);
}

.specs-controls {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.specs-toggle {
    padding: 8px 20px;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.specs-toggle.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.specs-toggle:hover:not(.active) {
    background: var(--gray-200);
}

.specs-table-wrapper {
    overflow-x: auto;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-radius: 8px;
    background: white;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
    min-width: 800px;
}

.specs-table thead {
    background: var(--gray-100);
    border-bottom: 2px solid var(--gray-200);
}

.specs-table th {
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: left;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    position: relative;
}

/* 调整列宽 */
.specs-table th:first-child {
    width: 10%;
    background: var(--gray-800) !important;
    color: white;
}

.specs-table th:nth-child(2) {
    width: 15%;
    background: var(--gray-800) !important;
    color: white;
}

.specs-table th:nth-child(3),
.specs-table th:nth-child(4),
.specs-table th:nth-child(5),
.specs-table th:nth-child(6) {
    width: 18.75%;
}

/* 表头渐变背景 */
.specs-table th[style*="background: #0066cc"] {
    background: linear-gradient(135deg, #0066cc 0%, #0080ff 100%) !important;
    overflow: hidden;
}

.specs-table th[style*="background: #76b900"] {
    background: linear-gradient(135deg, #76b900 0%, #8bc34a 100%) !important;
    overflow: hidden;
}

/* 分类列样式 */
.specs-table .category {
    background: var(--gray-100);
    color: var(--gray-900);
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    border-right: 2px solid var(--gray-200);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.specs-table tbody tr {
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.specs-table tbody tr:hover {
    background: rgba(0, 104, 181, 0.08);
}

.specs-table td {
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--gray-700);
    vertical-align: top;
    border-bottom: 1px solid var(--gray-200);
    line-height: 1.5;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--gray-900);
}

/* NVIDIA列淡化效果 */
.specs-table td:nth-child(3) {
    opacity: 0.8;
    background: rgba(118, 185, 0, 0.05);
}

/* Pro Max列特殊强调 */
.specs-table td:nth-child(6) {
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, rgba(0, 102, 204, 0.05) 100%);
    position: relative;
}

.spec-highlight {
    color: var(--primary-blue);
    font-weight: 700;
}

/* 应用场景 */
.applications {
    padding: var(--spacing-xxxl) 0;
    background: var(--gray-100);
}

.applications-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.applications-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.applications-header p {
    font-size: 18px;
    color: var(--gray-600);
}

.application-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-lg);
}

.app-card {
    background: white;
    border-radius: 8px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.app-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.app-icon {
    width: 64px;
    height: 64px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--primary-blue);
    transition: all 0.3s;
}

.app-card:hover .app-icon {
    background: var(--primary-blue);
    color: white;
}

.app-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.app-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
}

.app-hover {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
}

.app-card:hover .app-hover {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.app-hover span {
    color: var(--primary-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* 性能对比 */
.benchmark {
    padding: var(--spacing-xxxl) 0;
    background: white;
}

.benchmark-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxxl);
    align-items: center;
}

.benchmark-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
}

.benchmark-content h3 span {
    color: var(--primary-blue);
}

.benchmark-content p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
}

.benchmark-list {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.benchmark-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--gray-200);
}

.benchmark-icon {
    width: 50px;
    height: 50px;
    background: var(--success-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.benchmark-text {
    flex: 1;
}

.benchmark-text strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.benchmark-text small {
    color: var(--gray-600);
}

.benchmark-chart {
    background: var(--gray-100);
    padding: var(--spacing-xl);
    border-radius: 8px;
}

.chart-item {
    margin-bottom: var(--spacing-lg);
}

.chart-item:last-child {
    margin-bottom: 0;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
}

.chart-label {
    font-weight: 600;
    color: var(--gray-900);
}

.chart-value {
    color: var(--primary-blue);
    font-weight: 700;
}

.chart-bar {
    height: 8px;
    background: var(--gray-300);
    border-radius: 4px;
    overflow: hidden;
}

.chart-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--tech-blue) 100%);
    border-radius: 4px;
    transition: width 1.5s ease-out;
    width: 0;
}

/* 合作伙伴部分样式 - 1×4横向布局 */
.partners-section {
    padding: var(--spacing-xxxl) 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, #ffffff 100%);
    border-top: 1px solid var(--gray-200);
    margin-top: var(--spacing-xxxl);
}

.partners-header {
    text-align: center;
    margin-bottom: var(--spacing-xxxl);
}

.partners-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.partners-header p {
    font-size: 18px;
    color: var(--gray-600);
}

/* 1×4横向网格布局 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxxl);
}

.partner-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-xl) var(--spacing-lg);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    border-color: var(--primary-blue);
}

.partner-logo {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    background: var(--gray-100);
    border-radius: 8px;
    padding: var(--spacing-md);
}

.partner-logo svg {
    max-width: 100%;
    height: auto;
}

.partner-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.partner-category {
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.partner-highlights {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    justify-content: center;
}

.highlight-tag {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.partnership-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xxxl);
}

.stat-box {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.stat-box h3 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
    line-height: 1;
}

.stat-box p {
    font-size: 16px;
    color: var(--gray-600);
    font-weight: 500;
}

/* 资源中心 - 增强版含Appmall */
.resources {
    padding: var(--spacing-xxxl) 0;
    background: var(--gray-100);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.resource-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.resource-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

/* Appmall 特色卡片 */
.resource-card.featured {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
    position: relative;
}

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

.resource-card.featured:hover {
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.25);
    transform: translateY(-6px);
}

.resource-image {
    height: 180px;
    background: var(--gray-200);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 资源占位图样式 */
.resource-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    position: relative;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

/* 白皮书样式 */
.resource-placeholder.whitepaper {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.resource-placeholder.whitepaper .doc-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 60%;
}

.resource-placeholder.whitepaper .line {
    height: 4px;
    background: var(--gray-400);
    border-radius: 2px;
    width: 100%;
}

.resource-placeholder.whitepaper .line.short {
    width: 60%;
}

.resource-placeholder.whitepaper .line.medium {
    width: 80%;
}

/* 驱动样式 */
.resource-placeholder.driver {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.resource-placeholder.driver .progress-bar {
    width: 60%;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
}

.resource-placeholder.driver .progress-fill {
    width: 75%;
    height: 100%;
    background: var(--accent-yellow);
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 75%; }
}

.resource-placeholder.driver .driver-text {
    color: white;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
}

/* 指南样式 */
.resource-placeholder.guide {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.resource-placeholder.guide .guide-content {
    display: flex;
    gap: var(--spacing-md);
}

.resource-placeholder.guide .step {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Appmall 应用商城样式 */
.resource-placeholder.appstore {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.resource-placeholder.appstore .app-icons {
    display: flex;
    gap: 8px;
}

.resource-placeholder.appstore .mini-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 11px;
    backdrop-filter: blur(4px);
}

.resource-type {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-type-hot {
    background: linear-gradient(135deg, #0066cc, #00a8ff);
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 102, 204, 0);
    }
}

.resource-body {
    padding: var(--spacing-lg);
}

.resource-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.resource-description {
    color: var(--gray-600);
    font-size: 14px;
    margin: 12px 0;
    line-height: 1.6;
}

.resource-meta {
    display: flex;
    gap: var(--spacing-md);
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.resource-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.resource-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 0.2s;
}

.resource-link:hover {
    text-decoration: underline;
    color: var(--deep-blue);
}

.resource-link-primary {
    background: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
}

.resource-link-primary:hover {
    background: var(--deep-blue);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* 支持服务 */
.support-section {
    padding: var(--spacing-xxxl) 0;
    background: white;
}

.support-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.support-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.support-header p {
    font-size: 18px;
    color: var(--gray-600);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.support-card {
    background: var(--gray-100);
    border-radius: 8px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s;
}

.support-card:hover {
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.support-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.support-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.support-card p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.support-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.support-card a:hover {
    text-decoration: underline;
}

/* 关于我们 */
.about-section {
    padding: var(--spacing-xxxl) 0;
    background: var(--gray-100);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
}

.about-intro {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--spacing-xxl);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.about-stats .stat-item {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
}

.about-stats .stat-item h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

.about-stats .stat-item p {
    color: var(--gray-600);
    font-weight: 500;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.feature {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: left;
}

.feature h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.feature p {
    color: var(--gray-600);
    line-height: 1.5;
}

.company-mission {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.company-mission h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.company-mission p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-sm);
}

.company-mission p:first-of-type {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
}

/* CTA部分 */
.cta-section {
    padding: var(--spacing-xxxl) 0;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-blue) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--brushed-texture);
    opacity: 0.05;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 20px;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.cta-form {
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.form-group {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.form-group input,
.form-group select {
    flex: 1;
    min-width: 200px;
    padding: 16px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    background: white;
    color: var(--gray-700);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

.cta-note {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
}

/* 页脚 */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-xxl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
}

.footer-brand h3 {
    font-size: 24px;
    color: white;
    margin-bottom: var(--spacing-md);
}

.footer-brand p {
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-blue);
    color: white;
}

.footer-links h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

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

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    color: var(--gray-400);
    text-decoration: none;
}

.footer-legal a:hover {
    color: white;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

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

.back-to-top:hover {
    background: var(--deep-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .benchmark-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partnership-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-tools {
        gap: var(--spacing-md);
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-features {
        gap: var(--spacing-sm);
    }

    .hero-actions {
        justify-content: center;
    }

    .selector-tabs {
        justify-content: stretch;
    }

    .selector-tab {
        flex: 1;
        text-align: center;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .application-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .form-group {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* 对比表格移动端优化 */
    .specs-table {
        font-size: 12px;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 8px;
    }

    /* 移动端表格优化 */
    .specs-table-wrapper {
        position: relative;
        padding-bottom: 20px;
    }
    
    .specs-table-wrapper::after {
        content: '← 左右滑动查看更多 →';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12px;
        color: var(--gray-500);
    }
    
    /* 固定第一列和第二列 */
    .specs-table td:first-child,
    .specs-table td:nth-child(2),
    .specs-table th:first-child,
    .specs-table th:nth-child(2) {
        position: sticky;
        left: 0;
        z-index: 5;
        background: white;
    }
    
    .specs-table td:nth-child(2),
    .specs-table th:nth-child(2) {
        left: 80px;
        box-shadow: 2px 0 4px rgba(0,0,0,0.1);
    }

    .specs-table .category {
        left: 0 !important;
        background: var(--gray-100) !important;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partnership-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .hero-content h1 {
        font-size: 28px;
    }

    .selector-title {
        font-size: 28px;
    }

    .specs-header h2,
    .applications-header h2,
    .about-content h2 {
        font-size: 28px;
    }

    .cta-content h2 {
        font-size: 32px;
    }
    
    .partnership-stats {
        grid-template-columns: 1fr;
    }
    
    .application-cards {
        grid-template-columns: 1fr;
    }
}

/* 工具提示 */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
}

.tooltip:hover::after {
    opacity: 1;
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 骨架屏 */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-300) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度支持 */
@media (prefers-contrast: high) {
    :root {
        --gray-600: #000000;
        --gray-700: #000000;
    }
}

/* 打印优化 */
@media print {
    .specs-table {
        border: 1px solid #000;
    }
    
    .specs-table th,
    .specs-table td {
        border: 1px solid #000;
        padding: 8px;
    }
    
    .specs-table th {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
    
    .top-banner,
    .mobile-menu-toggle,
    .back-to-top {
        display: none !important;
    }
}