/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0e1a;
    color: #FFFFFF;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#stars-canvas {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ===== Header ===== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 60px;
    flex-shrink: 0;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(10,14,26,.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.main-content, .footer { position: relative; z-index: 1; }
.logo-wrap {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: inherit;
}
.logo-img {
    width: 32px; height: 32px;
    border-radius: 100px;
    object-fit: contain;
}
.logo-txt { font-size: 18px; font-weight: 700; }

/* ===== Restore Purchase Button ===== */
.restore-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.7);
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s;
}
.restore-btn:hover {
    border-color: rgba(255,255,255,.4);
    color: #fff;
    background: rgba(255,255,255,.06);
}

/* ===== Restore Modal ===== */
.restore-box {
    width: 380px;
    padding: 32px;
    text-align: center;
}
.restore-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.restore-desc {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    margin-bottom: 24px;
    line-height: 1.5;
}
.restore-qr-wrap {
    width: 210px;
    height: 210px;
    margin: 0 auto 16px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
}
.restore-qr-wrap .qr-result {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}
.restore-hint {
    font-size: 13px;
    color: rgba(255,255,255,.5);
}
.m-box-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255,255,255,.4);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}
.m-box-close:hover { color: #fff; }

/* ===== Main Content ===== */
.main-content {
    flex: 1;
    position: relative;
    background: transparent;
    min-height: 784px;
    margin-top: 56px;
}
.main-content::before {
    content: '';
    position: absolute;
    left: 50%; top: 45%;
    transform: translate(-50%, -50%);
    width: 900px; height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229,72,77,.10) 0%, rgba(229,72,77,.04) 35%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Ambient glows */
.ambient-glow {
    position: absolute; border-radius: 50%;
    pointer-events: none;
}
.glow-left {
    width: 500px; height: 500px;
    left: 60px; top: 50px;
    background: radial-gradient(circle, rgba(0,180,216,.03) 0%, transparent 100%);
}
.glow-right {
    width: 500px; height: 500px;
    right: 60px; top: 50px;
    background: radial-gradient(circle, rgba(229,72,77,.03) 0%, transparent 100%);
}

/* ===== Brand beam properties ===== */
@property --beam1-a {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}
@property --beam2-a {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

/* ===== Slogan ===== */
.slogan {
    position: absolute;
    left: 50%; top: 6%;
    transform: translateX(-50%);
    width: max-content; max-width: 96vw;
    text-align: center;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 36px; font-weight: 800;
    letter-spacing: -1px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    white-space: normal;
    flex-wrap: wrap;
}
.brand-text {
    font-family: 'Clash Display', system-ui, sans-serif;
    /* Fixed left (white/grey) & right (teal) beams, alternating brightness */
    background:
        /* Beam 1: white/grey, fixed at left ~15%, fades to ~33% */
        radial-gradient(ellipse 45% 100% at 10% 50%,
            rgba(255,255,255,var(--beam1-a)) 0%,
            rgba(200,200,200,calc(var(--beam1-a)*0.4)) 50%,
            transparent 100%)
            no-repeat,
        /* Beam 2: teal, fixed at right ~85%, fades to ~67% */
        radial-gradient(ellipse 45% 100% at 90% 50%,
            rgba(92,207,207,var(--beam2-a)) 0%,
            rgba(140,197,197,calc(var(--beam2-a)*0.4)) 50%,
            transparent 100%)
            no-repeat,
        /* Base gradient */
        linear-gradient(90deg, #E5484D 0%, #D4918F 50%, #E5484D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: beam-pulse 6s ease-in-out infinite;
    font-weight: 700;
    font-size: 60px;
    padding-right: 4px;
}
@keyframes beam-pulse {
    /* Alternate: white beam brightens then fades, then teal beam brightens then fades */
    0%   { --beam1-a: 0;   --beam2-a: 0;   }
    15%  { --beam1-a: 1.2; --beam2-a: 0;   }
    35%  { --beam1-a: 1.2; --beam2-a: 0;   }
    50%  { --beam1-a: 0;   --beam2-a: 0;   }
    65%  { --beam1-a: 0;   --beam2-a: 1.3; }
    85%  { --beam1-a: 0;   --beam2-a: 1.3; }
    100% { --beam1-a: 0;   --beam2-a: 0;   }
}
.slogan-logo {
    width: 62px; height: 62px;
    object-fit: contain;
    flex-shrink: 0;
    animation: jelly 2.4s ease-in-out infinite;
    filter: drop-shadow(0 4px 16px rgba(229,72,77,.35));
}
@keyframes jelly {
    0%   { transform: scale(1,1); }
    10%  { transform: scale(1.08,.92); }
    20%  { transform: scale(.92,1.08); }
    30%  { transform: scale(1.05,.95); }
    40%  { transform: scale(.97,1.03); }
    50%  { transform: scale(1.02,.98); }
    60%  { transform: scale(.99,1.01); }
    70%  { transform: scale(1,1); }
    100% { transform: scale(1,1); }
}
.subtitle {
    position: absolute;
    left: 50%; top: 14%;
    transform: translateX(-50%);
    width: 700px; text-align: center;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 20px; color: #9BAABB;
    letter-spacing: 1.5px;
    z-index: 2;
}

/* ===== Platform pills ===== */
.platform-row {
    position: absolute;
    left: 50%; top: 19%;
    transform: translateX(-50%);
    display: flex; gap: 14px;
    z-index: 2;
}
.platform-pill {
    display: flex; align-items: center; gap: 9px;
    padding: 9px 22px;
    border-radius: 100px;
    font-size: 15px; font-weight: 500;
    text-decoration: none;
    transition: transform .2s;
}
.platform-pill:hover { transform: translateY(-2px); }
.pill-win {
    background: rgba(0,120,212,.08);
    border: 1px solid rgba(0,120,212,.2);
    color: #0078D4;
}
.pill-icon { width: 18px; height: 18px; }
.pill-mac {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25);
    color: #E0E0E0;
}
.pill-mac:hover {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.4);
    color: #fff;
}

/* ===== Feature Cards ===== */
.feature-card {
    position: absolute;
    width: clamp(260px, 22vw, 400px);
    height: auto; min-height: clamp(140px, 13vw, 200px);
    background: rgba(14,20,36,.8);
    border-radius: 14px;
    border: 1px solid var(--accent-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: clamp(18px, 1.6vw, 28px) clamp(20px, 1.8vw, 30px);
    display: flex; flex-direction: column; gap: 10px;
    z-index: 2;
}
.fc-head {
    display: flex; align-items: center; gap: 10px;
}
.fc-head i { font-size: clamp(22px, 1.8vw, 28px); color: var(--accent); }
.fc-head span { font-size: clamp(15px, 1.2vw, 19px); font-weight: 600; }
.feature-card p {
    color: #94A3B8; font-size: clamp(13px, 1vw, 16px); line-height: 1.75;
}

.card-left {
    left: max(12px, 3.5%);
    animation: card-fly-left .9s cubic-bezier(.22,.61,.36,1) both;
}
.card-right {
    right: max(12px, 3.5%);
    animation: card-fly-right .9s cubic-bezier(.22,.61,.36,1) both;
}
.card-1, .card-4 { top: max(16%, 130px); }
.card-2, .card-5 { top: max(42%, 340px); }
.card-3, .card-6 { top: max(66%, 550px); }

.card-1 { animation-delay: .15s; }
.card-2 { animation-delay: .30s; }
.card-3 { animation-delay: .45s; }
.card-4 { animation-delay: .20s; }
.card-5 { animation-delay: .35s; }
.card-6 { animation-delay: .50s; }

@keyframes card-fly-left {
    from {
        opacity: 0;
        transform: translateX(45vw) translateY(-8%) scale(.7);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}
@keyframes card-fly-right {
    from {
        opacity: 0;
        transform: translateX(-45vw) translateY(-8%) scale(.7);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

/* ===== Connecting lines (SVG) ===== */
.conn-svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    animation: lines-fade-in 1.2s cubic-bezier(.22,.61,.36,1) .3s both;
}
@keyframes lines-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== Deploy Button ===== */
.btn-glow {
    position: absolute;
    left: 50%; top: 52%;
    transform: translate(-50%, -50%);
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229,72,77,.18) 0%, rgba(229,72,77,.08) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    filter: blur(16px);
    animation: glow-breathe 3s ease-in-out infinite;
}
.deploy-btn {
    position: absolute;
    left: 50%; top: 54%;
    transform: translateX(-50%);
    width: 240px; height: 68px;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    background: linear-gradient(135deg, #E5484D, #C62828);
    border: none; border-radius: 18px;
    color: #fff; font-size: 22px; font-weight: 700;
    letter-spacing: 1.5px; cursor: pointer;
    box-shadow:
        0 8px 50px 4px rgba(229,72,77,.27),
        0 20px 100px rgba(198,40,40,.20);
    font-family: inherit;
    z-index: 3;
    animation: btn-breathe 3s ease-in-out infinite;
}
.deploy-btn:hover {
    animation-play-state: paused;
    transform: translateX(-50%) translateY(-4px) scale(1.04);
    box-shadow:
        0 12px 60px 8px rgba(229,72,77,.40),
        0 28px 120px rgba(198,40,40,.30);
}
.deploy-btn i { font-size: 24px; }

@keyframes btn-breathe {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow:
            0 8px 50px 4px rgba(229,72,77,.27),
            0 20px 100px rgba(198,40,40,.20);
    }
    50% {
        transform: translateX(-50%) scale(1.045);
        box-shadow:
            0 12px 60px 8px rgba(229,72,77,.38),
            0 24px 110px rgba(198,40,40,.28);
    }
}
@keyframes glow-breathe {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.12);
        opacity: .75;
    }
}

/* ===== Marquee Strip ===== */
.marquee-strip {
    position: absolute;
    left: 50%; top: 36%;
    transform: translateX(-50%);
    width: 760px; height: 44px;
    overflow: hidden;
    border: none;
    z-index: 0;
}
.marquee-inner {
    display: flex;
    width: max-content;
    animation: marquee-scroll 24s linear infinite;
}
.marquee-track {
    display: flex; align-items: center; gap: 56px;
    height: 44px;
    padding-right: 56px;
    flex-shrink: 0;
}
.marquee-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 16px; font-weight: 500;
    color: #94A3B8; white-space: nowrap;
}
.mi-icon {
    width: 22px; height: 22px;
    border-radius: 4px;
    flex-shrink: 0;
}
.marquee-fade {
    position: absolute; top: 0;
    width: 140px; height: 44px;
    pointer-events: none;
    z-index: 1;
}
.fade-left {
    left: 0;
    background: linear-gradient(90deg, rgba(10,14,26,1) 0%, rgba(10,14,26,0) 100%);
}
.fade-right {
    right: 0;
    background: linear-gradient(270deg, rgba(10,14,26,1) 0%, rgba(10,14,26,0) 100%);
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== Models Section ===== */
.models-section {
    position: absolute;
    left: 50%; top: 73%;
    transform: translateX(-50%);
    width: 720px;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    z-index: 8;
}
.models-label {
    display: flex; align-items: center; gap: 10px;
    width: 100%;
}
.ml-line {
    flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.08));
}
.ml-line:last-child {
    background: linear-gradient(90deg, rgba(255,255,255,.08), transparent);
}
.ml-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px; font-weight: 500;
    letter-spacing: 2px; color: #7B8BA5;
    white-space: nowrap;
}
.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
}
.model-vendor {
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 8px 8px;
    border-radius: 8px;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.05);
    transition: border-color .2s, background .2s;
    cursor: default;
}
.model-vendor:hover {
    border-color: color-mix(in srgb, var(--vc) 25%, transparent);
    background: color-mix(in srgb, var(--vc) 4%, transparent);
}
.vendor-dot {
    width: 42px; height: 42px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; color: #fff;
    flex-shrink: 0;
}
img.vendor-dot { object-fit: cover; }
.vendor-hover {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px);
    transform: translateX(-50%);
    width: 460px;
    background: linear-gradient(135deg, rgba(18,22,38,.94) 0%, rgba(12,16,28,.96) 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s;
    z-index: 99999;
    pointer-events: none;
    box-shadow: 0 16px 56px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04);
    overflow: hidden;
}
.model-vendor:hover .vendor-hover {
    opacity: 1;
    visibility: visible;
}
.vendor-hover-head {
    padding: 18px 22px 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.vh-logo {
    width: 42px; height: 42px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.vh-info { flex: 1; min-width: 0; }
.vendor-hover strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: .3px;
}
.vendor-hover p {
    font-size: 13px;
    color: rgba(255,255,255,.7);
    line-height: 1.65;
    margin: 0;
}
.vendor-hover-body {
    padding: 14px 22px 20px;
}
.vendor-hover-body-title {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.vendor-hover ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 6px;
}
.vendor-hover li {
    font-size: 13px;
    color: rgba(255,255,255,.85);
    line-height: 1.6;
    padding: 7px 10px 7px 22px;
    position: relative;
    background: rgba(255,255,255,.06);
    border-radius: 8px;
    border-left: none;
}
.vendor-hover li::before {
    content: '';
    position: absolute;
    left: 6px; top: 50%;
    transform: translateY(-50%);
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--vc, #E5484D);
    animation: li-breathe 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--vc, #E5484D);
}
@keyframes li-breathe {
    0%, 100% { opacity: .35; box-shadow: 0 0 3px var(--vc, #E5484D); }
    50%      { opacity: 1;   box-shadow: 0 0 16px var(--vc, #E5484D); }
}
.vendor-hover li:nth-child(1)::before { animation-delay: 0s; }
.vendor-hover li:nth-child(2)::before { animation-delay: .4s; }
.vendor-hover li:nth-child(3)::before { animation-delay: .8s; }
.vendor-hover li:nth-child(4)::before { animation-delay: 1.2s; }
.vendor-hover b {
    color: #fff;
    font-weight: 600;
}
.vendor-hover li span {
    color: rgba(255,255,255,.55);
    font-size: 12px;
}
.vendor-name {
    font-size: 11px; font-weight: 600; color: #E2E8F0;
    white-space: nowrap;
}
.vendor-models {
    font-size: 9px; color: #64748B; text-align: center;
    line-height: 1.3;
}

/* ===== WeChat Float ===== */
.wechat-float {
    position: absolute;
    right: 60px; bottom: 20px;
    display: flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    border-radius: 100px;
    background: rgba(7,193,96,.13);
    border: 1px solid rgba(7,193,96,.27);
    color: #07C160;
    font-size: 13px; font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(7,193,96,.2);
    transition: transform .2s;
    font-family: inherit;
    z-index: 5;
}
.wc-icon { width: 16px; height: 16px; }
.wechat-float:hover { transform: translateY(-2px); }

/* ===== Footer ===== */
.footer {
    flex-shrink: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 6px;
    height: 60px; padding: 8px 60px;
    position: relative; z-index: 5;
}
.footer-copy { font-size: 12px; color: #475569; }
.footer-links {
    display: flex; align-items: center; gap: 16px;
}
.footer-links a {
    font-size: 12px; color: #475569; text-decoration: none;
}
.footer-links a:hover { color: #94A3B8; }
.footer-links .sep { color: #334155; font-size: 12px; }

/* ===== Modal Overlay ===== */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.73);
    display: flex; align-items: center; justify-content: center;
    z-index: 100;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.modal-overlay[hidden] { display: none; }

/* ===== Common Modal Box ===== */
.m-box {
    position: relative;
    background: #0D1225F5;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 22px;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    color: #fff;
}
.m-close {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,.03);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    position: absolute; right: 18px; top: 18px;
    z-index: 2;
}
.m-close i { color: #64748B; font-size: 16px; }
.m-close:hover { background: rgba(255,255,255,.08); }
.m-divider {
    height: 1px;
    background: rgba(255,255,255,.06);
    margin: 16px 0;
}
.m-qr-box {
    width: 180px; height: 180px;
    background: #fff; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
}
.m-qr-inner {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    color: #94A3B8; font-size: 12px;
}
.m-qr-inner i { font-size: 48px; color: #CBD5E1; }
.m-qr-img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.m-qr-box-lg { width: 200px; height: 200px; }
.m-qr-inner-lg i { font-size: 56px; }
.m-qr-box-sm { width: 140px; height: 140px; border-radius: 10px; }
.m-qr-inner-sm { gap: 6px; font-size: 11px; }
.m-qr-inner-sm i { font-size: 40px; }
.m-qr-box-xl { width: 260px; height: 260px; border-radius: 14px; }
.m-qr-inner-xl { gap: 8px; font-size: 12px; }
.m-qr-inner-xl i { font-size: 64px; }
.m-qr-box img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ========== 3. Customer Service Modal ========== */
.m-cs {
    width: 400px; max-width: 92vw;
    box-shadow: 0 24px 80px rgba(7,193,96,.10);
    overflow: hidden;
}
.m-cs-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 22px;
    background: linear-gradient(135deg, #07C16020, #22D3EE10);
    border-bottom: 1px solid rgba(7,193,96,.12);
}
.m-cs-header .m-close { position: static; background: rgba(255,255,255,.06); }
.m-cs-title-row {
    display: flex; align-items: center; gap: 12px;
}
.m-cs-icon-circle {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(7,193,96,.12);
    display: flex; align-items: center; justify-content: center;
}
.m-cs-icon-circle i { font-size: 20px; }
.m-cs-title-col { display: flex; flex-direction: column; gap: 2px; }
.m-cs-title { font-size: 16px; font-weight: 700; }
.m-cs-sub { font-size: 11px; color: #7B8BA5; }
.m-cs-body {
    display: flex; flex-direction: column; align-items: center;
    padding: 22px 28px 24px; gap: 14px;
}
.m-cs-status {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: #07C160;
    padding: 4px 14px; border-radius: 100px;
    background: rgba(7,193,96,.08);
    border: 1px solid rgba(7,193,96,.15);
}
.m-cs-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #07C160;
    animation: cs-blink 1.5s ease-in-out infinite;
}
@keyframes cs-blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.m-cs-qr-area { text-align: center; }
.m-cs-qr-hint { display: block; font-size: 13px; color: #CBD5E1; margin-top: 12px; }
.m-cs-qr-hint2 { display: block; font-size: 12px; color: #64748B; margin-top: 4px; }
.m-cs-info-grid {
    display: flex; gap: 10px; width: 100%;
}
.m-cs-info {
    flex: 1; display: flex; align-items: center; gap: 8px;
    padding: 12px; border-radius: 10px;
    background: rgba(7,193,96,.04);
    border: 1px solid rgba(7,193,96,.08);
    font-size: 12px; color: #CBD5E1;
}
.m-cs-info i { font-size: 16px; flex-shrink: 0; }

/* ========== 4. Deploy Modal ========== */
.m-deploy {
    width: 1080px; max-width: 96vw;
    max-height: 90vh;
    padding: 0;
    background: #050810;
    border: 1px solid rgba(17,24,39,.5);
    border-radius: 16px;
    box-shadow: 0 8px 48px rgba(0,0,0,.5);
    display: flex; flex-direction: column;
    overflow: hidden;
}

.m-deploy-main {
    flex: 1;
    min-height: 0;
    display: flex;
    gap: 14px;
    padding: 14px;
    overflow: hidden;
}

.m-deploy-primary {
    flex: 1;
    min-width: 0;
    min-height: 0;
    border: 1px solid rgba(17,24,39,.7);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(5,8,16,.9);
    display: flex;
    flex-direction: column;
}

/* Header */
.m-deploy-header {
    flex-shrink: 0;
    display: flex; flex-direction: column;
    align-items: center;
    padding: 32px 40px 24px;
    gap: 16px;
}
.m-deploy-title {
    font-size: 22px; font-weight: 700;
}
.m-deploy-progress {
    width: 100%;
    display: flex; align-items: center; gap: 12px;
}
.m-progress-bar {
    flex: 1; height: 6px;
    background: #0b1220;
    border-radius: 3px; overflow: hidden;
}
.m-progress-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, #e63946 0%, #e63946 60%, #00e5cc 100%);
    border-radius: 3px;
    transition: width .3s ease;
}
.m-progress-pct {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px; font-weight: 700;
    color: #00e5cc; min-width: 42px; text-align: right;
}
.m-deploy-hint {
    font-size: 13px; color: #8892b0;
}

/* Divider */
.m-deploy-divider {
    flex-shrink: 0;
    height: 1px;
    background: #111827;
}

/* Steps Section */
.m-deploy-steps-section {
    flex: 1;
    min-height: 0;
    display: flex; flex-direction: column;
    padding: 16px 18px 0;
    overflow: hidden;
}
.m-deploy-steps-head {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px 12px;
}
.m-steps-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; font-weight: 600;
    color: #5a6480;
    letter-spacing: 2px;
}
.m-steps-status {
    font-size: 12px; font-weight: 500;
    color: #00e5cc;
}

/* Individual Steps (lyrics-style) */
.m-steps-list {
    flex: 1;
    min-height: 0;
    display: flex; flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.m-steps-list::-webkit-scrollbar { display: none; }
.m-step {
    scroll-snap-align: center;
    scroll-margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    transition: all .4s ease;
}
.m-step-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #2e405c;
    transition: all .4s ease;
}
.m-step-info {
    flex: 1;
    display: flex; flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.m-step-title {
    font-size: 13px; font-weight: 500;
    color: #5a6480;
    transition: all .4s ease;
}
.m-step-desc {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #2e405c;
    transition: all .4s ease;
}
.m-step-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #2e405c;
    flex-shrink: 0;
    transition: all .4s ease;
}

/* All-pass dopamine moment */
.m-steps-list.all-pass .m-step.pass {
    opacity: 1 !important;
    background: linear-gradient(90deg, rgba(0,229,204,.08), rgba(0,229,204,.02));
    border: 1px solid rgba(0,229,204,.26);
    box-shadow: inset 0 0 0 1px rgba(0,229,204,.08), 0 0 18px rgba(0,229,204,.12);
    animation: step-pass-pulse .8s ease both;
}

.m-steps-list.all-pass .m-step.pass .m-step-dot {
    box-shadow: 0 0 0 4px rgba(0,229,204,.16), 0 0 12px rgba(0,229,204,.55);
}

.m-steps-list.all-pass .m-step.pass:nth-child(1) { animation-delay: .00s; }
.m-steps-list.all-pass .m-step.pass:nth-child(2) { animation-delay: .04s; }
.m-steps-list.all-pass .m-step.pass:nth-child(3) { animation-delay: .08s; }
.m-steps-list.all-pass .m-step.pass:nth-child(4) { animation-delay: .12s; }
.m-steps-list.all-pass .m-step.pass:nth-child(5) { animation-delay: .16s; }
.m-steps-list.all-pass .m-step.pass:nth-child(6) { animation-delay: .20s; }
.m-steps-list.all-pass .m-step.pass:nth-child(7) { animation-delay: .24s; }
.m-steps-list.all-pass .m-step.pass:nth-child(8) { animation-delay: .28s; }
.m-steps-list.all-pass .m-step.pass:nth-child(9) { animation-delay: .32s; }

@keyframes step-pass-pulse {
    0% {
        transform: scale(1);
        filter: saturate(1);
    }
    45% {
        transform: scale(1.015);
        filter: saturate(1.15) brightness(1.06);
    }
    100% {
        transform: scale(1);
        filter: saturate(1);
    }
}

/* Pending (dimmed) */
.m-step.pending {
    opacity: .35;
    padding: 8px 14px;
}
.m-step.pending .m-step-title { font-size: 12px; }
.m-step.pending .m-step-desc { font-size: 11px; }

/* Completed (past lyrics - tinted teal) */
.m-step.pass {
    opacity: .65;
    padding: 8px 14px;
}
.m-step.pass .m-step-title { font-size: 12px; }
.m-step.pass .m-step-desc { font-size: 11px; }
.m-step.pass .m-step-dot {
    background: #00e5cc;
}
.m-step.pass .m-step-title {
    color: #00e5cc;
}
.m-step.pass .m-step-desc {
    color: #5a6480;
}
.m-step.pass .m-step-status {
    color: #00e5cc;
    font-weight: 700;
}

/* Running (active lyric - enlarged for visibility) */
.m-step.running {
    opacity: 1;
    padding: 18px 24px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(0,229,204,.18), rgba(13,21,37,.98) 45%, rgba(13,21,37,.98));
    border: 1px solid rgba(0,229,204,.42);
    box-shadow: 0 0 0 1px rgba(0,229,204,.15), 0 0 18px rgba(0,229,204,.16);
}
.m-step.running .m-step-dot {
    width: 11px; height: 11px;
    background: #00e5cc;
    box-shadow: 0 0 14px rgba(0,229,204,.8);
}
.m-step.running .m-step-title {
    font-size: 17px; font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0,229,204,.35);
}
.m-step.running .m-step-desc {
    font-size: 13px;
    font-weight: 600;
    color: #92fff4;
}
.m-step.running .m-step-status {
    font-size: 12px; font-weight: 700;
    color: #022823;
    letter-spacing: 1.5px;
    background: rgba(111,255,243,.95);
    box-shadow: 0 0 12px rgba(0,229,204,.34);
    padding: 6px 12px;
    border-radius: 100px;
}

/* Warn */
.m-step.warn {
    opacity: .8;
    padding: 8px 14px;
}
.m-step.warn .m-step-title { font-size: 12px; }
.m-step.warn .m-step-desc { font-size: 11px; }
.m-step.warn .m-step-dot {
    background: #e63946;
    box-shadow: 0 0 6px rgba(230,57,70,.4);
}
.m-step.warn .m-step-title {
    color: #e63946;
}
.m-step.warn .m-step-desc {
    color: #8892b0;
}
.m-step.warn .m-step-status {
    color: #e63946; font-weight: 700;
}

/* Console Section */
.m-deploy-console-section {
    padding: 18px;
    display: block;
}

.m-console-shell {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-12px);
    transform-origin: top center;
    transition: opacity .35s ease, transform .35s ease, max-height .4s ease;
}

.m-console-shell.is-open {
    opacity: 1;
    max-height: 180px;
    transform: translateY(0);
}

.m-console-shell.is-closing {
    opacity: 0;
    max-height: 0;
    transform: translateY(-12px);
}

.m-console-log {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(17,24,39,.5);
    background: #050810;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #5a6480;
    padding: 14px 16px;
    max-height: 150px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.m-console-log::-webkit-scrollbar {
    display: none;
}
.m-log-line {
    white-space: nowrap;
    margin-bottom: 3px;
}
.m-log-line:last-child {
    margin-bottom: 0;
}

/* ===== Offer Card (Pencil design) ===== */
.m-deploy-offer {
    display: none;
    width: 380px;
    flex-shrink: 0;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.05);
    background: rgba(13,18,37,.96);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 0 20px 80px rgba(0,212,255,.04);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(24px) scale(.92);
    filter: saturate(.8);
}

.m-deploy-offer.is-visible {
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    animation: deploy-offer-pop .58s cubic-bezier(.2,.9,.2,1) forwards;
}

@keyframes deploy-offer-pop {
    0%   { opacity: 0; transform: translateX(24px) scale(.92) rotate(-2deg); filter: saturate(.8); }
    62%  { opacity: 1; transform: translateX(-4px) scale(1.02) rotate(.6deg); filter: saturate(1.14); }
    100% { opacity: 1; transform: translateX(0) scale(1) rotate(0deg); filter: saturate(1); }
}

/* -- Top Section (gradient header) -- */
.m-offer-top {
    padding: 28px 28px 20px;
    background: linear-gradient(180deg, rgba(7,193,96,.06) 0%, rgba(7,193,96,0) 100%);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.m-offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(7,193,96,.08);
    border: 1px solid rgba(7,193,96,.19);
    color: #07C160;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
}
.m-offer-badge i { font-size: 16px; }

.m-offer-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.m-offer-price-row {
    display: flex;
    align-items: flex-end;
    gap: 4px;
}
.m-offer-currency {
    font-size: 28px;
    font-weight: 700;
    color: #38BDF8;
    line-height: 1;
    margin-bottom: 6px;
}
.m-offer-amount {
    font-size: 52px;
    font-weight: 800;
    color: #38BDF8;
    line-height: 1;
}
.m-offer-orig {
    margin-left: 6px;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,.03);
    font-size: 15px;
    color: #FF4500;
    text-decoration: line-through;
}

/* -- Body -- */
.m-offer-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 28px 28px;
}

/* Benefits */
.m-offer-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.m-offer-ben {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #CBD5E1;
    font-size: 14px;
    font-weight: 500;
}
.m-offer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00D4FF;
    flex-shrink: 0;
}

/* Divider */
.m-offer-divider {
    height: 1px;
    background: rgba(255,255,255,.04);
}

/* QR Section */
.m-offer-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.m-offer-qr-box {
    width: 240px;
    height: 240px;
    border-radius: 16px;
    background: #0A0E1A;
    border: 1px solid rgba(255,255,255,.05);
    display: flex;
    align-items: center;
    justify-content: center;
}
.m-offer-qr-inner {
    width: 210px;
    height: 210px;
    border-radius: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
}
.m-offer-qr-inner .m-qr-img,
.m-offer-qr-inner .qr-result {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

/* QR loading spinner */
.m-qr-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #94A3B8;
    font-size: 12px;
}
.m-qr-loading .m-qr-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #E2E8F0;
    border-top: 3px solid #07C160;
    border-radius: 50%;
    animation: qr-spin 0.8s linear infinite;
}
@keyframes qr-spin { to { transform: rotate(360deg); } }

/* QR error retry */
.m-qr-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #94A3B8;
    font-size: 12px;
    text-align: center;
    padding: 12px;
}
.m-qr-error-btn {
    margin-top: 4px;
    padding: 6px 16px;
    border-radius: 6px;
    border: 1px solid #334155;
    background: transparent;
    color: #CBD5E1;
    font-size: 12px;
    cursor: pointer;
}
.m-qr-error-btn:hover { background: rgba(255,255,255,.06); }
.m-promo-title {
    font-size: 22px; font-weight: 800; color: #fff;
    display: block; margin-bottom: 12px;
}
.m-promo-timer {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 12px; color: rgba(255,255,255,.8);
}
.m-timer-block {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 28px;
    background: rgba(0,0,0,.3); border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px; font-weight: 700; color: #fff;
}
.m-timer-colon { font-weight: 700; color: rgba(255,255,255,.7); }
.m-promo-body {
    display: flex; flex-direction: column; align-items: center;
    padding: 22px 28px 24px; gap: 16px;
}
.m-promo-price {
    display: flex; align-items: baseline; gap: 4px;
}
.m-promo-sign { font-size: 20px; font-weight: 700; color: #38BDF8; }
.m-promo-val { font-size: 52px; font-weight: 800; color: #38BDF8; line-height: 1; }
.m-promo-orig { font-size: 18px; color: #FF4500; text-decoration: line-through; margin-left: 10px; }
.m-promo-bens {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    width: 100%;
}
.m-promo-ben {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 10px;
    background: rgba(245,158,11,.04);
    border: 1px solid rgba(245,158,11,.10);
    font-size: 12px; color: #CBD5E1;
}
.m-promo-ben i { font-size: 16px; flex-shrink: 0; }
.m-promo-qr-area {
    display: flex; gap: 18px; align-items: center;
    width: 100%;
    padding: 14px; border-radius: 12px;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.05);
}
.m-promo-qr-right {
    display: flex; flex-direction: column; gap: 6px;
}
.m-promo-brand {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600;
}
.m-promo-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: linear-gradient(135deg, #E5484D, #C62828);
}
.m-promo-buyers { font-size: 11px; color: #64748B; }
.m-promo-qr-price { display: flex; align-items: baseline; gap: 2px; }
.m-promo-scan-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; color: #64748B;
}
.m-scan-icon { width: 18px; height: 18px; flex-shrink: 0; }
.m-promo-disclaimer { font-size: 11px; color: #475569; }
.m-promo-close-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 24px; border-radius: 8px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    color: #64748B; font-size: 12px;
    cursor: pointer; font-family: inherit;
    transition: background .2s;
}

/* Dual QR layout */
.m-offer-dual-qr {
    display: flex;
    gap: 24px;
    justify-content: center;
}
.m-offer-qr-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.m-offer-qr-box--sm {
    width: 220px;
    height: 220px;
}
.m-offer-qr-inner--sm {
    width: 195px;
    height: 195px;
}
.m-offer-qr-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
}

.m-offer-pay-methods {
    display: flex;
    gap: 20px;
    align-items: center;
}
.m-offer-pay-methods span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #94A3B8;
}

