/* Mobile (wap) shared design tokens and components — light theme aligned with PC */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --accent: #2563eb;
    --accent-light: #60a5fa;
    --success: #22c55e;
    --bg: #f4f6fb;
    --bg-edge: #eef2ff;
    --bg-glow: #eef2ff;
    --card: #ffffff;
    --card-hover: #f8faff;
    --border: #e5e9f0;
    --text: #111827;
    --text-muted: #5b6472;
    --radius: 16px;
    --radius-sm: 12px;
    --sticky-cta-h: 64px;
    --wap-header-h: 52px;
    --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 28px rgba(37, 99, 235, 0.12);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a,
a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none;
}

body.wap-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    background:
        radial-gradient(ellipse 90% 50% at 10% -5%, rgba(96, 165, 250, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 70% 45% at 95% 15%, rgba(129, 140, 248, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(34, 197, 94, 0.06) 0%, transparent 55%),
        linear-gradient(165deg, var(--bg-glow) 0%, var(--bg) 42%, #f8fafc 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body.wap-body > .container {
    position: relative;
    z-index: 1;
}

body.wap-body.has-sticky-cta {
    padding-bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom, 0px) + 16px);
}

/* Header */
.wap-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.wap-header .header-brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.wap-header .header-logo {
    height: 26px;
    width: auto;
    margin-right: 10px;
    flex-shrink: 0;
}

.wap-header .title-main {
    color: var(--text);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
}

.wap-header .title-highlight {
    font-weight: 800;
    color: var(--primary);
}

.wap-header .header-action {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.wap-header .header-action:active {
    transform: scale(0.98);
}

.wap-header .header-action--solo {
    padding: 8px 14px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.wap-header .header-cta-primary {
    color: #fff;
    background: var(--primary);
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.28);
    font-weight: 700;
}

.wap-header .header-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
    max-width: 100%;
}

.wap-header .header-actions .header-action {
    font-size: 12px;
    padding: 8px 10px;
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 380px) {
    .wap-header .header-brand {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .wap-header .title-main {
        max-width: none;
    }

    .wap-header .header-actions {
        flex: 1 1 100%;
        justify-content: stretch;
    }

    .wap-header .header-actions .header-action {
        flex: 1 1 0;
        text-align: center;
        font-size: 13px;
        padding: 10px 8px;
    }
}

.wap-header .back {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 22px;
    text-decoration: none;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    border: none;
    cursor: pointer;
}

.wap-header .header-title {
    font-size: 17px;
    font-weight: 600;
}

.wap-header .header-placeholder {
    width: 40px;
    flex-shrink: 0;
}

/* Cards */
.wap-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* Buttons */
.wap-btn-primary {
    display: block;
    width: 100%;
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.28);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.wap-btn-primary:active {
    transform: scale(0.98);
    background: var(--primary-dark);
}

.wap-btn-secondary {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.wap-btn-secondary:active {
    transform: scale(0.98);
}

.wap-btn-shine {
    position: relative;
    overflow: hidden;
}

.wap-btn-primary.wap-btn-shine {
    animation: wapBtnGlowPulse 3.2s ease-in-out infinite;
}

.wap-btn-shine::after {
    content: '';
    position: absolute;
    top: -8%;
    left: -120%;
    width: 58%;
    height: 116%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 36%,
        rgba(255, 255, 255, 0.72) 50%,
        rgba(255, 255, 255, 0.14) 64%,
        transparent 100%
    );
    transform: skewX(-22deg);
    animation: wapBtnGlassWipe 2.4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.wap-btn-shine--compact::after {
    animation-duration: 2.8s;
}

@keyframes wapBtnGlowPulse {
    0%, 100% {
        box-shadow:
            0 4px 16px rgba(37, 99, 235, 0.28),
            0 0 0 0 rgba(59, 130, 246, 0);
    }
    50% {
        box-shadow:
            0 8px 28px rgba(37, 99, 235, 0.42),
            0 0 22px rgba(96, 165, 250, 0.35);
    }
}

.wap-btn-shine-inner {
    position: relative;
    z-index: 2;
}

@keyframes wapBtnGlassWipe {
    0%, 32% { left: -120%; }
    52% { left: 130%; }
    100% { left: 130%; }
}

/* Hero / index first screen */
.hero-badge.zc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    padding: 6px 12px;
    margin-bottom: 14px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 999px;
}

.hero-badge.zc img {
    height: 18px;
    width: auto;
    margin: 0;
}

.hero-badge.zc span {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.3;
}

.hero-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 10px;
    margin-bottom: 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #1e40af;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.hero-eyebrow-pill::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #22c55e);
}

.hero-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    padding: 8px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #1e40af;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.hero-meta-bar::before {
    content: '';
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #22c55e);
}

.hero-meta-bar__official {
    color: #1e40af;
    line-height: 1.35;
}

.hero-meta-bar__sep {
    color: rgba(37, 99, 235, 0.35);
    font-weight: 700;
}

