/* ============================================================
   QuickQ 内页：口碑 / 常见问题 / 隐私策略 / 服务条款
   视觉与 quickq.io 首页、下载、订阅一致：
   黑色 + #011022 底色、#2171FF 主色、超粗标题、#041D47 卡片、流光按钮
   ============================================================ */

:root {
    --primary: #2171ff;
    --primary-dark: #1557d6;
    --accent: #00d1ff;
    --bg-base: #000;
    --bg-dark: #011022;
    --bg-card: #041d47;
    --bg-glass: rgba(4, 29, 71, 0.6);
    --text: #fff;
    --text-muted: rgba(255, 255, 255, 0.72);
    --text-dim: rgba(255, 255, 255, 0.45);
    --border: #14346d;
    --border-soft: rgba(255, 255, 255, 0.08);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --banner: linear-gradient(to right, #001021 0%, #032b8a 50%, #004187 100%);
    --font: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg-base);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

::-webkit-scrollbar {
    width: 10px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: #595959;
    border-radius: 10px;
}

.container {
    width: 91.6667%;
    max-width: 1280px;
    margin: 0 auto;
}

@keyframes qq-spin {
    to {
        transform: rotate(1turn);
    }
}

@keyframes qq-pulse {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

@keyframes qq-rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- 页面首屏（全球节点地图底图 + 蓝色光晕） ---------- */
.reviews-hero,
.faq-hero,
.legal-hero,
.guide-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
    padding: 72px 0 64px;
    overflow: hidden;
    background: var(--bg-base);
    text-align: center;
    isolation: isolate;
}

.reviews-hero::before,
.faq-hero::before,
.legal-hero::before,
.guide-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("../images/qq/globalMapbg.webp") center 60% / 120% auto no-repeat;
    opacity: 0.35;
}

.reviews-hero::after,
.faq-hero::after,
.legal-hero::after,
.guide-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 55% at 50% 30%, rgba(33, 113, 255, 0.28), transparent 70%),
        linear-gradient(to bottom, transparent 60%, var(--bg-base) 100%);
}

.reviews-hero .container,
.faq-hero .container,
.legal-hero .container,
.guide-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: qq-rise 0.7s ease-out both;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 6px 16px 6px 12px;
    border: 1px solid rgba(33, 113, 255, 0.55);
    border-radius: var(--radius-full);
    background: rgba(33, 113, 255, 0.12);
    color: #9cc0ff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.badge .fa-circle {
    color: var(--accent);
    font-size: 7px;
    animation: qq-pulse 1.8s ease-in-out infinite;
}

.reviews-hero h1,
.faq-hero h1,
.legal-hero h1,
.guide-hero h1 {
    max-width: 900px;
    color: #fff;
    font-size: clamp(30px, 3.6vw, 64px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.highlight {
    color: var(--primary);
}

.sub-headline {
    max-width: 680px;
    margin-top: 18px;
    color: var(--text-muted);
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.85;
}

.sub-headline strong {
    color: #fff;
}

/* 统计条（与首页数据条同款渐变） */
.rating-overview,
.faq-stats,
.legal-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 0;
    margin-top: 32px;
    padding: 10px 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    background: var(--banner);
    box-shadow: 0 10px 40px rgba(3, 43, 138, 0.35);
}

.rating-overview .item,
.faq-stats .item,
.legal-stats .item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 22px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    white-space: nowrap;
}

.rating-overview .item + .item,
.faq-stats .item + .item,
.legal-stats .item + .item {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.rating-overview .item strong,
.faq-stats .item strong,
.legal-stats .item strong {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.rating-overview .item i,
.faq-stats .item i,
.legal-stats .item i {
    color: var(--accent);
}

.stars,
.stars-small {
    color: #ffc53d;
    letter-spacing: 2px;
}

.badge-green {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}

/* ---------- 区块标题（同首页 title） ---------- */
.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding: 4px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: #9cc0ff;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.section-title {
    color: #fff;
    font-size: clamp(22px, 3vw, 56px);
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.section-sub {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: clamp(14px, 1vw, 18px);
}

/* ---------- 口碑 ---------- */
.rating-dimensions {
    padding: 64px 0 24px;
    background: var(--bg-base);
}

.dimension-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.dimension-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 28px 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.dimension-item::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(33, 113, 255, 0.35), transparent 70%);
}

