﻿/* ================================
   重庆科之梦科技有限公司 - 官网样式
   主样式文件 style.css
================================ */

/* ===== CSS 变量 ===== */
:root {
    --bg-primary: #060a14;
    --bg-secondary: #0a0e1a;
    --bg-card: #0f1525;
    --bg-card-hover: #141b30;
    --bg-input: #0d1320;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 212, 255, 0.3);
    --text-primary: #e8eaf0;
    --text-secondary: #8b8fa3;
    --text-muted: #5c5f73;
    --accent: #00d4ff;
    --accent-2: #0066ff;
    --accent-glow: rgba(0, 212, 255, 0.15);
    --gradient-1: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    --gradient-2: linear-gradient(135deg, #7c3aed 0%, #00d4ff 100%);
    --gradient-3: linear-gradient(135deg, #f43f5e 0%, #f59e0b 100%);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.1);
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== 全局重置 ===== */
* {
    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-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

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

/* ===== 滚动条 ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--accent), var(--accent-2));
    border-radius: 4px;
}

/* ===== 选中文本 ===== */
::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

/* ===== 通用容器 ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

/* ===== 加载动画 ===== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 212, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.loader-text {
    margin-top: 24px;
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--text-secondary);
    font-weight: 600;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== 粒子背景 ===== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(6, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}
.logo-accent {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: 36px;
    align-items: center;
}
.nav-link {
    font-size: 15px;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    font-weight: 500;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-1);
    color: var(--bg-primary);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero 首屏 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    position: relative;
    padding: 140px clamp(24px, 10vw, 160px) 80px;
    overflow: hidden;
    background: #060a14 url('https://7ntest.clayportglobal.com/proj/kzm/digital-industry-hero-banner.webp') center center / cover no-repeat;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(6, 10, 20, 0.92) 0%, rgba(6, 10, 20, 0.72) 32%, rgba(6, 10, 20, 0.18) 66%, rgba(6, 10, 20, 0.35) 100%),
        linear-gradient(180deg, rgba(6, 10, 20, 0.38) 0%, rgba(6, 10, 20, 0.05) 45%, rgba(6, 10, 20, 0.68) 100%);
    pointer-events: none;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 30px;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(0, 212, 255, 0); }
}

.hero-title {
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.title-line {
    display: block;
}
.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
    min-height: 32px;
}
.hero-subtitle::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: var(--accent);
}
@keyframes blink {
    50% { opacity: 0; }
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}
.btn-primary {
    background: var(--gradient-1);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
}
.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Hero 统计数据 ===== */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
    display: flex;
    align-items: baseline;
    justify-content: center;
}
.stat-number {
    font-size: 42px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.stat-suffix {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
}
.stat-label {
    width: 100%;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

/* ===== 滚动指示器 ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    animation: float 2s ease-in-out infinite;
}
.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}
.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}
@keyframes scrollWheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}
@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-tag {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
    padding: 0 40px;
}
.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--accent);
    opacity: 0.5;
}
.section-tag::before { left: 0; }
.section-tag::after { right: 0; }

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 服务领域 ===== */
.services-section {
    position: relative;
    z-index: 1;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-card);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--gradient-1);
    color: var(--bg-primary);
    transform: rotate(-5deg) scale(1.05);
}
.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.service-card > p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
}
.service-features {
    margin-bottom: 24px;
}
.service-features li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
}
.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 4px;
}
.service-features li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 5px;
    height: 9px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
}
.service-link {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
}
.service-link:hover {
    letter-spacing: 1px;
}

/* ===== 成功案例 ===== */
.cases-section {
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}
.cases-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.filter-btn:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}
.filter-btn.active {
    background: var(--gradient-1);
    color: var(--bg-primary);
    border-color: transparent;
    font-weight: 600;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.case-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card);
}
.case-card.hidden {
    display: none;
}

