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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #1a1a2e;
    max-width: 1000px;
    margin: 0 auto;
}

/* .page {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 30px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
} */

/* 桌面端适配 */
@media screen and (min-width: 768px) {
    .page {
        /* box-shadow: 0 0 40px rgba(0, 0, 0, 0.5); */
    }
}

/* 背景装饰 */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    left: -50px;
    animation-delay: 5s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(15px, -15px) scale(1.1); }
    66% { transform: translate(-15px, 15px) scale(0.9); }
}

/* 头部区域 */
.header-section {
    padding: 40px 20px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.title-wrapper {
    margin-bottom: 10px;
    opacity: 0;
}

.title-main {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: 5px;
}

.subtitle {
    margin-bottom: 30px;
    opacity: 0;
}

.subtitle-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 20px;
}

/* 应用图标 */
.app-icon-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    width: 90px;
    height: 90px;
    opacity: 0;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.app-icon {
    width: 90px;
    height: 90px;
    border-radius: 22.5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

/* 应用名称 */
.app-name-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0;
}

.app-name {
    font-size: 26px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.version-badge {
    background: rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.5);
    border-radius: 10px;
    padding: 4px 10px;
}

.version-text {
    font-size: 11px;
    color: #ffffff;
}

/* 标签 */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    margin-bottom: 30px;
    opacity: 0;
}

.tag-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
}

/* 截图区域 */
.screenshots-wrapper {
    position: relative;
    z-index: 1;
    padding: 20px 0;
}

/* 默认移动端显示单个轮播 */
.mobile-only {
    display: flex;
}

.desktop-only {
    display: none !important;
}

.screenshots-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
}

.phone-frame {
    width: 170px;
    height: 340px;
    background: linear-gradient(145deg, #2d2d44 0%, #1a1a2e 100%);
    border-radius: 25px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 14px;
    background: #000;
    border-radius: 0 0 10px 10px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

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

/* 截图指示器 */
.screenshot-indicators {
    display: flex;
    gap: 6px;
    margin-top: 20px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    cursor: pointer;
}

.indicator.active {
    width: 20px;
    border-radius: 4px;
    background: rgba(102, 126, 234, 0.9);
}

/* 桌面端截图 */
.screenshots-desktop {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0 40px;
    opacity: 0;
}

/* 桌面端适配 */
@media screen and (min-width: 768px) {
    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: flex !important;
    }

    .phone-frame {
        width: 280px;
        height: 560px;
        border-radius: 40px;
        padding: 12px;
    }

    .phone-notch {
        top: 12px;
        width: 100px;
        height: 24px;
        border-radius: 0 0 16px 16px;
    }

    .phone-screen {
        border-radius: 32px;
    }
}

/* 下载区域 */
.download-section {
    padding: 20px 20px 10px;
    opacity: 0;
}

.download-title {
    text-align: center;
    margin-bottom: 20px;
}

.download-title-text {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.download-buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 20px;
}

.download-btn {
    flex: 1;
    height: 60px;
    border-radius: 12px;
    border: none;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.2s;
}

.download-btn:hover {
    opacity: 0.9;
    transform: scale(0.98);
}

.btn-ios {
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
}

.btn-android {
    background: linear-gradient(135deg, #3ddc84 0%, #2ba55d 100%);
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
}

.btn-icon-img {
    width: 25px;
    height: 25px;
}

.btn-text-cn {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
}

/* 动画 */
.fade-in {
    animation: fadeIn 0.8s forwards;
}

.fade-in-delay {
    animation: fadeIn 0.8s 0.2s forwards;
}

.fade-in-delay-2 {
    animation: fadeIn 0.8s 0.4s forwards;
}

.fade-in-delay-3 {
    animation: fadeIn 0.8s 0.6s forwards;
}

.scale-in {
    animation: scaleIn 0.8s 0.3s forwards;
}

.slide-up {
    animation: slideUp 0.8s 0.5s forwards;
}

.slide-up-delay {
    animation: slideUp 0.8s 1s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    background: rgba(102, 126, 234, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ffffff;
}

/* 移动端导航 */
@media screen and (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 12px;
    }

    .nav-link {
        font-size: 12px;
    }
}

/* 调整页面顶部间距 */
.header-section {
    padding-top: 80px;
}

/* 功能介绍区域 */
.features-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 60px 20px;
    margin: 40px 0;
}

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

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 10px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
}

.feature-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* 关于我们区域 */
.about-section {
    padding: 60px 20px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-text h3 {
    font-size: 22px;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.feature-list li {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 2;
    padding-left: 10px;
}

/* 联系我们区域 */
.contact-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 60px 20px;
    margin: 40px 0;
}

/* 软著图片展示区域 */
.ruanzhu-section {
    padding: 60px 20px;
    text-align: center;
}

.ruanzhu-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ruanzhu-img {
    width: 350px;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    cursor: pointer;
}

.ruanzhu-img:hover {
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    .ruanzhu-images {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .ruanzhu-img {
        width: 100%;
        max-width: 350px;
        height: auto;
        aspect-ratio: 7/9;
    }
}

/* 图片放大模态框 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.image-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from { transform: translate(-50%, -50%) scale(0.5); }
    to { transform: translate(-50%, -50%) scale(1); }
}

.image-modal .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.image-modal .close:hover {
    color: #bbb;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* 页脚 */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    margin: 0 auto;
}

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

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.4);
}

.footer-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.8;
}

.footer-info p {
    margin: 5px 0;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    background: rgba(255, 255, 255, 0.98);
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    backdrop-filter: blur(10px);
}

.modal-content h2 {
    color: #667eea;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.modal-content h3 {
    color: #764ba2;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 12px;
}

.modal-text {
    color: #333333;
    font-size: 14px;
    line-height: 1.8;
}

.modal-text p {
    margin-bottom: 15px;
}

.modal-text ul {
    margin: 10px 0 15px 20px;
    padding-left: 20px;
}

.modal-text li {
    margin-bottom: 8px;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #667eea;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close:hover {
    color: #764ba2;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-text {
        padding: 25px;
    }

    .about-text h3 {
        font-size: 18px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        padding: 30px 20px;
        margin: 10% auto;
    }

    .modal-content h2 {
        font-size: 22px;
    }

    .modal-content h3 {
        font-size: 18px;
    }
}

/* 滚动条样式 */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

/* ICP备案链接样式 */
.icp-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.icp-link:hover {
    color: #ffffff;
    text-decoration: underline;
}
