:root {
        --primary: #FF3B5C;
        --secondary: #7B2CBF;
        --bg-main: #F8F9FB;
        --bg-card: #FFFFFF;
        --text-main: #1A1A1A;
        --text-muted: #5A5A5A;
        --border-radius: 16px;
    }

    * {
        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;
        padding-bottom: 80px; /* Space for floating download bar */
        overflow-x: hidden;
    }

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

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

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

    /* Header */
    .site-header {
        background: var(--bg-card);
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 64px;
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: bold;
        font-size: 18px;
    }

    .brand img {
        height: 32px;
        width: 32px;
        border-radius: 50%;
        object-fit: cover;
    }

    .nav-menu {
        display: none; /* Mobile first, hidden */
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 15px;
        color: var(--text-muted);
        transition: color 0.3s;
        border-radius: 8px;
    }

    .nav-link:hover {
        color: var(--primary);
        background-color: #FFF0F2;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 15px;
        font-weight: bold;
        color: var(--primary);
        cursor: pointer;
        padding: 8px;
        background-color: #FFF0F2;
        border-radius: 8px;
    }

    /* Hero Section */
    .hero {
        background: linear-gradient(135deg, #FFF0F2 0%, #F3E8FF 100%);
        padding: 40px 0;
        overflow: hidden;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 16px;
        color: var(--secondary);
    }

    .hero-text p {
        font-size: 16px;
        color: var(--text-muted);
        margin-bottom: 24px;
    }

    .download-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .btn-ext {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
        border-radius: 24px;
        font-weight: bold;
        font-size: 14px;
        color: #fff;
        transition: transform 0.2s, opacity 0.2s;
    }

    .btn-ext:hover {
        transform: translateY(-2px);
        opacity: 0.9;
    }

    .btn-android { background: #3DDC84; color: #000; }
    .btn-ios { background: #000; }
    .btn-web { background: #007AFF; }
    .btn-harmony { background: #E62E2E; }

    .hero-gallery {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: none; /* Firefox */
    }
    .hero-gallery::-webkit-scrollbar {
        display: none; /* Chrome */
    }

    .hero-gallery img {
        flex: 0 0 80%;
        max-width: 300px;
        border-radius: var(--border-radius);
        aspect-ratio: 3/4;
        object-fit: cover;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    /* Marquee */
    .marquee-wrap {
        background: #1A1A1A;
        color: #fff;
        padding: 10px 0;
        overflow: hidden;
        white-space: nowrap;
    }

    .marquee-content {
        display: inline-block;
        animation: marquee 15s linear infinite;
        font-weight: bold;
        background: linear-gradient(90deg, #FF3B5C, #7B2CBF, #FF3B5C);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

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

    /* Sections */
    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 24px;
        color: var(--secondary);
        display: flex;
        align-items: center;
    }

    .section-title::before {
        content: '';
        display: inline-block;
        width: 6px;
        height: 20px;
        background: var(--primary);
        margin-right: 10px;
        border-radius: 4px;
    }

    /* Modules with different colors/structures */
    .bg-color-1 { background-color: #FFF7F8; }
    .bg-color-2 { background-color: #F2F7FF; }
    .bg-color-3 { background-color: #F4FFF5; }
    .bg-color-4 { background-color: #FFFBEB; }

    /* Grid Layouts */
    .list-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .list-item {
        background: var(--bg-card);
        padding: 16px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

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

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

    /* Flex Layouts */
    .split-layout {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .split-img {
        width: 100%;
        border-radius: var(--border-radius);
        object-fit: cover;
        max-height: 400px;
    }
    
    .split-content {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* FAQ style */
    .faq-item {
        border-bottom: 1px solid #E5E7EB;
        padding: 16px 0;
    }
    
    .faq-item h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

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

    /* Footer */
    .site-footer {
        background: #F1F3F5;
        padding: 32px 0;
        text-align: center;
        font-size: 13px;
        color: #888;
        margin-top: 40px;
    }

    .site-footer a {
        color: #888;
    }

    .site-footer p {
        margin-bottom: 8px;
    }

    /* Floating Download */
    .float-download {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--bg-card);
        width: 90%;
        max-width: 400px;
        border-radius: 30px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 16px;
        z-index: 999;
        border: 1px solid #f0f0f0;
    }

    .float-info {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .float-info img {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .float-text {
        display: flex;
        flex-direction: column;
    }

    .float-text span:first-child {
        font-size: 14px;
        font-weight: bold;
        color: var(--text-main);
    }

    .float-text span:last-child {
        font-size: 11px;
        color: var(--text-muted);
    }

    .float-btn {
        background: var(--primary);
        color: #fff;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: bold;
    }

    /* Mobile Modal */
    .modal-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.6);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    .modal-box {
        background: #fff;
        padding: 24px;
        border-radius: 16px;
        width: 85%;
        max-width: 320px;
        text-align: center;
    }

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

    .modal-input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 8px;
        margin-bottom: 16px;
        font-size: 14px;
        text-align: center;
        background: #f9f9f9;
    }

    .modal-btn {
        background: var(--primary);
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 8px;
        font-size: 15px;
        width: 100%;
        cursor: pointer;
    }

    @media (min-width: 768px) {
        .header-inner {
            height: 72px;
        }
        .brand {
            font-size: 20px;
        }
        .brand img {
            height: 36px;
            width: 36px;
        }
        .mobile-menu-btn {
            display: none;
        }
        .nav-menu {
            display: flex;
            gap: 8px;
        }
        .hero {
            padding: 60px 0;
        }
        .hero-inner {
            flex-direction: row;
            text-align: left;
            align-items: center;
            justify-content: space-between;
        }
        .hero-text {
            flex: 1;
            padding-right: 24px;
        }
        .hero-gallery {
            flex: 1;
            justify-content: flex-end;
        }
        .hero-gallery img {
            flex: 0 0 45%;
        }
        .download-group {
            justify-content: flex-start;
        }
        .list-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .split-layout {
            flex-direction: row;
            align-items: center;
        }
        .split-img {
            width: 40%;
            max-height: 500px;
        }
        .split-content {
            width: 60%;
            padding-left: 24px;
        }
        .section-title {
            font-size: 26px;
        }
    }

    @media (min-width: 1024px) {
        .nav-menu {
            gap: 16px;
        }
        .nav-link {
            font-size: 16px;
        }
        .hero-text h1 {
            font-size: 42px;
        }
        .hero-text p {
            font-size: 18px;
        }
        .list-grid {
            grid-template-columns: repeat(3, 1fr);
        }
        .reverse-split {
            flex-direction: row-reverse;
        }
        .reverse-split .split-content {
            padding-left: 0;
            padding-right: 24px;
        }
    }