/* 小程序首页专用样式 */

/* 移动端导航栏样式 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    width: 30px;
    height: 24px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: #1e40af;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

.hamburger-line:nth-child(1) {
    top: 0;
}

.hamburger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-line:nth-child(3) {
    bottom: 0;
}

/* 汉堡菜单动画状态 */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
    margin-top: -1.5px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 50%;
    margin-bottom: -1.5px;
}

/* 导航栏样式增强 */
.nav .nav-cta {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 20px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.nav .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* 小程序英雄区域 */
.miniprogram-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.miniprogram-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25,5 L45,15 L45,35 L25,45 L5,35 L5,15 Z" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .subtitle {
    display: block;
    font-size: 1.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

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

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.scan-btn {
    font-size: 1.1rem;
    padding: 16px 35px;
}

.outline-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.outline-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 手机展示区域 */
.hero-visual {
    position: relative;
}

.phone-showcase {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
}

.phone-mockup.small {
    width: 280px;
    height: 560px;
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: 35px;
    padding: 8px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.2),
        inset 0 2px 5px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 27px;
    overflow: hidden;
    position: relative;
}

.mini-header {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.mini-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-logo i {
    font-size: 1.2rem;
}

/* 小程序截图样式 */
.mini-screenshot,
.feature-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mini-screenshot {
    object-position: top;
}

.feature-screenshot {
    object-position: center;
}

.phone-mockup:hover .mini-screenshot,
.phone-mockup:hover .feature-screenshot {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* 图片加载效果 */
.mini-screenshot,
.feature-screenshot {
    opacity: 0;
    animation: fadeInImage 0.6s ease forwards;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 延迟加载效果 */
.mini-screenshot.lazy,
.feature-screenshot.lazy {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

.mini-screenshot.loaded,
.feature-screenshot.loaded {
    filter: blur(0);
}

/* 浮动元素 */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: float 6s ease-in-out infinite;
}

.bubble-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: -20px;
    animation-delay: 0s;
}

.bubble-2 {
    width: 50px;
    height: 50px;
    top: 60%;
    right: -15px;
    animation-delay: 2s;
}

.bubble-3 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* 数据统计区域 */
.miniprogram-stats {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    position: relative;
    overflow: hidden;
}

.miniprogram-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.stats-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff, #e0f2fe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.stats-header p {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 10;
}

.stat-item {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover::after {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 60px rgba(59, 130, 246, 0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: white;
    position: relative;
    transition: all 0.3s ease;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: stat-icon-glow 3s ease-in-out infinite;
}

.stat-item:hover .stat-icon::before {
    opacity: 1;
}

@keyframes stat-icon-glow {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff, #e0f2fe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 15px;
    font-weight: 600;
}

.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.stat-trend.positive {
    background: rgba(16, 185, 74, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 74, 0.3);
}

.stat-trend.positive i {
    color: #10b981;
}

.stat-trend.negative {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* 核心功能区域 */
.miniprogram-features {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    position: relative;
    overflow: hidden;
}

.miniprogram-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(96, 165, 250, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1e293b, #334155);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.section-header p {
    font-size: 1.3rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    margin-bottom: 120px;
    position: relative;
    z-index: 10;
}

.feature-main.reverse {
    direction: rtl;
}

.feature-main.reverse > * {
    direction: ltr;
}

.feature-phone {
    display: flex;
    justify-content: center;
    position: relative;
}

.feature-phone::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 450px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* 功能截图展示 */
.feature-screenshots {
    margin-top: 60px;
}

.screenshot-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

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

.screenshot-phone {
    margin-bottom: 20px;
}

.phone-frame.small {
    width: 240px;
    height: 480px;
    margin: 0 auto;
}

.screenshot-item h4 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 8px;
    font-weight: 600;
}

.screenshot-item p {
    color: #64748b;
    font-size: 0.95rem;
}

.feature-content h3 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 20px;
    font-weight: 700;
}

.feature-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #374151;
}

.feature-list i {
    color: #10b981;
    font-size: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.grid-feature {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.grid-feature:hover {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.grid-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.grid-feature:hover .grid-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.grid-feature h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.grid-feature:hover h4 {
    color: white;
}

.grid-feature p {
    color: #64748b;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.grid-feature:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* 使用指南区域 */
.usage-guide {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 30px;
    position: relative;
}

.step-item h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 20px;
}

.step-visual {
    margin-top: 20px;
}

.qr-small {
    width: 100px;
    height: 100px;
    background: white;
    border: 2px dashed #3b82f6;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.qr-small i {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 5px;
}

.qr-small p {
    font-size: 0.8rem;
    color: #3b82f6;
    margin: 0;
}

.qr-small-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.auth-visual {
    background: #10b981;
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.features-visual {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
}

.guide-features {
    text-align: center;
}

.guide-features h3 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 40px;
    font-weight: 600;
}

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

.advantage-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.3rem;
    color: white;
}

.advantage-item h4 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 600;
}

.advantage-item p {
    color: #64748b;
    line-height: 1.6;
}

/* 应用场景区域 */
.application-scenes {
    padding: 100px 0;
    background: white;
}

.scene-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 20px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.tab-btn.active {
    color: #3b82f6;
    background: #eff6ff;
}

.tab-btn:hover {
    color: #3b82f6;
    background: #f8fafc;
}

.tab-content {
    background: #f8fafc;
    border-radius: 16px;
    padding: 40px;
    min-height: 300px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.scene-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.scene-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
}

.scene-text h3 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 600;
}

.scene-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 20px;
}