.case-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.case-gradient-1 { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); }
.case-gradient-2 { background: linear-gradient(135deg, #1a1a2e 0%, #3d1e6d 100%); }
.case-gradient-3 { background: linear-gradient(135deg, #0c1f2e 0%, #1a4d4d 100%); }
.case-gradient-4 { background: linear-gradient(135deg, #1e1b3a 0%, #4c1d5e 100%); }
.case-gradient-5 { background: linear-gradient(135deg, #1a2e1e 0%, #2d5a3d 100%); }
.case-gradient-6 { background: linear-gradient(135deg, #2e1a1a 0%, #5a2d2d 100%); }

.case-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 0.6s ease, filter 0.6s ease;
}
.case-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 10, 20, 0.05) 0%, rgba(6, 10, 20, 0.28) 100%);
    pointer-events: none;
}
.case-card:hover .case-cover {
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.04);
}

.case-mockup {
    transform: scale(0.9);
    transition: transform 0.5s ease;
}
.case-card:hover .case-mockup {
    transform: scale(0.95) translateY(-4px);
}

.mockup-screen {
    width: 220px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.mockup-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    padding: 0 6px;
    gap: 3px;
}
.mockup-bar::before,
.mockup-bar::after {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}
.mockup-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mockup-block {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 100%;
}
.mockup-block.w40 { width: 40%; }
.mockup-block.w50 { width: 50%; }
.mockup-block.w60 { width: 60%; }
.mockup-block.w70 { width: 70%; }
.mockup-block.w80 { width: 80%; }
.mockup-block.w90 { width: 90%; }
.mockup-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 4px;
}
.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.mockup-grid-2 {
    grid-template-columns: 1fr 1fr;
}
.mockup-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.case-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}
.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--accent);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.case-info {
    padding: 24px;
}
.case-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.case-info > p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.case-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.case-tech span {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===== 技术实力 ===== */
.tech-section {
    position: relative;
    z-index: 1;
}
.tech-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 56px;
    align-items: center;
}
.tech-left,
.tech-right {
    min-width: 0;
}
.tech-word-cloud {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: radial-gradient(circle at 50% 45%, rgba(0, 212, 255, 0.12), rgba(15, 21, 37, 0.95) 58%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    aspect-ratio: 4 / 3;
}
.tech-word-cloud::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(0, 212, 255, 0.12);
    pointer-events: none;
    z-index: 1;
}
.tech-word-cloud img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.6s ease, filter 0.6s ease;
}
.tech-word-cloud:hover img {
    transform: scale(1.045);
    filter: saturate(1.08) contrast(1.04);
}

.tech-marquee {
    display: flex;
    overflow: hidden;
    margin-bottom: 48px;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
    display: flex;
    gap: 12px;
    animation: marquee 25s linear infinite;
    flex-shrink: 0;
    padding-right: 12px;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.tech-pill {
    padding: 10px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 14px;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--transition);
}
.tech-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.tech-advantages {
    display: grid;
    gap: 20px;
}
.tech-adv-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.tech-adv-item:hover {
    border-color: var(--border-hover);
    transform: translateX(8px);
}
.adv-number {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
    min-width: 40px;
}
.adv-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}
.adv-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== 代码窗口 ===== */
.code-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.code-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}
.code-dots {
    display: flex;
    gap: 8px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.code-title {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 8px;
}
.code-body {
    padding: 24px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.7;
    overflow-x: auto;
}
.code-body code {
    color: var(--text-primary);
}
.code-keyword { color: #c678dd; }
.code-class { color: #e5c07b; }
.code-func { color: #61afef; }
.code-string { color: #98c379; }
.code-property { color: #e06c75; }
.code-number { color: #d19a66; }

/* ===== 服务流程 ===== */
.process-section {
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}
.process-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent) 10%, var(--accent) 90%, transparent);
    transform: translateX(-50%);
    opacity: 0.3;
}
.process-step {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    margin-bottom: 20px;
}
.process-step:nth-child(odd) {
    left: 0;
    text-align: right;
}
.process-step:nth-child(even) {
    left: 50%;
}
.process-step::before {
    content: attr(data-step);
    position: absolute;
    top: 24px;
    width: 48px;
    height: 48px;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--accent);
    z-index: 2;
    transition: var(--transition);
}
.process-step:nth-child(odd)::before {
    right: -24px;
}
.process-step:nth-child(even)::before {
    left: -24px;
}
.process-step:hover::before {
    background: var(--gradient-1);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}
.step-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}
.step-content:hover {
    border-color: var(--border-hover);
    transform: scale(1.02);
}
.step-content h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.step-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== 关于我们 ===== */
.about-section {
    position: relative;
    z-index: 1;
}
.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: start;
}
.about-lead {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.5;
}
.about-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}
.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.highlight-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}
.highlight-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.highlight-item span {
    font-size: 14px;
    font-weight: 600;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.about-card-header {
    padding: 20px 28px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), transparent);
    border-bottom: 1px solid var(--border);
}
.card-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
}
.about-card-body {
    padding: 24px 28px;
}
.cert-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.cert-item:last-child {
    border-bottom: none;
}
.cert-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.cert-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.cert-item p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===== 联系我们 ===== */
.contact-section {
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-heading {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}
.contact-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-methods {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}
.contact-method {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.contact-method:hover {
    border-color: var(--border-hover);
    transform: translateX(8px);
}
.method-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.method-info {
    display: flex;
    flex-direction: column;
}
.method-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.method-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-qrcode {
    text-align: center;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.qrcode-box {
    display: inline-block;
    padding: 12px;
    background: #fff;
    border-radius: 16px;
    margin-bottom: 12px;
}
.qrcode-box img {
    display: block;
    width: 160px;
    height: 160px;
    object-fit: contain;
}
.contact-qrcode p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===== 联系表单 ===== */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}
.form-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 28px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}
.form-group select {
    cursor: pointer;
}
.form-group select option {
    background: var(--bg-card);
}
.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 64px 0 24px;
    position: relative;
    z-index: 1;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}