.hero-meta-bar__tested {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--text-muted);
    font-size: 12px;
}

.hero-meta-bar__tested strong {
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    transition: color 0.25s ease, transform 0.25s ease;
}

.hero-meta-bar__tested strong.is-tick {
    color: var(--primary);
    transform: scale(1.04);
}

/* Conversion-focused mobile hero */
.hero-kicker {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: none;
    color: var(--text-muted);
}

.hero-dim-strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.hero-dim-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 4px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.hero-dim-pair span:first-child {
    color: #1e3a8a;
}

.hero-dim-pair span:last-child {
    color: #64748b;
    opacity: 0.85;
}

.hero-dim-pair--violet {
    background: linear-gradient(145deg, #eef2ff 0%, #e0e7ff 100%);
}

.hero-dim-pair--sky {
    background: linear-gradient(145deg, #ecfeff 0%, #cffafe 100%);
}

.hero-dim-pair--rose {
    background: linear-gradient(145deg, #fdf2f8 0%, #fce7f3 100%);
}

.hero-dim-pair--amber {
    background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 100%);
}

.hero-social {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    padding: 6px 12px 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.08);
}

.hero-social strong {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    transition: color 0.25s ease, transform 0.25s ease;
}

.hero-social strong.is-tick {
    color: var(--primary);
    transform: scale(1.04);
}

.hero-cta-block {
    position: relative;
    z-index: 1;
    margin: 4px 0 16px;
}

.hero-cta-hint {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.45;
}

.hero-trust-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 4px;
    padding-top: 14px;
    border-top: 1px solid rgba(37, 99, 235, 0.08);
}

.hero-trust-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.hero-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 15px;
    color: var(--primary);
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.hero-trust-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    line-height: 1.25;
}

.hero-title {
    position: relative;
    z-index: 1;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    color: var(--text);
}

.hero-title .accent {
    background: linear-gradient(120deg, #2563eb 0%, #4f46e5 45%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.55;
    max-width: 28em;
}

.wap-hero-tested {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
}

.wap-tested-live {
    position: relative;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.wap-tested-live-dot {
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.22);
    z-index: 2;
}

.wap-tested-live-ripple {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.55);
    animation: wapTestedRipple 2.4s cubic-bezier(0, 0.2, 0.4, 1) infinite;
    pointer-events: none;
}

.wap-tested-live-ripple--2 {
    animation-delay: 1.2s;
}

@keyframes wapTestedRipple {
    0% { transform: scale(0.65); opacity: 0.85; }
    100% { transform: scale(2.6); opacity: 0; }
}

.wap-hero-tested strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    transition: color 0.25s ease, transform 0.25s ease;
}

.wap-hero-tested strong.is-tick {
    color: var(--primary);
    transform: scale(1.04);
}

.wap-hero-tier-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 6px 0 16px;
    padding-top: 4px;
}

.wap-hero-tier-chip {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 6px 10px;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    text-align: center;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.wap-hero-tier-chip:active {
    transform: scale(0.97);
}

.wap-hero-tier-chip.is-featured {
    border-color: rgba(37, 99, 235, 0.45);
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.14);
}

.wap-hero-tier-chip-tag {
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 7px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--text-muted);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    white-space: nowrap;
    line-height: 1.35;
}

.wap-hero-tier-chip.is-featured .wap-hero-tier-chip-tag {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.wap-hero-tier-chip-num {
    font-size: 1.125rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.wap-hero-tier-chip-num small {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.wap-hero-tier-chip-meta {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

.wap-hero-trust-section {
    margin: -8px 16px 20px;
}

.wap-hero-trust-section .wap-hero-trust {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    gap: 6px;
    justify-content: space-between;
}

.wap-hero-trust-section .wap-hero-trust span {
    flex: 1;
    min-width: 0;
    justify-content: center;
    padding: 8px 6px;
    font-size: 11px;
}

.wap-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 14px 0 10px;
    padding: 10px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.wap-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: #fff;
    border-radius: 999px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.wap-hero-trust i {
    color: var(--primary);
}

.hero-intro {
    margin-bottom: 14px;
}

.hero-intro p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-intro.is-collapsed p.hero-intro-more {
    display: none;
}

.hero-intro-toggle {
    display: inline-block;
    margin-top: 6px;
    padding: 0;
    border: none;
    background: none;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    max-height: 112px;
    box-shadow: var(--shadow-sm);
}

.hero-visual.hero-visual--below {
    margin-top: 12px;
    margin-bottom: 0;
    max-height: 100px;
}

.hero-visual.hero-visual--promo {
    margin-top: 16px;
    margin-bottom: 0;
    max-height: none;
    padding: 14px 12px 10px;
    background:
        radial-gradient(circle at 30% 20%, rgba(96, 165, 250, 0.2) 0%, transparent 45%),
        linear-gradient(145deg, #eef2ff 0%, #f8fafc 55%, #ffffff 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-visual.hero-visual--promo img {
    width: 100%;
    height: auto;
    max-height: 132px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.12));
}

.hero-visual.hero-visual--promo::after {
    display: none;
}

.hero-visual.is-fallback {
    min-height: 88px;
    max-height: none;
    background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 50%, #f4f6fb 100%);
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.15) 100%);
    pointer-events: none;
}

.hero-visual img {
    display: block;
    width: 100%;
    height: 112px;
    object-fit: cover;
    object-position: center 30%;
}

.hero-visual.hero-visual--below img {
    height: 100px;
}

/* Tier pick (choose-test + legacy) */
.wap-tier-pick {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.wap-tier-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 14px 14px 12px;
    text-align: left;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    background: var(--card);
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: var(--shadow-sm);
}

.wap-tier-option.is-featured {
    box-shadow: var(--shadow-md);
}

.wap-tier-option:active {
    transform: scale(0.99);
}

.wap-tier-option.is-selected {
    border-color: rgba(37, 99, 235, 0.55);
    background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
    box-shadow: var(--shadow-md);
}

.wap-tier-option .tier-radio {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    flex-shrink: 0;
    position: relative;
}

.wap-tier-option.is-selected .tier-radio {
    border-color: var(--primary);
}

.wap-tier-option.is-selected .tier-radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--primary);
}

