/* 全局样式 */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --dark-gray: #666;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #45a049;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #1976D2;
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.1em;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo span {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* 主页横幅样式 */
.cherr {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.cherr .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.cherr-content {
    flex: 1;
}

.cherr-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--text-color);
}

.cherr-content p {
    font-size: 1.2em;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.cherr-buttons {
    display: flex;
    gap: 20px;
}

.cherr-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 手机模拟器样式 */
.phone-mockup {
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 35px;
    padding: 15px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        inset 0 2px 4px rgba(255,255,255,0.1);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.phone-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.app-interface {
    padding: 40px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.app-header {
    margin-bottom: 40px;
    text-align: center;
}

.app-header h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
    opacity: 0.9;
}

.storage-circle {
    width: 120px;
    height: 120px;
    border: 8px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    background: rgba(255,255,255,0.1);
}

.storage-circle::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 120px;
    height: 120px;
    border: 8px solid transparent;
    border-top: 8px solid #4CAF50;
    border-right: 8px solid #4CAF50;
    border-radius: 50%;
    transform: rotate(-45deg);
}

.storage-circle span {
    font-size: 1.5em;
    font-weight: bold;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.action-btn {
    background: rgba(255,255,255,0.2);
    padding: 15px 20px;
    border-radius: 15px;
    text-align: center;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* 功能特点样式 */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    text-align: center;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* 下载区域样式 */
.download {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.download h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.download-card {
    padding: 30px;
    text-align: center;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 250px;
    transition: transform 0.3s ease;
}

.download-card:hover:not(.coming-soon) {
    transform: translateY(-5px);
}

.download-card.coming-soon {
    opacity: 0.7;
    position: relative;
}

.download-card.coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    pointer-events: none;
}

.download-card i {
    font-size: 3em;
    margin-bottom: 20px;
}

.download-card.coming-soon i {
    color: var(--dark-gray);
}

.download-card:not(.coming-soon) i {
    color: var(--primary-color);
}

.download-card p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.btn:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn:disabled:hover {
    background-color: #ccc;
}

/* 应用预览样式 */
.pricing {
    padding: 80px 0;
    background-color: var(--white);
}

.pricing h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.pricing-card {
    padding: 20px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
}

.pricing-card h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.pricing-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 联系我们样式 */
.contact {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5em;
    color: var(--primary-color);
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer h4 {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: var(--white);
}

.footer ul {
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-links a {
    font-size: 1.5em;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cherr .container {
        flex-direction: column;
        text-align: center;
    }

    .cherr-buttons {
        justify-content: center;
    }

    .contact-content {
        flex-direction: column;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .pricing-card.featured {
        transform: none;
        max-width: 100%;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer h4 {
        margin-bottom: 15px;
    }
} 