/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3f8cff;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #64748b;
    --accent-color: #5d87ff;
    --accent-soft: #7ba3ff;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-light: #64748b;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #1e293b;
    
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    --shadow-lg: 0 8px 24px rgba(63, 140, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 12px 40px rgba(63, 140, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    --shadow-card-hover: 0 12px 32px rgba(63, 140, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Source Code Pro", monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* 分销员小程序展示：居中，宽度约为视口 60% */
.container.container--wide {
    width: 60%;
    max-width: 60vw;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container.container--wide {
        width: 92%;
        max-width: 92vw;
    }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--bg-secondary);
}

.nav-btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(63, 140, 255, 0.2);
}

.nav-btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(63, 140, 255, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域 */
.hero {
    padding: 70px 0 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: var(--text-primary);
    position: relative;
    overflow: visible;
    margin-top: 70px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="rgba(63,140,255,0.03)"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: visible;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-image {
        order: -1;
        padding: 15px;
    }
    
    .hero-image-wrapper {
        height: auto;
    }
    
    .dashboard-img {
        max-height: 600px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .stat-item {
        text-align: center;
        min-width: 160px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-number-wrapper {
        justify-content: center;
    }
    
    .stat-desc {
        margin: 0 auto;
    }
}

.hero-title {
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    white-space: normal;
    color: var(--text-primary);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
    margin: 0;
    overflow: visible;
    text-align: left;
    flex: 0 0 auto;
}

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

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 0;
    color: var(--text-secondary);
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

@media (max-width: 1024px) {
    .hero-buttons {
        justify-content: center;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2.25rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(63, 140, 255, 0.2);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(63, 140, 255, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(63, 140, 255, 0.25);
}

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

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

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 0.25rem;
    overflow: visible;
    width: 100%;
    padding-top: 0.25rem;
}

.stat-item {
    text-align: left;
    flex: 0 0 auto;
    min-width: 160px;
    overflow: visible;
    width: auto;
    max-width: none;
    box-sizing: border-box;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.1em;
    margin-bottom: 0.75rem;
    flex-wrap: nowrap;
    overflow: visible;
    justify-content: flex-start;
}

.stat-number {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: visible;
    word-break: keep-all;
    flex-shrink: 0;
}

.stat-suffix {
    display: inline-block;
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: visible;
    flex-shrink: 0;
    align-self: flex-end;
    padding-bottom: 0.1em;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.stat-desc {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 200px;
    margin: 0;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8px;
    overflow: visible;
    min-width: 0;
    flex: 1;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 8s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(63, 140, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(63, 140, 255, 0.25);
    z-index: 10;
}

.dashboard-img {
    width: 100%;
    height: auto;
    max-height: 1000px;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-image-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, rgba(63, 140, 255, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(63, 140, 255, 0.25);
    backdrop-filter: blur(10px);
    z-index: 10;
    letter-spacing: 0.02em;
}

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

/* 通用区域样式 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* 功能特色区域 */
.features {
    padding: 60px 0 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.75rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(63, 140, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: rgba(63, 140, 255, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    color: white;
    box-shadow: 0 4px 12px rgba(63, 140, 255, 0.2);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* 解决方案区域 */
.solutions {
    padding: 120px 0;
    background: var(--bg-primary);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.75rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(63, 140, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: rgba(63, 140, 255, 0.2);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(63, 140, 255, 0.2);
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.solution-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.solution-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.solution-tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

/* 产品展示区域 */
.showcase {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="rgba(37,99,235,0.05)"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.showcase-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.6);
    cursor: pointer;
    padding: 16px;
}

.showcase-item:hover {
    box-shadow: 0 8px 24px rgba(63, 140, 255, 0.12);
    border-color: rgba(63, 140, 255, 0.2);
}

/* 图片区：统一高度，无动画，避免多次悬停卡顿 */
.showcase-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 12px;
    background: #f1f5f9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: top center;
    border-radius: 10px;
    pointer-events: none;
}

/* 底部标签常驻，不滑动，避免 hover 来回闪 */
.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
    padding: 20px 16px 14px;
    border-radius: 0 0 12px 12px;
    pointer-events: none;
}

.showcase-label {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.showcase-cta {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.showcase-cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(63, 140, 255, 0.25);
}

.showcase-cta .btn:hover {
    box-shadow: 0 12px 32px rgba(63, 140, 255, 0.35);
    transform: translateY(-4px);
}

.showcase-cta .btn + .btn {
    margin-left: 1rem;
}

/* 分销员小程序展示：竖屏截图 + 能力标签 */
.showcase--miniprogram {
    background: linear-gradient(135deg, #fff7ed 0%, #f8fafc 45%, #ffffff 100%);
    padding-top: 96px;
    padding-bottom: 96px;
}

.showcase--miniprogram::before {
    opacity: 0.35;
}

.showcase--miniprogram .section-header {
    margin-bottom: 0;
}

.miniprogram-subtitle {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.miniprogram-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 0.55rem;
    margin: 1rem auto 0;
    max-width: none;
    padding: 0;
    list-style: none;
}

.miniprogram-highlights--platform {
    color: #c2410c;
    background: rgba(255, 237, 213, 0.95);
    border-color: rgba(234, 88, 12, 0.45);
    font-weight: 600;
}

.miniprogram-highlights li {
    font-size: 0.9rem;
    color: #9a3412;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(251, 146, 60, 0.35);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-weight: 500;
}

.showcase--miniprogram .showcase-item {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

.showcase--miniprogram .showcase-item:hover {
    box-shadow: none;
    border-color: transparent;
}

.showcase--miniprogram .showcase-item:hover .showcase-image-wrapper {
    box-shadow: 0 6px 18px rgba(251, 146, 60, 0.22);
    transform: translateY(-2px);
}

/* 13 张图：桌面端 7 列 × 2 行（7+6） */
.showcase-grid--miniprogram {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.75rem 0.5rem;
    margin-top: 2rem;
}

.showcase-grid--miniprogram .showcase-image-wrapper {
    position: relative;
    aspect-ratio: 9 / 19.5;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.35);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.showcase-grid--miniprogram .showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
}

.showcase-grid--miniprogram .showcase-overlay {
    padding: 10px 6px 6px;
    border-radius: 0;
}

.showcase-grid--miniprogram .showcase-label {
    font-size: 13px;
    font-weight: 600;
}

.miniprogram-showcase-hint {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-secondary, #64748b);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.miniprogram-showcase-hint a {
    color: #c2410c;
    font-weight: 600;
    text-decoration: none;
}

.miniprogram-showcase-hint a:hover {
    text-decoration: underline;
}

/* 图片放大预览 */
.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 12000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.image-lightbox-inner {
    position: relative;
    display: inline-block;
    max-width: min(1200px, 92vw);
    max-height: 88vh;
    line-height: 0;
}

.image-lightbox-content {
    display: block;
    max-width: min(1200px, 92vw);
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
    background: #fff;
}

.image-lightbox-watermark {
    display: none;
    position: absolute;
    inset: 0;
    border-radius: 10px;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='126' viewBox='0 0 220 126'%3E%3Ctext x='10' y='52' fill='%23989898' fill-opacity='0.095' font-size='16' font-family='PingFang SC,Microsoft YaHei,sans-serif' transform='rotate(-22 110 63)'%3E%E5%88%86%E5%B0%8F%E5%8F%B7%3C/text%3E%3Ctext x='10' y='78' fill='%23a8a8a8' fill-opacity='0.085' font-size='11' font-family='PingFang SC,Microsoft YaHei,sans-serif' transform='rotate(-22 110 63)'%3Efenxiaohao.com%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 220px 126px;
}

.image-lightbox--watermark .image-lightbox-watermark {
    display: block;
}

.image-lightbox-close {
    position: absolute;
    top: 14px;
    right: 20px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.image-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .showcase-grid--miniprogram {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.6rem 0.45rem;
    }
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .showcase-image-wrapper {
        height: 200px;
    }
    .showcase-grid--miniprogram {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem 0.4rem;
    }
    .showcase-cta .btn + .btn {
        margin-left: 0;
        margin-top: 0.75rem;
    }
    .showcase-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* 价格方案区域 */
.pricing {
    padding: 96px 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

/* 免费版、企业版：与专业版同款边框与阴影 */
.pricing-grid .pricing-card:first-child,
.pricing-grid .pricing-card:last-child {
    border-color: rgba(63, 140, 255, 0.25);
    box-shadow: var(--shadow-card-hover);
}

.pricing-grid .pricing-card:first-child:hover,
.pricing-grid .pricing-card:last-child:hover {
    border-color: rgba(63, 140, 255, 0.2);
    box-shadow: 0 8px 24px rgba(63, 140, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pricing-card.featured {
    transform: scale(1.05);
    border-color: rgba(63, 140, 255, 0.25);
    box-shadow: var(--shadow-card-hover);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(63, 140, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: rgba(63, 140, 255, 0.2);
}

.pricing-card.featured:hover {
    transform: translateY(-6px) scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--primary-color);
    color: white;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    padding: 1.5rem 1.5rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.pricing-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.pricing-price {
    margin-bottom: 0.75rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-period {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-description {
    color: var(--text-secondary);
    line-height: 1.45;
    font-size: 0.95rem;
}

.pricing-features {
    padding: 1.25rem 1.5rem;
    flex: 1;
}

.pricing-features .feature-list li {
    padding: 0.34rem 0;
    padding-left: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.35;
}

.pricing-action {
    padding: 0.5rem 1.5rem 1.25rem;
    text-align: center;
    background: var(--bg-secondary);
}

.pricing-trial-info {
    margin: 0.5rem 0;
    text-align: center;
}

.trial-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-savings {
    margin: 0.35rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.savings-text {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.savings-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.pricing-limits {
    padding: 0.85rem 1.5rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    margin: 0;
    min-height: 4.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.45rem;
}

.limit-item {
    display: grid;
    grid-template-columns: 5.5em 1fr;
    column-gap: 0.5rem;
    align-items: baseline;
    width: 100%;
    font-size: 0.85rem;
    line-height: 1.4;
}

.limit-label {
    color: var(--text-secondary);
    text-align: left;
    white-space: nowrap;
}

.limit-value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
    word-break: keep-all;
}

/* 联系我们区域 */
.contact {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: none !important;
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 0 0 auto;
    min-width: 280px;
}

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

.contact-details h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-details p:last-child {
    margin-bottom: 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.icp {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.icp a,
.icp a:link,
.icp a:visited {
    color: #e2e8f0;
    text-decoration: none;
    opacity: 0.95;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.icp a:hover,
.icp a:active {
    color: #ffffff;
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 1rem;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        white-space: normal;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat-item {
        min-width: 160px;
        text-align: center;
    }
    
    .stat-number-wrapper {
        justify-content: center;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .stat-suffix {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .stat-desc {
        font-size: 0.85rem;
    }
    
    .stat-suffix {
        font-size: 1.8rem;
    }
    
    .stat-desc {
        max-width: none;
        margin: 0 auto;
    }
    
    .features-grid,
    .solutions-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .contact {
        padding: 50px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .contact-item {
        min-width: auto;
        width: 100%;
        max-width: 400px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
        white-space: normal;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .feature-card,
    .solution-card,
    .pricing-card {
        padding: 1.5rem;
    }
}