.m-offer-footnote {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    line-height: 1.35;
    color: #475569;
}
.m-offer-footnote i { font-size: 14px; color: #64748B; flex-shrink: 0; }


/* ===== Modal Responsive ===== */
@media (max-width: 900px) {
    .m-deploy { width: 96vw; }
    .m-deploy-main {
        flex-direction: column;
        padding: 10px;
    }
    .m-deploy-offer {
        width: 100%;
        transform: translateY(10px) scale(.96);
    }
    .m-deploy-offer.is-visible {
        flex-direction: column;
    }
    .m-deploy-header { padding: 24px 20px 16px; }
    .m-cs-info-grid { flex-direction: column; }
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 80px; left: 50%;
    transform: translateX(-50%);
    padding: 10px 28px;
    background: rgba(14,20,36,.95);
    border: 1px solid rgba(229,72,77,.2);
    border-radius: 8px;
    color: #E5484D; font-size: 13px;
    z-index: 200;
    animation: toast-in .3s ease-out;
}
.toast[hidden] { display: none; }
@keyframes toast-in {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== Bubble Likes (Douyin-style) ===== */
.bubble-zone {
    position: fixed;
    left: 16px;
    bottom: 78px;
    width: 360px;
    height: 300px;
    z-index: 40;
    pointer-events: none;
    overflow: hidden;
}
.bubble-item {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 320px;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    will-change: transform, opacity;
    white-space: nowrap;
}
.bubble-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #e8e8e8;
    filter: blur(1px);
    image-rendering: pixelated;
    border: 1px solid rgba(255,255,255,.16);
}
.bubble-avatar-me {
    filter: none;
    image-rendering: auto;
}
.bubble-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}
.bubble-name {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,.62);
    flex-shrink: 0;
}
.bubble-msg {
    position: relative;
    background: #ffffff;
    border-radius: 6px;
    padding: 7px 11px;
    border: 1px solid #e8eaed;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.bubble-msg::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 10px;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-left: 1px solid #e8eaed;
    border-bottom: 1px solid #e8eaed;
    transform: rotate(45deg);
}
.bubble-msg-me {
    background: #95ec69;
    border-color: #80d95a;
}
.bubble-msg-me::before {
    background: #95ec69;
    border-left-color: #80d95a;
    border-bottom-color: #80d95a;
}
.bubble-text {
    font-size: 13px;
    color: #1f2329;
    line-height: 1.4;
}
.bubble-input-wrap {
    position: fixed;
    left: 16px;
    bottom: 24px;
    width: 320px;
    z-index: 40;
    display: flex;
    gap: 8px;
    pointer-events: auto;
}
.bubble-input {
    flex: 1;
    min-width: 0;
    padding: 9px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: border-color .2s, background .2s;
}
.bubble-input::placeholder { color: rgba(255,255,255,.35); }
.bubble-input:focus {
    border-color: rgba(229,72,77,.5);
    background: rgba(255,255,255,.12);
}
.bubble-send {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #E5484D, #FF8A65);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform .15s, box-shadow .15s, filter .15s;
}
.bubble-send:hover {
    transform: scale(1.08);
    box-shadow: 0 2px 12px rgba(229,72,77,.4);
    filter: saturate(1.1);
}
.bubble-send:active { transform: scale(.95); }