.dimension-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 0 24px rgba(32, 113, 255, 0.35);
}

.dimension-item .label {
    color: var(--text-muted);
    font-size: 14px;
}

.dimension-item .score {
    background-image: linear-gradient(180deg, #fff, #fff, #2071ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-size: clamp(40px, 3.4vw, 60px);
    font-weight: 800;
    line-height: 1.1;
}

.reviews-list {
    padding: 64px 0 80px;
    background: var(--bg-base);
}

.reviews-grid,
.main-guide .guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.8;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(32, 113, 255, 0.25);
}

.review-card .review-text {
    flex: 1;
}

.review-card .user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
}

.review-card .user img {
    width: 48px;
    height: 48px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    object-fit: cover;
}

.review-card .user > div {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.review-card .name {
    color: #fff;
    font-weight: 700;
}

.review-card .role {
    color: var(--text-dim);
    font-size: 13px;
}

.review-card .tag,
.main-guide .guide-card .guide-body .tag {
    align-self: flex-start;
    padding: 2px 12px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 6px;
    background: #000;
    color: #fff;
    font-size: 12px;
}

.review-card .review-date {
    color: var(--text-dim);
    font-size: 12px;
}

/* ---------- 流光按钮 + CTA（同首页按钮） ---------- */
.btn-cta {
    position: relative;
    z-index: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    height: 48px;
    padding: 0 36px;
    overflow: hidden;
    border-radius: var(--radius-full);
    color: #fff !important;
    font-size: 18px;
    font-weight: 500;
    transition: transform 0.25s;
}

.btn-cta::before {
    content: "";
    position: absolute;
    inset: -200px;
    z-index: -2;
    background: conic-gradient(from 180deg at 50% 50%, rgba(0, 209, 255, 0) 0deg, rgba(0, 209, 255, 0) 153.75deg, #00d1ff 345deg, rgba(0, 209, 255, 0) 360deg);
    animation: qq-spin 2s linear infinite;
}

.btn-cta::after {
    content: "";
    position: absolute;
    inset: 2px;
    z-index: -1;
    border-radius: inherit;
    background: var(--primary);
}

.btn-cta:hover {
    transform: scale(1.03);
}

.cta-section,
.guide-cta,
.faq-cta,
.legal-cta {
    padding: 24px 0 96px;
    background: var(--bg-base);
}

.cta-box {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: var(--banner);
    text-align: center;
    isolation: isolate;
}

.cta-box::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -80px;
    z-index: -1;
    width: 420px;
    height: 420px;
    border: 2px solid rgba(0, 209, 255, 0.35);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(33, 113, 255, 0.6), inset 0 0 60px rgba(33, 113, 255, 0.4);
    transform: translateY(-50%);
}

.cta-box::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../images/qq/globalMapbg.webp") left center / 70% auto no-repeat;
    opacity: 0.25;
}

.cta-box h3 {
    color: #fff;
    font-size: clamp(22px, 2.2vw, 40px);
    font-weight: 800;
}

.cta-box h3 span {
    color: var(--accent) !important;
}

.cta-box p {
    max-width: 640px;
    margin: 14px auto 28px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.85;
}

.cta-box p a {
    color: var(--accent) !important;
}

/* ---------- 常见问题 ---------- */
.faq-nav {
    position: sticky;
    top: 80px;
    z-index: 20;
    padding: 14px 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.faq-nav .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.faq-nav .nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.faq-nav .nav-links a:hover,
.faq-nav .nav-links a.is-active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.faq-content {
    padding: 72px 0 40px;
    background: var(--bg-base);
}

.faq-content .container {
    max-width: 1080px;
}

.faq-category {
    margin-bottom: 48px;
    scroll-margin-top: 160px;
}

.cat-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(18px, 1.5vw, 26px);
    font-weight: 800;
}

.cat-title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    background: var(--bg-dark);
    box-shadow: 0 0 8px 2px rgba(32, 113, 255, 0.45), 0 0 24px 6px rgba(32, 113, 255, 0.2);
    color: #fff;
    font-size: 18px;
}

