/* ========================================
   国链官网样式
   风格：科技未来感 + 现代商务
======================================== */

/* CSS Variables */
:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #7c3aed;
    --accent: #f472b6;
    --bg-dark: #0a0e1a;
    --bg-darker: #060912;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-bg: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* ========================================
   导航栏
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

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

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

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

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ========================================
   Hero 区域
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        var(--gradient-bg);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.title-line {
    display: block;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.0625rem;
}

.btn-block {
    width: 100%;
}

/* ========================================
   下载页面
======================================== */
.download-page {
    min-height: 100vh;
    background: var(--bg-darker);
}

.download-navbar {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.download-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 18px;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9375rem;
}

.download-home-link:hover {
    color: var(--text-primary);
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

.download-main {
    min-height: calc(100vh - 150px);
}

.download-hero {
    min-height: calc(100vh - 120px);
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 45% at 50% -15%, rgba(0, 212, 255, 0.2) 0%, transparent 58%),
        linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 58%, var(--bg-darker) 100%);
}

.download-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 72%, transparent 100%);
}

.download-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.22;
    pointer-events: none;
}

.download-glow-primary {
    left: -120px;
    top: 18%;
    background: var(--primary);
}

.download-glow-secondary {
    right: -120px;
    bottom: 10%;
    background: var(--secondary);
}

.download-container {
    position: relative;
    z-index: 1;
}

.download-intro {
    max-width: 760px;
    text-align: center;
    margin: 0 auto 48px;
    animation: fadeInUp 0.8s ease both;
}

.download-intro h1 {
    font-size: clamp(2.25rem, 7vw, 4.25rem);
    font-weight: 900;
    margin-bottom: 18px;
}

.download-intro p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2.4vw, 1.2rem);
}

.download-products {
    display: grid;
    gap: 36px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.download-product {
    padding: 0;
}

.download-product + .download-product {
    padding-top: 36px;
    border-top: 1px solid var(--border);
}

.download-product-emphasis .download-product-label {
    color: var(--accent);
}

.download-product-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.download-product-copy {
    max-width: 740px;
}

.download-product-label {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
}

.download-product h2 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    margin-bottom: 10px;
}

.download-product-copy p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.download-product-platforms {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 360px;
}

.download-product-platforms span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.875rem;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.download-cards-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: 32px;
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.download-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 24px 24px, rgba(0, 212, 255, 0.18), transparent 34%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.download-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: var(--shadow-glow);
}

.download-card:hover::before,
.download-card.recommended::before {
    opacity: 1;
}

.download-card.recommended {
    border-color: rgba(0, 212, 255, 0.45);
}

.download-card.recommended::after {
    content: '推荐';
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 5px 12px;
    color: var(--bg-dark);
    background: var(--primary);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
}

.download-card-primary {
    background:
        linear-gradient(135deg, rgba(0, 212, 255, 0.11), rgba(124, 58, 237, 0.08)),
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
}

.download-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 34px;
}

.download-platform-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.24);
    border-radius: 8px;
}

.download-platform-icon svg {
    width: 32px;
    height: 32px;
}

.android-icon {
    color: #34d399;
    background: rgba(52, 211, 153, 0.1);
    border-color: rgba(52, 211, 153, 0.24);
}

.apple-icon {
    color: #f8fafc;
    background: rgba(248, 250, 252, 0.09);
    border-color: rgba(248, 250, 252, 0.2);
}

.device-badge {
    padding: 6px 14px;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.875rem;
}

.download-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.45rem;
    margin-bottom: 12px;
}

.download-card p {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    min-height: 52px;
    margin-bottom: 24px;
}

.download-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: auto 0 28px;
}

.download-meta span {
    padding: 7px 12px;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.875rem;
}

.download-btn {
    position: relative;
    z-index: 1;
}

