/* ========================================
   云擎科技 - 企业官网样式
   设计风格：科技感深色主题 + 蓝紫渐变
   ======================================== */

:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --bg-dark: #0a0e1a;
    --bg-card: #121829;
    --bg-card-hover: #1a2138;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(148, 163, 184, 0.12);
    --border-hover: rgba(148, 163, 184, 0.25);
    --gradient: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 通用组件 ========== */

.section-eyebrow {
    font-size: 13px;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 8px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-title.light {
    color: #fff;
}

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

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

.section-header .section-desc {
    margin: 12px auto 0;
}

/* 按钮 */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-hover);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--gradient-subtle);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-consult {
    padding: 10px 20px;
    background: var(--gradient);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-consult:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-phone:hover {
    color: var(--primary-light);
    background: var(--gradient-subtle);
}

/* ========== 顶部导航 ========== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* 深色背景下显示为白色 */
}

.logo-img-sm {
    height: 26px;
}

/* 通用图片防溢出 */
img {
    max-width: 100%;
    break-inside: avoid;
    page-break-inside: avoid;
}

.logo-text {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 4px;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========== Hero 首屏 ========== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -50px;
    left: -100px;
    opacity: 0.2;
}

.hero-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-hover);
    border-radius: 20px;
    font-size: 13px;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.stat-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-plus {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* 服务器动画 */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    opacity: 0.6;
}

.server-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.server-unit {
    display: flex;
    align-items: center;
    gap: 8px;
    animation: serverFloat 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

.server-lights {
    display: flex;
    gap: 3px;
}

.server-lights span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    animation: blink 1.5s ease-in-out infinite;
}

.server-lights span:nth-child(odd) {
    animation-delay: 0.3s;
}

.server-lights span:nth-child(3n) {
    animation-delay: 0.6s;
}

.server-body {
    width: 160px;
    height: 28px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid var(--border-hover);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.server-body::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 12px;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 2px;
    border: 1px solid var(--border);
}

@keyframes serverFloat {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ========== 品牌墙 ========== */

.brand-wall {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(18, 24, 41, 0.5);
}

.brand-wall .section-eyebrow {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 12px;
}

.brand-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.brand-item {
    padding: 12px 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.brand-item:hover {
    opacity: 1;
    border-color: var(--primary);
    background: var(--gradient-subtle);
}

.brand-item span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

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

.brand-logo-text.xfusion {
    color: var(--primary-light);
}

.brand-logo-text.huapa {
    color: #f59e0b;
    font-weight: 800;
}

/* ========== 产品中心 ========== */

.products {
    padding: 100px 0;
}

/* 明星主推产品 */
.featured-products {
    margin-bottom: 56px;
}

.featured-header {
    text-align: center;
    margin-bottom: 36px;
}

.featured-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 14px;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.35);
}

.featured-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(560px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card.featured {
    border-color: var(--primary);
    background: linear-gradient(160deg, rgba(37, 99, 235, 0.10), rgba(139, 92, 246, 0.04));
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.4), 0 12px 40px rgba(37, 99, 235, 0.15);
    position: relative;
    text-align: left;
}

.product-card.featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 2px;
    background: linear-gradient(135deg, #3b82f6, #a78bfa, #f59e0b);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.product-card.featured-small {
    border-color: rgba(37, 99, 235, 0.5);
}

.badge-featured {
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.product-card:hover::before {
    transform: scaleX(1);
}

.product-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-hover);
    border-radius: 4px;
    font-size: 11px;
    color: var(--primary-light);
    margin-bottom: 12px;
    font-weight: 600;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: left;
}

.product-brand {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-light);
}

.product-price small {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

.product-actions {
    display: flex;
    gap: 8px;
}

/* 产品图 */
.product-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #0d1322;
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 明星主推大卡：图 + 信息左右分栏（flex 布局，避免 grid 嵌套冲突）*/
.product-card.featured {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 28px;
    padding: 28px;
    text-align: left;
}

.product-card.featured .product-thumb {
    flex: 0 0 42%;
    margin-bottom: 0;
    aspect-ratio: auto;
    min-height: 300px;
    align-self: center;
}

.product-card.featured .product-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: static;
}

.product-card.featured .product-info .product-specs {
    margin-top: auto;
}

@media (max-width: 768px) {
    .product-card.featured {
        flex-direction: column;
    }
    .product-card.featured .product-thumb {
        flex-basis: auto;
        min-height: 220px;
    }
}

/* 配置摘要（卡片上预览的几条）*/
.config-summary {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px 14px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.config-summary span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 配置清单弹窗表格 */
.config-head {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    margin-bottom: 20px;
}

.config-thumb {
    width: 110px;
    height: 82px;
    object-fit: contain;
    border-radius: 8px;
    background: #0d1322;
    border: 1px solid var(--border);
    padding: 4px;
    flex-shrink: 0;
}

.config-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.config-table th,
.config-table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--border);
}