.scene-text ul {
    list-style: none;
}

.scene-text li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #374151;
}

.scene-text li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
}

/* 下载CTA区域 */
.download-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .large {
    font-size: 1.1rem;
    padding: 16px 30px;
    border-radius: 10px;
}

.cta-buttons .btn-primary {
    background: white;
    color: #3b82f6;
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-visual {
    display: flex;
    justify-content: center;
}

.qr-code-large {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.qr-large-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.qr-large-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* 二维码弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.close:hover {
    color: #333;
}

.modal-content h3 {
    text-align: center;
    padding: 30px 0 20px;
    color: #1e40af;
    font-size: 1.5rem;
}

.qr-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
    align-items: center;
}

.qr-preview {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.qr-code-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.qr-code-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.qr-info {
    text-align: left;
}

.qr-info h4 {
    font-size: 1.2rem;
    color: #1e40af;
    margin-bottom: 10px;
    font-weight: 600;
}

.qr-info p {
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
}

.qr-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qr-features .feature-tag {
    background: #eff6ff;
    color: #3b82f6;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.qr-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 20px 30px 30px;
    background: #f8fafc;
    border-radius: 0 0 20px 20px;
}

.qr-tips {
    text-align: center;
    padding: 15px 30px;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    background: #f1f5f9;
    margin: 0 20px 20px;
    border-radius: 10px;
}

.qr-tips i {
    color: #f59e0b;
    margin-right: 5px;
}

.qr-alt-text {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.qr-alt-text i {
    color: #3b82f6;
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    /* 导航栏响应式 */
    .header .container {
        position: relative;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* 在中等屏幕上隐藏部分导航链接，保持简洁 */
    .nav li:nth-child(4),
    .nav li:nth-child(5) {
        display: none;
    }
    
    /* 调整导航链接间距 */
    .nav ul {
        gap: 1rem;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 20px 20px;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav li {
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
        display: block !important; /* 确保在移动端菜单中显示所有链接 */
    }
    
    .nav li:last-child {
        border-bottom: none;
    }
    
    .nav a {
        display: block;
        padding: 1rem;
        text-align: left;
        border-radius: 0;
        transition: all 0.3s ease;
    }
    
    .nav a:hover,
    .nav a.active {
        background: #eff6ff;
        border-left: 4px solid #1e40af;
        padding-left: calc(1rem - 4px);
    }
    
    .nav-cta {
        background: linear-gradient(135deg, #10b981, #059669) !important;
        color: white !important;
        margin-top: 1rem;
        border-radius: 8px !important;
        text-align: center;
        font-weight: 600;
    }
    
    .user-actions {
        display: none;
    }
    
    /* 遮罩层 */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

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

    .hero-features {
        justify-content: center;
    }

    .feature-main,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .scene-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* 更小屏幕的导航栏优化 */
    .header .container {
        padding: 0.75rem 15px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo span {
        font-size: 0.8rem;
        display: none; /* 在小屏幕上隐藏副标题 */
    }
    
    .nav {
        width: 85%; /* 在小屏幕上增加菜单宽度 */
    }
    
    .mobile-menu-btn {
        width: 28px;
        height: 22px;
    }
    
    .hamburger-line {
        height: 2.5px;
    }

    .miniprogram-hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .cta-text h2 {
        font-size: 2.2rem;
    }

    .stats-grid,
    .advantage-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .guide-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tab-nav {
        flex-wrap: wrap;
        gap: 5px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .large {
        text-align: center;
    }

    .tab-content {
        padding: 30px 20px;
    }

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

    .phone-mockup.small {
        width: 200px;
        height: 400px;
    }
    
    .qr-container {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .qr-preview {
        width: 150px;
        height: 150px;
    }
    
    .qr-code-large {
        width: 150px;
        height: 150px;
    }
    
    .screenshot-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 动画效果 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 页脚增强 */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}