.wap-tier-option .tier-body {
    flex: 1;
    min-width: 0;
}

.wap-tier-option .tier-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.wap-tier-option .tier-name {
    display: none;
}

.wap-tier-option .tier-tag {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    padding: 5px 10px;
    border-radius: 8px;
    background: #1e3a8a;
    color: #fff;
}

.wap-tier-option .tier-tag.accent {
    background: linear-gradient(90deg, #165dff, #2563eb);
}

.wap-tier-option .tier-num-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin: 2px 0 6px;
}

.wap-tier-option .tier-num {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.wap-tier-option .tier-num-unit {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.wap-tier-option .tier-meta {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.wap-tier-option .tier-scene {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.45;
}

.wap-tier-option .tier-bar-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-top: 8px;
    margin-bottom: 4px;
}

.wap-tier-option .tier-bar {
    height: 6px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.wap-tier-option .tier-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent-light));
}

.wap-tier-trust {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin: 10px 0 8px;
}

.hero-result-link {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 10px 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
}

.hero-result-link:active {
    color: var(--primary);
}

.hero-result-link i {
    font-size: 12px;
    opacity: 0.85;
}

/* Choose-test page */
.wap-choose-main {
    padding: 16px 16px 32px;
}

.wap-choose-heading {
    text-align: center;
    margin-bottom: 20px;
}

.wap-choose-heading h1 {
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.wap-choose-heading p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.wap-choose-selected {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 14px;
}

/* Index sticky CTA */
.wap-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow:
        0 -8px 32px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
}

.wap-sticky-cta.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.wap-sticky-cta-text {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.wap-sticky-cta .wap-btn-primary {
    width: auto;
    flex-shrink: 0;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    border-radius: 12px;
}

.wap-sticky-cta .wap-btn-shine--compact {
    animation: wapBtnGlowPulse 3.2s ease-in-out infinite;
}

.wap-back-to-top {
    position: fixed;
    right: 16px;
    bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom, 0px) + 12px);
    z-index: 140;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

body.wap-body:not(.has-sticky-cta) .wap-back-to-top {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.wap-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Footer */
.wap-footer {
    background: var(--card);
    color: var(--text);
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border);
    text-align: center;
}

.wap-footer-inner {
    max-width: 480px;
    margin: 0 auto;
}

.wap-footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.wap-footer-logo img {
    height: 26px;
    margin-right: 8px;
}

.wap-footer-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.wap-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
}

.wap-footer-links a.wap-footer-link-accent {
    color: var(--primary);
    font-weight: 600;
}

.wap-footer-copyright {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-muted);
}

.wap-footer-copyright p {
    margin-bottom: 4px;
}

/* Report shell */
body.wap-report-body {
    background: linear-gradient(165deg, var(--bg-glow) 0%, var(--bg) 42%, #f8fafc 100%);
    color: var(--text);
}

.wap-report-shell {
    padding: 0 0 24px;
}

.wap-report-sheet {
    margin: 12px 16px 20px;
    padding: 20px 16px;
    background: #ffffff;
    color: #333f51;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.wap-report-sheet h1,
.wap-report-sheet h2,
.wap-report-sheet h3,
.wap-report-sheet h4,
.wap-report-sheet h5 {
    color: #333f51;
}

.wap-report-sheet .mobile-header {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .wap-btn-shine::after,
    .wap-tested-live-ripple,
    .wap-btn-primary.wap-btn-shine,
    .wap-sticky-cta .wap-btn-shine--compact {
        animation: none !important;
    }

    .wap-sticky-cta {
        transition: none;
    }
}

@media (hover: hover) {
    .feature-item:hover,
    .testimonial-item:hover {
        transform: translateY(-3px);
    }
}
