/* ========================================
   蓝白清新科技信息服务平台 - style.css
   Template 009
======================================== */

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

:root {
    --primary: #1e6fff;
    --primary-dark: #1557cc;
    --primary-light: #e8f1ff;
    --success: #10b981;
    --success-light: #e6f9f3;
    --warning: #f59e0b;
    --warning-light: #fff8eb;
    --danger: #ef4444;
    --purple: #8b5cf6;
    --purple-light: #f3efff;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --bg: #ffffff;
    --bg-gray: #f8fafc;
    --bg-blue: #f0f6ff;
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 40px rgba(30,111,255,0.1);
    --transition: all 0.25s ease;
    --container: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

ul, ol {
    list-style: none;
}

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

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

/* ========================================
   顶部提示条
======================================== */
.top-bar {
    background: linear-gradient(90deg, #1e6fff, #3b85ff);
    color: white;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.safety-tip {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-weight: 500;
}

/* ========================================
   导航栏
======================================== */
.site-header {
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), #4d8fff);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.brand-slogan {
    font-size: 12px;
    color: var(--text-tertiary);
}

.main-nav ul {
    display: flex;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

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

/* ========================================
   按钮
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30,111,255,0.3);
}

.btn-light {
    background: var(--bg);
    color: var(--primary);
    border-color: var(--border);
}

.btn-light:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-xs {
    padding: 6px 12px;
    font-size: 12px;
}

.btn.full,
.btn.full-width {
    width: 100%;
}

/* ========================================
   Hero 区域
======================================== */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-blue) 0%, var(--bg) 100%);
    padding: 80px 0 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #bfdbfe;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #dbeafe;
    bottom: -50px;
    left: -50px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #e0e7ff;
    top: 50%;
    left: 40%;
}

.hero-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: white;
    border: 1px solid var(--primary-light);
    border-radius: 100px;
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 24px;
}

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

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

.hero-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.highlight {
    color: var(--primary);
    position: relative;
}

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

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
}

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

.hero-visual {
    position: relative;
}