.footer-brand .nav-logo {
    margin-bottom: 20px;
}
.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 400px;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}
.footer-col ul li a:hover {
    color: var(--accent);
}
.footer-col ul li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}
.footer-bottom p:only-child {
    width: 100%;
    text-align: center;
}

/* ===== 悬浮联系按钮 ===== */
.floating-contact {
    position: fixed;
    right: 30px;
    bottom: 92px;
    z-index: 1001;
    display: grid;
    gap: 12px;
    width: auto;
    height: auto;
    pointer-events: none;
}
.floating-contact-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 54px;
    height: 54px;
    pointer-events: auto;
    text-decoration: none;
    color: inherit;
}
.floating-contact-btn {
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid rgba(0, 212, 255, 0.28);
    border-radius: 50%;
    background: rgba(15, 21, 37, 0.92);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    font-family: inherit;
    text-decoration: none;
}
.floating-contact-btn:hover,
.floating-contact-btn:focus-visible,
.floating-contact-item:hover .floating-contact-btn,
.floating-contact-item:focus-visible .floating-contact-btn {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 14px 38px rgba(0, 212, 255, 0.22);
    outline: none;
}
.floating-icon {
    display: block;
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}
.floating-label {
    display: block;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.floating-contact-item.wechat .floating-icon {
    color: #22c55e;
}
.floating-contact-item.qq .floating-icon {
    color: #00d4ff;
}
.floating-account {
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translate(8px, -50%);
    padding: 8px 12px;
    border-radius: 18px;
    background: rgba(15, 21, 37, 0.94);
    border: 1px solid rgba(0, 212, 255, 0.18);
    color: var(--text-primary);
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.floating-contact-item.qq:hover .floating-account,
.floating-contact-item.qq:focus-visible .floating-account {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}
.floating-qr {
    position: absolute;
    right: 68px;
    bottom: 0;
    width: 220px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: rgba(15, 21, 37, 0.96);
    border: 1px solid rgba(0, 212, 255, 0.22);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.floating-contact-item.wechat:hover .floating-qr,
.floating-contact-item.wechat:focus-within .floating-qr {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.floating-qr img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 10px;
}
.floating-qr strong,
.floating-qr span {
    display: block;
}
.floating-qr strong {
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 4px;
}
.floating-qr span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}
/* ===== 回到顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: var(--bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

/* ===== 滚动动画 ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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