.config-table th {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.02);
}

.config-table .cfg-item {
    color: var(--text-secondary);
    font-weight: 500;
    width: 22%;
    white-space: nowrap;
}

.config-table .cfg-spec {
    color: var(--text-primary);
}

.config-table .cfg-qty {
    text-align: center;
    width: 60px;
    color: var(--primary-light);
    font-weight: 700;
}

.config-note {
    margin-top: 18px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
}

.btn-detail {
    padding: 8px 14px;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-hover);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-detail:hover {
    background: var(--gradient);
    border-color: transparent;
}

/* ========== 资质认证 ========== */

.certificates {
    padding: 100px 0;
    background: rgba(18, 24, 41, 0.3);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cert-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.cert-thumb {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.cert-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.cert-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cert-type {
    font-size: 13px;
    color: var(--primary-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.cert-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cert-click-hint {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-card:hover .cert-click-hint {
    opacity: 1;
}

.cert-tip {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 32px;
}

/* ========== 服务商资格 ========== */

.partners {
    padding: 100px 0;
}

.partner-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.partner-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.partner-card:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

.partner-logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: 12px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-light);
}

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

.partner-info .partner-level {
    font-size: 12px;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 6px;
}

.partner-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========== 核心优势 ========== */

.advantages {
    padding: 100px 0;
    background: rgba(18, 24, 41, 0.3);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.advantage-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px 24px;
    transition: all 0.3s ease;
    text-align: center;
}

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

.adv-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: 14px;
    color: var(--primary-light);
}

.advantage-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========== 联系我们 ========== */

.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    background: var(--gradient);
    border-radius: 24px;
    padding: 56px;
    position: relative;
    overflow: hidden;
}

.contact-wrapper-single {
    max-width: 860px;
    margin: 0 auto;
}

.contact-wrapper-single .contact-info {
    width: 100%;
    max-width: 640px;
}

.contact-direct {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 28px 32px;
}

.contact-direct h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.contact-direct-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.contact-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-quick-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.25s ease;
}

.contact-quick-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-quick-btn svg {
    flex-shrink: 0;
    color: #fff;
}

.contact-quick-btn span {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-quick-btn strong {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.contact-quick-btn small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cm-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.cm-label {
    color: rgba(255, 255, 255, 0.6);
    min-width: 64px;
}

.cm-value {
    color: #fff;
    font-weight: 500;
}

.contact-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.contact-info {
    position: relative;
    z-index: 1;
}

.contact-info .section-title {
    color: #fff;
}

.contact-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ci-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    flex-shrink: 0;
}

.contact-item > div {
    display: flex;
    flex-direction: column;
}

.ci-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.ci-value {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.ci-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ci-value a:hover {
    color: var(--primary-light);
}

/* ========== 页脚 ========== */

.footer {
    padding: 60px 0 24px;
    border-top: 1px solid var(--border);
    background: rgba(10, 14, 26, 0.8);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 320px;
}

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

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== 回到顶部 ========== */

.back-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

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

.back-top:hover {
    transform: translateY(-2px);
}

/* ========== 弹窗 ========== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: 16px;
    max-width: 760px;
    width: 92%;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

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

.modal-body {
    padding: 40px 32px;
    text-align: center;
}

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

.modal-body .modal-type {
    font-size: 14px;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-cert-image {
    margin-bottom: 24px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    padding: 12px;
}

.modal-cert-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    object-fit: contain;
}

.modal-detail {
    text-align: left;
    margin-top: 8px;
    padding: 20px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 10px;
}

.modal-detail .detail-row {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.modal-detail .detail-key {
    color: var(--text-muted);
    flex-shrink: 0;
    min-width: 96px;
}

.modal-detail .detail-val {
    color: var(--text-primary);
    font-weight: 500;
    flex: 1;
}

.modal-detail p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 6px;
}

/* Toast */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: 12px;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.toast svg {
    color: #22c55e;
}

/* ========== 响应式 ========== */

@media (max-width: 968px) {
    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 42px;
    }

    .contact-wrapper {
        padding: 40px 28px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 26px;
    }

    .logo-text {
        font-size: 16px;
    }

    .cert-thumb {
        height: 160px;
    }

    .modal-body {
        padding: 28px 20px;
    }

    .modal-detail .detail-row {
        flex-direction: column;
        gap: 2px;
    }

    .modal-detail .detail-key {
        min-width: auto;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-actions {
        display: none;
    }

    .nav-phone {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-stats {
        gap: 28px;
    }

    .stat-num {
        font-size: 28px;
    }

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

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

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

    .contact-wrapper {
        padding: 32px 20px;
    }

    .contact-quick {
        grid-template-columns: 1fr;
    }

    .contact-direct {
        padding: 24px 20px;
    }

    .brand-track {
        gap: 16px;
    }

    .brand-item {
        padding: 8px 14px;
    }

    .brand-item span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .partner-list {
        grid-template-columns: 1fr;
    }
}
