:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --text-color: #2C3E50;
    --light-bg: #F7F9FC;
}

body {
    font-family: 'ZCOOL XiaoWei', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

/* 首页区域样式 */
.hero-section {
    padding: 120px 0 80px;
    position: relative;
    min-height: 600px;
    background: var(--light-bg);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 100%;
    background: url('./assets/images/app-preview-1.png') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

.hero-section::after {
    display: none;  /* 移除渐变遮罩 */
}

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

.hero-section h1 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

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

/* 应用预览区域样式 */
.app-preview {
    display: none;
}

/* 特色功能区域样式 */
.features-section {
    padding: 80px 0;
    background-color: #fff;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    border-radius: 20px;
    background-color: var(--light-bg);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    overflow: hidden;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-content {
    flex: 1;
    padding-right: 2rem;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    opacity: 0.8;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid currentColor;
    border-radius: 16px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 订阅方案区域样式 */
.pricing-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.pricing-card {
    position: relative;
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.features-list li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* 下载区域样式 */
.download-section {
    padding: 80px 0;
    background-color: #fff;
}

.download-badge {
    height: 40px;
    margin: 1rem;
    transition: transform 0.3s ease;
}

.download-badge:hover {
    transform: scale(1.05);
}

/* 订阅展示区域样式 */
.pricing-showcase {
    margin-bottom: 3rem;
    text-align: center;
}

.pricing-showcase img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

/* 页脚样式 */
.footer {
    padding: 2rem 0;
    background-color: var(--light-bg);
}

/* 联系我们区域样式 */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-card {
    background-color: var(--light-bg);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    border-radius: 10px;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
}

.contact-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    padding: 0.8rem 3rem;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .hero-section::before {
        width: 100%;
    }
    
    .hero-section {
        background: var(--light-bg);
    }
}

@media (max-width: 768px) {
    .hero-section {
        background-position: center bottom;
        padding: 100px 0 300px;
    }
    
    .hero-section::before {
        background: linear-gradient(180deg, var(--light-bg) 0%, var(--light-bg) 40%, rgba(247, 249, 252, 0.8) 70%, rgba(247, 249, 252, 0.4) 100%);
    }

    .pricing-card.featured {
        transform: none;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
    }

    .feature-content {
        padding-right: 0;
        padding-bottom: 1.5rem;
    }

    .feature-image img {
        max-width: 80%;
        margin: 0 auto;
    }

    .app-preview {
        max-width: 300px;
    }
    
    .main-preview {
        max-height: 150px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section, .features-section, .pricing-section, .download-section {
    animation: fadeIn 1s ease-out;
}

/* 自定义弹窗样式 */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.custom-modal.show .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-icon {
    color: #28a745;
    display: none;
}

.error-icon {
    color: var(--primary-color);
    display: none;
}

.modal-title {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal-message {
    color: #666;
    margin-bottom: 1.5rem;
}

.custom-modal .btn {
    min-width: 120px;
}

.app-store-purchase {
    margin-top: 1.5rem;
    text-align: center;
}

.purchase-badge {
    height: 40px;
    transition: transform 0.3s ease;
}

.purchase-badge:hover {
    transform: scale(1.05);
}

/* App 截图展示区域样式 */
.app-screenshots {
    padding: 40px 0;
    background-color: var(--light-bg);
    overflow: hidden;
}

.screenshots-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    margin: 0 -20px;
}

.screenshot-wrapper {
    position: relative;
    flex: 0 0 auto;
    padding: 0 20px;
}

.screenshot {
    width: 280px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: translateY(-10px);
}

.screenshot-left {
    transform: translateX(20px) scale(0.9);
    z-index: 1;
}

.screenshot-center {
    transform: translateY(-20px) scale(1.1);
    z-index: 3;
}

.screenshot-right {
    transform: translateX(-20px) scale(0.9);
    z-index: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .screenshots-container {
        flex-direction: column;
        min-height: auto;
        padding: 20px 0;
    }

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

    .screenshot {
        width: 240px;
    }

    .screenshot-left,
    .screenshot-right,
    .screenshot-center {
        transform: none;
    }
}

.pricing-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 15px;
}

.pricing-card-overlay h4 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.pricing-card-overlay p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
} 