/* ========================================
   财税东邪西毒 - 网站样式 v2
   现代简约商务 · 精致蓝白主色调
   ======================================== */

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

:root {
    /* 主色调 - 更精致的蓝 */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --primary-lighter: #dbeafe;
    --primary-bg: #eff6ff;
    --accent: #0ea5e9;

    /* 辅助色 */
    --green: #059669;
    --green-light: #d1fae5;
    --orange: #ea580c;
    --orange-light: #fed7aa;
    --purple: #7c3aed;
    --purple-light: #ede9fe;
    --teal: #0d9488;
    --teal-light: #ccfbf1;
    --amber: #d97706;
    --amber-light: #fef3c7;

    /* 中性色 - 更柔和的灰 */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    --text-light: #cbd5e1;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --bg-darker: #0f172a;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --border-medium: #cbd5e1;

    /* 阴影 - 更分层 */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    --shadow-blue: 0 8px 25px -5px rgba(37, 99, 235, 0.3);
    --shadow-blue-lg: 0 15px 40px -5px rgba(37, 99, 235, 0.35);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.12);

    /* 过渡 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-light: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --gradient-accent: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica,
        Arial, sans-serif;
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

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

ul {
    list-style: none;
}

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

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

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

.section:nth-child(even) {
    background: var(--bg-light);
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--primary);
    background: var(--primary-lighter);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-tag.light {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

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

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-blue);
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue-lg);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary > * {
    position: relative;
    z-index: 1;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.logo-icon {
    display: flex;
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.2));
}

.logo-icon.small {
    width: 32px;
    height: 32px;
}

.logo-text {
    color: var(--text-primary);
}

.logo-text .accent {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.nav-link.active {
    color: var(--primary);
    background: var(--primary-lighter);
    font-weight: 600;
}

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

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

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

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

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

/* ===== Hero 区域 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, #eff6ff 0%, #f8fafc 40%, #ffffff 100%);
    padding-top: 70px;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(14, 165, 233, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.hero-bg-pattern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

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

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.12;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    display: block;
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 6px;
}

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

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 44px;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 34px;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.5px;
}

.stat-unit {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.stat-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, transparent, var(--border), transparent);
}

/* Hero 视觉区域 */
.hero-visual {
    position: relative;
    height: 460px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.hero-main-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 360px;
}

.hero-main-visual svg {
    width: 100%;
    height: 100%;
    animation: rotate 40s linear infinite;
}

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

.hero-card-float {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    z-index: 2;
    backdrop-filter: blur(10px);
}

.hero-card-1 {
    top: 30px;
    left: -10px;
    animation: float 4s ease-in-out infinite;
}

.hero-card-2 {
    bottom: 90px;
    right: -10px;
    animation: float 4s ease-in-out infinite 1s;
}

.hero-card-3 {
    bottom: 10px;
    left: 40px;
    animation: float 4s ease-in-out infinite 2s;
}

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

.float-card-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-card-icon.blue {
    background: var(--primary-lighter);
    color: var(--primary);
}

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

.float-card-icon.orange {
    background: var(--orange-light);
    color: var(--orange);
}

.float-card-text {
    display: flex;
    flex-direction: column;
}

.float-card-text strong {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 700;
}

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

.hero-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-tertiary);
    font-size: 12px;
    animation: bounce 2s infinite;
    letter-spacing: 1px;
}

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

/* ===== 关于我 ===== */
.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 56px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: "";
    position: absolute;
    top: -12px;
    left: -12px;
    right: 12px;
    bottom: 12px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    opacity: 0.08;
    z-index: 0;
}

.about-avatar {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    position: relative;
    z-index: 1;
}

.about-avatar svg {
    width: 100%;
    height: 100%;
}

.about-badge-1,
.about-badge-2 {
    position: absolute;
    background: white;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.about-badge-1 {
    top: 24px;
    right: -16px;
}

.about-badge-2 {
    bottom: 30px;
    right: -16px;
}

.about-badge-3 {
    top: 50%;
    left: -16px;
    transform: translateY(-50%);
}

.badge-check {
    width: 22px;
    height: 22px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.about-content {
    padding-left: 8px;
}

.about-name {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.3px;
}

.about-name .about-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-lighter);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.about-bio {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 14px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--primary-bg);
    border-color: var(--primary-lighter);
    transform: translateY(-2px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-lighter);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== 服务项目 ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-slow);
}

.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    transform: translate(30%, -30%);
    transition: var(--transition-slow);
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
    transform: translate(10%, -10%);
}

.service-card-wide {
    grid-column: span 3;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: scale(1.08);
}

.service-icon-blue {
    background: var(--primary-lighter);
    color: var(--primary);
}

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

