/* 夸克官网风格：浅色、大留白、黑字 + 黑色胶囊下载按钮（对齐 quark.cn 首屏气质） */

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

:root {
    --text: #111111;
    --text-secondary: #555555;
    --text-muted: #888888;
    --line: rgba(0, 0, 0, 0.08);
    --blue: #2b7fff;
    --bg: #fafbff;
    --card: #ffffff;
    --shadow-soft: 0 24px 80px rgba(80, 120, 200, 0.12);
    --radius-lg: 20px;
    --radius-pill: 999px;
    --header-h: 64px;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-secondary);
    line-height: 1.6;
    background: var(--bg);
    overflow-x: hidden;
}

/* 背景：淡蓝 + 淡紫弥散渐变 */
.bg-mesh {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(200, 220, 255, 0.75) 0%, transparent 55%),
        radial-gradient(ellipse 90% 60% at 85% 30%, rgba(235, 225, 255, 0.55) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 10% 60%, rgba(220, 240, 255, 0.5) 0%, transparent 45%),
        linear-gradient(180deg, #f5f8ff 0%, #fafbff 45%, #f7f9fc 100%);
}

/* ========== 顶栏 ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
}

.header-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    flex-shrink: 0;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    min-width: 0;
}

.site-nav a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--text);
}

.header-platforms {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.platform-slot {
    position: relative;
}

.platform-trigger,
.platform-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.platform-trigger:hover,
.platform-link:hover {
    color: var(--text);
}

.platform-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.platform-trigger:hover .platform-ico,
.platform-link:hover .platform-ico {
    color: var(--text-secondary);
}

.platform-pop {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 280px;
    padding: 20px;
    background: var(--card);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.platform-slot.has-pop:hover .platform-pop,
.platform-slot.has-pop:focus-within .platform-pop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.platform-pop-inner {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.qr-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.qr-block span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

.qr-block small {
    font-size: 12px;
    color: var(--text-muted);
}

.qr-placeholder {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    background: repeating-linear-gradient(
        45deg,
        #f0f3f8,
        #f0f3f8 4px,
        #e8ecf4 4px,
        #e8ecf4 8px
    );
    border: 1px solid var(--line);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
}

/* ========== 首屏 ========== */
main {
    padding-top: var(--header-h);
}

.hero-landing {
    padding: 48px 24px 56px;
}

.hero-landing-inner {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 32px;
}

.hero-download-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 40px;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-pill--dark {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-pill--dark:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    background: #1a1a1a;
}

.btn-pill-ico {
    display: flex;
    opacity: 0.95;
}

.hero-figure {
    margin: 0;
    padding: 0 8px;
}

.hero-figure-frame {
    max-width: 1000px;
    margin: 0 auto;
    padding: 12px 12px 0;
    background: linear-gradient(180deg, rgba(200, 225, 255, 0.45) 0%, rgba(230, 240, 255, 0.35) 100%);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-figure-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    vertical-align: middle;
}

.scroll-hint {
    margin-top: 28px;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.scroll-hint-arrow {
    font-size: 14px;
    animation: hint-bob 1.6s ease-in-out infinite;
}

@keyframes hint-bob {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(4px); opacity: 1; }
}

/* ========== 次级说明区 ========== */
.block-muted {
    padding: 56px 24px 64px;
    background: rgba(255, 255, 255, 0.5);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.section-heading {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}

.device-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.chip {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--line);
}

.section-lead {
    font-size: 15px;
    color: var(--text-muted);
}

/* ========== 产品网格 ========== */
.products {
    background: var(--bg);
}

.product-block {
    padding: 72px 24px;
}

.product-block--alt {
    background: rgba(255, 255, 255, 0.65);
}

.product-header {
    max-width: 960px;
    margin: 0 auto 40px;
    text-align: center;
}

.product-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.product-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: box-shadow 0.25s, border-color 0.25s;
}

.product-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(43, 127, 255, 0.2);
}

.product-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.product-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ========== 奖项 ========== */
.awards {
    padding: 72px 24px;
    background: rgba(255, 255, 255, 0.55);
    border-top: 1px solid var(--line);
}

.awards-header {
    text-align: center;
    margin-bottom: 40px;
}

.awards-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
}

.awards-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.award-item {
    padding: 20px 22px;
    background: var(--card);
    border-radius: 14px;
    border: 1px solid var(--line);
}

.award-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.45;
    margin-bottom: 6px;
}

.award-content p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========== 评价 ========== */
.reviews {
    padding: 72px 24px;
}

.reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
}

.reviews-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.review-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.review-user {
    margin-bottom: 12px;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.user-title {
    font-size: 12px;
    color: var(--text-muted);
}

.review-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ========== 反馈 ========== */
.feedback {
    padding: 56px 24px 72px;
    text-align: center;
    background: rgba(255, 255, 255, 0.45);
    border-top: 1px solid var(--line);
}

.feedback-box h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.feedback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #000;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: background 0.2s, transform 0.2s;
}

.feedback-btn:hover {
    background: #222;
    transform: translateY(-1px);
}

/* ========== 页脚 ========== */
.site-footer {
    padding: 32px 24px 40px;
    background: #fff;
    border-top: 1px solid var(--line);
}

.footer-content {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.company-info {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 16px;
}

.company-info a {
    color: var(--text-muted);
    text-decoration: none;
}

.company-info a:hover {
    color: var(--blue);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--blue);
}

.footer-links span {
    color: var(--text-muted);
}

/* ========== 响应式 ========== */
@media (max-width: 960px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-header {
        height: auto;
    }

    .header-wrap {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 12px 16px;
        gap: 0 12px;
    }

    .brand {
        grid-column: 1;
    }

    .nav-toggle {
        display: flex;
        grid-column: 2;
    }

    .site-nav {
        display: none;
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 0 8px;
        border-top: 1px solid var(--line);
        margin-top: 12px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .header-platforms {
        display: none;
        grid-column: 1 / -1;
        justify-content: flex-start;
        gap: 20px;
        flex-wrap: wrap;
        padding-bottom: 4px;
    }

    .header-platforms.is-open {
        display: flex;
    }

    .hero-landing {
        padding-top: 32px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-download-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-pill {
        width: 100%;
    }
}
