/* 基础样式 */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #f9a826;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
    word-wrap: break-word;
    word-break: break-word;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* 按钮涟漪效果 */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    font-size: 2rem;
}

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

/* 占位图片样式 - 修改为竖长方形 */
.placeholder-image {
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
    height: 360px;
    width: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: #999;
    font-size: 1rem;
    margin: 10px auto;
    text-align: center;
}

/* 头部导航 */
.header {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    max-width: 70%;
}

.app-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.2rem;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
}

.nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav ul li {
    margin-left: 1.5rem;
    white-space: nowrap;
}

.nav ul li a {
    font-weight: 600;
    color: var(--dark-color);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    padding: 0.3rem 0;
}

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

/* 移动端菜单图标 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 150;
    transition: right 0.3s ease;
    padding: 4rem 1.5rem 2rem;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu ul li a {
    display: block;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: var(--primary-color);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 英雄区域 */
.hero {
    padding: 3rem 0;
    background: linear-gradient(to right, #f7f7ff, #e2f1ff);
}

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

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

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-image {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
}

/* 功能区域 */
.features {
    padding: 3rem 0;
    background-color: #fff;
}

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

.feature-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.feature-header {
    padding: 1.5rem 1rem;
    text-align: center;
}

.feature-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.free .feature-header {
    background-color: #e2f1ff;
    color: var(--primary-color);
}

.premium .feature-header {
    background-color: #fff0d4;
    color: var(--secondary-color);
}

.feature-list {
    padding: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.feature-list li i {
    font-size: 1.2rem;
    margin-right: 0.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-list li span {
    flex: 1;
}

.feature-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.feature-images .placeholder-image {
    margin: 0;
    flex: 0 0 auto;
}

/* 价格区域 */
.pricing {
    padding: 3rem 0;
    background-color: #f9f9f9;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-content: center;
}

.pricing-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

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

.pricing-header {
    padding: 2rem 1.5rem;
    text-align: center;
    background-color: #e2f1ff;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

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

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

.saving {
    font-size: 0.9rem;
    color: var(--success-color);
    margin-top: 0.5rem;
}

.pricing-features {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.pricing-card .btn {
    display: block;
    width: 80%;
    margin: 0 auto 1.5rem;
}

.popular {
    border: 2px solid var(--secondary-color);
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.3rem 1rem;
    font-size: 0.9rem;
    border-bottom-left-radius: 10px;
}

.popular .pricing-header {
    background-color: #fff0d4;
}

.popular .price {
    color: var(--secondary-color);
}

/* 联系区域 */
.contact {
    padding: 3rem 0;
    background-color: #fff;
}

.contact-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #555;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

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

.contact-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.contact-note {
    color: #777;
    font-size: 0.9rem;
}

/* 页脚 */
.footer {
    background-color: #f4f4f4;
    padding: 2rem 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #555;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

.icp-number {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .nav ul li a {
        font-size: 1rem;
    }
    
    .hero .container {
        flex-direction: row;
        align-items: center;
    }
    
    .hero-content {
        text-align: left;
        flex: 1;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-images {
        justify-content: space-around;
    }
    
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        margin: 0 auto;
    }
    
    /* 桌面端显示常规导航 */
    .menu-toggle {
        display: none;
    }
    
    .nav ul {
        display: flex;
    }
    
    .mobile-menu {
        display: none;
    }
}

@media (max-width: 767px) {
    .header {
        padding: 0.5rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .feature-list li span {
        font-size: 0.95rem;
    }
    
    /* 移动端显示汉堡菜单 */
    .menu-toggle {
        display: flex;
    }
    
    .nav ul {
        display: none;
    }
    
    /* 移动端菜单激活时的样式 */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    body.menu-open {
        overflow: hidden;
    }
} 