/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 基于Logo的绿色主题 - 优化版 */
    --primary-color: #10b981;
    --primary-light: #34d399;
    --primary-dark: #059669;
    --primary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --secondary-gradient: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    --accent-gradient: linear-gradient(135deg, #6ee7b7 0%, #10b981 100%);
    --dark-bg: #0f0f23;
    --card-bg: rgba(255, 255, 255, 0.95);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
                 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    position: relative;
    overflow-x: hidden;
}

/* 动态背景效果 */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 213, 99, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 232, 109, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 194, 89, 0.05) 0%, transparent 50%);
    animation: backgroundMove 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(5%, 5%) rotate(120deg); }
    66% { transform: translate(-5%, 5%) rotate(240deg); }
}

/* 页面加载动画 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00E86D 0%, #00D563 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

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

.loader-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    animation: pulse 1.5s ease-in-out infinite;
}

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

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

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--text-primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

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

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

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

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

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 英雄区域动态背景 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

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

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-buttons .btn {
    width: auto;
    min-width: 180px;
    max-width: 220px;
    padding: 1rem 2rem;
}

.btn {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-top: auto;
}

.btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: scale(1.2);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    color: #059669;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 1);
    color: #047857;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
    font-weight: 600;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* 通用区域样式 */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
}

/* 功能特色 */
.features {
    background: white;
}

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

.feature-card {
    --mouse-x: 50%;
    --mouse-y: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    top: var(--mouse-y);
    left: var(--mouse-x);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 1.5rem;
    background: var(--primary-gradient);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.25);
    transition: all 0.4s ease;
    color: white;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2.5rem;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.35);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.8;
}

/* 套餐价格 */
.packages {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

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

.packages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 10px;
}

/* 平板尺寸：3列布局 */
@media (max-width: 1200px) {
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 小平板尺寸：2列布局 */
@media (max-width: 900px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机尺寸：1列布局 */
@media (max-width: 600px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
}

.package-card {
    --mouse-x: 50%;
    --mouse-y: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    padding-top: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid rgba(102, 126, 234, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    overflow: visible;
    margin-top: 20px;
}

.package-card::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    top: var(--mouse-y);
    left: var(--mouse-x);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 20px;
    overflow: hidden;
}

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

.package-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
    z-index: 1;
    border-radius: 20px;
}

.package-card:hover::after {
    left: 100%;
}

.package-card .btn {
    width: auto;
    min-width: 140px;
    max-width: 180px;
}

.package-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.2);
}

.package-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08), 0 20px 60px rgba(16, 185, 129, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(16, 185, 129, 0.03) 100%);
}

.package-card.featured:hover {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15), 0 30px 80px rgba(16, 185, 129, 0.2);
}

.package-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10;
    white-space: nowrap;
}

.package-badge.discount {
    right: auto;
    left: 20px;
    background: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
}

.package-card.featured .package-badge {
    top: -15px;
    right: 20px;
}

.package-card.featured .package-badge.discount {
    top: -12px;
    right: auto;
    left: 15px;
}

.package-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
    font-weight: 600;
}

.package-price {
    margin-bottom: 1.5rem;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.3rem;
}

.original-price {
    font-size: 0.9rem;
    color: #95a5a6;
    text-decoration: line-through;
}

.current-price {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c;
    line-height: 1.2;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    line-height: 1.2;
}

.period {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 0.2rem;
}

.package-features {
    list-style: none;
    margin-bottom: auto;
    text-align: left;
    flex-grow: 1;
    padding: 1rem 0;
}

.package-features li {
    padding: 0.4rem 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-features li i.fa-check {
    color: var(--primary-color);
    font-size: 1rem;
}

.package-features li i.fa-times {
    color: #95a5a6;
    font-size: 1rem;
}

/* 套餐卡片按钮特殊样式 */
.package-card .btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.package-card .btn-outline {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.08) 100%);
    border-width: 2.5px;
}

.package-card .btn-primary {
    background: var(--primary-gradient);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
    color: white;
    border: none;
}

.package-card .btn-primary::before {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.package-card .btn-primary:hover {
    color: white;
}

.package-card.featured .btn-primary {
    animation: pulse-button 2s ease-in-out infinite;
}

@keyframes pulse-button {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
    }
    50% {
        box-shadow: 0 8px 35px rgba(16, 185, 129, 0.5);
    }
}

/* 关于我们 */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.about-text p {
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.about-placeholder {
    background: var(--primary-gradient);
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.placeholder-icon {
    font-size: 5rem;
    display: block;
    margin-bottom: 1rem;
}

.placeholder-icon i {
    font-size: 5rem;
}

/* 联系我们 */
.contact {
    background: #f8f9fa;
}

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

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-icon i {
    font-size: 3rem;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-item p {
    color: #7f8c8d;
}

.contact-item p a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-item p a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer a {
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .beian-info {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer .beian-info a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer .beian-info a:hover {
    color: white;
    text-decoration: none;
}

.footer .beian-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    margin: 8% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 340px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: zoomIn 0.3s ease;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.qr-modal {
    padding: 2rem;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 0.8rem;
    top: 0.8rem;
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.close:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.qr-icon i {
    font-size: 2rem;
    color: white;
}

.qr-image {
    width: 100%;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.qr-image img {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.qr-hint {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

/* 政策模态框样式 */
.policy-modal {
    max-width: 600px;
    text-align: left;
}

.policy-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.policy-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.policy-header h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
}

.policy-content {
    padding: 1.5rem 2rem 2rem;
    overflow-y: auto;
    max-height: calc(85vh - 100px);
}

.policy-content::-webkit-scrollbar {
    width: 6px;
}

.policy-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.policy-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.policy-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.policy-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.policy-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.policy-section:last-of-type {
    border-bottom: none;
}

.policy-section h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-section h4 i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.policy-section p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.policy-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--primary-color);
    text-align: center;
}

.policy-footer p {
    color: #7f8c8d;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.policy-footer i {
    color: var(--primary-color);
}

.policy-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.policy-footer a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 80%;
        max-width: 280px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-menu {
        display: none;
    }

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

    .package-card {
        min-height: auto;
    }

    /* 功能特色图标居中对齐 */
    .feature-card {
        text-align: center;
    }

    .feature-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* 二维码弹窗响应式 */
    .qr-modal {
        width: 90%;
        max-width: 300px;
        padding: 1.5rem;
        margin: 20% auto;
    }

    .qr-icon {
        width: 45px;
        height: 45px;
    }

    .qr-icon i {
        font-size: 1.8rem;
    }

    .qr-image {
        padding: 0.8rem;
    }

    .qr-image img {
        max-width: 180px;
    }

    .qr-hint {
        font-size: 0.85rem;
    }

    .close {
        width: 28px;
        height: 28px;
        font-size: 1.3rem;
    }

    /* 政策模态框响应式 */
    .policy-modal {
        width: 95%;
        max-width: 90%;
        margin: 5% auto;
    }

    .policy-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .policy-header h3 {
        font-size: 1.3rem;
    }

    .policy-header i {
        font-size: 1.4rem;
    }

    .policy-content {
        padding: 1.5rem;
        max-height: calc(85vh - 100px);
    }

    .policy-intro {
        font-size: 1rem;
    }

    .policy-section h4 {
        font-size: 1.1rem;
    }

    .policy-footer p {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.3rem;
    }
}

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
}

