/**
 * 权益数卡官网 - 主样式表 v3.0
 * 浅蓝色拟态轻科技风 (Soft Neumorphism)
 */

/* ========== 设计变量 ========== */
:root {
    /* 主色系 */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --primary-bg: rgba(59, 130, 246, 0.08);
    --secondary: #06b6d4;
    --secondary-light: #22d3ee;
    --accent: #ef4444;

    /* 背景系 - 浅蓝拟态 */
    --bg: #e6edf6;
    --bg-soft: #eef3fa;
    --bg-card: #e6edf6;
    --bg-white: #ffffff;

    /* 文字系 */
    --text: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;

    /* 拟态阴影系统 */
    --shadow-out: 8px 8px 20px #c8d3e3, -8px -8px 20px #ffffff;
    --shadow-out-sm: 5px 5px 12px #c8d3e3, -5px -5px 12px #ffffff;
    --shadow-out-lg: 12px 12px 32px #c0cde0, -12px -12px 32px #ffffff;
    --shadow-in: inset 5px 5px 10px #c8d3e3, inset -5px -5px 10px #ffffff;
    --shadow-in-sm: inset 3px 3px 6px #c8d3e3, inset -3px -3px 6px #ffffff;
    --shadow-glow: 0 0 24px rgba(59, 130, 246, 0.25);

    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #3b82f6, #06b6d4);
    --gradient-soft: linear-gradient(145deg, #f0f5fc, #dde5f0);

    /* 圆角 */
    --radius: 20px;
    --radius-lg: 28px;
    --radius-sm: 12px;
    --radius-xs: 8px;

    /* 过渡 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: 0.01em;
}

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

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    outline: none;
}

::selection {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary-dark);
}

/* ========== 滚动条美化 ========== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #c0cde0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ========== 布局工具 ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: var(--bg-card);
    border-radius: 50px;
    box-shadow: var(--shadow-in-sm);
}

.section-kicker::before,
.section-kicker::after {
    content: '';
    width: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary));
}

.section-kicker::after {
    background: linear-gradient(90deg, var(--primary), transparent);
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.section-title p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 拟态卡片统一类 */
.glass-card {
    /* 拟态风格下卡片阴影由各自类控制，此类仅作兼容 */
}

/* ========== 滚动进度条 ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

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

.navbar.scrolled {
    background: rgba(230, 237, 246, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-out-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    opacity: 0.9;
}

.logo img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-brand .logo img {
    max-height: 44px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: var(--bg-card);
    border-radius: 50px;
    box-shadow: var(--shadow-in-sm);
}

.nav-menu a {
    font-size: 0.92rem;
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
    background: var(--gradient-primary);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 12px;
    border-radius: 12px;
    background: var(--bg-card);
    box-shadow: var(--shadow-out-sm);
}

.nav-toggle:hover {
    box-shadow: var(--shadow-in-sm);
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== Hero区域 ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-vxes {
    background: var(--bg);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 56px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(6, 182, 212, 0.1) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 90%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-card);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    box-shadow: var(--shadow-out-sm);
    font-weight: 500;
}

.hero-badge i {
    color: var(--primary);
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text);
    letter-spacing: -0.03em;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 44px;
    line-height: 1.8;
    max-width: 580px;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px 28px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-out-sm);
    min-width: 130px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero 右侧视觉区 */
.hero-visual {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 功能卡片 - 拟态白色卡片 */
.feature-card {
    position: relative;
    width: 460px;
    max-width: 100%;
    background: linear-gradient(145deg, #f5f8fd, #eef2f9);
    border-radius: 28px;
    padding: 36px 32px;
    box-shadow: var(--shadow-out-lg);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-out-lg), 0 0 40px rgba(59, 130, 246, 0.08);
}

.feature-card-logo {
    text-align: center;
    margin-bottom: 28px;
    padding: 16px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-out-sm);
}

.feature-card-logo img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    padding: 16px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: var(--shadow-out-sm);
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 10px;
}

.feature-icon-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.25);
}

