:root {
    --primary-color: #0078d4;
    --primary-dark: #005a9e;
    --text-color: #323130;
    --text-light: #605e5c;
    --bg-light: #f3f2f1;
    --bg-white: #ffffff;
    --border-color: #e1dfdd;
    --feature-blue: #0078d4;
    --feature-green: #107c10;
    --feature-purple: #5c2d91;
}

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

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

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

/* Header */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

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

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

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
    line-height: 1.2;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero-highlights {
    margin-bottom: 20px;
    background: rgba(255,255,255,0.7);
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.hero-highlights .highlights-title {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.hero-highlights .highlights-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text-light);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 4px;
}

.hero-highlights .highlights-list li {
    margin: 4px 0;
}

.version-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.7);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    align-items: center;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

.info-item .label,
.info-item .value {
    white-space: nowrap;
}

.compatibility-badge {
    align-self: center;
    flex-shrink: 0;
    margin-left: auto;
    white-space: nowrap;
    font-size: 1em;
    padding: 6px 8px;
    border-radius: 999px;
    color: #d13438;
    font-weight: 900;
    background: rgba(209, 52, 56, 0.10);
    border: 1px solid rgba(209, 52, 56, 0.30);
    box-shadow: 0 10px 18px rgba(209, 52, 56, 0.10);
}

.info-item .label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item .value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.purchase-card {
    width: 100%;
    max-width: 640px;
    margin-top: 6px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(0, 120, 212, 0.18);
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.10) 0%, rgba(255, 255, 255, 0.85) 55%, rgba(16, 124, 16, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

.purchase-left {
    flex: 1;
    min-width: 240px;
}

.purchase-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.05rem;
    text-decoration: none;
    background: linear-gradient(135deg, #ff7a00 0%, #ff3d00 100%);
    box-shadow: 0 12px 22px rgba(255, 77, 0, 0.30);
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
    animation: purchaseZoom 1.8s ease-in-out infinite;
}

.purchase-cta::before {
    content: "★";
    font-size: 1.05em;
    line-height: 1;
}

.purchase-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(255, 77, 0, 0.38);
    filter: saturate(1.05);
}

.purchase-cta:focus-visible {
    outline: 3px solid rgba(255, 122, 0, 0.35);
    outline-offset: 3px;
}

.purchase-desc {
    margin-top: 10px;
    font-size: 1.02rem;
    line-height: 1.5;
}

.purchase-desc-em {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 900;
    color: #b10e1f;
    background: rgba(209, 52, 56, 0.10);
    border: 1px solid rgba(209, 52, 56, 0.28);
    box-shadow: 0 10px 18px rgba(209, 52, 56, 0.10);
    font-size: 0.92rem;
}

.purchase-desc-em::before {
    content: "重要";
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: #d13438;
    padding: 4px 8px;
    border-radius: 999px;
}

.purchase-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.purchase-qr {
    width: 124px;
    height: 124px;
    border-radius: 12px;
    border: 3px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
    background: #ffffff;
    object-fit: cover;
}

.purchase-qr-caption {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.purchase-note {
    margin-top: 8px;
    font-size: 0.98rem;
    color: var(--text-light);
    max-width: 520px;
}

.purchase-link {
    font-weight: 800;
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.purchase-link:hover {
    color: var(--primary-color);
}

.install-video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 2px solid rgba(0, 120, 212, 0.55);
    background: rgba(0, 120, 212, 0.10);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    animation: videoPulse 2.2s ease-in-out infinite;
}

.install-video-link::before {
    content: "▶";
    font-size: 0.95em;
}

.install-video-link:hover {
    background: rgba(0, 120, 212, 0.16);
    border-color: rgba(0, 120, 212, 0.85);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.install-video-link:focus-visible {
    outline: 3px solid rgba(0, 120, 212, 0.35);
    outline-offset: 3px;
}

@keyframes videoPulse {
    0%, 100% {
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    }
    50% {
        box-shadow: 0 10px 26px rgba(0, 120, 212, 0.28);
    }
}

/* 购买链接呼吸式放大缩小，吸引点击 */
@keyframes purchaseZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .install-video-link {
        animation: none;
        transition: none;
    }
    .purchase-cta {
        animation: none;
    }
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* QQ 群展示区域，支持多个群号（N群 + 群号） */
.qq-groups-wrap {
    margin-top: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(0, 120, 212, 0.08) 0%, rgba(255, 255, 255, 0.98) 50%);
    border: 1px solid rgba(0, 120, 212, 0.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.qq-groups-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.qq-groups-icon {
    font-size: 0.75rem;
    color: var(--primary-color);
    line-height: 1;
}

.qq-groups-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 0.4px;
}

.qq-groups-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.qq-group-item {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0, 120, 212, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.qq-group-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 120, 212, 0.18);
    transform: translateY(-1px);
}

.qq-group-label {
    padding: 6px 10px 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: linear-gradient(90deg, rgba(0, 120, 212, 0.12) 0%, transparent 100%);
    border-right: 1px solid rgba(0, 120, 212, 0.15);
}

.qq-group-num {
    padding: 6px 14px 6px 10px;
    font-size: 0.98rem;
    font-weight: 800;
    color: #1a1a1a;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.8px;
    cursor: pointer;
}

.note {
    font-size: 0.9rem;
    color: var(--text-light);
    max-width: 500px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.demo-gif {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
}

.placeholder-img {
    width: 100%;
    height: 350px;
    background-color: #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.placeholder-img i {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 100px;
    gap: 50px;
}

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

.feature-text {
    flex: 1;
}

.feature-text h2 {
    color: var(--primary-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.feature-demo-gif {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.feature-demo-gif:hover {
    transform: scale(1.02);
}

.feature-img {
    flex: 1;
}

.bg-blue { background-color: #e6f2ff; color: var(--feature-blue); }
.bg-green { background-color: #e6ffec; color: var(--feature-green); }
.bg-purple { background-color: #f3e6ff; color: var(--feature-purple); }

/* Footer */
footer {
    background-color: #323130;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-contact {
    margin-bottom: 30px;
}

.qr-code {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 4px solid white;
}

.footer-contact p {
    color: #d0d0d0;
    font-size: 0.95rem;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #d0d0d0;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.trust-text {
    margin: 4px 0;
    color: #d0d0d0;
    font-size: 0.98rem;
}

.copyright {
    color: #888;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content, .feature-row, .feature-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .hero-text, .feature-text {
        order: 1; /* Text below image on mobile usually, or adjust as needed */
    }

    .hero-image, .feature-img {
        order: 2;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        align-items: center;
    }

    .cta-row {
        justify-content: center;
    }

    .hero-highlights .highlights-list {
        grid-template-columns: 1fr;
    }

    .purchase-card {
        max-width: 100%;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .purchase-left {
        min-width: 0;
    }
    
    .version-info {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul {
        display: none; /* Hide nav for simplicity on mobile, or add hamburger menu logic */
    }
}

/* 轻提示 Toast */
.toast-tip {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 120, 212, 0.95);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 120, 212, 0.35);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.toast-tip--show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 锚定在点击元素上方时 */
.toast-tip--anchor {
    bottom: auto;
    left: 0;
    transform: translate(-50%, 8px);
}
.toast-tip--anchor.toast-tip--show {
    transform: translate(-50%, 0);
}

.toast-tip--error {
    background: rgba(209, 52, 56, 0.95);
    box-shadow: 0 8px 24px rgba(209, 52, 56, 0.35);
}
