* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Serif SC", "Source Han Serif SC", serif;
}

:root {
    --primary: #2A9D8F;
    --primary-light: #88D8C0;
    --primary-dark: #1A5F56;
    --text-dark: #2D3748;
    --text-light: #F7FAFC;
    --bg-light: #F8FAF9;
    --shadow: 0 4px 20px rgba(42, 157, 143, 0.15);
}

body {
    background: linear-gradient(135deg, #F8FAF9 0%, #E6F4F1 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(238, 245, 242, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(42, 157, 143, 0.1);
    box-shadow: 0 2px 12px rgba(42, 157, 143, 0.08);
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
}
.navbar.hide {
    transform: translateY(-100%);
}

.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 1px;
    pointer-events: none;
    white-space: nowrap;
}

.logo {
    height: 50px;
    transform: scale(3);
    transform-origin: left center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M0,50 Q250,300 500,500 T1000,500" fill="none" stroke="%232A9D8F" stroke-width="2" opacity="0.1"/></svg>');
    background-size: cover;
    z-index: -1;
}

.hero-slogan {
    margin: 1.5rem auto;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-slogan p {
    color: var(--primary);
    font-size: 1.3rem;
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-description {
    margin: 1.5rem auto 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 0 20px;
}

.hero-description p {
    color: var(--primary-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.hero-logo {
    max-width: 400px;
    width: 80%;
    margin-bottom: 1rem;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.hero-buttons {
    margin: 2.5rem auto;
    text-align: center;
}

.btn {
    padding: 1rem 3rem;
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.3);
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 157, 143, 0.4);
}

.cloud-decoration {
    position: absolute;
    width: 240px;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100"><path d="M0,50 Q50,20 100,50 T200,50" fill="none" stroke="%232A9D8F" stroke-width="3" opacity="0.3"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    top: 310px;
    left: 0;
    z-index: 0;
    animation: cloudMove 12s linear infinite;
}

@keyframes cloudMove {
    0% { transform: translateX(-260px); }
    100% { transform: translateX(calc(100vw + 260px)); }
}

.about {
    padding: 4rem 5%;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.2rem;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.download {
    padding: 4rem 5%;
    background: #fff;
}

.download-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-align: center;
}

.download-desc {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.download-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    min-height: 60px;
    white-space: nowrap;
}

.exe { background: #2563eb; }
.zip { background: #9333ea; }
.apk { background: #10b981; }

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.features {
    padding: 4rem 5%;
    background: #f8faf9;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(42, 157, 143, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

.gathering {
    padding: 4rem 5%;
    background: white;
}

.gathering-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gathering-desc {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.gathering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gathering-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gathering-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(42, 157, 143, 0.2);
}

.gathering-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.gathering-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

.poetry {
    padding: 4rem 5%;
    background: #f8faf9;
}

.poetry-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.poetry-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.poetry-text p {
    margin-bottom: 1.2rem;
}

.poetry-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.poetry-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.poetry-image:hover img {
    transform: scale(1.05);
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-dark);
    cursor: pointer;
    z-index: 1001;
}

/* 页脚 - 备案号手机完美居中 */
footer {
    background: var(--primary-dark);
    color: var(--text-light);
    text-align: center;
    padding: 2.5rem 5%;
    font-size: 0.95rem;
}
footer p {
    margin-bottom: 0.6rem;
}

.beian-wrapper {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.beian-link {
    color: var(--text-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.beian-link:hover {
    text-decoration: underline;
}
.beian-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 5%;
        flex-wrap: wrap;
    }
    .navbar-center {
        display: none;
    }
    .logo {
        height: 40px;
        transform: scale(1) !important;
    }
    .nav-toggle {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateX(-100%);
        opacity: 0;
        pointer-events: none;
        justify-content: center;
        align-items: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .nav-links.show {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }

    .hero {
        padding-top: 60px;
        min-height: 90vh;
    }
    .hero-logo {
        width: 90%;
        max-width: 300px;
    }
    .hero-slogan p {
        font-size: 1.1rem;
    }
    .hero-description p {
        font-size: 1rem;
    }
    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    .cloud-decoration {
        width: 160px;
        height: 80px;
        top: 260px;
    }

    .section-title {
        font-size: 2rem;
    }
    .about, .features, .gathering, .poetry, .download {
        padding: 2rem 5%;
    }
    .about-content, .poetry-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .features-grid, .gathering-grid {
        grid-template-columns: 1fr;
    }

    .download-box {
        padding: 2rem 1.5rem;
    }
    .download-btns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .download-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .feature-card, .gathering-card {
        padding: 1.8rem 1.5rem;
    }
    .feature-icon {
        font-size: 2.5rem;
    }

    footer {
        padding: 2rem 5%;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-slogan p {
        font-size: 1rem;
    }
    .hero-description p {
        font-size: 0.95rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .cloud-decoration {
        top: 220px;
        width: 140px;
    }
    .download-btn {
        font-size: 0.95rem;
    }
}

@media (hover: none) {
    .btn:active {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }
    .download-btn:active {
        transform: translateY(-3px);
    }
    .feature-card:active, .gathering-card:active {
        transform: translateY(-5px);
    }
}