.feature-icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.25);
}

.feature-icon-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.25);
}

.feature-icon-orange {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 3px 10px rgba(249, 115, 22, 0.25);
}

.feature-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
    line-height: 1.3;
}

.feature-item p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #10b981;
    font-weight: 600;
}

.feature-tag i {
    font-size: 0.45rem;
}

.hero-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
    animation: floatY 4s ease-in-out infinite;
}

.hero-dot-1 { top: 12%; left: 8%; animation-delay: 0s; }
.hero-dot-2 { top: 55%; right: 4%; animation-delay: 1.5s; }
.hero-dot-3 { bottom: 8%; left: 18%; animation-delay: 3s; }

@keyframes floatY {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-18px); opacity: 0.8; }
}

/* ========== 按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    box-shadow: var(--shadow-out-sm);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-in-sm);
    color: var(--primary);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: translate(-50%, -50%);
    animation: btnPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes btnPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.12); opacity: 0.3; }
}

/* ========== 核心优势 ========== */
.advantages {
    background: var(--bg-soft);
}

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

.advantage-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow-out);
    transition: var(--transition);
    position: relative;
}

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

.advantage-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.4);
}

.advantage-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text);
}

.advantage-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== 解决方案 ========== */
.solutions {
    background: var(--bg);
}

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

.solution-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px 32px;
    box-shadow: var(--shadow-out);
    transition: var(--transition);
    position: relative;
}

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

.solution-icon {
    width: 72px;
    height: 72px;
    background: var(--bg-card);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-in-sm);
    transition: var(--transition);
}

.solution-card:hover .solution-icon {
    transform: scale(1.05);
    color: var(--secondary);
}

.solution-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--text);
}

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

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.solution-link:hover {
    color: var(--secondary);
    gap: 12px;
}

/* ========== 产品服务 ========== */
.products {
    background: var(--bg-soft);
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    padding: 8px;
    background: var(--bg-card);
    border-radius: 50px;
    box-shadow: var(--shadow-in-sm);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.products-tab {
    padding: 10px 24px;
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    background: transparent;
}

.products-tab:hover {
    color: var(--text);
}

.products-tab.active {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

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

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-out);
    transition: var(--transition);
    color: var(--text);
    display: block;
}

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

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: var(--shadow-in-sm);
    transition: var(--transition);
}

.product-card:hover .product-icon {
    transform: scale(1.08);
    color: var(--secondary);
}

.product-icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.product-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text);
}

.product-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.product-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    color: var(--primary);
    font-size: .9rem;
    font-weight: 600;
}

.product-card:hover .product-more {
    gap: 10px;
}

/* ========== 合作伙伴 ========== */
.partners {
    background: var(--bg);
    padding: 60px 0;
}

.partners-title {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-item {
    min-width: 120px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-out-sm);
    opacity: 0.7;
}

.partner-item:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-out);
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition);
}

.partner-item:hover img {
    filter: grayscale(0%) opacity(1);
}

.partner-text-logo {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ========== 公告资讯 ========== */
.news {
    background: var(--bg-soft);
}

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

.news-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-out);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.news-date {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--text);
}

.news-card h3 a:hover {
    color: var(--primary);
}

.news-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.news-more:hover {
    color: var(--secondary);
    gap: 10px;
}

/* ========== 联系我们 ========== */
.contact {
    background: var(--bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: var(--shadow-out-sm);
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow-out);
    transform: translateX(4px);
}

.contact-item-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--text);
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-out);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-in-sm);
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: var(--shadow-in);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* ========== 页脚 ========== */
.footer {
    background: var(--bg-soft);
    padding: 64px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text);
    font-weight: 700;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

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

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

/* ========== 页面头部 ========== */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    background: var(--bg-soft);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    color: var(--text);
    letter-spacing: -0.02em;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
}

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

.breadcrumb span {
    color: var(--primary);
}

/* ========== 详情页 ========== */
.detail-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-out);
}

.detail-content h2 {
    font-size: 1.75rem;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--text);
}

.detail-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.detail-content ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.detail-content li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.detail-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.detail-side-card {
    position: sticky;
    top: 96px;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-out);
}

.detail-side-card h3 {
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text);
}

.detail-side-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.detail-side-card .btn + .btn {
    margin-top: 12px;
}

.product-detail-hero {
    text-align: left;
}

.product-hero-card {
    position: relative;
    display: flex;
    gap: 24px;
    align-items: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 34px;
    background: var(--bg-card);
    border-radius: 28px;
    box-shadow: var(--shadow-out);
}

.product-hero-icon {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 2.2rem;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.product-hero-icon img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow-out-sm);
}

.pagination a:hover {
    color: var(--primary);
    box-shadow: var(--shadow-in-sm);
}

.pagination .current {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pagination .dots {
    background: transparent;
    box-shadow: none;
}

/* ========== 404页面 ========== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg);
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.error-page h2 {
    font-size: 1.75rem;
    margin: 24px 0 16px;
    color: var(--text);
}

.error-page p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ========== 回到顶部按钮 ========== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-out);
    border: none;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-out-lg);
    color: var(--secondary);
}

/* ========== Toast 消息提示 ========== */
.toast-message {
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: var(--shadow-out);
    max-width: 400px;
    background: var(--bg-card);
}

.toast-message.message-success {
    color: #059669;
    border-left: 4px solid #10b981;
}

.toast-message.message-error {
    color: #dc2626;
    border-left: 4px solid #ef4444;
}

.toast-message.message-info {
    color: var(--primary-dark);
    border-left: 4px solid var(--primary);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        min-height: 400px;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-side-card {
        position: static;
    }

    .hero h1 {
        font-size: 3rem;
    }

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

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

@media (max-width: 768px) {
    /* ========== 移动端基础 ========== */
    .container {
        padding: 0 20px;
    }

    /* ========== 导航栏 ========== */
    .navbar {
        padding: 16px 0;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        border-radius: 0;
        box-shadow: none;
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 1000;
        padding: 60px 32px;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 16px 24px;
        text-align: left;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
    }

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

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

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

    /* ========== Hero 区域 ========== */
    .hero {
        padding-top: 90px;
        padding-bottom: 40px;
        min-height: auto;
    }

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

    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 32px;
    }

    /* 统计卡片 - 改为横向滚动 */
    .hero-stats {
        gap: 10px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -20px 32px;
        padding: 0 20px;
        -webkit-overflow-scrolling: touch;
    }

    .stat-item {
        min-width: 110px;
        padding: 16px 14px;
        flex-shrink: 0;
        border-radius: var(--radius-sm);
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.78rem;
    }

    /* 按钮 - 垂直排列全宽 */
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 15px 24px;
        font-size: 0.95rem;
    }

    .hero-visual {
        display: block;
        margin-top: 40px;
    }

    .feature-card {
        width: 100%;
        padding: 24px 20px;
        transform: rotate(0deg);
    }

    .feature-card-logo {
        margin-bottom: 20px;
    }

    .feature-card-logo img {
        max-height: 36px;
    }

    .feature-grid {
        gap: 8px;
    }

    .feature-item {
        padding: 12px 10px;
        border-radius: 12px;
    }

    .feature-icon {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
        margin-bottom: 6px;
        border-radius: 8px;
    }

    .feature-item h4 {
        font-size: 0.8rem;
        margin-bottom: 1px;
    }

    .feature-item p {
        font-size: 0.72rem;
        margin-bottom: 5px;
    }

    .feature-tag {
        font-size: 0.65rem;
        gap: 3px;
    }

    /* ========== 区块通用 ========== */
    .section {
        padding: 48px 0;
    }

    .section-title {
        margin-bottom: 32px;
    }

    .section-title h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .section-title p {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .section-kicker {
        font-size: 0.7rem;
        padding: 5px 12px;
        margin-bottom: 12px;
    }

    /* ========== 卡片网格 ========== */
    .advantages-grid,
    .solutions-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .advantage-card,
    .solution-card,
    .product-card,
    .news-card {
        padding: 24px 20px;
    }

    .advantage-icon,
    .solution-icon {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .advantage-card h3,
    .solution-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .advantage-card p,
    .solution-card p {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .product-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .product-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .product-card p {
        font-size: 0.85rem;
    }

    /* ========== 产品 Tab 栏 ========== */
    .products-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        width: 100%;
        border-radius: var(--radius-sm);
        padding: 6px;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 28px;
    }

    .products-tab {
        white-space: nowrap;
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    /* ========== 新闻列表 ========== */
    .news-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-card {
        padding: 20px;
    }

    .news-card h3 {
        font-size: 1rem;
    }

    .news-excerpt {
        font-size: 0.85rem;
    }

    /* ========== 合作伙伴 ========== */
    .partners-grid {
        gap: 12px;
    }

    .partner-item {
        min-width: 90px;
        height: 50px;
        padding: 8px 16px;
    }

    /* ========== 联系区域 ========== */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-info {
        gap: 12px;
    }

    .contact-item {
        padding: 16px;
        gap: 14px;
    }

    .contact-item-icon {
        width: 44px;
        height: 44px;
        font-size: 1.05rem;
        border-radius: 12px;
    }

    .contact-item h4 {
        font-size: 0.92rem;
    }

    .contact-item p {
        font-size: 0.85rem;
    }

    .contact-form {
        padding: 24px 20px;
        border-radius: var(--radius);
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

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

    /* ========== 页脚 ========== */
    .footer {
        padding: 40px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 32px;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-links h4 {
        font-size: 0.9rem;
        margin-bottom: 14px;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    /* ========== 详情页 ========== */
    .detail-content {
        padding: 20px;
        border-radius: var(--radius);
    }

    .detail-content h2 {
        font-size: 1.4rem;
        margin-bottom: 16px;
    }

    .detail-side-card {
        padding: 20px;
    }

    .product-hero-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 16px;
    }

    .product-hero-icon {
        width: 72px;
        height: 72px;
        font-size: 1.6rem;
        border-radius: 20px;
    }

    /* ========== 页面头部 ========== */
    .page-header {
        padding: 110px 0 50px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    /* ========== 回到顶部 ========== */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 0.95rem;
    }

    /* ========== Toast 提示 ========== */
    .toast-message {
        top: 80px;
        right: 16px;
        left: 16px;
        max-width: none;
        font-size: 0.9rem;
        padding: 14px 18px;
    }

    /* ========== 按钮通用 ========== */
    .btn {
        padding: 13px 24px;
        font-size: 0.92rem;
    }

    /* ========== 404 页面 ========== */
    .error-code {
        font-size: 6rem;
    }

    .error-page h2 {
        font-size: 1.4rem;
    }
}

/* ========== 超小屏幕 (<=480px) ========== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .stat-item {
        min-width: 95px;
        padding: 12px 10px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .advantage-card,
    .solution-card,
    .product-card {
        padding: 20px 16px;
    }

    .container {
        padding: 0 16px;
    }

    .products-tabs {
        padding: 5px;
    }

    .products-tab {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
}

/* ========== 工具类 ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ========== 消息提示 ========== */
.message {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    background: var(--bg-card);
    box-shadow: var(--shadow-out-sm);
}

.message-success {
    color: #059669;
    border-left: 4px solid #10b981;
}

.message-error {
    color: #dc2626;
    border-left: 4px solid #ef4444;
}

.message-info {
    color: var(--primary-dark);
    border-left: 4px solid var(--primary);
}

/* ========== 加载动画 ========== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--bg);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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