:root {
        --primary: #6c5ce7;
        --secondary: #a29bfe;
        --accent: #fd79a8;
        --bg-light: #f8f9fc;
        --bg-dark: #1e1e2f;
        --text-main: #2d3436;
        --text-light: #636e72;
        --white: #ffffff;
        --gradient-1: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
        --gradient-2: linear-gradient(135deg, #fd79a8 0%, #ff9ff3 100%);
        --gradient-3: linear-gradient(135deg, #00cec9 0%, #81ecec 100%);
        --gradient-marquee: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3, #1dd1a1);
        --radius: 16px;
        --shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

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

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        background-color: var(--bg-light);
        color: var(--text-main);
        line-height: 1.6;
        overflow-x: hidden;
        padding-bottom: 80px; /* 为浮动窗口留出空间 */
    }

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

    ul {
        list-style: none;
    }

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

    /* 头部导航 */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        padding: 10px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo-area {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: bold;
        font-size: 20px;
    }

    .logo-area img {
        height: 34px;
        width: 34px;
        border-radius: 8px;
        object-fit: cover;
    }

    .nav-links {
        display: none; /* PC端默认隐藏，视情况调整，这里用折叠菜单代替 */
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: var(--primary);
    }

    /* 折叠菜单 */
    .mobile-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 10px 0;
    }

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

    .mobile-menu a {
        padding: 12px 20px;
        border-bottom: 1px solid #eee;
        color: var(--text-main);
        transition: background 0.3s;
    }

    .mobile-menu a:hover {
        background: var(--bg-light);
        color: var(--primary);
    }

    /* 首屏 Hero */
    .hero-section {
        padding: 40px 20px;
        background: var(--white);
        position: relative;
        overflow: hidden;
    }

    .hero-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .hero-content {
        text-align: center;
        max-width: 800px;
    }

    .hero-tag {
        display: inline-block;
        background: rgba(108, 92, 231, 0.1);
        color: var(--primary);
        padding: 6px 16px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 20px;
        color: var(--text-main);
    }

    .hero-desc {
        font-size: 16px;
        color: var(--text-light);
        margin-bottom: 30px;
    }

    /* 首屏图片轮播/展示 */
    .hero-images {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .hero-img-card {
        width: 100px;
        height: 140px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: transform 0.3s ease;
        border: 2px solid var(--white);
    }
    
    .hero-img-card:nth-child(2) {
        transform: translateY(-15px);
        width: 120px;
        height: 160px;
        z-index: 2;
    }

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

    /* 下载按钮区 */
    .download-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 24px;
        border-radius: 30px;
        font-weight: bold;
        font-size: 15px;
        color: var(--white);
        transition: transform 0.2s, box-shadow 0.2s;
        box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    }

    .btn:active {
        transform: scale(0.95);
    }

    .btn-android { background: var(--gradient-1); }
    .btn-ios { background: var(--gradient-2); }
    .btn-web { background: var(--gradient-3); color: var(--text-main); box-shadow: 0 4px 15px rgba(0, 206, 201, 0.3); }
    .btn-harmony { background: #2d3436; }

    /* 跑马灯 */
    .marquee-wrapper {
        width: 100%;
        background: var(--gradient-marquee);
        padding: 10px 0;
        overflow: hidden;
        white-space: nowrap;
        box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
    }

    .marquee-content {
        display: inline-block;
        animation: marquee 15s linear infinite;
        font-weight: bold;
        color: var(--white);
        text-shadow: 0 1px 2px rgba(0,0,0,0.2);
        font-size: 15px;
    }

    .marquee-content span {
        margin-right: 40px;
    }

    @keyframes marquee {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    /* 通用区块样式 */
    .section {
        padding: 60px 20px;
    }

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

    .section-title {
        text-align: center;
        font-size: 28px;
        margin-bottom: 10px;
        color: var(--text-main);
    }

    .section-subtitle {
        text-align: center;
        color: var(--text-light);
        margin-bottom: 40px;
        font-size: 15px;
    }

    /* 核心功能 */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feature-card {
        background: var(--white);
        padding: 20px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .feature-card h3 {
        font-size: 16px;
        color: var(--primary);
    }

    .feature-card p {
        font-size: 14px;
        color: var(--text-light);
    }

    /* 使用教程 */
    .tutorial-section {
        background: #f0f3fd;
    }

    .tutorial-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .tutorial-item {
        background: var(--white);
        padding: 20px;
        border-radius: var(--radius);
        display: flex;
        align-items: flex-start;
        gap: 15px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    }

    .tutorial-num {
        background: var(--primary);
        color: var(--white);
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        flex-shrink: 0;
    }

    .tutorial-text h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .tutorial-text p {
        font-size: 14px;
        color: var(--text-light);
    }

    /* 角色广场 */
    .role-section {
        background: #fff8f9;
    }

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

    .role-card {
        background: var(--white);
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow);
    }

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

    .role-info {
        padding: 15px;
    }

    .role-info h3 {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .role-info p {
        font-size: 13px;
        color: var(--text-light);
    }

    /* 个性定制（左右结构） */
    .custom-section {
        background: var(--white);
    }

    .custom-layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .custom-image {
        flex: 1;
        border-radius: var(--radius);
        overflow: hidden;
    }

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

    .custom-content {
        flex: 1;
    }

    .custom-content h3 {
        font-size: 20px;
        margin-bottom: 15px;
        color: var(--primary);
    }

    .custom-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .custom-list li {
        font-size: 15px;
        padding-left: 20px;
        position: relative;
        color: var(--text-main);
    }

    .custom-list li::before {
        content: "✦";
        position: absolute;
        left: 0;
        color: var(--accent);
    }

    /* AI聊天 问答 */
    .chat-section {
        background: #f4fbfa;
    }

    .chat-faq {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .faq-item {
        background: var(--white);
        padding: 20px;
        border-radius: var(--radius);
        box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    }

    .faq-q {
        font-weight: bold;
        color: var(--text-main);
        margin-bottom: 10px;
        font-size: 16px;
        display: flex;
        gap: 8px;
    }

    .faq-a {
        color: var(--text-light);
        font-size: 14px;
        padding-left: 24px;
    }

    /* 隐私安全 */
    .privacy-section {
        background: var(--bg-dark);
        color: var(--white);
    }

    .privacy-section .section-title {
        color: var(--white);
    }

    .privacy-section .section-subtitle {
        color: #a4b0be;
    }

    .privacy-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .privacy-item {
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        padding: 20px;
        border-radius: var(--radius);
    }

    .privacy-item h3 {
        color: var(--accent);
        margin-bottom: 8px;
        font-size: 16px;
    }

    .privacy-item p {
        color: #ced6e0;
        font-size: 14px;
    }

    /* 意见反馈 */
    .feedback-section {
        background: #f8f9fc;
        text-align: center;
    }

    .feedback-content {
        background: var(--white);
        padding: 40px 20px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        max-width: 800px;
        margin: 0 auto;
    }

    .feedback-content p {
        color: var(--text-light);
        margin-bottom: 25px;
    }

    /* 常见问题 */
    .faq-section {
        background: var(--white);
    }

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

    .general-faq .faq-item {
        border-bottom: 1px solid #eee;
        box-shadow: none;
        border-radius: 0;
        background: transparent;
        padding: 20px 0;
    }
    
    .general-faq .faq-item:last-child {
        border-bottom: none;
    }

    /* 下载专区 */
    .download-section {
        background: #f0f3fd;
        text-align: center;
    }

    .download-area {
        background: var(--white);
        padding: 40px 20px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        max-width: 800px;
        margin: 0 auto;
    }

    .download-area h3 {
        margin-bottom: 20px;
        color: var(--text-main);
    }

    .install-steps {
        text-align: left;
        margin-bottom: 30px;
        background: var(--bg-light);
        padding: 20px;
        border-radius: 12px;
    }

    .install-steps p {
        margin-bottom: 10px;
        font-size: 14px;
        color: var(--text-main);
    }

    /* 页脚 */
    .site-footer {
        background: var(--bg-dark);
        color: #a4b0be;
        padding: 40px 20px 20px;
        font-size: 13px;
        text-align: center;
    }

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

    .footer-nav a {
        color: #ced6e0;
        transition: color 0.3s;
    }

    .footer-nav a:hover {
        color: var(--white);
    }

    .footer-copyright {
        margin-bottom: 10px;
    }

    .footer-icp a {
        color: #a4b0be;
    }
    
    .update-time {
        margin-top: 10px;
        font-size: 12px;
        color: #747d8c;
    }

    /* 浮动下载窗口 */
    .floating-download {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--white);
        padding: 10px 15px;
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        display: flex;
        align-items: center;
        gap: 10px;
        z-index: 1000;
        border: 1px solid #eee;
        width: 90%;
        max-width: 400px;
    }

    .floating-download img {
        width: 30px;
        height: 30px;
        border-radius: 6px;
    }

    .float-text {
        flex: 1;
    }

    .float-text h4 {
        font-size: 14px;
        margin-bottom: 2px;
        color: var(--text-main);
    }

    .float-text p {
        font-size: 11px;
        color: var(--text-light);
    }

    .float-btn {
        background: var(--gradient-1);
        color: var(--white);
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: bold;
        white-space: nowrap;
    }

    /* 弹窗 */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 2000;
    }

    .modal-overlay.active {
        display: flex;
    }

    .modal-box {
        background: var(--white);
        padding: 30px 20px;
        border-radius: var(--radius);
        text-align: center;
        width: 90%;
        max-width: 350px;
    }

    .modal-box p {
        margin-bottom: 20px;
        font-size: 15px;
        color: var(--text-main);
    }

    .modal-btn {
        background: var(--primary);
        color: var(--white);
        border: none;
        padding: 10px 20px;
        border-radius: 20px;
        font-size: 14px;
        cursor: pointer;
    }

    /* 响应式 */
    @media (min-width: 768px) {
        .hero-container {
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            text-align: left;
        }

        .hero-content {
            text-align: left;
            flex: 1;
        }

        .hero-content h1 {
            font-size: 42px;
        }

        .hero-images {
            flex: 1;
            justify-content: flex-end;
        }

        .features-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .role-grid {
            grid-template-columns: repeat(4, 1fr);
        }

        .privacy-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .custom-layout {
            flex-direction: row;
            align-items: center;
        }

        .custom-image {
            flex: 1;
            height: 400px;
        }
        
        .custom-content {
            flex: 1;
        }

        .mobile-menu {
            display: flex !important;
            position: static;
            flex-direction: row;
            box-shadow: none;
            background: transparent;
            width: auto;
            padding: 0;
        }

        .mobile-menu a {
            border-bottom: none;
            padding: 8px 15px;
            font-size: 15px;
        }

        .menu-toggle {
            display: none;
        }
    }

    @media (min-width: 1024px) {
        .hero-content h1 {
            font-size: 48px;
        }

        .features-grid {
            grid-template-columns: repeat(4, 1fr);
        }

        .role-grid {
            grid-template-columns: repeat(5, 1fr);
        }

        .privacy-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }