/* style.css - 疾风云 (JiFeng Cloud) UI Design */

:root,
[data-theme="dark"] {
    --bg-base: #050505;
    --bg-surface: #121316;
    --bg-surface-elevated: rgba(22, 24, 29, 0.7);
    --glass-bg: rgba(18, 19, 22, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(56, 189, 248, 0.35);
    --glass-refract: rgba(255, 255, 255, 0.03);

    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    --brand-sky: #38BDF8;
    --brand-teal: #2DD4BF;
    --brand-indigo: #818CF8;
    --brand-glow: rgba(56, 189, 248, 0.2);

    --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --header-bg: rgba(5, 5, 5, 0.75);
    --border-ray-grad: conic-gradient(from 0deg, transparent 0%, #38BDF8 12%, #2DD4BF 24%, transparent 36%, transparent 100%);
    --toggle-track: #1E293B;
    --toggle-thumb: #F8FAFC;
}

[data-theme="light"] {
    --bg-base: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-surface-elevated: rgba(255, 255, 255, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-border-hover: rgba(2, 132, 199, 0.4);
    --glass-refract: rgba(15, 23, 42, 0.02);

    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;

    --brand-sky: #0284C7;
    --brand-teal: #0D9488;
    --brand-indigo: #4F46E5;
    --brand-glow: rgba(2, 132, 199, 0.15);

    --card-shadow: 0 20px 40px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.06);
    --header-bg: rgba(248, 250, 252, 0.8);
    --border-ray-grad: conic-gradient(from 0deg, transparent 0%, #0284C7 12%, #0D9488 24%, transparent 36%, transparent 100%);
    --toggle-track: #E2E8F0;
    --toggle-thumb: #0F172A;
}

/* 全局重置与平滑滚动 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Geist", "Inter", "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 大气流体云团流动层 (Atmospheric Cloud Currents) */
.ambient-cloud-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.cloud-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.16;
    will-change: transform;
    animation: cloudDrift 24s ease-in-out infinite alternate;
}

.cloud-1 {
    top: -15%;
    left: 15%;
    width: 700px;
    height: 550px;
    background: radial-gradient(circle, var(--brand-sky) 0%, transparent 70%);
}

.cloud-2 {
    top: 35%;
    right: -10%;
    width: 650px;
    height: 600px;
    background: radial-gradient(circle, var(--brand-teal) 0%, transparent 70%);
    animation-duration: 32s;
    animation-delay: -6s;
}

.cloud-3 {
    bottom: -20%;
    left: 30%;
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, var(--brand-indigo) 0%, transparent 70%);
    animation-duration: 28s;
    animation-delay: -12s;
}

@keyframes cloudDrift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.1); }
    100% { transform: translate(-40px, 70px) scale(0.95); }
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.4;
}

/* 顶部固定导航栏 */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand-sky), var(--brand-teal));
    color: #050505;
}

.brand-badge {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(56, 189, 248, 0.15);
    color: var(--brand-sky);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-size: 0.92rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 6px 4px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-highlight {
    color: var(--brand-sky) !important;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 精致专业昼夜切换开关 */
.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    outline: none;
}

.toggle-track {
    width: 54px;
    height: 28px;
    background: var(--toggle-track);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    z-index: 1;
}

.toggle-thumb {
    position: absolute;
    top: 2px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--toggle-thumb);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .toggle-thumb {
    transform: translateX(25px);
}

/* 控制台按钮 */
.btn-console {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.btn-console:hover {
    border-color: var(--glass-border-hover);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

/* 毛玻璃与通用卡片基础 */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

/* 主视觉区 (Hero) */
.hero-section {
    padding: 160px 0 100px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    font-size: 0.82rem;
    color: var(--brand-sky);
    margin-bottom: 24px;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-sky);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
    animation: pulseRing 1.8s infinite;
}

@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -1.2px;
    margin-bottom: 24px;
}

.title-gradient {
    background: linear-gradient(135deg, var(--text-primary) 20%, var(--brand-sky) 70%, var(--brand-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-sky), var(--brand-teal));
    color: #050505;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 25px var(--brand-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px var(--brand-glow);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.2s ease;
}

.btn-cta-secondary:hover {
    border-color: var(--glass-border-hover);
    background: rgba(255, 255, 255, 0.08);
}

/* 交互式实时测速仪表盘部件 (Speed Benchmark Widget) */
.benchmark-card {
    padding: 28px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.benchmark-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 14px;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
}

.status-beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-teal);
    box-shadow: 0 0 10px var(--brand-teal);
}

