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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 通用样式 */
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* 通用图片优化样式 */
img {
    /* 防止图片模糊 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* 确保高分辨率显示 */
    image-rendering: auto;
    image-rendering: crisp-edges;
}

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: bold;
    color: #2563eb;
}

.nav-logo img {
    width: 64px;
    height: 64px;
    margin-right: 12px;
    /* 优化图片显示质量 */
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    /* 确保高清显示 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* 抗锯齿 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 确保图片不被压缩 */
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2563eb;
}

/* 主要内容 */
.main-content {
    margin-top: 70px;
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.btn-free-package {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 20px 30px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 220px;
    position: relative;
    overflow: hidden;
}

.btn-free-package::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-free-package:hover::before {
    left: 100%;
}

.btn-free-package:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.btn-free-package:disabled,
.btn-free-package.disabled {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(148, 163, 184, 0.2);
}

.btn-free-package:disabled:hover,
.btn-free-package.disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(148, 163, 184, 0.2);
}

.btn-free-package:disabled::before,
.btn-free-package.disabled::before {
    display: none;
}

.btn-free-package .btn-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.btn-free-package .btn-text {
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-free-package .btn-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

.btn-docs {
    padding: 20px 30px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 180px;
    justify-content: center;
}

.btn-docs .btn-icon {
    font-size: 1.2rem;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 1.2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* 功能介绍 */
.features-section {
    padding: 100px 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1e293b;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e 0%, #3b82f6 25%, #8b5cf6 50%, #f59e0b 75%, #ef4444 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:nth-child(2n)::before {
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #22c55e 100%);
}

.feature-card:nth-child(3n)::before {
    background: linear-gradient(90deg, #8b5cf6 0%, #f59e0b 50%, #3b82f6 100%);
}

.feature-card-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
}

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
    line-height: 1.3;
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

.feature-specs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.spec-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* 产品优势 */
.advantages-section {
    padding: 100px 0;
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.advantage-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.advantage-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
    position: relative;
    z-index: 1;
}

.advantage-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.advantage-points {
    list-style: none;
    position: relative;
    z-index: 1;
}

.advantage-points li {
    color: #475569;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
}

.advantage-points li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* 应用场景 */
.scenarios-section {
    padding: 100px 0;
    background: #f8fafc;
}

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

.scenario-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.scenario-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.scenario-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.3);
}

.scenario-card:hover::after {
    opacity: 1;
}

.scenario-image {
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.scenario-image::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.scenario-icon {
    font-size: 3rem;
    position: relative;
    z-index: 1;
}

.scenario-content {
    padding: 30px 25px;
}

.scenario-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.scenario-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.scenario-features span {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 产品体验 */
.experience-section {
    padding: 80px 0;
    background: white;
}

.experience-content {
    max-width: 1100px;
    margin: 0 auto;
}

.experience-demo {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.experience-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(59, 130, 246, 0.02) 100%);
    pointer-events: none;
}

.demo-upload-area {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px dashed #cbd5e1;
    transition: all 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.demo-upload-area:hover {
    border-color: #667eea;
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
}

.demo-upload-area.drag-over {
    border-color: #10b981;
    background: #f0fdf4;
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.2);
}

.demo-upload-area.uploading {
    border-color: #f59e0b;
    background: #fffbeb;
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.2);
}

.demo-upload-area.has-image {
    border-color: #10b981;
    border-style: solid;
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.15);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.demo-upload-area h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}

/* 动态人脸图标样式 */
.animated-face-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.animated-face-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.face-animation {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.scan-line {
    filter: drop-shadow(0 0 4px rgba(102, 126, 234, 0.8));
}

/* 场景图片样式优化 */
.scenario-real-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
    filter: brightness(0.9) contrast(1.1);
}

.scenario-card:hover .scenario-real-image {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.2);
}

.scenario-image {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
}

.scenario-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.scenario-card:hover .scenario-image::after {
    opacity: 1;
}

/* 产品优势模块科技感优化 */
.advantages-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, 
                              rgba(34, 197, 94, 0.1) 0deg, 
                              transparent 60deg, 
                              rgba(59, 130, 246, 0.1) 120deg, 
                              transparent 180deg, 
                              rgba(139, 92, 246, 0.1) 240deg, 
                              transparent 300deg, 
                              rgba(34, 197, 94, 0.1) 360deg);
    animation: rotate 20s linear infinite;
}

.advantages-section .section-title {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.advantages-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

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

.advantage-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.advantage-card:hover::before {
    left: 100%;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.4);
    background: rgba(255, 255, 255, 1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.advantage-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    position: relative;
}

.advantage-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.advantage-card:hover h3::after {
    width: 60px;
}

.advantage-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
}