.service-icon-orange {
    background: var(--orange-light);
    color: var(--orange);
}

.service-icon-purple {
    background: var(--purple-light);
    color: var(--purple);
}

.service-icon-teal {
    background: var(--teal-light);
    color: var(--teal);
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.service-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.service-list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 22px;
    position: relative;
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: var(--primary-lighter);
    border-radius: 50%;
    transition: var(--transition);
}

.service-list li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 4px;
    height: 7px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}

.service-card:hover .service-list li::before {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.service-card-wide .service-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px 24px;
}

/* ===== 财税文章 ===== */
.articles-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

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

.filter-btn.active {
    color: white;
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: var(--shadow-blue);
}

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

.article-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.article-card.hidden {
    display: none;
}

.article-card.article-extra {
    display: none;
}

.article-card.article-extra.show {
    display: flex;
    animation: fadeInUp 0.5s ease-out;
}

#loadMoreBtn {
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 36px;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    border-radius: var(--radius-full);
    transition: var(--transition);
    letter-spacing: 0.5px;
}

#loadMoreBtn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

#loadMoreBtn:active {
    transform: translateY(0);
}

.article-image {
    height: 160px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.article-image-1 {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
}

.article-image-2 {
    background: linear-gradient(135deg, #059669 0%, #064e3b 100%);
}

.article-image-3 {
    background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
}

.article-image-4 {
    background: linear-gradient(135deg, #ea580c 0%, #7c2d12 100%);
}

.article-image-5 {
    background: linear-gradient(135deg, #0d9488 0%, #134e4a 100%);
}

.article-image-6 {
    background: linear-gradient(135deg, #dc2626 0%, #7f1d1d 100%);
}

.article-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 40%);
}

.article-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.article-category {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
}

.article-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

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

.article-excerpt {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

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

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

.article-read {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.article-card:hover .article-read {
    gap: 8px;
}

.articles-more {
    text-align: center;
    margin-top: 48px;
}

/* ===== 公众号关注 ===== */
.follow {
    background: var(--bg-light);
}

.follow-card {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #1e3a8a 100%);
    border-radius: var(--radius-2xl);
    padding: 56px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.follow-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.follow-card::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

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

.follow-title {
    font-size: 30px;
    font-weight: 800;
    color: white;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.follow-desc {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 28px;
}

.follow-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.follow-feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

.follow-feature-icon {
    font-size: 22px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.follow-feature div {
    display: flex;
    flex-direction: column;
}

.follow-feature strong {
    font-size: 15px;
    color: white;
    font-weight: 600;
}

.follow-feature span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.follow-search-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.follow-search-hint span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.follow-search-hint strong {
    font-size: 16px;
    color: white;
}

.follow-qr {
    position: relative;
    z-index: 1;
}

.qr-container {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-2xl);
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qr-placeholder svg {
    width: 100%;
    height: 100%;
}

.qr-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 14px;
}

.qr-sublabel {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 2px;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--bg-darker);
    color: var(--text-tertiary);
    padding: 56px 0 24px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), transparent);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

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

.footer-links li {
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

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

.footer-links a {
    color: var(--text-tertiary);
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-qr-row {
    display: flex;
    gap: 16px;
    margin-top: 14px;
}

.footer-qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer-qr-img {
    width: 76px;
    height: 76px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: white;
    padding: 4px;
}

.footer-qr-item span {
    font-size: 12px;
    color: var(--text-tertiary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-tertiary);
}

/* ===== 回到顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-blue);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-bounce);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-blue-lg);
}

/* ===== 动画 ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

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

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        height: 340px;
    }

    .hero-main-visual {
        width: 280px;
        height: 280px;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 260px;
        margin: 0 auto;
    }

    .about-badge-1,
    .about-badge-2 {
        right: -10px;
    }

    .about-badge-3 {
        left: -10px;
    }

    .about-content {
        padding-left: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-wide {
        grid-column: span 2;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .follow-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 44px 32px;
    }

    .follow-features {
        align-items: center;
    }

    .follow-search-hint {
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 62px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-stats {
        gap: 18px;
    }

    .stat-num {
        font-size: 26px;
    }

    .stat-divider {
        height: 30px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .service-card-wide {
        grid-column: span 1;
    }

    .service-card-wide .service-list {
        grid-template-columns: 1fr;
    }

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

    .follow-card {
        padding: 32px 24px;
    }

    .follow-title {
        font-size: 22px;
    }

    .qr-placeholder {
        width: 160px;
        height: 160px;
    }

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

    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-card-float {
        display: none;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .articles-filter {
        gap: 6px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 13px;
    }

    .about-name {
        font-size: 22px;
    }
}
