/* ============================================
   模板1: 清爽科技风 (蓝白科技)
   配色: 白 + 蓝 + 青
   结构: 固定毛玻璃导航 | 4列网格页脚
   设计特点: 网格背景、粒子动画、渐变文字、毛玻璃卡片、蓝色辉光悬停
   ============================================ */
body.tmpl-default {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: rgba(255,255,255,0.75);
    --bg-card-hover: rgba(255,255,255,0.92);
    --bg-input: #f8fafc;
    --gradient-main: linear-gradient(135deg, #f0f7ff, #e8f4f8);
    --gradient-hero: linear-gradient(135deg, #f0f7ff 0%, #e0f0ff 50%, #e8f4f8 100%);
    --color-primary: #2563eb;
    --color-primary-light: #3b82f6;
    --color-primary-dark: #1d4ed8;
    --color-accent: #0891b2;
    --color-accent-light: #06b6d4;
    --color-cyan: #0891b2;
    --color-cyan-light: #06b6d4;
    --color-gold: #d97706;
    --color-gold-light: #f59e0b;
    --color-green: #059669;
    --color-green-light: #10b981;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-white: #ffffff;
    --text-dark: #0f172a;
    --border-color: rgba(37, 99, 235, 0.12);
    --border-glow: rgba(37, 99, 235, 0.25);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 24px rgba(37, 99, 235, 0.15);
    --card-glow-hover: 0 8px 40px rgba(37, 99, 235, 0.2);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
/* ===== 导航 Default ===== */
.navbar-default {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 12px rgba(37,99,235,0.06);
}
.navbar-default .brand-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #2563eb, #0891b2);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 900; color: white;
    box-shadow: 0 2px 8px rgba(37,99,235,0.2);
}
.navbar-default .navbar-brand span:last-child {
    background: linear-gradient(90deg, #3b82f6, #0891b2);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    font-weight: 700;
}
.navbar-default .navbar-menu a {
    position: relative;
    transition: color 0.3s ease;
}
.navbar-default .navbar-menu a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) scaleX(0);
    width: 60%; height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 1px; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.navbar-default .navbar-menu a:hover::after,
.navbar-default .navbar-menu a.active::after { transform: translateX(-50%) scaleX(1); }
.navbar-default .navbar-menu a:hover,
.navbar-default .navbar-menu a.active {
    color: var(--color-primary);
    background: rgba(37,99,235,0.06);
}
/* ===== 页脚 Default ===== */
.footer-default {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
    position: relative;
}
.footer-default::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-accent), transparent);
}
.footer-default .footer-grid-4col {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    padding-bottom: 40px; border-bottom: 1px solid var(--border-color);
}
.footer-default .footer-col h4 {
    font-size: 1rem; margin-bottom: 16px; color: var(--text-primary);
    position: relative; padding-left: 12px;
}
.footer-default .footer-col h4::before {
    content: '';
    position: absolute; left: 0; top: 4px; bottom: 4px;
    width: 3px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}
.footer-default .footer-col ul li { margin-bottom: 10px; }
.footer-default .footer-col ul li a { font-size: 0.9rem; color: var(--text-secondary); transition: all 0.3s ease; }
.footer-default .footer-col ul li a:hover { color: var(--color-primary); padding-left: 6px; }
.footer-default .footer-contact li { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
.footer-default .footer-bottom { padding: 24px 0; text-align: center; }
.footer-default .footer-bottom p { font-size: 0.85rem; color: rgba(148,163,184,0.75); margin-bottom: 0; }

/* ===== Hero 区域 ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    background: var(--gradient-hero);
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(6,182,212,0.05) 0%, transparent 50%);
    pointer-events: none;
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.hero h1 .text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent-light));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
    line-height: 1.7;
    margin-bottom: 32px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--color-primary);
    margin-bottom: 24px;
}
.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: hero-badge-pulse 2s ease-in-out infinite;
}
@keyframes hero-badge-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-actions .btn-primary {
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}
.hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,99,235,0.35);
}
/* ===== 网格背景 ===== */
.hero-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}
/* ===== 粒子动画 ===== */
.hero-particles {
    position: absolute; inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.hero-particle {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 8s ease-in-out infinite;
}
.hero-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; width: 5px; height: 5px; background: var(--color-accent); }
.hero-particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 1.2s; width: 3px; height: 3px; }
.hero-particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 2.5s; width: 6px; height: 6px; background: var(--color-accent-light); }
.hero-particle:nth-child(4) { left: 65%; top: 70%; animation-delay: 3.8s; width: 4px; height: 4px; }
.hero-particle:nth-child(5) { left: 80%; top: 15%; animation-delay: 0.6s; width: 5px; height: 5px; background: var(--color-accent); }
.hero-particle:nth-child(6) { left: 90%; top: 55%; animation-delay: 4.2s; width: 3px; height: 3px; }
.hero-particle:nth-child(7) { left: 35%; top: 85%; animation-delay: 1.8s; width: 4px; height: 4px; }
.hero-particle:nth-child(8) { left: 55%; top: 10%; animation-delay: 3.0s; width: 5px; height: 5px; background: var(--color-accent-light); }
@keyframes particle-float {
    0% { opacity: 0; transform: translateY(0) scale(0.5); }
    20% { opacity: 0.7; }
    60% { opacity: 0.5; transform: translateY(-80px) scale(1.2); }
    100% { opacity: 0; transform: translateY(-140px) scale(0.3); }
}

