@charset "utf-8";

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

a {
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #FFE8D0;
    color: #333;
    line-height: 1.6;
}

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

.navbar {
    background-color: #FFCC22;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    color: #995544;
    font-weight: bold;
    font-size: 24px;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: #995544;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #995544;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.banner {
    background: linear-gradient(135deg, #FFCC22 0%, #FFE8D0 100%);
    padding: 120px 20px 80px;
    min-height: 100vh;
}

.banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.banner-content {
    flex: 1;
    max-width: 600px;
    text-align: center;
}

.banner-content h1 {
    font-size: 60px;
    font-weight: bold;
    color: #995544;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.slogan {
    font-size: 28px;
    color: #995544;
    margin-bottom: 15px;
    font-weight: 600;
}

.banner-content .desc {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #995544;
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(153, 85, 68, 0.4);
}

.btn-secondary {
    background-color: #fff;
    color: #995544;
    border: 2px solid #995544;
}

.btn-secondary:hover {
    background-color: #995544;
    color: #fff;
}

.banner-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background-color: #333;
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 90%;
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.section-header {
    text-align: center;
    padding: 60px 20px 40px;
}

.section-header h2 {
    font-size: 36px;
    color: #995544;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

.features {
    padding: 40px 20px 80px;
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #FFE8D0;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 204, 34, 0.3) 0%, transparent 70%);
    transition: all 0.3s ease;
}

.feature-card:hover::before {
    transform: scale(1.2);
}

.card-1 { background-color: #FFE8D0; }
.card-2 { background-color: #FFF5E6; }
.card-3 { background-color: #FFE8D0; }
.card-4 { background-color: #FFF5E6; }
.card-5 { background-color: #FFE8D0; }
.card-6 { background-color: #FFF5E6; }

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #FFCC22;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: #995544;
}

.feature-card h3 {
    font-size: 22px;
    color: #995544;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 16px;
    color: #666;
    position: relative;
    z-index: 1;
}

.screenshots {
    padding: 40px 20px 80px;
    background-color: #FFCC22;
}

.screenshot-scroll {
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: auto;
    scrollbar-color: #995544 #FFE8D0;
}

.screenshot-list::-webkit-scrollbar {
    height: 8px;
}

.screenshot-list::-webkit-scrollbar-track {
    background-color: #FFE8D0;
    border-radius: 4px;
}

.screenshot-list::-webkit-scrollbar-thumb {
    background-color: #995544;
    border-radius: 4px;
}

.screenshot-item {
    flex: 0 0 auto;
    width: 320px;
    height: 560px;
    background-color: #333;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.05);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download {
    padding: 40px 20px 80px;
    background-color: #fff;
}

.download-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFCC22;
    color: #995544;
    padding: 20px 30px;
    border-radius: 15px;
    width: calc(50% - 10px);
    min-width: 220px;
    max-width: 300px;
    transition: all 0.3s ease;
    border: 3px solid #995544;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 204, 34, 0.4);
}

.download-btn i {
    margin-right: 15px;
    flex-shrink: 0;
}

.btn-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-title {
    font-weight: bold;
    font-size: 20px;
}

.btn-size {
    font-size: 14px;
    opacity: 0.8;
}

.news {
    padding: 40px 20px 80px;
    background-color: #FFE8D0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-card.large-card {
    grid-column: span 2;
}

.news-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.news-card.large-card img {
    height: 300px;
}

.news-content {
    padding: 20px;
}

.news-tag {
    display: inline-block;
    background-color: #FFCC22;
    color: #995544;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 18px;
    color: #995544;
    margin-bottom: 10px;
}

.news-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 12px;
    color: #999;
}

.footer {
    background-color: #995544;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-links a {
    color: #fff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFCC22;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.8;
}

.icon-book::before {
    content: url('../icons/book.svg');
    display: block;
    width: 40px;
    height: 40px;
}

.icon-category::before {
    content: url('../icons/category.svg');
    display: block;
    width: 40px;
    height: 40px;
}

.icon-download::before {
    content: url('../icons/download.svg');
    display: block;
    width: 40px;
    height: 40px;
}

.icon-ad::before {
    content: url('../icons/ad.svg');
    display: block;
    width: 40px;
    height: 40px;
}

.icon-mode::before {
    content: url('../icons/mode.svg');
    display: block;
    width: 40px;
    height: 40px;
}

.icon-social::before {
    content: url('../icons/social.svg');
    display: block;
    width: 40px;
    height: 40px;
}

.icon-android {
    width: 48px;
    height: 48px;
    background-image: url('../icons/安卓.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-ios {
    width: 48px;
    height: 48px;
    background-image: url('../icons/苹果.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FFCC22;
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
    }

    .banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .banner {
        padding: 100px 20px 60px;
    }

    .banner-content h1 {
        font-size: 40px;
    }

    .slogan {
        font-size: 20px;
    }

    .banner-content .desc {
        font-size: 16px;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
        margin-top: 40px;
        max-width: 90%;
    }

    .banner-buttons {
        flex-direction: column;
        align-items: center;
    }

    .screenshot-item {
        width: 260px;
        height: 460px;
    }

    .news-card.large-card {
        grid-column: span 1;
    }

    .news-card img {
        height: 220px;
    }

    .news-card.large-card img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 30px;
        height: 30px;
    }

    .logo span {
        font-size: 18px;
    }

    .banner-content h1 {
        font-size: 32px;
    }

    .slogan {
        font-size: 18px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .download-btn {
        padding: 15px 20px;
    }

    .download-btn i {
        font-size: 30px;
        margin-right: 15px;
    }

    .btn-title {
        font-size: 16px;
    }
}