:root {
        --primary: #a25b7b;
        --primary-light: #f4e8ed;
        --bg-main: #fbf9fa;
        --text-main: #2c2230;
        --text-muted: #6b5e6a;
        --card-bg: #ffffff;
        --radius: 16px;
        --shadow: 0 4px 20px rgba(162, 91, 123, 0.08);
    }

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

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        background-color: var(--bg-main);
        color: var(--text-main);
        line-height: 1.6;
        overflow-x: hidden;
        padding-bottom: 80px; /* Space for floating window */
    }

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

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

    /* Header & Nav */
    header {
        position: sticky;
        top: 0;
        background-color: rgba(251, 249, 250, 0.9);
        backdrop-filter: blur(10px);
        z-index: 100;
        border-bottom: 1px solid var(--primary-light);
    }

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

    .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: bold;
        font-size: 20px;
        color: var(--primary);
    }

    .brand img {
        height: 32px;
        width: auto;
        border-radius: 8px;
    }

    .nav-links {
        display: flex;
        gap: 20px;
        list-style: none;
    }

    .nav-links a {
        font-size: 15px;
        color: var(--text-main);
        transition: color 0.2s;
        position: relative;
    }

    .nav-links a:hover {
        color: var(--primary);
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary);
        transition: width 0.3s;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--text-main);
        cursor: pointer;
    }

    /* Hero Section */
    .hero {
        padding: 60px 20px;
        text-align: center;
        background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg-main) 100%);
        position: relative;
    }

    .hero-content {
        max-width: 800px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

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

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

    .hero-tags {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
        margin-bottom: 40px;
    }

    .hero-tags span {
        background: #fff;
        padding: 6px 16px;
        border-radius: 20px;
        font-size: 14px;
        color: var(--primary);
        box-shadow: 0 2px 8px rgba(162, 91, 123, 0.1);
    }

    .hero-images {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 40px;
        flex-wrap: wrap;
    }

    .hero-img-wrapper {
        flex: 1;
        min-width: 250px;
        max-width: 320px;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow);
        background: #fff;
        padding: 8px;
        transition: transform 0.3s;
    }

    .hero-img-wrapper:hover {
        transform: translateY(-5px);
    }

    .hero-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

    /* Marquee */
    .marquee-wrap {
        background: var(--text-main);
        color: #fff;
        padding: 10px 0;
        overflow: hidden;
        white-space: nowrap;
        position: relative;
    }

    .marquee-content {
        display: inline-block;
        animation: marquee 20s linear infinite;
        font-weight: bold;
        font-size: 14px;
        letter-spacing: 2px;
        background: linear-gradient(90deg, #a25b7b, #e8a3b8, #a25b7b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

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

    /* Section Common */
    section {
        padding: 60px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

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

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

    /* Features (Grid) */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .feature-card {
        background: #fff;
        padding: 30px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        transition: transform 0.3s;
        border: 1px solid var(--primary-light);
    }

    .feature-card:hover {
        transform: translateY(-5px);
    }

    .feature-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
        color: var(--primary);
    }

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

    /* Tutorial (Steps) */
    .tutorial-steps {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 800px;
        margin: 0 auto;
    }

    .step-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        background: #fff;
        padding: 20px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

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

    .step-text h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    /* Character Square (Gallery) */
    .character-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .char-card {
        background: #fff;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow);
        text-align: center;
        padding-bottom: 15px;
    }

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

    .char-card h3 {
        font-size: 18px;
        margin: 15px 0 5px;
    }

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

    /* Customization */
    .custom-container {
        display: flex;
        gap: 40px;
        align-items: center;
        background: #fff;
        padding: 40px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .custom-text {
        flex: 1;
    }

    .custom-text h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .custom-list {
        list-style: none;
    }

    .custom-list li {
        margin-bottom: 15px;
        display: flex;
        align-items: flex-start;
        gap: 10px;
        color: var(--text-muted);
    }

    .custom-list li::before {
        content: '✓';
        color: var(--primary);
        font-weight: bold;
    }

    .custom-img {
        flex: 1;
        max-width: 400px;
    }

    .custom-img img {
        border-radius: var(--radius);
        width: 100%;
    }

    /* Chat Preview */
    .chat-container {
        display: flex;
        gap: 40px;
        align-items: center;
        background: var(--primary-light);
        padding: 40px;
        border-radius: var(--radius);
    }

    .chat-img {
        flex: 1;
        max-width: 350px;
    }

    .chat-img img {
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .chat-text {
        flex: 1;
    }

    .chat-text h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .chat-text p {
        color: var(--text-muted);
        margin-bottom: 15px;
    }

    /* Privacy & Feedback (FAQ Style) */
    .faq-list {
        max-width: 800px;
        margin: 0 auto;
    }

    .faq-item {
        background: #fff;
        margin-bottom: 15px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        overflow: hidden;
    }

    .faq-question {
        padding: 20px;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .faq-answer {
        padding: 0 20px 20px;
        color: var(--text-muted);
        display: block;
    }

    /* Download Section */
    .download-section {
        background: linear-gradient(135deg, #2c2230 0%, #a25b7b 100%);
        color: #fff;
        padding: 60px 20px;
        text-align: center;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .download-section h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .download-section p {
        margin-bottom: 30px;
        opacity: 0.9;
    }

    .download-btns {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
        margin-bottom: 40px;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 30px;
        border-radius: 30px;
        font-weight: bold;
        font-size: 16px;
        transition: transform 0.2s, box-shadow 0.2s;
        border: none;
        cursor: pointer;
        color: #fff;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(5px);
    }

    .btn:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.3);
    }

    .btn-primary {
        background: #fff;
        color: var(--primary);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .btn-primary:hover {
        background: #f0f0f0;
    }

    .install-steps {
        max-width: 600px;
        margin: 0 auto;
        text-align: left;
        background: rgba(0,0,0,0.2);
        padding: 20px;
        border-radius: 12px;
    }

    .install-steps h3 {
        margin-bottom: 15px;
        font-size: 18px;
    }

    .install-steps ol {
        padding-left: 20px;
    }

    .install-steps li {
        margin-bottom: 10px;
        font-size: 14px;
        opacity: 0.9;
    }

    /* Footer */
    footer {
        background: #1a141c;
        color: #8a7f88;
        padding: 40px 20px;
        font-size: 12px;
        text-align: center;
    }

    footer a {
        color: #8a7f88;
        text-decoration: underline;
    }

    footer a:hover {
        color: #fff;
    }

    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* Floating Download */
    .floating-download {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: #fff;
        padding: 10px 20px;
        border-radius: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        display: flex;
        align-items: center;
        gap: 15px;
        z-index: 1000;
        border: 1px solid var(--primary-light);
        min-width: 300px;
        justify-content: space-between;
    }

    .floating-left {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .floating-left img {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .floating-info h4 {
        font-size: 14px;
        margin: 0;
    }

    .floating-info p {
        font-size: 12px;
        color: var(--text-muted);
        margin: 0;
    }

    .floating-download .btn {
        padding: 8px 20px;
        font-size: 14px;
        background: var(--primary);
        color: #fff;
    }

    /* Modal for Baidu */
    .modal-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 2000;
        padding: 20px;
    }

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

    .modal-content {
        background: #fff;
        padding: 30px;
        border-radius: var(--radius);
        max-width: 400px;
        width: 100%;
        text-align: center;
    }

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

    .modal-content p {
        color: var(--text-muted);
        font-size: 14px;
        margin-bottom: 20px;
        word-break: break-all;
    }

    .modal-content .btn {
        background: var(--primary);
        color: #fff;
        width: 100%;
    }

    /* Responsive */
    @media (max-width: 1024px) {
        .nav-links { display: none; }
        .mobile-menu-btn { display: block; }
        .nav-links.mobile-open {
            display: flex;
            flex-direction: column;
            position: absolute;
            top: 60px;
            left: 0;
            right: 0;
            background: #fff;
            padding: 20px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            gap: 15px;
        }
        .custom-container, .chat-container {
            flex-direction: column;
            padding: 25px;
        }
        .custom-img, .chat-img {
            max-width: 100%;
        }
    }

    @media (max-width: 768px) {
        .hero { padding: 40px 15px; }
        .hero h1 { font-size: 26px; }
        .hero-images { gap: 10px; }
        .hero-img-wrapper { min-width: 100%; }
        .floating-download {
            min-width: auto;
            width: calc(100% - 30px);
            bottom: 15px;
            padding: 8px 15px;
        }
        .download-section { padding: 40px 15px; }
        .download-section h2 { font-size: 24px; }
        .download-btns { flex-direction: column; }
        .btn { width: 100%; }
    }