/* ===== 按钮 ===== */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37,99,235,0.2);
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.3);
}
.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-outline:hover {
    background: rgba(37,99,235,0.06);
    color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    box-shadow: 0 0 20px rgba(37,99,235,0.1);
}

/* ===== 服务卡片 ===== */
.service-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover::before {
    opacity: 1;
}
.service-card .service-icon {
    width: 60px; height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.08));
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: var(--color-primary);
    transition: all 0.4s ease;
    border: 1px solid rgba(37,99,235,0.08);
}
.service-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-glow-hover);
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}
.service-card:hover h3 {
    color: var(--color-primary);
}

/* ===== 区块标题 ===== */
.section-header h2 {
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
    width: 50px; height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

/* ===== 统计数据 ===== */
.statistics {
    padding: 60px 0;
    background: var(--bg-secondary);
}
.stat-item .stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent-light));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

/* ===== FAQ ===== */
.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.faq-item:hover {
    border-color: var(--border-glow);
    box-shadow: 0 0 20px rgba(37,99,235,0.08);
    background: rgba(255,255,255,0.88);
}

/* ===== 表单控件 ===== */
.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.92rem;
    background: var(--bg-input);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none;
}
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1), 0 0 16px rgba(37,99,235,0.06);
    background: white;
}

/* ===== 面包屑 & 新闻分类 ===== */
.breadcrumb-wrapper {
    padding: 16px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}
.breadcrumb-wrapper .breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.breadcrumb-wrapper .breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb-wrapper .breadcrumb a:hover {
    color: var(--color-accent);
}
.news-categories {
    display: flex; gap: 8px; flex-wrap: wrap;
    padding: 16px 0;
}
.news-categories .category-tag {
    padding: 6px 18px;
    font-size: 0.85rem;
    border-radius: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}
.news-categories .category-tag:hover,
.news-categories .category-tag.active {
    background: rgba(37,99,235,0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ===== 分页 ===== */
.pagination {
    display: flex; justify-content: center; gap: 6px;
    padding: 32px 0;
}
.pagination .page-item {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    text-decoration: none;
}
.pagination .page-item:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 12px rgba(37,99,235,0.08);
}
.pagination .page-item.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(37,99,235,0.2);
}

/* ===== 联系我们 ===== */
.contact-form-wrapper {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
}
.contact-form-wrapper:hover {
    box-shadow: var(--shadow-lg);
}
.contact-info-wrapper {
    padding: 40px;
    background: linear-gradient(135deg, rgba(37,99,235,0.03), rgba(6,182,212,0.03));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}
.contact-info-wrapper .contact-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}
.contact-info-wrapper .contact-item:last-child {
    border-bottom: none;
}
.contact-info-wrapper .contact-item .contact-icon {
    width: 40px; height: 40px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(6,182,212,0.06));
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* ===== 滚动条 ===== */
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-accent));
    border-radius: 4px;
    border: 2px solid var(--bg-secondary);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent-light));
}

/* ===== 响应式微调 ===== */
@media (max-width: 768px) {
    .hero { padding: 60px 0 50px; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn-primary,
    .btn-primary, .btn-outline {
        width: 100%; justify-content: center;
    }
    .service-card { padding: 24px 16px; }
    .contact-form-wrapper,
    .contact-info-wrapper { padding: 24px; }
    .statistics .stat-item .stat-number { font-size: 1.8rem; }
}