.hero-banner {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-banner img {
    width: 100%;
}

.float-card {
    position: absolute;
    background: white;
    border-radius: var(--radius);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20px;
    left: -20px;
}

.card-2 {
    bottom: 30px;
    right: -20px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-icon.green {
    background: var(--success-light);
    color: var(--success);
}

.float-title {
    font-size: 14px;
    font-weight: 600;
}

.float-desc {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ========================================
   快速入口
======================================== */
.quick-access {
    margin-top: -50px;
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.quick-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-icon.windows { background: #e8f1ff; color: #0078d4; }
.quick-icon.mac { background: #f0f0f0; color: #333; }
.quick-icon.android { background: #e6f9f3; color: #3ddc84; }
.quick-icon.ios { background: #f5f5f7; color: #000; }

.quick-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.quick-info p {
    font-size: 12px;
    color: var(--text-tertiary);
}

.quick-arrow {
    margin-left: auto;
    color: var(--text-tertiary);
    transition: var(--transition);
    flex-shrink: 0;
}

.quick-card:hover .quick-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* ========================================
   通用区块头部
======================================== */
.section-header {
    margin-bottom: 48px;
}

.section-header.center {
    text-align: center;
}

.section-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-badge.blue { background: var(--primary-light); color: var(--primary); }
.section-badge.green { background: var(--success-light); color: var(--success); }
.section-badge.orange { background: var(--warning-light); color: var(--warning); }
.section-badge.purple { background: var(--purple-light); color: var(--purple); }

.section-header h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

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

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

/* ========================================
   平台分类
======================================== */
.platforms-section {
    padding: 80px 0;
}

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

.platform-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    position: relative;
}

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

.platform-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, #fafcff 0%, white 100%);
}

.platform-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.platform-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.platform-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: white;
}

.icon-okx { background: linear-gradient(135deg, #000, #333); }
.icon-binance { background: linear-gradient(135deg, #f3ba2f, #f0b90b); color: #000; }
.icon-bitget { background: linear-gradient(135deg, #00f0ff, #00b4d8); color: #000; }
.icon-bybit { background: linear-gradient(135deg, #f7a600, #ffb700); color: #000; }
.icon-kraken { background: linear-gradient(135deg, #5841d8, #7c3aed); }
.icon-more { background: var(--bg-gray); color: var(--text-tertiary); }

.platform-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px;
}

.platform-info p {
    font-size: 13px;
    color: var(--text-tertiary);
}

.platform-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.ptag {
    padding: 3px 10px;
    background: var(--bg-gray);
    font-size: 12px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}

.platform-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.platform-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.platform-btns {
    display: flex;
    gap: 8px;
}

.platform-btns.full {
    width: 100%;
}

.platform-btns.full .btn {
    flex: 1;
}

.device-icons {
    display: flex;
    gap: 8px;
    font-size: 16px;
    color: var(--text-tertiary);
}

.device-icons span {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
}

.more-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-style: dashed;
    background: var(--bg-gray);
}

/* ========================================
   下载中心
======================================== */
.downloads-section {
    padding: 80px 0;
    background: var(--bg-gray);
}

.device-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.device-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border: 2px solid transparent;
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: left;
}

.device-btn:hover {
    border-color: var(--primary-light);
}

.device-btn.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.device-btn-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-gray);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.device-btn.active .device-btn-icon {
    background: var(--primary);
    color: white;
}

.device-btn-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.device-btn-desc {
    font-size: 12px;
    color: var(--text-tertiary);
}

.device-panels {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.device-panel {
    display: none;
}

.device-panel.active {
    display: block;
}

.panel-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.panel-header h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.panel-header p {
    font-size: 15px;
    color: var(--text-secondary);
}

.dl-table {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.dl-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: center;
}

.dl-row.dl-head {
    background: var(--bg-gray);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
}

.dl-col {
    padding: 16px 20px;
    font-size: 14px;
}

.dl-row:not(:last-child) .dl-col {
    border-bottom: 1px solid var(--border-light);
}

.dl-name {
    font-weight: 500;
}

.source-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
}

.source-tag.official {
    background: var(--primary-light);
    color: var(--primary);
}

.source-tag.play {
    background: var(--success-light);
    color: var(--success);
}

.source-tag.appstore {
    background: var(--bg-gray);
    color: var(--text-secondary);
}

.panel-warning {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: #fffbeb;
    border-radius: var(--radius);
    border-left: 4px solid var(--warning);
    font-size: 14px;
    color: #92400e;
    line-height: 1.6;
}

.panel-warning svg {
    flex-shrink: 0;
    color: var(--warning);
}

.panel-warning strong {
    color: #78350f;
}

.web-tips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.web-tip {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-gray);
    border-radius: var(--radius);
}

.web-tip-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.web-tip h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.web-tip p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   平台功能
======================================== */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.feature-card {
    padding: 28px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.feature-link:hover {
    color: var(--primary-dark);
}

.risk-notice {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius);
    font-size: 14px;
    color: #991b1b;
    line-height: 1.7;
}

.risk-icon {
    flex-shrink: 0;
    color: var(--danger);
}

.risk-notice strong {
    color: #7f1d1d;
}

/* ========================================
   使用流程
======================================== */
.guide-section {
    padding: 80px 0;
    background: var(--bg-blue);
}

.steps-wrapper {
    position: relative;
}

.steps-line {
    position: absolute;
    top: 44px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
    z-index: 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.step-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #4d8fff);
    color: white;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: left;
}

.step-list {
    text-align: left;
}

.step-list li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.step-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
}

/* ========================================
   安全说明
======================================== */
.safety-section {
    padding: 80px 0;
}

.safety-card {
    background: linear-gradient(135deg, #1e6fff 0%, #3b85ff 100%);
    color: white;
    border-radius: var(--radius-xl);
    padding: 48px;
}

.safety-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.safety-icon-lg {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.safety-head h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.safety-head p {
    font-size: 15px;
    opacity: 0.9;
}

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

.safety-item {
    display: flex;
    gap: 14px;
}

.safety-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(16,185,129,0.2);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.safety-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.safety-item p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.6;
}

/* ========================================
   资讯列表 - 硬性规范
======================================== */
.news-section {
    padding: 80px 0;
    background: var(--bg-gray);
}

ul.article-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

ul.article-cards > li.article-card {
    min-width: 0;
    width: auto;
    max-width: none;
    margin: 0;
    float: none;
    box-sizing: border-box;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

ul.article-cards > li.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.article-card .card-thumb {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.article-card .card-thumb img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .card-thumb img {
    transform: scale(1.05);
}

.article-card .card-body {
    padding: 20px;
}

.article-card .card-title {
    overflow-wrap: anywhere;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .card-title a:hover {
    color: var(--primary);
}

.article-card .card-date {
    display: block;
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.article-card .card-summary {
    overflow-wrap: anywhere;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   FAQ
======================================== */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-q:hover {
    color: var(--primary);
}

.faq-q svg {
    flex-shrink: 0;
    color: var(--text-tertiary);
    transition: transform 0.25s ease;
    margin-top: 2px;
}

.faq-item.active .faq-q svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-a {
    max-height: 300px;
}

.faq-a p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   关于我们
======================================== */
.about-section {
    padding: 80px 0;
    background: var(--bg-gray);
}

.about-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    margin-bottom: 40px;
}

.about-intro h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 12px 0 16px;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.about-svc {
    padding: 24px;
    background: white;
    border-radius: var(--radius);
    transition: var(--transition);
}

.about-svc:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.svc-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.about-svc h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.about-svc p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-statement {
    padding: 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-statement strong {
    color: var(--text-primary);
}

/* ========================================
   联系方式
======================================== */
.contact-section {
    padding: 80px 0;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.contact-left {
    padding: 48px;
    background: linear-gradient(135deg, #f0f6ff 0%, #f8fafc 100%);
}

.contact-left h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 12px 0 16px;
}

.contact-left > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

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

.contact-method-item {
    display: flex;
    gap: 16px;
}

.cm-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.cm-phone {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 4px;
}

.contact-method-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

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

.contact-right {
    padding: 48px;
}

.contact-form-box h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group.half {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    background: white;
    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 var(--primary-light);
}

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

.form-notice {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.6;
    text-align: center;
}

/* ========================================
   页脚
======================================== */
.site-footer {
    background: #0f172a;
    color: white;
}

.footer-main {
    padding: 64px 0 48px;
}

.footer-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand .brand-logo {
    background: var(--primary);
}

.footer-brand .brand-name {
    color: white;
    font-size: 22px;
}

.footer-desc {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 24px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #94a3b8;
}

.contact-item a {
    color: white;
    font-weight: 600;
}

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

.footer-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

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

.footer-links a {
    font-size: 14px;
    color: #94a3b8;
}

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

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid #1e293b;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: #64748b;
}

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

.footer-copyright p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.8;
}

/* ========================================
   文章详情页
======================================== */
.article-page {
    padding: 40px 0 80px;
    background: var(--bg-gray);
}

.article-breadcrumb-wrapper {
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-tertiary);
}

.article-breadcrumb-wrapper a {
    color: var(--text-secondary);
}

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

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.article-main {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-tertiary);
    font-size: 14px;
    margin-bottom: 20px;
}

.meta-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-summary-box {
    padding: 20px 24px;
    background: var(--bg-blue);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    margin-bottom: 28px;
}

.article-summary-box p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.article-cover-wrapper {
    margin-bottom: 32px;
    border-radius: var(--radius);
    overflow: hidden;
}

.article-cover-wrapper img {
    width: 100%;
}

.article-body-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-primary);
}

.article-body-content h2,
.article-body-content h3,
.article-body-content h4 {
    margin-top: 36px;
    margin-bottom: 16px;
    font-weight: 600;
}

.article-body-content h2 { font-size: 24px; }
.article-body-content h3 { font-size: 20px; }
.article-body-content h4 { font-size: 17px; }

.article-body-content p {
    margin-bottom: 20px;
}

.article-body-content ul,
.article-body-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-body-content li {
    margin-bottom: 8px;
}

.article-body-content img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 24px 0;
}

.article-body-content blockquote {
    padding: 20px 24px;
    background: var(--bg-gray);
    border-left: 4px solid var(--primary);
    margin: 24px 0;
    border-radius: var(--radius);
    color: var(--text-secondary);
}

.article-share-tip {
    display: flex;
    gap: 12px;
    margin-top: 40px;
    padding: 20px;
    background: var(--warning-light);
    border-radius: var(--radius);
    font-size: 14px;
    color: #92400e;
    line-height: 1.6;
}

.tip-icon {
    flex-shrink: 0;
    color: var(--warning);
}

.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.widget-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.widget-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}

.widget-links a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.cta-widget {
    background: linear-gradient(135deg, var(--primary), #4d8fff);
    color: white;
}

.cta-widget h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cta-widget p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cta-widget .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-widget .btn-primary:hover {
    background: var(--bg);
    color: var(--primary-dark);
}

.safety-widget-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--success);
}

.safety-widget-head h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.safety-widget ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.safety-widget li {
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.safety-widget li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.article-bottom-cta {
    margin-top: 32px;
    padding: 32px;
    background: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow-sm);
}

.abcta-left h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.abcta-left p {
    font-size: 14px;
    color: var(--text-secondary);
}

.abcta-right {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ========================================
   响应式
======================================== */
@media (max-width: 1024px) {
    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platforms-grid,
    .features-grid,
    .safety-grid,
    .about-services {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .device-nav {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-line {
        display: none;
    }
    
    .faq-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .contact-card {
        grid-template-columns: 1fr;
    }
    
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .top-bar-left .safety-tip span:not(svg) {
        display: none;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 110px;
        left: 0;
        right: 0;
        background: white;
        padding: 16px;
        box-shadow: var(--shadow);
        z-index: 99;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav a {
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding: 40px 0 80px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-value {
        font-size: 22px;
    }
    
    .float-card {
        display: none;
    }
    
    .quick-access {
        margin-top: -30px;
    }
    
    .quick-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .platforms-section,
    .downloads-section,
    .features-section,
    .guide-section,
    .safety-section,
    .news-section,
    .faq-section,
    .about-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .platforms-grid,
    .features-grid,
    .steps-grid,
    .safety-grid,
    .about-services,
    .web-tips {
        grid-template-columns: 1fr;
    }
    
    .device-nav {
        grid-template-columns: 1fr;
    }
    
    .device-panels {
        padding: 20px;
    }
    
    .dl-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .dl-row.dl-head {
        display: none;
    }
    
    .dl-col {
        padding: 8px 16px;
    }
    
    .dl-col::before {
        content: attr(data-label);
        font-weight: 600;
        display: inline-block;
        width: 80px;
        font-size: 13px;
        color: var(--text-tertiary);
    }
    
    .dl-row:not(:last-child) {
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border-light);
    }
    
    .safety-card,
    .contact-left,
    .contact-right,
    .article-main {
        padding: 24px;
    }
    
    .contact-card {
        border-radius: var(--radius-lg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-bottom-cta {
        flex-direction: column;
        text-align: center;
    }
    
    .abcta-right {
        width: 100%;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .float-card {
        animation: none;
    }
    
    .tag-dot {
        animation: none;
    }
}