/* ===== Performance Fallback ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .btn-glow,
    .marquee-inner,
    .slogan-logo {
        animation: none !important;
    }

    .main-content::before,
    .btn-glow,
    .m-box,
    .feature-card {
        filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* ===== Windows Download Experience ===== */
.m-win-dl {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 28px 24px;
    height: 100%;
}

/* Animated download icon */
.m-win-dl-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(56,189,248,.06);
    border: 2px solid rgba(56,189,248,.16);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    animation: win-dl-glow 2.4s ease-in-out infinite;
}
.m-win-dl-icon i {
    font-size: 28px;
    color: #38BDF8;
    animation: win-dl-arrow 1.6s ease-in-out infinite;
}
.m-win-dl-icon.is-done {
    animation: none;
    background: rgba(7,193,96,.06);
    border-color: rgba(7,193,96,.2);
}
.m-win-dl-icon.is-done i {
    animation: none;
}

@keyframes win-dl-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(56,189,248,.12); }
    50%      { box-shadow: 0 0 0 14px rgba(56,189,248,0); }
}
@keyframes win-dl-arrow {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(3px); }
}

.m-win-dl-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.m-win-dl-sub {
    font-size: 12px;
    color: #475569;
    margin-bottom: 22px;
    font-family: 'JetBrains Mono', monospace;
}