.download-notes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.download-note {
    display: flex;
    gap: 12px;
    padding: 18px;
    background: rgba(255,255,255,0.035);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.note-icon {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 0.8125rem;
    font-weight: 700;
}

.download-note p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.download-footer {
    padding: 30px 0;
}

.wechat-open-guide {
    display: none;
}

.is-wechat-browser {
    overflow: hidden;
}

.is-wechat-browser .download-main,
.is-wechat-browser .download-footer {
    filter: blur(2px);
    pointer-events: none;
    user-select: none;
}

.is-wechat-browser .download-btn {
    opacity: 0.5;
}

.is-wechat-browser .wechat-open-guide {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 78px 18px 24px;
    background: rgba(6, 9, 18, 0.82);
    backdrop-filter: blur(10px);
}

.wechat-guide-arrow {
    position: fixed;
    top: 16px;
    right: 23px;
    width: 78px;
    height: 78px;
    border-top: 3px solid var(--primary);
    border-right: 3px solid var(--primary);
    border-radius: 0 22px 0 0;
}

.wechat-guide-arrow::after {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 16px;
    height: 16px;
    border-top: 3px solid var(--primary);
    border-right: 3px solid var(--primary);
    transform: rotate(45deg);
}

.wechat-guide-panel {
    width: min(420px, 100%);
    padding: 26px;
    background: rgba(10, 14, 26, 0.96);
    border: 1px solid rgba(0, 212, 255, 0.26);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.wechat-guide-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 5px 12px;
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.wechat-guide-panel h2 {
    font-size: 1.55rem;
    margin-bottom: 16px;
}

.wechat-guide-panel ol {
    padding-left: 22px;
    color: var(--text-secondary);
}

.wechat-guide-panel li {
    margin: 10px 0;
    padding-left: 2px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-unit {
    font-size: 1.25rem;
    color: var(--primary);
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

/* ========================================
   通用 Section 样式
======================================== */
section {
    padding: 100px 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
}

/* ========================================
   痛点区域
======================================== */
.pain-points {
    background: var(--bg-darker);
}

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

.pain-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.pain-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.pain-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--accent);
}

.pain-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.pain-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ========================================
   服务区域
======================================== */
.services {
    background: var(--gradient-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition);
    grid-column: span 6;
}

.service-card.featured {
    grid-column: span 12;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-color: rgba(0, 212, 255, 0.2);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.service-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-orb {
    position: relative;
    width: 200px;
    height: 200px;
}

.orb-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: orbit 8s linear infinite;
}

.orb-ring:nth-child(2) {
    inset: 20px;
    animation-duration: 6s;
    animation-direction: reverse;
}

.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
}

.service-icon {
    width: 56px;
    height: 56px;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-content h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.feature-icon {
    color: var(--primary);
    font-weight: 700;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
}

.service-link:hover {
    gap: 12px;
}

/* ========================================
   优势区域
======================================== */
.advantages {
    background: var(--bg-darker);
}

.advantages-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.advantage-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-diagram {
    position: relative;
    width: 400px;
    height: 300px;
}

.network-diagram .node {
    position: absolute;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.node-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border: none;
    padding: 16px 28px;
    font-size: 1rem;
}

.node-1 { top: 20%; left: 10%; }
.node-2 { top: 20%; right: 10%; }
.node-3 { bottom: 20%; left: 10%; }
.node-4 { bottom: 20%; right: 10%; }

.network-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.network-lines .line {
    stroke: rgba(0, 212, 255, 0.3);
    stroke-width: 1;
    stroke-dasharray: 4 4;
}

.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
}

.advantage-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.advantage-number {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.advantage-info h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.advantage-info p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ========================================
   指标区域
======================================== */
.metrics {
    background: var(--bg-dark);
    padding: 60px 0;
}

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

.metric-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.metric-unit {
    font-size: 1.25rem;
}

.metric-label {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.metric-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.metric-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: var(--progress);
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 1s ease;
}

/* ========================================
   流程区域
======================================== */
.process {
    background: var(--gradient-bg);
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 300px;
}

.step-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border-radius: 50%;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.step-content {
    text-align: center;
}

.step-content h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.step-connector {
    position: absolute;
    top: 32px;
    left: calc(50% + 40px);
    right: calc(-50% + 40px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.process-step:last-child .step-connector {
    display: none;
}

.process-cta {
    text-align: center;
}

/* ========================================
   联系区域
======================================== */
.contact {
    background: var(--bg-darker);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

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

.method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--primary);
}

.method-icon svg {
    width: 24px;
    height: 24px;
}

.method-content {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.method-value {
    font-weight: 500;
}

.contact-qrcode {
    text-align: center;
}

.qr-placeholder {
    width: 160px;
    height: 160px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin: 0 auto 12px;
}

.contact-qrcode p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* 表单 */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    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;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========================================
   页脚
======================================== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-top: 12px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

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

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.footer-bottom a {
    color: var(--text-muted);
}

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes orbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   响应式设计
======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        grid-column: span 1 !important;
    }
    
    .service-card.featured {
        grid-template-columns: 1fr;
    }
    
    .service-visual {
        order: -1;
    }
    
    .advantages-content {
        grid-template-columns: 1fr;
    }
    
    .advantage-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        border-left: 1px solid var(--border);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .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-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .step-connector {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .download-hero {
        padding: 120px 0 64px;
    }

    .download-product {
        padding: 0;
    }

    .download-product-header {
        flex-direction: column;
        gap: 18px;
    }

    .download-product + .download-product {
        padding-top: 32px;
    }

    .download-product-platforms {
        justify-content: flex-start;
        max-width: none;
    }

    .download-cards,
    .download-notes {
        grid-template-columns: 1fr;
    }

    .download-card {
        min-height: auto;
        padding: 28px;
    }

    .download-card p {
        min-height: 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .download-home-link {
        min-height: 38px;
        padding: 7px 12px;
        font-size: 0.875rem;
    }

    .download-hero {
        padding: 108px 0 48px;
    }

    .download-card {
        padding: 24px;
    }

    .download-card.recommended::after {
        top: 14px;
        right: 14px;
    }

    .download-platform-icon {
        width: 62px;
        height: 62px;
    }

    .download-platform-icon svg {
        width: 34px;
        height: 34px;
    }

    .download-note {
        padding: 16px;
    }

    .is-wechat-browser .wechat-open-guide {
        padding: 70px 16px 20px;
    }

    .wechat-guide-arrow {
        top: 12px;
        right: 18px;
        width: 64px;
        height: 64px;
    }

    .wechat-guide-panel {
        padding: 22px;
    }

    .wechat-guide-panel h2 {
        font-size: 1.35rem;
    }

    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .network-diagram {
        width: 100%;
        height: 250px;
    }
    
    .node-center {
        padding: 12px 20px;
        font-size: 0.875rem;
    }
    
    .network-diagram .node {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
}

/* ========================================
   滚动动画
======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