.advantage-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantage-points li {
    color: #475569;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.advantage-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

.advantage-card:hover .advantage-points li {
    color: #334155;
    transform: translateX(5px);
}

/* 核心能力模块样式优化 */
.features-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.btn-purchase {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-purchase::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-purchase:hover::before {
    left: 100%;
}

.btn-purchase:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
    color: white;
    text-decoration: none;
}

.btn-purchase .btn-icon {
    font-size: 1.3rem;
}

/* 产品体验模块按钮优化 */
.btn-docs-link {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
}

.btn-docs-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

.btn-docs-link .btn-icon {
    font-size: 1.2rem;
}

/* 英雄区域按钮优化 */
.hero-actions .btn-docs {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-actions .btn-docs:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .features-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-purchase,
    .btn-docs-link {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-free-package,
    .hero-actions .btn-docs {
        width: 100%;
        max-width: 280px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 页面章节间距优化 */
.pricing-section {
    padding: 100px 0;
    background: #f8fafc;
}

.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.experience-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
    position: relative;
    overflow: hidden;
}

.experience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: experienceGlow 6s ease-in-out infinite alternate;
}

@keyframes experienceGlow {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.1); opacity: 0.1; }
}

.advantages-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, 
                              rgba(34, 197, 94, 0.1) 0deg, 
                              transparent 60deg, 
                              rgba(59, 130, 246, 0.1) 120deg, 
                              transparent 180deg, 
                              rgba(139, 92, 246, 0.1) 240deg, 
                              transparent 300deg, 
                              rgba(34, 197, 94, 0.1) 360deg);
    animation: rotate 20s linear infinite;
}

.scenarios-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 50%, #e0f2fe 100%);
    position: relative;
}

.scenarios-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.demo-upload-area p {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.btn-upload {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    pointer-events: auto; /* 确保可以接收点击事件 */
    position: relative;
    z-index: 10; /* 确保按钮在最上层 */
}

.btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-upload:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.demo-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.vs-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite;
}

.similarity-result {
    background: white;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #10b981;
}

.similarity-score {
    font-size: 2.5rem;
    font-weight: 900;
    color: #10b981;
    margin-bottom: 8px;
}

.similarity-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.demo-result-area {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    margin-bottom: 30px;
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.demo-result-area h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}

.demo-result-area p {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.demo-metrics {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.metric-label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 5px;
}

.metric-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
}

.compare-progress {
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
    animation: loading 2s infinite;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.progress-text {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.experience-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-compare {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 180px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-compare::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-compare:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.btn-compare:hover:not(:disabled)::before {
    left: 100%;
}

.btn-compare:disabled {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(148, 163, 184, 0.3);
    pointer-events: auto !important; /* 允许点击以显示提示 */
}

.btn-compare:disabled::before {
    display: none;
}

.btn-compare:disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(148, 163, 184, 0.3);
}

.btn-reset {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 180px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-reset::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-reset:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
}

.btn-reset:hover::before {
    left: 100%;
}

.btn-docs-link {
    background: transparent;
    color: #667eea;
    border: 2px solid rgba(102, 126, 234, 0.3);
    padding: 18px 36px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
    min-width: 180px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-docs-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-docs-link:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.6);
    transform: translateY(-2px);
    color: #667eea;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.btn-docs-link:hover::before {
    left: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .experience-demo {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .demo-vs {
        order: 2;
    }
    
    .vs-icon {
        transform: rotate(90deg);
    }
    
    .demo-metrics {
        gap: 20px;
    }
    
    .experience-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-compare,
    .btn-reset,
    .btn-docs-link {
        width: 100%;
        max-width: 280px;
    }
}

/* 产品定价科技感优化 */
.pricing-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #374151 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                linear-gradient(45deg, transparent 30%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);
    animation: techGlow 8s ease-in-out infinite alternate;
}

@keyframes techGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.pricing-section::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="pricing-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23pricing-pattern)"/></svg>') repeat;
    opacity: 0.3;
}

.pricing-section .container {
    position: relative;
    z-index: 1;
}