/* Progress bar */
.m-win-dl-progress {
    width: 100%;
    margin-bottom: 28px;
}
.m-win-dl-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,.05);
    border-radius: 2px;
    overflow: hidden;
}
.m-win-dl-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #38BDF8, #06B6D4);
    border-radius: 2px;
    transition: width .15s linear;
}
.m-win-dl-bar-info {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    color: #475569;
    font-family: 'JetBrains Mono', monospace;
}

/* Tips section */
.m-win-dl-tips {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.m-win-dl-tips-label {
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 12px;
}

.m-win-tip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,.015);
    border: 1px solid rgba(255,255,255,.03);
    margin-bottom: 6px;
    opacity: 0;
    transform: translateY(10px);
    animation: win-tip-fadein .45s ease forwards;
}
.m-win-tip i {
    font-size: 16px;
    flex-shrink: 0;
}
.m-win-tip span {
    font-size: 12.5px;
    color: #94A3B8;
    line-height: 1.45;
}

@keyframes win-tip-fadein {
    to { opacity: 1; transform: translateY(0); }
}

/* Manual download link */
.m-win-dl-manual {
    margin-top: auto;
    padding-top: 14px;
    text-align: center;
}
.m-win-dl-manual a {
    color: #334155;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s;
    border-bottom: 1px dashed #334155;
    padding-bottom: 1px;
}
.m-win-dl-manual a:hover {
    color: #38BDF8;
    border-color: #38BDF8;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .feature-card { width: 220px; height: auto; }
    .card-left { left: 20px; }
    .card-right { right: 20px; }
    .conn-svg { display: none; }
}
@media (max-width: 900px) {
    .header { padding: 0 20px; }
    .slogan { font-size: 28px; width: 90%; }
    .subtitle { font-size: 14px; width: 90%; }
    .feature-card { position: static; width: 100%; height: auto; margin: 8px 20px; }
    .main-content {
        display: flex; flex-direction: column; align-items: center;
        padding-top: 60px; min-height: auto;
    }
    .slogan, .subtitle, .platform-row, .deploy-btn, .btn-glow,
    .marquee-strip, .models-section { position: static; transform: none; }
    .slogan { margin-bottom: 8px; }
    .subtitle { margin-bottom: 16px; }
    .platform-row { margin-bottom: 20px; }
    .deploy-btn { margin: 24px 0; }
    .btn-glow { display: none; }
    .marquee-strip { width: 100%; margin: 16px 0; }
    .models-section { width: 90%; }
    .conn-svg { display: none; }
    .wechat-float { position: fixed; right: 16px; bottom: 16px; }
    .footer { height: auto; padding: 16px 20px; }
}