.current-protocol {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: monospace;
}

.region-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.region-pill {
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.region-pill .region-code {
    font-size: 0.7rem;
    opacity: 0.7;
}

.region-pill:hover {
    color: var(--text-primary);
    border-color: var(--glass-border-hover);
}

.region-pill.active {
    background: rgba(56, 189, 248, 0.12);
    border-color: var(--brand-sky);
    color: var(--brand-sky);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.gauge-display-area {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.speedometer-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.speedometer-svg {
    width: 100%;
    max-width: 220px;
    height: auto;
}

.needle-group {
    transform-origin: 100px 105px;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.speedometer-center-val {
    position: absolute;
    bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.speedometer-center-val .numeric-val {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
}

.speedometer-center-val .unit-val {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.metric-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.metric-value-wrap {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.metric-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.highlight-teal {
    color: var(--brand-teal);
}

.metric-unit {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.metric-status {
    font-size: 0.75rem;
    font-weight: 600;
}

.text-ok {
    color: var(--brand-teal);
}

.latency-pulse-bar {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 14px;
}

.pulse-wave {
    width: 3px;
    border-radius: 2px;
    background: var(--brand-teal);
}

.wave-1 { height: 60%; animation: waveAnim 1s infinite alternate ease-in-out; }
.wave-2 { height: 90%; animation: waveAnim 1s infinite alternate-reverse ease-in-out 0.2s; }
.wave-3 { height: 40%; animation: waveAnim 1s infinite alternate ease-in-out 0.4s; }

@keyframes waveAnim {
    0% { height: 30%; }
    100% { height: 100%; }
}

.benchmark-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.btn-benchmark-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-benchmark-action:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--glass-border-hover);
}

.benchmark-hint {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* 统一 Section 排版 */
.section {
    padding: 100px 0;
    position: relative;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 56px;
}

.text-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--brand-sky);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
    line-height: 1.25;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* 网格系统 */
.grid {
    display: grid;
    gap: 24px;
}

.bento-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2-wide {
    grid-template-columns: repeat(2, 1fr);
}

.platform-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.pricing-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.review-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Bento Card 与 3D Tilt 鼠标追踪 */
.bento-card {
    padding: 32px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), border-color 0.3s ease;
}

.bento-tech-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.bento-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 28px;
}

/* Bento 架构示意图元素 */
.tech-schematic {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    padding: 12px 16px;
    border-radius: 8px;
}

.schematic-node {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.schematic-line-active {
    flex-grow: 1;
    height: 2px;
    background: var(--glass-border);
    margin: 0 12px;
    position: relative;
}

.packet-dot {
    position: absolute;
    top: -3px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-sky);
    box-shadow: 0 0 8px var(--brand-sky);
    animation: packetFly 2s infinite linear;
}

@keyframes packetFly {
    0% { left: 0%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.tech-schematic-log {
    display: flex;
    gap: 8px;
}

.cipher-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(45, 212, 191, 0.08);
    border: 1px solid rgba(45, 212, 191, 0.25);
    color: var(--brand-teal);
}

.status-zero {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.25);
    color: var(--brand-sky);
}

.tech-schematic-sla {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sla-progress-track {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.sla-progress-fill {
    width: 99.99%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-teal), var(--brand-sky));
}

.sla-info {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* 业务支持卡片 (流媒体 & AI) */
.service-card {
    padding: 36px;
}

.service-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.service-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stream-icon {
    background: rgba(225, 29, 72, 0.12);
    border: 1px solid rgba(225, 29, 72, 0.3);
}

.ai-icon {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.service-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.service-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.service-body-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.platform-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* 客户端支持矩阵 */
.platform-box {
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.sys-icon {
    color: var(--brand-sky);
}

.sys-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.sys-apps {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sub-action-dock {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-copy-dock {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: all 0.25s ease;
}

.btn-copy-dock:hover {
    border-color: var(--brand-sky);
    background: rgba(56, 189, 248, 0.08);
}

.btn-copy-dock.copied {
    border-color: var(--brand-teal);
    background: rgba(45, 212, 191, 0.15);
    color: var(--brand-teal);
}

.sub-tip {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* 套餐价格 (Pricing Matrix & Continuous Running Border Ray) */
.pricing-billing-switch {
    display: inline-flex;
    padding: 4px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    margin-top: 24px;
}

.billing-btn {
    padding: 8px 20px;
    border-radius: 24px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.billing-btn.active {
    background: var(--brand-sky);
    color: #050505;
}

.discount-badge {
    font-size: 0.72rem;
    padding: 2px 6px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.pricing-pill-card {
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card-header {
    margin-bottom: 24px;
}

.plan-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pill-highlight {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--brand-sky);
    color: var(--brand-sky);
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.plan-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pricing-val-box {
    display: flex;
    align-items: baseline;
    margin-bottom: 30px;
}

.pricing-val-box .currency {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-sky);
}

.pricing-val-box .amount {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    color: var(--text-primary);
    margin: 0 4px;
}

.pricing-val-box .period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-ico {
    font-size: 0.85rem;
    color: var(--brand-teal);
    font-weight: 800;
}

.highlight-ico {
    color: var(--brand-sky);
}

.plan-cta {
    margin-top: auto;
}

.btn-plan-select {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 0;
    border-radius: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.btn-plan-select:hover {
    border-color: var(--brand-sky);
    background: rgba(56, 189, 248, 0.08);
}

.btn-highlight {
    background: linear-gradient(135deg, var(--brand-sky), var(--brand-teal));
    color: #050505;
    border: none;
    box-shadow: 0 8px 20px var(--brand-glow);
}

.btn-highlight:hover {
    box-shadow: 0 12px 28px var(--brand-glow);
    transform: translateY(-1px);
}

/* 推荐套餐连续流光跑马灯射线 (Continuous Running Border Ray) */
.popular-tier {
    padding: 0;
    background: transparent;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    transform: translateY(-8px);
}

.running-border-ray {
    position: absolute;
    inset: -150%;
    background: var(--border-ray-grad);
    animation: rotateBorderRay 5s linear infinite;
    z-index: 0;
}

@keyframes rotateBorderRay {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.popular-tag {
    position: absolute;
    top: 10px;
    right: 18px;
    z-index: 2;
    background: linear-gradient(135deg, var(--brand-sky), var(--brand-teal));
    color: #050505;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.popular-card-inner {
    position: relative;
    margin: 2px;
    border-radius: 16px;
    padding: 36px 30px;
    height: calc(100% - 4px);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* 用户评价 (User Reviews) */
.review-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-sky), var(--brand-teal));
    color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.avatar-teal {
    background: linear-gradient(135deg, var(--brand-teal), #10B981);
}

.avatar-purple {
    background: linear-gradient(135deg, #A855F7, var(--brand-indigo));
}

.reviewer-name {
    font-size: 0.98rem;
    font-weight: 700;
}

.reviewer-tags {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.review-rate {
    font-size: 0.8rem;
    color: var(--brand-teal);
    font-weight: 700;
}

/* FAQ 手风琴 (Accordion) */
.faq-accordion-box {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-card {
    overflow: hidden;
    border-radius: 12px;
}

.faq-toggle {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
}

.faq-chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.faq-toggle[aria-expanded="true"] .faq-chevron {
    transform: rotate(-135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.faq-answer.show {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 页脚 (严格仅保留 4 个标题) */
.site-footer {
    border-top: 1px solid var(--glass-border);
    padding: 50px 0 40px;
    background: var(--bg-surface);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-nav-four {
    display: flex;
    align-items: center;
    gap: 36px;
}

.footer-link-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-link-item:hover {
    color: var(--brand-sky);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* 推荐资讯与内页共用样式 */
.page-main-container {
    padding: 140px 0 80px;
    min-height: 80vh;
}

.article-hero-header {
    max-width: 760px;
}

.page-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 12px 0 16px;
    letter-spacing: -1px;
}

.article-read-btn {
    display: inline-block;
    color: var(--brand-sky);
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.article-read-btn:hover {
    transform: translateX(4px);
}

/* 悬停光晕追踪 (Cursor spotlight glow) */
.hover-glow .card {
    position: relative;
}

.hover-glow .card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(
        500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(56, 189, 248, 0.4),
        transparent 40%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.hover-glow .card:hover::before {
    opacity: 1;
}

/* 响应式媒体查询适配 (@media) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .bento-grid-3,
    .pricing-grid-3,
    .review-grid-3 {
        grid-template-columns: 1fr;
    }

    .platform-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .popular-tier {
        transform: none;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .gauge-display-area {
        grid-template-columns: 1fr;
    }

    .grid-2-wide {
        grid-template-columns: 1fr;
    }

    .platform-grid-5 {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .footer-nav-four {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }
}