.pricing-section .section-title {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pricing-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

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

.package-card {
    background: white;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(10px);
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.package-card:hover {
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.package-card:hover::before {
    opacity: 1;
}

.package-card.featured {
    border-color: #fbbf24;
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    transform: scale(1.08);
    box-shadow: 0 30px 80px rgba(251, 191, 36, 0.3);
    position: relative;
}

.package-card.popular::after {
    content: '✨ 推荐 ✨';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    animation: pulse 2s infinite;
}

.package-card.featured:hover {
    transform: scale(1.08) translateY(-12px);
    box-shadow: 0 35px 100px rgba(251, 191, 36, 0.4);
}

.package-discount {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.package-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.package-header {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.package-name {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #1e293b;
}

.package-card.featured .package-name {
    color: #1e293b;
}

.package-price {
    font-size: 3.2rem;
    font-weight: 900;
    color: #ef4444;
    margin-bottom: 12px;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    position: relative;
    display: inline-block;
}

.package-card.featured .package-price {
    color: #ef4444;
}

.package-price .currency {
    font-size: 1.6rem;
    vertical-align: top;
    margin-right: 4px;
    font-weight: 700;
}

.package-price::after {
    content: '立即抢购!';
    position: absolute;
    top: -8px;
    right: -60px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    animation: shake 1.5s infinite;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.package-original-price {
    font-size: 1.3rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
}

.package-original-price::before {
    content: '原价: ';
    font-size: 0.9rem;
    color: #64748b;
}

.package-original-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: #ef4444;
    transform: translateY(-50%) rotate(-5deg);
    opacity: 0.8;
}

.package-card.featured .package-original-price {
    color: #64748b;
}

.package-save-amount {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    }
    to {
        box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
    }
}

.package-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-features {
    list-style: none;
    margin-bottom: 30px;
    flex: 1;
}

.package-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1.4;
}

.package-card.featured .package-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features .feature-name {
    font-weight: 500;
    flex: 1;
    text-align: left;
}

.package-features .feature-value {
    font-weight: 600;
    color: #2563eb;
}

.package-card.featured .package-features .feature-value {
    color: #fbbf24;
}

.package-button {
    width: 100%;
    padding: 18px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.package-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.package-button:hover::before {
    left: 100%;
}

.package-button:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.package-button:disabled {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.2);
}

.package-button:disabled::before {
    display: none;
}

.package-card.featured .package-button {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #2563eb;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.package-card.featured .package-button:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
}

/* API演示 */
.api-demo-section {
    padding: 100px 0;
    background: #1e293b;
    color: white;
}

.api-demo-section .section-title {
    color: white;
}

.api-demo {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.api-demo-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #334155;
    padding: 0 30px;
}

.tab-button {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #94a3b8;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px 6px 0 0;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.tab-button.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.api-demo-code {
    padding: 30px;
    position: relative;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.api-demo-code pre {
    margin: 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

.api-demo-code code {
    color: #e2e8f0;
}

/* 页脚 */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: bold;
}

.footer-logo img {
    width: 58px;
    height: 58px;
    margin-right: 12px;
    /* 优化图片显示质量 */
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    /* 确保高清显示 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* 抗锯齿 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 确保图片不被压缩 */
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 30px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* 加载动画 */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-free-package,
    .btn-docs {
        width: 100%;
        max-width: 280px;
    }
}

/* 定价页面特殊样式 */
.pricing-highlight {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.highlight-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
    position: relative;
}

.highlight-badge::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #fbbf24, #ef4444, #ec4899, #8b5cf6);
    border-radius: 27px;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.highlight-icon {
    font-size: 1.2rem;
    animation: pulse 1.5s infinite;
}

.pricing-guarantee {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.guarantee-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.guarantee-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.guarantee-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.guarantee-icon {
    color: #fbbf24;
    font-weight: bold;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.guarantee-item span:last-child {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    /* 移动设备上logo尺寸调整 */
    .nav-logo img {
        width: 54px;
        height: 54px;
    }
    
    .footer-logo img {
        width: 50px;
        height: 50px;
    }
    
    /* 移动设备上字体调整 */
    .nav-logo {
        font-size: 22px;
    }
    
    .footer-logo {
        font-size: 1.4rem;
    }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-logo img,
    .footer-logo img {
        /* 高分辨率屏幕下使用更好的渲染方式 */
        image-rendering: auto;
        image-rendering: crisp-edges;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
}

/* 页脚二维码悬停效果 */
.footer-link-with-qr {
    position: relative;
    display: inline-block;
}

.qr-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-bottom: 10px;
    min-width: 160px;
}

.qr-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: white;
}

.qr-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: #e2e8f0;
    z-index: -1;
    margin-top: 2px;
}

.footer-link-with-qr:hover .qr-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.qr-tooltip img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.qr-tooltip span {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
}

/* 移动设备上二维码悬停效果优化 */
@media (max-width: 768px) {
    .qr-tooltip {
        min-width: 140px;
        padding: 12px;
    }
    
    .qr-tooltip img {
        width: 100px;
        height: 100px;
    }
    
    .qr-tooltip span {
        font-size: 0.8rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
}