* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #e8e8f0;
    background: #0d0d1a;
    min-height: 100vh;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    -webkit-overflow-scrolling: touch;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(108, 92, 231, 0.2);
    transition: all 0.3s ease;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

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

.nav-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.5);
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    gap: 24px;
    justify-content: center;
    background: rgba(13, 13, 26, 0.6);
    border-bottom: 1px solid rgba(108, 92, 231, 0.15);
}

.main-nav a {
    color: #c0c0d8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-nav a:hover {
    color: #fff;
    background: rgba(108, 92, 231, 0.2);
}

.hero {
    min-height: 100vh;
    padding: 100px 20px 30px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: #6C5CE7;
    top: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

.glow-2 {
    width: 300px;
    height: 300px;
    background: #A29BFE;
    top: 50%;
    right: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.glow-3 {
    width: 250px;
    height: 250px;
    background: #FD79A8;
    bottom: -50px;
    left: 30%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #A29BFE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    color: #A29BFE;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-desc {
    font-size: 16px;
    color: #b0b0c8;
    line-height: 1.8;
    margin-bottom: 24px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.tag {
    padding: 6px 16px;
    background: rgba(108, 92, 231, 0.2);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 20px;
    font-size: 13px;
    color: #A29BFE;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat strong {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.stat span {
    font-size: 13px;
    color: #8888a8;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
    min-height: 44px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(108, 92, 231, 0.5);
}

.hero-visual {
    flex: 0 0 auto;
}

.hero-img {
    width: 480px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.35);
}

.float-animation {
    animation: floatImg 4s ease-in-out infinite;
}

@keyframes floatImg {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.section {
    padding: 60px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-head h3 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: #8888a8;
}

.features {
    padding: 30px 20px 60px;
}

.feature-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: rgba(30, 30, 50, 0.6);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #b0b0c8;
    line-height: 1.7;
}

.detail-section {
    padding: 60px 20px;
}

.detail-row {
    max-width: 1000px;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.detail-row.reverse {
    flex-direction: row-reverse;
}

.detail-row img {
    width: 220px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.detail-text {
    flex: 1;
}

.detail-text h4 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.detail-text p {
    font-size: 15px;
    color: #b0b0c8;
    line-height: 1.8;
    margin-bottom: 12px;
}

.roles {
    padding: 60px 20px;
}

.role-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.role-card {
    padding: 32px 24px;
    background: rgba(30, 30, 50, 0.6);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.role-card:hover {
    transform: translateY(-5px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
}

.role-avatar {
    font-size: 48px;
    margin-bottom: 16px;
}

.role-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.role-card p {
    font-size: 13px;
    color: #8888a8;
    line-height: 1.6;
}

.about {
    padding: 60px 20px;
}

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

.about-content p {
    font-size: 16px;
    color: #b0b0c8;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    font-size: 15px;
    color: #c0c0d8;
}

.feature-dot {
    color: #6C5CE7;
    font-weight: bold;
}

.tutorial {
    padding: 60px 20px;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: rgba(30, 30, 50, 0.6);
    border: 1px solid rgba(108, 92, 231, 0.1);
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: rgba(108, 92, 231, 0.3);
}

.step-num {
    flex: 0 0 48px;
    height: 48px;
    background: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: #b0b0c8;
    line-height: 1.7;
}

.faq {
    padding: 60px 20px;
}

.faq-box {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(108, 92, 231, 0.15);
}

.faq-q {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    outline: none;
}

.faq-q:focus-visible {
    outline: 2px solid #A29BFE;
    outline-offset: 2px;
    border-radius: 4px;
}

.faq-q:hover {
    color: #A29BFE;
}

.arrow {
    font-size: 24px;
    color: #6C5CE7;
    transition: transform 0.3s ease;
}

.faq-item.active .arrow {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-a {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-a p {
    font-size: 14px;
    color: #b0b0c8;
    line-height: 1.8;
}

.download-area {
    padding: 60px 20px 100px;
}

.download-box {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(30, 30, 50, 0.8);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 24px;
    text-align: center;
}

.dl-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

.download-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.download-box > p {
    font-size: 15px;
    color: #8888a8;
    margin-bottom: 24px;
}

.app-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    font-size: 13px;
    color: #8888a8;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
    margin: 0 auto 16px;
    min-height: 44px;
}

.main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(108, 92, 231, 0.5);
}

.tip {
    font-size: 14px;
    color: #A29BFE;
    margin-top: 16px;
}

.tip-small {
    font-size: 12px;
    color: #666680;
    margin-top: 8px;
}

.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 20px;
    border-top: 1px solid rgba(108, 92, 231, 0.1);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

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

.footer-logo span {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

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

.footer-nav a {
    font-size: 14px;
    color: #8888a8;
    transition: color 0.3s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 4px;
}

.footer-nav a:hover {
    color: #A29BFE;
}

.copyright {
    font-size: 12px;
    color: #555570;
}

.copyright a {
    color: #8888a8;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 2px;
}

.copyright a:hover {
    color: #A29BFE;
}

.float-download {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: rgba(13, 13, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(108, 92, 231, 0.2);
    z-index: 999;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
}

.float-download a {
    display: block;
    max-width: 500px;
    margin: 0 auto;
    padding: 14px 30px;
    background: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
    min-height: 44px;
    line-height: 1.4;
}

.float-download a:hover {
    transform: translateY(-2px);
}

.section-head,
[id] {
    scroll-margin-top: 80px;
}

.touch-active {
    opacity: 0.7;
    transform: scale(0.98);
}

@media (hover: none) {
    .nav-btn:hover,
    .download-btn:hover,
    .main-btn:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    }

    .feature-card:hover,
    .role-card:hover,
    .step:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    .main-nav {
        gap: 12px;
        padding: 8px 16px;
    }

    .main-nav a {
        font-size: 13px;
        padding: 4px 12px;
    }

    .hero {
        padding: 70px 16px 20px;
    }

    .hero-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 32px;
    }

    .hero-sub {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .hero-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-tags {
        justify-content: center;
        margin-bottom: 24px;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
        margin-bottom: 30px;
    }

    .stat strong {
        font-size: 22px;
    }

    .hero-img {
        width: 320px;
    }

    .features {
        padding: 20px 16px 40px;
    }

    .detail-section,
    .roles,
    .about,
    .tutorial,
    .faq {
        padding: 40px 16px;
    }

    .download-area {
        padding: 40px 16px 90px;
    }

    .section-head {
        margin-bottom: 28px;
    }

    .section-head h3 {
        font-size: 24px;
    }

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

    .feature-card {
        padding: 24px 20px;
    }

    .detail-row,
    .detail-row.reverse {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 40px;
    }

    .detail-row img {
        width: 180px;
    }

    .detail-text h4 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .detail-text p {
        font-size: 14px;
    }

    .role-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .role-card {
        padding: 20px 16px;
    }

    .role-avatar {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .role-card h4 {
        font-size: 16px;
    }

    .download-box {
        padding: 28px 20px;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }

    .app-meta {
        flex-direction: column;
        gap: 8px;
    }

    .step {
        padding: 20px;
        gap: 16px;
    }

    .step-num {
        flex: 0 0 40px;
        height: 40px;
        font-size: 16px;
    }

    .about-features {
        margin: 20px 0;
    }

    .about-feature {
        padding: 8px 0;
    }
}

@media (max-width: 480px) {
    .main-nav {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 6px 12px;
    }

    .main-nav a {
        font-size: 12px;
        padding: 3px 10px;
    }

    .hero {
        padding: 60px 14px 30px;
    }

    .hero-content {
        gap: 24px;
    }

    .hero-text h2 {
        font-size: 26px;
    }

    .hero-img {
        width: 280px;
    }

    .hero-sub {
        font-size: 15px;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat strong {
        font-size: 20px;
    }

    .features {
        padding: 16px 14px 32px;
    }

    .detail-section,
    .roles,
    .about,
    .tutorial,
    .faq {
        padding: 32px 14px;
    }

    .download-area {
        padding: 32px 14px 80px;
    }

    .section-head {
        margin-bottom: 24px;
    }

    .section-head h3 {
        font-size: 22px;
        margin-bottom: 8px;
    }

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

    .feature-card {
        padding: 20px 16px;
    }

    .feature-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .feature-card h4 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 13px;
    }

    .detail-row {
        margin-bottom: 32px;
    }

    .detail-row img {
        width: 160px;
    }

    .detail-text h4 {
        font-size: 20px;
    }

    .detail-text p {
        font-size: 13px;
    }

    .role-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .role-card {
        padding: 18px 14px;
    }

    .role-avatar {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .role-card h4 {
        font-size: 15px;
    }

    .role-card p {
        font-size: 12px;
    }

    .step {
        padding: 16px;
        gap: 14px;
        margin-bottom: 12px;
    }

    .step-num {
        flex: 0 0 36px;
        height: 36px;
        font-size: 15px;
    }

    .step-content h4 {
        font-size: 16px;
    }

    .step-content p {
        font-size: 13px;
    }

    .faq-q {
        font-size: 15px;
        padding: 16px 0;
    }

    .faq-item.active .faq-a {
        padding-bottom: 16px;
    }

    .faq-a p {
        font-size: 13px;
    }

    .download-box {
        padding: 24px 16px;
    }

    .download-box h3 {
        font-size: 20px;
    }

    .download-box > p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .app-meta {
        font-size: 12px;
    }

    .dl-logo {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .download-btn,
    .main-btn {
        font-size: 15px;
        padding: 14px 28px;
    }

    .float-download a {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    .section-head h3 {
        font-size: 24px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .role-card {
        padding: 20px 16px;
    }
}

@media (max-width: 320px) {
    .logo-text h1 {
        font-size: 20px;
    }

    .nav-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .hero-text h2 {
        font-size: 22px;
    }

    .section-head h3 {
        font-size: 22px;
    }

    .main-btn {
        font-size: 15px;
    }

    .download-btn {
        font-size: 14px;
    }
}

input, select, textarea {
    font-size: 16px;
}

.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}