.faq-item {
    border-bottom: 1px solid var(--border-soft);
}

.faq-item .q {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 48px 20px 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

.faq-item .q > i {
    display: none;
}

.faq-item .q::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-75%) rotate(45deg);
    transition: transform 0.3s;
}

.faq-item.is-open .q::after {
    transform: translateY(-25%) rotate(225deg);
}

.faq-item .q:hover {
    color: var(--primary);
}

.faq-item .a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.faq-item .a > .a-inner {
    overflow: hidden;
}

.faq-item.is-open .a {
    grid-template-rows: 1fr;
}

.faq-item .a-inner {
    padding: 0 16px;
}

.faq-item.is-open .a-inner {
    padding-bottom: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

.step-num {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.step strong {
    color: #fff;
}

.step a,
.legal-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- 隐私策略 / 服务条款 ---------- */
.legal-content {
    padding: 64px 0 40px;
    background: var(--bg-base);
}

.legal-content .container {
    max-width: 960px;
    padding: 48px clamp(20px, 4vw, 56px);
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(180deg, var(--bg-dark), #000 85%);
}

.last-updated {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 13px;
}

.legal-content h2 {
    position: relative;
    margin: 40px 0 16px;
    padding-left: 18px;
    color: #fff;
    font-size: clamp(18px, 1.4vw, 24px);
    font-weight: 800;
}

.legal-content h2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 1.1em;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--accent), var(--primary));
    transform: translateY(-50%);
}

.legal-content p {
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.9;
}

.legal-content strong {
    color: #fff;
}

.legal-content ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 16px;
}

.legal-content li {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    background: rgba(4, 29, 71, 0.45);
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.75;
}

.legal-content li > i {
    margin-top: 6px;
    color: var(--primary);
    font-size: 12px;
}

.highlight-box {
    margin: 0 0 16px;
    padding: 20px 24px;
    border: 1px solid rgba(33, 113, 255, 0.5);
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(3, 43, 138, 0.55), rgba(0, 65, 135, 0.25));
    box-shadow: inset 4px 0 0 var(--primary);
}

.highlight-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}

/* ---------- 入场动画 ---------- */
.qq-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.qq-reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
    .reviews-grid,
    .main-guide .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dimension-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .reviews-hero,
    .faq-hero,
    .legal-hero,
    .guide-hero {
        min-height: 0;
        padding: 48px 0 40px;
    }

    .reviews-hero::before,
    .faq-hero::before,
    .legal-hero::before,
    .guide-hero::before {
        background-size: 260% auto;
    }

    .rating-overview,
    .faq-stats,
    .legal-stats {
        flex-direction: column;
        gap: 6px;
        width: 100%;
        border-radius: 18px;
    }

    .rating-overview .item + .item,
    .faq-stats .item + .item,
    .legal-stats .item + .item {
        border-left: 0;
    }

    .reviews-grid,
    .main-guide .guide-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dimension-grid {
        gap: 12px;
    }

    .dimension-item {
        padding: 20px 12px;
    }

    .faq-nav {
        top: calc(max(12.03vw, 44px) + 5vw);
        padding: 10px 0;
    }

    .faq-nav .nav-links {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .faq-nav .nav-links::-webkit-scrollbar {
        display: none;
    }

    .faq-nav .nav-links a {
        flex-shrink: 0;
        padding: 6px 14px;
        font-size: 13px;
    }

    .faq-item .q {
        padding: 16px 40px 16px 8px;
        font-size: 15px;
    }

    .faq-item .a-inner {
        padding: 0 8px;
    }

    .legal-content .container {
        width: calc(100% - 32px);
        padding: 32px 18px;
        border-radius: 18px;
    }

    .legal-content li {
        padding: 10px 12px;
        font-size: 14px;
    }

    .cta-box {
        padding: 40px 20px;
        border-radius: 18px;
    }

    .cta-box::before {
        right: -200px;
    }

    .btn-cta {
        min-width: 0;
        width: 100%;
        max-width: 320px;
        font-size: 16px;
    }
}