/* ============================================================
   FofoIM 官网 · 双主题：深色 (dark) + 浅色 (light)
   通过 html[data-theme] 切换；所有颜色走 CSS 变量
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== 深色主题（默认 & data-theme=dark） ===== */
:root,
html[data-theme='dark'] {
    --bg-0: #070a12;
    --bg-1: #0c1120;
    --bg-2: #111830;
    --bg-3: #1a2340;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text-0: #ffffff;
    --text-1: #c8d0e0;
    --text-2: #8891a8;
    --text-3: #5a6278;
    --accent: #00E5FF;
    --accent-2: #0088FF;
    --accent-grad: linear-gradient(135deg, #00E5FF 0%, #0088FF 100%);
    --pink-grad: linear-gradient(135deg, #F5576C 0%, #F093FB 100%);
    --green-grad: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    --orange-grad: linear-gradient(135deg, #FFB347 0%, #FF6B6B 100%);
    --purple-grad: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-lg: 0 30px 60px -15px rgba(0, 0, 0, 0.6), 0 10px 20px -10px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 8px 20px -10px rgba(0, 0, 0, 0.35);
    /* 装饰用（设备外框、导航栏底部渐变等） */
    --device-frame-grad: linear-gradient(145deg, #1a2340 0%, #0c1120 100%);
    --desktop-frame-grad: linear-gradient(145deg, #1a2340 0%, #0c1120 100%);
    --soft-white-alpha: rgba(255, 255, 255, 1);
    --soft-text-on-accent: #ffffff;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'IBM Plex Sans', system-ui, sans-serif;
}

/* ===== 浅色主题 ===== */
html[data-theme='light'] {
    --bg-0: #f6f8fc;
    --bg-1: #ffffff;
    --bg-2: #eef2f9;
    --bg-3: #e3e8f1;
    --surface: rgba(10, 20, 50, 0.028);
    --surface-hover: rgba(10, 20, 50, 0.055);
    --border: rgba(10, 25, 60, 0.09);
    --border-strong: rgba(10, 25, 60, 0.17);
    --text-0: #0b1220;
    --text-1: #263048;
    --text-2: #5a647e;
    --text-3: #8590aa;
    --accent: #00a8c2;
    --accent-2: #0066ff;
    --accent-grad: linear-gradient(135deg, #00bcd4 0%, #0a66ff 100%);
    --pink-grad: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    --green-grad: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    --orange-grad: linear-gradient(135deg, #ffb347 0%, #ff6b6b 100%);
    --purple-grad: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-lg: 0 30px 60px -18px rgba(20, 40, 80, 0.22), 0 10px 20px -10px rgba(20, 40, 80, 0.16);
    --shadow-md: 0 18px 40px -14px rgba(20, 40, 80, 0.2);
    --shadow-sm: 0 8px 20px -10px rgba(20, 40, 80, 0.18);
    --device-frame-grad: linear-gradient(145deg, #ffffff 0%, #e7ecf5 100%);
    --desktop-frame-grad: linear-gradient(145deg, #ffffff 0%, #e7ecf5 100%);
    --soft-white-alpha: rgba(11, 18, 32, 1);
    --soft-text-on-accent: #ffffff;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-0);
    color: var(--text-1);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--accent); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; outline: none; border: none; }

/* ---------- Background Decorations ---------- */
.bg-grid {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.bg-gradient {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}
.bg-gradient-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.4) 0%, transparent 70%);
    top: -200px; left: -150px;
}
.bg-gradient-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(245, 87, 108, 0.3) 0%, transparent 70%);
    bottom: -150px; right: -100px;
    animation-delay: -10s;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
}

/* ---------- Container ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.01em;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    white-space: nowrap;
    cursor: pointer;
}
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--accent-grad);
    color: #001018;
    box-shadow: 0 8px 30px -8px rgba(0, 229, 255, 0.6), inset 0 1px 0 rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 50%);
    opacity: 0;
    transition: opacity .3s;
}
.btn-primary:hover { transform: translateY(-2px); color: #001018; box-shadow: 0 14px 40px -10px rgba(0, 229, 255, 0.7); }
.btn-primary:hover::before { opacity: 1; }

.btn-outline {
    background: transparent;
    color: var(--text-0);
    border: 1.5px solid var(--border-strong);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 229, 255, 0.06);
    transform: translateY(-2px);
}

.btn-ghost {
    color: var(--text-1);
    background: transparent;
}
.btn-ghost:hover { color: var(--accent); background: rgba(0, 229, 255, 0.06); }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all .35s ease;
    background: transparent;
}
.navbar.scrolled {
    padding: 12px 0;
    background: rgba(7, 10, 18, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
    width: 36px; height: 36px;
    border-radius: 9px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(125, 90, 255, 0.35));
}
.logo-mark {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.4));
}
.logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-0);
}
.logo-text em {
    font-style: normal;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-2);
}
.nav-links a { position: relative; transition: color .25s; }
.nav-links a::after {
    content: ''; position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--accent-grad);
    border-radius: 2px;
    transform: scaleX(0); transform-origin: center;
    transition: transform .3s ease;
}
.nav-links a:hover { color: var(--text-0); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text-0); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
}
.hero .container {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 12px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}
.badge-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.6);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-0);
    margin-bottom: 28px;
}
.grad-text {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.grad-text-2 {
    background: var(--pink-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 17.5px;
    line-height: 1.75;
    color: var(--text-2);
    max-width: 560px;
    margin-bottom: 18px;
}
.hero-notice {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    max-width: 560px;
    margin-bottom: 32px;
    border-radius: 12px;
    background: rgba(125, 90, 255, 0.10);
    border: 1px solid rgba(125, 90, 255, 0.22);
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-soft);
}
html[data-theme='light'] .hero-notice {
    background: rgba(125, 90, 255, 0.06);
    border-color: rgba(125, 90, 255, 0.20);
    color: #4a5366;
}
.hero-notice svg { flex: 0 0 auto; color: #a78bfa; margin-top: 2px; }
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 60px;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-0);
    letter-spacing: -0.02em;
    line-height: 1;
}
.stat-num::after { content: '+'; font-size: 0.7em; color: var(--accent); margin-left: 2px; }
.stat-label { font-size: 13.5px; color: var(--text-3); }
.stat-divider {
    width: 1px; height: 40px;
    background: linear-gradient(180deg, transparent, var(--border), transparent);
}

/* Hero Preview Devices */
.hero-preview {
    position: relative;
    height: 620px;
}
.device { position: absolute; }
.device-phone {
    left: 0; top: 40px;
    z-index: 3;
    animation: deviceFloat 7s ease-in-out infinite;
}
.device-desktop {
    right: 0; top: 0;
    z-index: 2;
    animation: deviceFloat 7s ease-in-out infinite -2s;
}
@keyframes deviceFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}
.device-frame {
    width: 260px;
    background: var(--device-frame-grad);
    border: 1px solid var(--border-strong);
    border-radius: 38px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 229, 255, 0.12);
}
.device-screen {
    background: var(--bg-1);
    border-radius: 28px;
    overflow: hidden;
    height: 500px;
    border: 1px solid var(--border);
}
.chat-ui {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.chat-header {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 229, 255, 0.04);
    border-bottom: 1px solid var(--border);
}
.chat-avatar {
    width: 36px; height: 36px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff; font-size: 14px;
}
.chat-info { flex: 1; }
.chat-name { font-size: 14px; font-weight: 600; color: var(--text-0); }
.chat-status {
    font-size: 11px; color: var(--text-3);
    display: flex; align-items: center; gap: 5px; margin-top: 2px;
}
.online-dot {
    width: 6px; height: 6px;
    background: #4ECDC4; border-radius: 50%;
    box-shadow: 0 0 6px #4ECDC4;
}
.chat-body {
    flex: 1;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 85%; }
.msg-left { align-self: flex-start; }
.msg-right { align-self: flex-end; flex-direction: row-reverse; }
.msg-avatar {
    width: 28px; height: 28px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: #fff; font-weight: 600; flex-shrink: 0;
}
.msg-bubble {
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.5;
}
.msg-left .msg-bubble {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-1);
    border-bottom-left-radius: 4px;
}
.msg-right .msg-bubble {
    background: var(--accent-grad);
    color: #001018;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}
.msg-bubble-img {
    width: 140px; height: 90px;
    background: linear-gradient(135deg, rgba(0,229,255,0.15), rgba(102,126,234,0.15));
    border: 1px dashed rgba(0, 229, 255, 0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: var(--text-2);
}
.msg-system {
    align-self: center;
    font-size: 10.5px;
    color: var(--text-3);
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
}
.chat-input {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}
.chat-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    color: var(--text-1);
}
.chat-input button {
    background: var(--accent-grad);
    color: #001018;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

/* Desktop Window */
.desktop-window {
    width: 440px;
    background: var(--desktop-frame-grad);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 80px rgba(245, 87, 108, 0.1);
}
.window-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}
.window-dots { display: flex; gap: 7px; }
.window-dots span { width: 12px; height: 12px; border-radius: 50%; display: block; }
.window-title {
    flex: 1; text-align: center;
    font-size: 12px; color: var(--text-3);
    font-family: var(--font-display); font-weight: 500;
}
.window-body {
    display: flex;
    height: 320px;
}
.sidebar-panel {
    width: 110px;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid var(--border);
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.panel-item {
    padding: 10px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: .2s;
}
.panel-item.active {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent);
}
.panel-icon { font-size: 14px; }
.main-panel { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}
.mini-num {
    font-family: var(--font-display);
    font-size: 15px; font-weight: 700; color: var(--text-0);
    letter-spacing: -0.02em;
}
.mini-label { font-size: 10px; color: var(--text-3); margin-top: 2px; }
.chart-placeholder {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 12px;
    display: flex;
    align-items: flex-end;
}
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 0 4px;
}
.chart-bars .bar {
    flex: 1;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
    border-radius: 4px 4px 0 0;
    min-height: 8px;
    opacity: 0.85;
    position: relative;
    transition: all .4s ease;
}
.chart-bars .bar:hover { opacity: 1; transform: scaleY(1.05); transform-origin: bottom; }

/* ---------- Partners ---------- */
.partners { padding: 40px 0 80px; position: relative; }
.partners-label {
    text-align: center;
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 28px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
}
.partner-logo {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-3);
    letter-spacing: 0.02em;
    transition: all .3s;
    white-space: nowrap;
}
.partner-logo:hover { color: var(--accent); transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-alt {
    background: linear-gradient(180deg,
        transparent 0%,
        color-mix(in srgb, var(--accent) 3%, transparent) 50%,
        transparent 100%);
}
.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}
.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    padding: 7px 16px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.16);
    border-radius: 999px;
    color: var(--accent);
    margin-bottom: 22px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text-0);
    margin-bottom: 18px;
}
.section-title-left { text-align: left; }
.section-desc {
    font-size: 17px;
    color: var(--text-2);
    line-height: 1.7;
}

/* ---------- Features ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    position: relative;
    padding: 36px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all .4s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(600px circle at var(--mx,50%) var(--my,0%), rgba(0,229,255,0.08), transparent 40%);
    opacity: 0;
    transition: opacity .4s;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 229, 255, 0.25);
    box-shadow: var(--shadow-md), 0 0 40px rgba(0, 229, 255, 0.08);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}
.feature-icon-1 { background: linear-gradient(135deg, rgba(0,229,255,0.18), rgba(0,136,255,0.12)); color: #00E5FF; border: 1px solid rgba(0, 229, 255, 0.25); }
.feature-icon-2 { background: linear-gradient(135deg, rgba(78,205,196,0.18), rgba(68,160,141,0.12)); color: #4ECDC4; border: 1px solid rgba(78, 205, 196, 0.25); }
.feature-icon-3 { background: linear-gradient(135deg, rgba(255,179,71,0.18), rgba(255,107,107,0.12)); color: #FFB347; border: 1px solid rgba(255, 179, 71, 0.25); }
.feature-icon-4 { background: linear-gradient(135deg, rgba(245,87,108,0.18), rgba(240,147,251,0.12)); color: #F5576C; border: 1px solid rgba(245, 87, 108, 0.25); }
.feature-icon-5 { background: linear-gradient(135deg, rgba(102,126,234,0.18), rgba(118,75,162,0.12)); color: #A78BFA; border: 1px solid rgba(102, 126, 234, 0.25); }
.feature-icon-6 { background: linear-gradient(135deg, rgba(255,179,71,0.18), rgba(255,107,107,0.12)); color: #FFB347; border: 1px solid rgba(255, 107, 107, 0.25); }
.feature-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-0);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.feature-desc {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text-2);
    position: relative;
    z-index: 1;
}

/* ---------- Screenshots (Carousel) ---------- */
.carousel {
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}
.carousel-viewport {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-strong);
    background: var(--bg-1);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
}
.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .55s cubic-bezier(.65,.05,.2,1);
    will-change: transform;
}
.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 0;
    min-width: 0;
}
.slide-media {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-height: 0;
}
.slide-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}
/* 占位图样式 */
.slide-placeholder {
    position: absolute;
    inset: 0;
}
.placeholder-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.placeholder-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px circle at 20% 20%, rgba(0, 229, 255, 0.22), transparent 50%),
        radial-gradient(500px circle at 80% 90%, rgba(0, 136, 255, 0.18), transparent 50%),
        linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.55) 100%);
}
html[data-theme='light'] .placeholder-layer::after {
    background:
        radial-gradient(700px circle at 20% 20%, rgba(10, 102, 255, 0.18), transparent 50%),
        radial-gradient(500px circle at 80% 90%, rgba(0, 188, 212, 0.16), transparent 50%),
        linear-gradient(180deg, transparent 60%, rgba(10, 20, 40, 0.5) 100%);
}
.placeholder-device {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
/* 手机占位壳 */
.device-frame-mini {
    width: 220px;
    height: 420px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 32px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
}
.device-screen-mini {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(0,229,255,0.08), rgba(0,136,255,0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,0.14);
}
.placeholder-caption-sm {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.14);
    letter-spacing: 0.05em;
}
/* 桌面占位壳 */
.desktop-frame-mini {
    width: 560px;
    max-width: 85%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(6px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.55);
}
.desktop-bar-mini {
    height: 28px;
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.14);
}
.desktop-screen-mini {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0,229,255,0.05), rgba(0,136,255,0.04));
}
/* 浏览器占位壳 */
.browser-frame-mini {
    width: 620px;
    max-width: 88%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(6px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.55);
}
.browser-bar-mini {
    height: 34px;
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.14);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}
.browser-bar-mini span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
}
.browser-bar-mini span:nth-child(1) { background: #ff5f57; }
.browser-bar-mini span:nth-child(2) { background: #febc2e; }
.browser-bar-mini span:nth-child(3) { background: #28c840; }
.browser-url-mini {
    margin-left: 10px;
    flex: 1;
    height: 20px;
    border-radius: 6px;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.02em;
}
.browser-screen-mini {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(245,87,108,0.04), rgba(240,147,251,0.04));
}
/* 管理后台占位壳 */
.admin-frame-mini {
    width: 660px;
    max-width: 90%;
    height: 310px;
    display: grid;
    grid-template-columns: 160px 1fr;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(6px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.55);
}
.admin-sidebar-mini {
    background: rgba(255,255,255,0.06);
    border-right: 1px solid rgba(255,255,255,0.14);
}
.admin-screen-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(78,205,196,0.04), rgba(68,160,141,0.04));
}

/* 字幕区 */
.slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px 40px 28px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.8) 100%);
    color: #fff;
    z-index: 3;
}
.slide-caption h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
}
.slide-caption p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    max-width: 820px;
    line-height: 1.6;
}
.slide-hint {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    font-size: 11.5px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.92);
    letter-spacing: 0.02em;
}

/* 箭头按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 10, 18, 0.55);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all .25s ease;
    z-index: 5;
}
.carousel-btn:hover {
    background: var(--accent);
    border-color: transparent;
    color: #001018;
    box-shadow: 0 8px 24px -8px rgba(0, 229, 255, 0.6);
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn--prev { left: 16px; }
.carousel-btn--next { right: 16px; }

/* 指示器 */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    min-height: 14px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--border-strong);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all .3s ease;
}
.carousel-dot:hover { background: var(--accent); opacity: 0.7; }
.carousel-dot.is-active {
    width: 32px;
    background: var(--accent-grad);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

/* 亮色主题下字幕底色调整 */
html[data-theme='light'] .slide-caption {
    background: linear-gradient(180deg, transparent 0%, rgba(10,20,40,0.45) 55%, rgba(10,20,40,0.75) 100%);
}
html[data-theme='light'] .carousel-btn {
    background: rgba(255,255,255,0.7);
    color: #0b1220;
    border-color: rgba(10, 20, 40, 0.12);
}
html[data-theme='light'] .carousel-btn:hover {
    background: var(--accent-2);
    color: #fff;
}

/* 响应式：轮播 */
@media (max-width: 768px) {
    .carousel-viewport {
        aspect-ratio: 4 / 5;
        border-radius: var(--radius-lg);
    }
    .carousel-slide { grid-template-rows: 1fr auto; }
    .desktop-frame-mini, .browser-frame-mini, .admin-frame-mini {
        max-width: 92%;
    }
    .desktop-screen-mini, .browser-screen-mini { height: 180px; }
    .admin-frame-mini { height: 230px; grid-template-columns: 110px 1fr; }
    .device-frame-mini { width: 160px; height: 300px; }
    .slide-caption { padding: 20px 20px 18px; }
    .slide-caption h3 { font-size: 17px; }
    .slide-caption p { font-size: 12.5px; }
    .carousel-btn--prev { left: 8px; }
    .carousel-btn--next { right: 8px; }
    .carousel-btn { width: 38px; height: 38px; }
}
.screen-card {
    text-align: center;
}
.screen-mock {
    transition: all .4s ease;
}
.screen-card:hover .screen-mock {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 30px 50px rgba(0, 229, 255, 0.2));
}
.screen-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    margin-top: 20px;
    letter-spacing: 0.02em;
}

.mobile-mock {
    width: 230px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1a2340 0%, #0c1120 100%);
    border: 1px solid var(--border-strong);
    border-radius: 34px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
}
.mobile-screen {
    height: 420px;
    background: var(--bg-1);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-0);
    background: rgba(0, 229, 255, 0.03);
    border-bottom: 1px solid var(--border);
}
.chat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.chat-avatar-sm {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff; font-size: 15px;
    flex-shrink: 0;
}
.chat-meta { flex: 1; min-width: 0; }
.chat-title {
    font-size: 13.5px; font-weight: 600; color: var(--text-0);
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.chat-time { font-size: 10.5px; color: var(--text-3); font-weight: 400; flex-shrink: 0; }
.badge-unread {
    min-width: 18px; height: 18px; padding: 0 6px;
    background: var(--accent);
    color: #001018;
    border-radius: 999px;
    font-size: 10.5px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    margin-right: auto;
}
.chat-preview {
    font-size: 11.5px; color: var(--text-3);
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.desktop-mock {
    background: linear-gradient(145deg, #151d35 0%, #0a0e1c 100%);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.desktop-chat {
    display: flex;
    height: 380px;
}
.dc-sidebar {
    width: 58px;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid var(--border);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.dc-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    color: var(--text-2);
    transition: .2s;
}
.dc-icon.active, .dc-icon:hover {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent);
}
.dc-session {
    width: 220px;
    border-right: 1px solid var(--border);
    padding: 12px;
}
.dc-search {
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 10px;
}
.dc-chat-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 4px;
    transition: .2s;
    cursor: pointer;
}
.dc-chat-item:hover, .dc-chat-item.active {
    background: rgba(0, 229, 255, 0.06);
}
.dc-chat-item.active { border: 1px solid rgba(0, 229, 255, 0.12); }
.dc-chat-info { flex: 1; min-width: 0; }
.dc-chat-name {
    font-size: 12.5px; font-weight: 600; color: var(--text-0);
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 3px;
}
.dc-chat-msg { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-main { flex: 1; display: flex; flex-direction: column; }
.dc-main-header {
    padding: 12px 16px;
    font-size: 13px; font-weight: 600; color: var(--text-0);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}
.dc-main-body {
    flex: 1;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dc-main-input {
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    font-size: 12px; color: var(--text-3);
}

.browser-mock {
    background: linear-gradient(145deg, #151d35 0%, #0a0e1c 100%);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 7px; }
.browser-dots span { width: 12px; height: 12px; border-radius: 50%; display: block; }
.browser-url {
    flex: 1;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 11.5px;
    color: var(--text-3);
    text-align: center;
    font-family: ui-monospace, monospace;
}
.browser-body {
    height: 340px;
    background: var(--bg-1);
}

/* ---------- Pricing ---------- */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 50px;
}
.toggle-label {
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-3);
    transition: .3s;
}
.toggle-label.active { color: var(--accent); }
.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-strong);
    transition: .3s;
    border-radius: 999px;
}
.slider::before {
    position: absolute;
    content: "";
    height: 20px; width: 20px;
    left: 3px; top: 3px;
    background: var(--accent-grad);
    border-radius: 50%;
    transition: .3s;
    box-shadow: 0 2px 8px rgba(0, 229, 255, 0.5);
}
.switch input:checked + .slider::before { transform: translateX(24px); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.pricing-card {
    position: relative;
    padding: 40px 32px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    transition: all .4s cubic-bezier(.4,0,.2,1);
}
.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow-md);
}
.pricing-card-popular {
    background: linear-gradient(165deg, rgba(0, 229, 255, 0.08) 0%, var(--surface) 50%);
    border: 1.5px solid rgba(0, 229, 255, 0.3);
    transform: scale(1.03);
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.12), var(--shadow-md);
}
.pricing-card-popular:hover {
    box-shadow: 0 0 80px rgba(0, 229, 255, 0.2), var(--shadow-lg);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--orange-grad);
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: #1a0a00;
    box-shadow: 0 4px 14px rgba(255, 107, 107, 0.4);
}
.pricing-head { margin-bottom: 24px; }
.pricing-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 6px;
}
.pricing-tag {
    font-size: 13px;
    color: var(--text-3);
}
.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
}
.price-currency {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-2);
}
.price-num {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 700;
    color: var(--text-0);
    letter-spacing: -0.03em;
    line-height: 1;
}
.price-suffix {
    font-size: 13px;
    color: var(--text-3);
    margin-left: 4px;
}
.custom-price {
    background: var(--orange-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 36px;
}
.pricing-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}
.pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-1);
    line-height: 1.5;
}
.pricing-list .check {
    color: #4ECDC4;
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}
.pricing-list .dash {
    color: var(--text-3);
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}
.pricing-list li.muted {
    color: var(--text-3);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.1);
}

/* ---------- News ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(140px, auto);
    gap: 24px;
}
.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all .4s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
}
.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: var(--shadow-md);
}
.news-card-large {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}
.news-cover {
    position: relative;
    height: 220px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.news-cover::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(600px circle at 30% 20%, rgba(0, 229, 255, 0.15), transparent 50%);
}
.news-cover-sm { height: 100px; padding: 14px 16px; }
.news-tag {
    position: relative; z-index: 1;
    align-self: flex-start;
    padding: 5px 12px;
    background: rgba(0, 229, 255, 0.16);
    border: 1px solid rgba(0, 229, 255, 0.24);
    border-radius: 999px;
    font-size: 11px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
}
.news-date {
    position: relative; z-index: 1;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.5);
    font-family: ui-monospace, monospace;
}
.news-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-card-large .news-body { flex: 1; justify-content: space-between; }
.news-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-0);
    margin-bottom: 12px;
    transition: color .3s;
}
.news-card-large .news-title { font-size: 22px; line-height: 1.35; margin-bottom: 16px; }
.news-card:hover .news-title { color: var(--accent); }
.news-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-2);
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--text-3);
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.news-card-large .news-meta { border-top: 0; padding-top: 0; }
.news-author { font-family: var(--font-display); font-weight: 500; }
.news-link {
    color: var(--accent);
    font-weight: 600;
    font-family: var(--font-display);
    transition: all .3s;
}
.news-link:hover { transform: translateX(4px); }
.news-more { text-align: center; margin-top: 50px; }

/* ---------- Hero H5 iframe 嵌入样式 ---------- */
.device-screen--iframe {
    padding: 0;
    position: relative;
    background: #000;
}
.h5-iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #0b1020;
}
.h5-iframe--desktop {
    background: var(--bg-1);
}
.window-body--iframe {
    padding: 0;
    position: relative;
    background: var(--bg-1);
}
.window-body--iframe::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
}

/* ---------- News: RSS 版样式（仿 PHP 版 4 列栅格）---------- */
/* ====== Bento 风格新闻网格 ====== */
/* 无论 fallback 静态 或 RSS 动态渲染，全部用同一份 Bento 布局：
   第1张 → 左列 × 2行（大卡）
   第2-5张 → 中右两列各上下1张（小卡）
*/
#newsGrid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-auto-rows: minmax(210px, auto);
    gap: 22px;
}
.news-card--rss {
    display: flex;
    flex-direction: column;
    cursor: default;
}
.news-cover--rss {
    height: 180px;
    padding: 18px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: transform .4s ease;
}
.news-cover--rss:hover {
    transform: scale(1.01);
}
.news-title--rss {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.news-title--rss > a {
    color: inherit;
    text-decoration: none;
    transition: color .3s;
}
.news-title--rss > a:hover { color: var(--accent); }
.news-meta--rss {
    flex-wrap: wrap;
    gap: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
}
.news-meta--rss .news-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.news-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088FF, #00E5FF);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-display);
}
.news-date-sm {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    color: var(--text-3);
    padding-left: 4px;
}
.news-meta--rss .news-link {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    flex-shrink: 0;
}
.news-link-arrow {
    display: inline-block;
    transition: transform .25s ease;
}
.news-meta--rss .news-link:hover .news-link-arrow {
    transform: translateX(3px);
}

/* ---------- Navbar 主题切换按钮 ---------- */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-0);
    cursor: pointer;
    transition: all .3s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.theme-toggle:hover {
    border-color: var(--accent);
    background: rgba(0, 229, 255, 0.07);
    transform: rotate(12deg);
}
.theme-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.theme-toggle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    transition: transform .4s ease, opacity .3s ease;
}
.theme-toggle .icon-sun { display: none; }
html[data-theme='light'] .theme-toggle .icon-sun { display: block; }
html[data-theme='light'] .theme-toggle .icon-moon { display: none; }
html[data-theme='light'] .theme-toggle:hover {
    background: rgba(10, 102, 255, 0.08);
}

/* ---------- Hero 单设备（放大居中） ---------- */
.hero-preview--single {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 680px;
}
.hero-preview--single .device-phone--single {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    animation: deviceSingleFloat 7s ease-in-out infinite;
}
.hero-preview--single .device-phone--single .device-frame {
    width: 320px;
    border-radius: 44px;
    padding: 14px;
    box-shadow: var(--shadow-xl), 0 0 100px rgba(0, 229, 255, 0.22), 0 0 200px rgba(102, 126, 234, 0.14);
}
.hero-preview--single .device-phone--single .device-screen {
    height: 620px;
    border-radius: 32px;
}
@keyframes deviceSingleFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-18px) rotate(1deg); }
}

/* ---------- 更多 IM 推荐 ---------- */
.variant-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 50px;
}
.variant-card {
    background: var(--surface-grad);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 24px 24px;
    position: relative;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.variant-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(260px circle at 10% 0%, var(--accent-soft), transparent 60%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.variant-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg), 0 20px 50px -20px var(--accent-soft);
}
.variant-card:hover::before { opacity: 0.8; }

.variant-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    box-shadow: 0 8px 20px -8px rgba(0,0,0,.6);
}
.variant-icon svg { width: 26px; height: 26px; }
.variant-icon--violet { background: linear-gradient(135deg,#667eea 0%,#764ba2 100%); }
.variant-icon--blue   { background: linear-gradient(135deg,#00c6ff 0%,#0072ff 100%); }
.variant-icon--orange { background: linear-gradient(135deg,#f093fb 0%,#f5576c 100%); }
.variant-icon--green  { background: linear-gradient(135deg,#11998e 0%,#38ef7d 100%); }
.variant-icon--gold   { background: linear-gradient(135deg,#f7971e 0%,#ffd200 100%); color:#332200; }
.variant-icon--pink   { background: linear-gradient(135deg,#ff6ec4 0%,#7873f5 100%); }
.variant-icon--teal   { background: linear-gradient(135deg,#2193b0 0%,#6dd5ed 100%); }
.variant-icon--purple { background: linear-gradient(135deg,#a18cd1 0%,#fbc2eb 100%); color:#4a2252; }

.variant-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-0);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
    position: relative;
}
.variant-sub {
    font-size: 13px;
    color: var(--text-3);
    margin: 0 0 16px;
    line-height: 1.5;
    position: relative;
}
.variant-features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.variant-features li {
    font-size: 12.5px;
    color: var(--text-2);
    line-height: 1.5;
    padding-left: 18px;
    position: relative;
}
.variant-features li::before {
    content: "";
    position: absolute;
    left: 0; top: 6px;
    width: 8px; height: 8px;
    border-radius: 2px;
    background: var(--accent-grad);
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(0,229,255,.3);
}
.variant-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    position: relative;
    transition: color .2s, gap .2s;
}
.variant-cta:hover {
    color: var(--accent-2);
    gap: 10px;
}
.variant-cta--primary {
    margin-top: 18px;
    padding: 11px 20px;
    border-radius: 12px;
    background: var(--accent-grad);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .25s ease, filter .2s ease;
    box-shadow: 0 10px 24px -12px var(--accent-soft), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.variant-cta--primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 16px 32px -14px var(--accent-soft), 0 0 0 1px rgba(255,255,255,0.12) inset;
    color: #fff;
    gap: 10px;
}
/* 双按钮并排：详细介绍 + 联系客服 */
.variant-cta-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.variant-cta-row .variant-cta { margin-top: 0; flex: 1 1 0; min-width: 0; }
.variant-cta--outline {
    padding: 11px 16px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid var(--border-2);
    color: var(--text-1);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.variant-cta--outline:hover {
    border-color: var(--accent-500);
    color: var(--accent);
    background: rgba(125, 90, 255, 0.06);
    transform: translateY(-2px);
    gap: 6px;
}

/* 3 列网格：更多IM推荐 3 套大卡片 */
.variant-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
.variant-card--large {
    padding: 32px 26px 26px;
}
.variant-card--large h3 {
    font-size: 20px;
    margin-top: 18px;
}
.variant-card--large .variant-sub {
    margin-bottom: 16px;
}
.variant-card--large .variant-features li {
    font-size: 13.5px;
    padding-left: 20px;
    padding-right: 4px;
    line-height: 1.6;
}
.variant-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    z-index: 2;
    backdrop-filter: blur(10px);
}
.variant-badge--hot {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(255, 140, 66, 0.15));
    color: #ff8f65;
    border: 1px solid rgba(255, 140, 66, 0.3);
}
.variant-badge--new {
    background: linear-gradient(135deg, rgba(43, 176, 255, 0.14), rgba(0, 198, 255, 0.14));
    color: #56d4ff;
    border: 1px solid rgba(43, 176, 255, 0.3);
}
.variant-badge--pro {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.14), rgba(255, 168, 0, 0.14));
    color: #ffcf5a;
    border: 1px solid rgba(255, 215, 0, 0.28);
}

.variant-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 16px 20px;
    margin: 14px 0 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-soft-2), rgba(30, 170, 255, 0.06));
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.variant-price::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 240px;
    height: 240px;
    background: var(--accent-grad);
    opacity: 0.06;
    filter: blur(40px);
    border-radius: 50%;
    pointer-events: none;
}
.vp-cur {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}
.vp-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.vp-suf {
    font-size: 12px;
    color: var(--text-2);
    margin-left: 4px;
}

/* ---------- 浅色主题：硬编码颜色覆盖 ---------- */
html[data-theme='light'] {
    color-scheme: light;
}
html[data-theme='light'] .bg-grid {
    background-image:
        linear-gradient(rgba(10, 30, 70, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 30, 70, 0.06) 1px, transparent 1px);
}
html[data-theme='light'] .bg-glow {
    background:
        radial-gradient(500px circle at 15% 10%, rgba(10, 102, 255, 0.12), transparent 60%),
        radial-gradient(500px circle at 85% 20%, rgba(0, 188, 212, 0.12), transparent 60%);
}
/* Navbar scrolled */
html[data-theme='light'] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px -10px rgba(20, 40, 80, 0.12);
}
html[data-theme='light'] .nav-cta-ghost {
    background: rgba(10, 20, 50, 0.04);
}
html[data-theme='light'] .device-frame {
    box-shadow: var(--shadow-lg), 0 0 50px rgba(10, 102, 255, 0.18);
}
html[data-theme='light'] .desktop-window {
    box-shadow: var(--shadow-lg), 0 0 50px rgba(10, 102, 255, 0.18);
}
/* 写死的白色半透明区域统一改成深色半透明（在亮底下看起来自然） */
html[data-theme='light'] .stat-row,
html[data-theme='light'] .msg-right .msg-bubble,
html[data-theme='light'] .price-badge,
html[data-theme='light'] .pricing-feature,
html[data-theme='light'] .window-header,
html[data-theme='light'] .cta-form input,
html[data-theme='light'] .chat-input input,
html[data-theme='light'] .chat-input button,
html[data-theme='light'] .tab-btn,
html[data-theme='light'] .news-cover::after,
html[data-theme='light'] .search-icon,
html[data-theme='light'] .lock-icon {
    background-color: transparent;
}
/* 覆盖上述每个元素的硬编码样式 */
html[data-theme='light'] .mini-stat {
    background: var(--surface);
    border: 1px solid var(--border);
}
html[data-theme='light'] .msg-right .msg-bubble {
    background: linear-gradient(135deg, #00bcd4 0%, #0a66ff 100%);
    color: #fff;
}
html[data-theme='light'] .msg-left .msg-bubble {
    background: #f0f3f9;
    border: 1px solid var(--border);
    color: var(--text-0);
}
html[data-theme='light'] .price-badge {
    background: linear-gradient(135deg, rgba(255, 140, 80, 0.95), rgba(255, 80, 100, 0.95));
    color: #fff;
}
html[data-theme='light'] .pricing-feature {
    background: var(--surface);
    border: 1px solid var(--border);
}
html[data-theme='light'] .window-header {
    background: #f4f6fb;
    border-bottom: 1px solid var(--border);
}
html[data-theme='light'] .cta-form {
    background: var(--bg-1);
    border: 1px solid var(--border-strong);
}
html[data-theme='light'] .cta-form input {
    background: var(--bg-0);
    border: 1px solid var(--border);
    color: var(--text-0);
}
html[data-theme='light'] .chat-input input {
    background: var(--bg-0);
    border: 1px solid var(--border);
    color: var(--text-0);
}
html[data-theme='light'] .chat-header {
    background: var(--surface);
}
html[data-theme='light'] .sidebar-panel,
html[data-theme='light'] .main-panel,
html[data-theme='light'] .dc-sidebar,
html[data-theme='light'] .dc-main,
html[data-theme='light'] .web-topbar,
html[data-theme='light'] .web-sidebar,
html[data-theme='light'] .web-main,
html[data-theme='light'] .admin-sidebar,
html[data-theme='light'] .admin-main {
    background: var(--bg-1);
    border-color: var(--border);
}
html[data-theme='light'] .panel-item:hover {
    background: var(--surface-hover);
}
html[data-theme='light'] .panel-item.active {
    background: rgba(10, 102, 255, 0.1);
    color: var(--accent-2);
    border-color: rgba(10, 102, 255, 0.25);
}
html[data-theme='light'] .hero-title .grad-text,
html[data-theme='light'] .section-title .grad-text,
html[data-theme='light'] .section-title .grad-text-2 {
    background-image: linear-gradient(135deg, #0066ff, #00bcd4);
    -webkit-background-clip: text;
    background-clip: text;
}
html[data-theme='light'] .news-date {
    color: rgba(11, 18, 32, 0.75);
}
html[data-theme='light'] .footer {
    background: linear-gradient(180deg, transparent 0%, rgba(200, 210, 230, 0.35) 100%);
}
html[data-theme='light'] .btn-primary:hover {
    box-shadow: 0 10px 30px -8px rgba(10, 102, 255, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}
html[data-theme='light'] .pricing-card--featured {
    border-color: rgba(10, 102, 255, 0.35);
    box-shadow: var(--shadow-md), 0 0 40px rgba(10, 102, 255, 0.12);
}
html[data-theme='light'] .pricing-card--featured::before {
    background: radial-gradient(400px circle at 50% -10%, rgba(10, 102, 255, 0.12), transparent 60%);
}
/* 亮色下 hero H5 iframe 外框阴影：调得温暖一点 */
html[data-theme='light'] .chat-header,
html[data-theme='light'] .msg-system {
    color: var(--text-3);
}
html[data-theme='light'] .msg-system {
    background: var(--surface);
}
html[data-theme='light'] .nav-toggle span { background: var(--text-0); }

/* 平滑主题过渡（仅用户手动切换时才有动画） */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
    transition: background-color .45s ease, color .45s ease,
                border-color .45s ease, box-shadow .45s ease !important;
}

/* 浅色主题：更多 IM 推荐补充 */
html[data-theme='light'] .variant-card::before {
    background: radial-gradient(260px circle at 10% 0%, rgba(10,102,255,0.08), transparent 60%);
}
html[data-theme='light'] .variant-features li::before {
    box-shadow: 0 0 8px rgba(10,102,255,.25);
}
html[data-theme='light'] .hero-preview--single .device-phone--single .device-frame {
    box-shadow: var(--shadow-xl), 0 0 80px rgba(10, 102, 255, 0.28), 0 0 160px rgba(0, 188, 212, 0.16);
}

/* 更多 IM：1100px 断点 —— 4列 → 2列 */
@media (max-width: 1100px) {
    .variant-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}
/* 更多 IM：768px 断点 —— 2列 → 1列 */
@media (max-width: 768px) {
    .variant-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
/* Hero 单设备响应式：1100px 平板缩小 */
@media (max-width: 1100px) {
    .hero-preview--single { height: 600px; }
    .hero-preview--single .device-phone--single .device-frame { width: 280px; }
    .hero-preview--single .device-phone--single .device-screen { height: 540px; }
}
/* Hero 单设备响应式：768px 手机再缩小 */
@media (max-width: 768px) {
    .hero-preview--single { height: 520px; }
    .hero-preview--single .device-phone--single .device-frame { width: 240px; border-radius: 36px; padding: 11px; }
    .hero-preview--single .device-phone--single .device-screen { height: 460px; border-radius: 26px; }
}

/* 响应式：1100px 断点，4 列 → 2 列 */
@media (max-width: 1100px) {
    #newsGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* 响应式：768px 断点，2 列 → 1 列 */
@media (max-width: 768px) {
    #newsGrid {
        grid-template-columns: 1fr;
    }
    .news-cover--rss { height: 200px; }
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-desc {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-2);
    margin-bottom: 20px;
}
.about-milestones {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    position: relative;
}
.about-milestones::before {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    width: 60px; height: 2px;
    background: var(--accent-grad);
}
.milestone { display: flex; flex-direction: column; gap: 6px; }
.milestone-year {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.milestone-desc {
    font-size: 12.5px;
    color: var(--text-3);
    line-height: 1.5;
}

.about-visual { position: relative; }
.about-card-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.18), transparent 60%);
    filter: blur(40px);
    border-radius: 40px;
    z-index: 0;
}
.about-card {
    position: relative;
    z-index: 1;
    padding: 40px 36px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
}
.about-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.about-stat {
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: .3s;
}
.about-stat:hover { border-color: rgba(0, 229, 255, 0.2); transform: translateY(-2px); }
.about-stat-num {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}
.about-stat-label {
    font-size: 13px;
    color: var(--text-2);
}
.about-quote {
    margin-top: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(245, 87, 108, 0.06));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-1);
    font-style: italic;
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 100px 0 120px;
    position: relative;
}
.cta-box {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 60px 48px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(245, 87, 108, 0.06) 100%);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 32px;
    text-align: center;
    overflow: hidden;
    backdrop-filter: blur(20px);
}
.cta-bg-glow {
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 400px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.18), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}
.cta-title {
    position: relative; z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(28px, 3.8vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-0);
    margin-bottom: 16px;
}
.cta-desc {
    position: relative; z-index: 1;
    font-size: 17px;
    color: var(--text-2);
    margin-bottom: 36px;
}
.cta-form {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto 24px;
}
.cta-form input {
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: 14px;
    color: var(--text-0);
    transition: all .3s;
}
.cta-form input::placeholder { color: var(--text-3); }
.cta-form input:focus {
    border-color: var(--accent);
    background: rgba(0, 229, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.08);
}
.cta-tip {
    position: relative; z-index: 1;
    font-size: 14px;
    color: var(--text-2);
    font-family: var(--font-display);
    font-weight: 500;
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    padding: 80px 0 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-2);
    margin: 24px 0 20px;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-2);
}
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-0);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col a {
    font-size: 14px;
    color: var(--text-2);
    transition: all .25s;
}
.footer-col a:hover { color: var(--accent); padding-left: 3px; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 20px;
}
.footer-copy {
    font-size: 13px;
    color: var(--text-3);
    font-family: var(--font-display);
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
    font-size: 13px;
    color: var(--text-3);
    transition: .25s;
}
.footer-links a:hover { color: var(--accent); }

/* ---------- Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s cubic-bezier(.2,.8,.2,1),
                transform .8s cubic-bezier(.2,.8,.2,1);
    transition-delay: calc(var(--delay, 0s));
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hero .container { grid-template-columns: 1fr; gap: 60px; }
    .hero-preview { height: 560px; order: -1; max-width: 700px; margin: 0 auto; width: 100%; }
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card-popular { transform: none; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-card-large { grid-row: auto; grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .screens-grid { grid-template-columns: repeat(2, 1fr); }
    .variant-grid--3 { grid-template-columns: 1fr; max-width: 720px; margin-left: auto; margin-right: auto; }
    .telegram-card { grid-template-columns: auto 1fr; gap: 18px; padding: 22px 24px; }
    .telegram-card .tg-btn { grid-column: 1 / -1; justify-self: stretch; text-align: center; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav-links, .nav-actions .btn-ghost { display: none; }
    .nav-toggle { display: flex; }
    .hero { padding: 140px 0 80px; }
    .hero-title { font-size: 38px; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .stat-divider { display: none; }
    .hero-preview { height: 500px; }
    .device-phone { left: 50%; transform: translateX(-50%) scale(0.85); top: 20px; }
    .device-desktop { display: none; }
    .section { padding: 80px 0; }
    .features-grid { grid-template-columns: 1fr; }
    .screens-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card-large { grid-column: auto; }
    .about-milestones { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cta-box { padding: 40px 24px; border-radius: 24px; }
    .partners-logos { gap: 30px; }
    .partner-logo { font-size: 15px; }
    .telegram-card { grid-template-columns: 1fr; gap: 16px; padding: 22px 20px; text-align: center; justify-items: center; }
    .tg-icon { width: 64px; height: 64px; }
    .tg-handle { font-size: 22px; }
    .tg-btn { width: 100%; justify-content: center; }
    .doc-page { padding: 120px 0 60px; }
    .doc-body { padding: 28px 22px; border-radius: 18px; }
    .doc-foot { flex-direction: column; gap: 10px; text-align: center; padding: 18px 20px; }
    .variant-price { padding: 14px 16px; }
    .vp-num { font-size: 28px; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    border-radius: 10px;
    border: 2px solid var(--bg-0);
}
::-webkit-scrollbar-thumb:hover { opacity: 0.8; }

::selection {
    background: rgba(0, 229, 255, 0.25);
    color: var(--text-0);
}

/* ---------- Telegram 客服卡片（替换原留言表单） ---------- */
.telegram-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    margin-top: 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(42, 171, 238, 0.10), rgba(34, 158, 217, 0.06));
    border: 1px solid rgba(42, 171, 238, 0.25);
    position: relative;
    overflow: hidden;
}
.telegram-card::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(42, 171, 238, 0.22), transparent 65%);
    filter: blur(40px);
    pointer-events: none;
}
.tg-icon {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 16px 36px -18px rgba(42, 171, 238, 0.6), 0 0 0 1px rgba(0,0,0,0.04);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}
html[data-theme='dark'] .tg-icon {
    background: #fff;
}
.tg-info {
    position: relative;
    z-index: 1;
}
.tg-label {
    font-size: 12px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
    font-weight: 600;
}
.tg-handle {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-0);
    line-height: 1.1;
}
.tg-hint {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-2);
}
.tg-btn {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    border-radius: 14px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 16px 32px -14px rgba(42, 171, 238, 0.55), 0 0 0 1px rgba(255,255,255,0.2) inset;
    transition: transform .22s ease, filter .2s ease, box-shadow .25s ease;
}
.tg-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 22px 40px -16px rgba(42, 171, 238, 0.65), 0 0 0 1px rgba(255,255,255,0.28) inset;
    color: #fff;
}

/* ---------- 政策文档子页面（privacy / terms / legal） ---------- */
.doc-page {
    padding: 140px 0 80px;
}
.doc-head {
    text-align: center;
    margin-bottom: 48px;
}
.doc-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.doc-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.doc-updated {
    margin-top: 14px;
    color: var(--text-3);
    font-size: 13px;
}
.doc-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 44px;
    border-radius: 22px;
    background: var(--surface-grad);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    position: relative;
}
.doc-body::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 22px 22px 0 0;
    background: var(--accent-grad);
}
.doc-body h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-0);
    margin: 36px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-0);
    margin: 22px 0 10px;
}
.doc-body p, .doc-body li {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--text-2);
}
.doc-body ul { padding-left: 22px; margin: 8px 0 16px; }
.doc-body ul li { margin-bottom: 6px; list-style: disc; }
.doc-body ul li::marker { color: var(--accent); }
.doc-body p { margin: 0 0 14px; }
.doc-body strong { color: var(--text-0); font-weight: 700; }
.doc-foot {
    max-width: 860px;
    margin: 28px auto 0;
    padding: 20px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-soft-2), rgba(30, 170, 255, 0.06));
    border: 1px solid var(--border);
    color: var(--text-2);
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.doc-foot a { color: var(--accent); font-weight: 600; text-decoration: none; }
.doc-foot a:hover { color: var(--accent-2); }

/* ---------- 更多 IM 推荐：卡片预览图 ---------- */
.variant-card--large {
    position: relative;
    overflow: hidden;
}
.variant-preview {
    position: relative;
    margin: 0 -26px 20px -26px;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(255, 255, 255, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
}
.variant-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
}
.variant-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.variant-card--large:hover .variant-preview img {
    transform: scale(1.04);
}
.variant-card--large .variant-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
}
@media (max-width: 768px) {
    .variant-preview {
        margin: 0 -20px 20px -20px;
        height: 180px;
    }
}

/* ---------- 轮播图：截图完整展示（不截断，手机9:16友好） ---------- */
.carousel-viewport {
    background: linear-gradient(135deg, #0a0f1a 0%, #0f1827 40%, #132036 100%);
}
.slide-media > img {
    object-fit: contain;
    padding: 24px;
    box-sizing: border-box;
}
html[data-theme='light'] .carousel-viewport {
    background: linear-gradient(135deg, #eaf0f7 0%, #dbe5f2 40%, #cfdbe9 100%);
}
@media (max-width: 768px) {
    .slide-media > img { padding: 14px; }
}

/* ============================================================
   功能相册区（三大独立块：手机 / PC+后台 / 推荐源码大图）
   ============================================================ */

/* 小一号的 section 标题（给每个相册子块用）*/
.section-head--sm { margin-bottom: 28px; }
.section-title--md { font-size: 28px; margin: 10px 0 10px; letter-spacing: -0.01em; }
.section-desc--sm { font-size: 15px; max-width: 760px; }

/* 相册子块之间的垂直间距 */
.gallery-block + .gallery-block { margin-top: 76px; }

/* ---------- 子块 1：移动端（单排无限滚动 · 跑马灯 · 无滚动条）---------- */
.gallery-phone-marquee {
    position: relative;
    overflow: hidden;   /* 彻底隐藏溢出，无滚动条 */
    /* 左右两端 80px 淡入淡出遮罩：第一张手机不从边缘突兀出现，最后一张也不突兀消失 */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70px, #000 calc(100% - 70px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 70px, #000 calc(100% - 70px), transparent 100%);
    padding: 6px 0;  /* 让手机阴影不被 mask 立即裁掉 */
}
.gallery-phone-track {
    display: flex;
    gap: 14px;
    width: max-content;       /* 内容有多宽就撑多宽，15×2 张全排 */
    flex-wrap: nowrap;
    /* 匀速从左往右循环，-50% 正好回到第 2 组起点，和第 1 组开头无缝拼接 */
    animation: phoneMarquee 38s linear infinite;
    will-change: transform;
}
@keyframes phoneMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }   /* track 总宽一半，正好 15 张宽度 */
}
/* 鼠标悬停暂停，用户想细看某一张就直接停住 */
.gallery-phone-marquee:hover .gallery-phone-track { animation-play-state: paused; }

.gallery-phone-cell {
    margin: 0;
    flex: 0 0 auto;          /* 每个手机不被压缩，固定宽度单排 */
    width: 156px;            /* 一排大约同时看到 6.5 张，视觉舒服 */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}
/* ---------- 去掉手机外壳：直接显示 9:16 截图圆角卡片 ---------- */
.phone-frame {
    position: relative;
    border-radius: 14px;
    padding: 0;
    background: transparent;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.04) inset,
        0 10px 24px rgba(0,0,0,0.30),
        0 0 0 1px var(--border);
    aspect-ratio: 9 / 16;
    overflow: hidden;
}
/* 隐藏原手机装饰：侧边按键、刘海、Home 指示条 */
.phone-frame::before,
.phone-frame::after,
.phone-notch,
.phone-home-bar { display: none !important; }

/* 手机内屏幕：直接铺满（9:16） */
.phone-frame img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 改为 contain：完整显示不截取 */
    border-radius: 14px;
    background: #000; /* 两侧留白以深色填充，模拟手机屏幕 */
    display: block;
}
html[data-theme='light'] .phone-frame {
    background: transparent;
    box-shadow:
        0 10px 24px rgba(30,41,70,0.16),
        0 0 0 1px rgba(100,116,139,0.20);
}

.gallery-phone-cell figcaption {
    font-size: 11.5px;
    color: var(--text-soft);
    text-align: center;
    line-height: 1.4;
}
.gallery-phone-cell:hover { transform: translateY(-3px); }
.gallery-phone-cell:hover .phone-frame {
    box-shadow:
        0 2px 0 rgba(255,255,255,0.04) inset,
        0 -1px 0 rgba(0,0,0,0.4) inset,
        0 16px 32px rgba(125,90,255,0.24),
        0 0 0 1px var(--accent-300);
}

/* ---------- 子块 2：桌面端 + 管理后台（16:9 横版，2×2）---------- */
.gallery-desktop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.gallery-desktop-cell {
    margin: 0;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: var(--card-bg);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-desktop-cell img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.gallery-desktop-cell figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 18px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.78) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    display: flex;
    align-items: flex-end;
}
.gallery-desktop-cell:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(0,0,0,0.28); }
.gallery-desktop-cell:hover img { transform: scale(1.04); }
html[data-theme='light'] .gallery-desktop-cell figcaption { background: linear-gradient(180deg, transparent 0%, rgba(10,18,32,0.78) 100%); }

/* ---------- 子块 3：3 套推荐源码 · 大图预览 + 介绍卡 ---------- */
.gallery-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.gallery-product-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: var(--card-bg);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.gp-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.gp-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.gp-cover-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.45) 100%);
    padding: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
html[data-theme='light'] .gp-cover-mask { background: linear-gradient(180deg, rgba(10,18,32,0.12) 0%, rgba(10,18,32,0.45) 100%); }

.gp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.28);
    color: #fff;
}
.gp-badge--pink  { background: rgba(255,80,160,0.9); }
.gp-badge--blue  { background: rgba(90,150,255,0.92); }
.gp-badge--green { background: rgba(64,210,140,0.92); color: #062816; }

/* 介绍卡（卡片下半部分）*/
.gp-info-card {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gp-title { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: 0.01em; }
.gp-sub   { margin: 0; font-size: 13.5px; color: var(--text-soft); line-height: 1.55; }

.gp-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-soft-2), var(--accent-soft-1));
    border: 1px solid var(--accent-soft-border);
}
.gp-price-num {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6, #6366f1, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.01em;
}
.gp-price-suf { font-size: 12.5px; color: var(--text-soft); }

.gp-features {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.gp-features li {
    position: relative;
    padding-left: 22px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-body);
}
.gp-features li::before {
    content: "";
    position: absolute;
    left: 2px; top: 7px;
    width: 10px; height: 10px;
    border-radius: 3px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    box-shadow: 0 0 0 3px var(--accent-soft-2);
}

.gp-cta-btn {
    align-self: flex-start;
    margin-top: 6px;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ec4899, #f43f5e, #f97316);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 18px rgba(236,72,153,0.32);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gp-cta-btn--blue  { background: linear-gradient(135deg, #3b82f6, #6366f1, #8b5cf6); box-shadow: 0 6px 18px rgba(99,102,241,0.32); }
.gp-cta-btn--green { background: linear-gradient(135deg, #10b981, #14b8a6, #06b6d4); box-shadow: 0 6px 18px rgba(16,185,129,0.32); }

.gallery-product-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-300);
    box-shadow: 0 22px 46px rgba(125,90,255,0.24), 0 10px 22px rgba(0,0,0,0.18);
}
.gallery-product-card:hover .gp-cover img { transform: scale(1.06); }
.gallery-product-card:hover .gp-cta-btn { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(236,72,153,0.42); }
.gallery-product-card:hover .gp-cta-btn--blue  { box-shadow: 0 10px 24px rgba(99,102,241,0.42); }
.gallery-product-card:hover .gp-cta-btn--green { box-shadow: 0 10px 24px rgba(16,185,129,0.42); }

/* =========================================================
   更多服务（section#services）：8 个卡片 4×2 栅格
   ========================================================= */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 10px;
}
.service-card {
    position: relative;
    padding: 26px 22px 24px;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    transition: transform .22s ease, border-color .22s ease, box-shadow .25s ease, background .22s ease;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mx, 20%) var(--my, -10%), var(--card-accent-rgb, rgba(125,90,255,0.10)), transparent 45%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border-hover, var(--accent-300));
    box-shadow: 0 18px 40px -18px var(--card-shadow, rgba(125,90,255,0.32));
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #fff;
    background: var(--accent-grad);
    box-shadow: 0 10px 20px -8px var(--accent-soft);
    position: relative;
    z-index: 1;
}
.service-icon svg { width: 22px; height: 22px; stroke-width: 2; }
/* 8 种图标配色（对应 8 个服务） */
.service-icon--indigo   { background: linear-gradient(135deg, #6366f1, #8b5cf6); box-shadow: 0 10px 22px -8px rgba(99,102,241,.55); }
.service-icon--violet   { background: linear-gradient(135deg, #8b5cf6, #a855f7); box-shadow: 0 10px 22px -8px rgba(139,92,246,.55); }
.service-icon--pink     { background: linear-gradient(135deg, #ec4899, #f43f5e); box-shadow: 0 10px 22px -8px rgba(236,72,153,.55); }
.service-icon--blue     { background: linear-gradient(135deg, #0ea5e9, #3b82f6); box-shadow: 0 10px 22px -8px rgba(59,130,246,.55); }
.service-icon--emerald  { background: linear-gradient(135deg, #10b981, #22c55e); box-shadow: 0 10px 22px -8px rgba(16,185,129,.55); }
.service-icon--amber    { background: linear-gradient(135deg, #f59e0b, #eab308); box-shadow: 0 10px 22px -8px rgba(245,158,11,.55); }
.service-icon--rose     { background: linear-gradient(135deg, #f43f5e, #e11d48); box-shadow: 0 10px 22px -8px rgba(244,63,94,.55); }
.service-icon--cyan     { background: linear-gradient(135deg, #06b6d4, #38bdf8); box-shadow: 0 10px 22px -8px rgba(6,182,212,.55); }

.service-title {
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 700;
    color: var(--text-0);
    margin: 0 0 6px;
    position: relative;
    z-index: 1;
}
.service-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-soft);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ---------- 相册区 & 更多服务 整体响应式 ---------- */
@media (max-width: 1100px) {
    .gallery-phone-cell    { width: 142px; }
    .gallery-phone-track   { animation-duration: 32s; }      /* 手机缩小后总距离更短，时间也减 */
    .gallery-desktop-grid  { grid-template-columns: 1fr; }
    .gallery-product-grid  { grid-template-columns: repeat(2, 1fr); }
    .section-title--md     { font-size: 25px; }
    .service-grid          { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .service-card          { padding: 22px 20px 20px; }
}
@media (max-width: 768px) {
    .gallery-phone-marquee { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40px, #000 calc(100% - 40px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 40px, #000 calc(100% - 40px), transparent 100%); }
    .gallery-phone-cell    { width: 118px; }
    .gallery-phone-track   { gap: 10px; animation-duration: 26s; }
    .gallery-block + .gallery-block { margin-top: 58px; }
    .gallery-product-grid  { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
    .section-title--md     { font-size: 22px; }
    .section-desc--sm      { font-size: 14px; }
    .phone-frame           { border-radius: 12px; }
    .phone-frame img       { border-radius: 12px; }
    .gallery-desktop-cell figcaption { font-size: 13px; padding: 12px 14px; }
    .gp-info-card          { padding: 18px 18px 20px; }
    .gp-title              { font-size: 17px; }
    .gp-price-num          { font-size: 22px; }
    .gallery-phone-cell figcaption { font-size: 11px; }
    .service-grid          { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .service-card          { padding: 20px 18px 18px; }
    .service-icon          { width: 44px; height: 44px; margin-bottom: 12px; }
    .service-icon svg      { width: 20px; height: 20px; }
    .service-title         { font-size: 15.5px; }
    .service-desc          { font-size: 13px; }
}
@media (max-width: 520px) {
    .gallery-phone-cell    { width: 108px; }
    .gallery-phone-track   { gap: 9px; animation-duration: 22s; }
    .gallery-phone-marquee { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 24px, #000 calc(100% - 24px), transparent 100%); }
    .gallery-phone-cell figcaption { font-size: 10.5px; }
    .service-grid          { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .service-card          { padding: 16px 14px 16px; border-radius: 14px; }
    .service-title         { font-size: 14.5px; }
    .service-desc          { font-size: 12.5px; }
}
@media (max-width: 420px) {
    .gallery-phone-cell    { width: 100px; }
    .gallery-phone-track   { gap: 8px; animation-duration: 20s; }
    .gallery-phone-cell figcaption { font-size: 11px; }
    .service-grid          { grid-template-columns: 1fr 1fr; gap: 10px; }
    .service-icon          { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 10px; }
    .service-icon svg      { width: 18px; height: 18px; }
    .service-title         { font-size: 14px; }
    .service-desc          { font-size: 12px; line-height: 1.5; }
}


/* ============================================================
 *  2026/03 追加：需求集中更新样式
 * ============================================================ */

/* ---------- 1. Logo 整图 150x60 ---------- */
.logo-full {
    width: 150px !important;
    height: 60px !important;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(125, 90, 255, 0.25));
}
@media (max-width: 768px) {
    .logo-full { width: 130px !important; height: 52px !important; }
}

/* ---------- 2. 移动端截图圆角（强制） ---------- */
.phone-frame {
    border-radius: 18px !important;
    overflow: hidden !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}
.phone-frame img {
    border-radius: 18px !important;
    overflow: hidden !important;
    display: block;
}
html[data-theme='light'] .phone-frame {
    border-radius: 18px !important;
}
html[data-theme='light'] .phone-frame img {
    border-radius: 18px !important;
}

/* ---------- 3. 桌面端 & 后台：单张大图轮播 ---------- */
.desktop-carousel {
    position: relative;
    margin-top: 12px;
    border-radius: 22px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.dc-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.dc-track {
    display: flex;
    transition: transform .55s cubic-bezier(.22, .9, .26, 1);
    will-change: transform;
}
.dc-slide {
    flex: 0 0 100%;
    margin: 0;
    position: relative;
    width: 100%;
}
.dc-slide img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #000;
}
.dc-slide figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 22px 28px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.82) 100%);
    color: #fff;
    font-size: 15.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    gap: 10px;
}
.dc-slide figcaption::before {
    content: '';
    width: 4px; height: 18px;
    border-radius: 2px;
    background: var(--accent-grad);
    box-shadow: 0 0 12px var(--accent-500);
}
.dc-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(7, 10, 18, 0.52);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.dc-btn:hover {
    background: rgba(125, 90, 255, 0.72);
    border-color: var(--accent-300);
    box-shadow: 0 0 24px rgba(125, 90, 255, 0.6);
    transform: translateY(-50%) scale(1.06);
}
.dc-btn--prev { left: 20px; }
.dc-btn--next { right: 20px; }
.dc-btn svg { width: 20px; height: 20px; stroke-width: 2.2; }
.dc-dots {
    position: absolute;
    left: 0; right: 0; bottom: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 3;
    pointer-events: none;
}
.dc-dots button {
    pointer-events: auto;
    width: 10px; height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    transition: all .28s ease;
    text-indent: -9999px;
    overflow: hidden;
}
.dc-dots button:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}
.dc-dots button.active {
    width: 30px;
    border-radius: 999px;
    background: var(--accent-grad);
    box-shadow: 0 0 16px rgba(125, 90, 255, 0.8);
}
html[data-theme='light'] .dc-slide figcaption { background: linear-gradient(180deg, transparent 0%, rgba(10,18,32,0.82) 100%); }
html[data-theme='light'] .dc-btn {
    background: rgba(255,255,255,0.72);
    color: #0f172a;
    border-color: rgba(100, 116, 139, 0.22);
}
html[data-theme='light'] .dc-btn:hover {
    background: var(--accent-500);
    color: #fff;
    border-color: var(--accent-300);
}
html[data-theme='light'] .dc-dots button { background: rgba(15, 23, 42, 0.25); }
html[data-theme='light'] .dc-dots button:hover { background: rgba(15, 23, 42, 0.55); }
html[data-theme='light'] .dc-dots button.active { background: var(--accent-grad); }

@media (max-width: 768px) {
    .desktop-carousel { border-radius: 16px; }
    .dc-slide figcaption { padding: 14px 16px; font-size: 13.5px; }
    .dc-btn { width: 38px; height: 38px; }
    .dc-btn--prev { left: 10px; }
    .dc-btn--next { right: 10px; }
    .dc-btn svg { width: 17px; height: 17px; }
    .dc-dots { bottom: 8px; gap: 8px; }
    .dc-dots button { width: 8px; height: 8px; }
    .dc-dots button.active { width: 22px; }
}

/* ---------- 4. 演示中心 ---------- */
.demo-accounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 34px;
}
.demo-account-card {
    position: relative;
    padding: 20px 22px;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .25s ease;
    overflow: hidden;
}
.demo-account-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: var(--accent-grad);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s ease;
}
.demo-account-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-300);
    box-shadow: 0 14px 30px -14px rgba(125, 90, 255, 0.38), 0 0 0 1px rgba(125, 90, 255, 0.12) inset;
}
.demo-account-card:hover::before { transform: scaleX(1); }
.da-icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.da-icon--cyan {
    color: #22d3ee;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(34, 211, 238, 0.28);
}
.da-icon--violet {
    color: #a78bfa;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.14), rgba(236, 72, 153, 0.08));
    border: 1px solid rgba(167, 139, 250, 0.28);
}
.da-icon--amber {
    color: #fbbf24;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.14), rgba(249, 115, 22, 0.08));
    border: 1px solid rgba(251, 191, 36, 0.28);
}
.da-info { min-width: 0; flex: 1; }
.da-label {
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 5px;
    font-family: var(--font-display);
    letter-spacing: 0.01em;
}
.da-value {
    font-size: 14.5px;
    color: var(--text-0);
    font-weight: 500;
    font-family: var(--font-display);
}
.da-value strong {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.da-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dashed rgba(125, 90, 255, 0.5);
    transition: all .2s;
}
.da-link:hover { color: var(--accent-500); }

/* 6 平台入口网格 */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.demo-card {
    position: relative;
    padding: 28px 24px 24px;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .3s ease;
}
.demo-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, var(--demo-ring-from, #7d5aff), var(--demo-ring-to, #22d3ee));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 44px -18px var(--demo-shadow, rgba(125, 90, 255, 0.45));
}
.demo-card:hover::before { opacity: 1; }
.demo-card--admin  { --demo-ring-from: #7d5aff; --demo-ring-to: #22d3ee; --demo-shadow: rgba(125, 90, 255, 0.45); }
.demo-card--h5     { --demo-ring-from: #22d3ee; --demo-ring-to: #0ea5e9; --demo-shadow: rgba(34, 211, 238, 0.45); }
.demo-card--web    { --demo-ring-from: #0ea5e9; --demo-ring-to: #6366f1; --demo-shadow: rgba(99, 102, 241, 0.45); }
.demo-card--android{ --demo-ring-from: #10b981; --demo-ring-to: #22c55e; --demo-shadow: rgba(34, 197, 94, 0.45); }
.demo-card--native { --demo-ring-from: #f59e0b; --demo-ring-to: #f97316; --demo-shadow: rgba(245, 158, 11, 0.45); }
.demo-card--pc     { --demo-ring-from: #6366f1; --demo-ring-to: #a855f7; --demo-shadow: rgba(168, 85, 247, 0.45); }

.demo-card-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-family: var(--font-display);
    font-weight: 600;
}
.demo-card--admin .demo-card-icon   { color: #fff; background: linear-gradient(135deg, #7d5aff, #22d3ee); box-shadow: 0 10px 24px -8px rgba(125, 90, 255, 0.7); }
.demo-card--h5 .demo-card-icon      { color: #fff; background: linear-gradient(135deg, #22d3ee, #0ea5e9); box-shadow: 0 10px 24px -8px rgba(34, 211, 238, 0.7); }
.demo-card--web .demo-card-icon     { color: #fff; background: linear-gradient(135deg, #0ea5e9, #6366f1); box-shadow: 0 10px 24px -8px rgba(99, 102, 241, 0.7); }
.demo-card--android .demo-card-icon { color: #fff; background: linear-gradient(135deg, #10b981, #22c55e); box-shadow: 0 10px 24px -8px rgba(34, 197, 94, 0.7); }
.demo-card--native .demo-card-icon  { color: #fff; background: linear-gradient(135deg, #f59e0b, #f97316); box-shadow: 0 10px 24px -8px rgba(245, 158, 11, 0.7); }
.demo-card--pc .demo-card-icon      { color: #fff; background: linear-gradient(135deg, #6366f1, #a855f7); box-shadow: 0 10px 24px -8px rgba(168, 85, 247, 0.7); }
.demo-card-title {
    font-size: 17.5px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-0);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.demo-card-sub {
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}
.demo-card-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent);
    font-family: var(--font-display);
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    transition: all .22s ease;
    display: inline-flex;
    align-items: center;
}
.demo-card:hover .demo-card-link {
    color: var(--accent-500);
    padding-left: 4px;
    border-top-color: var(--accent-300);
}

@media (max-width: 900px) {
    .demo-accounts { grid-template-columns: 1fr; gap: 14px; }
    .demo-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .demo-card { padding: 22px 18px 18px; border-radius: 16px; }
    .demo-card-icon { width: 48px; height: 48px; margin-bottom: 14px; border-radius: 12px; }
    .demo-card-icon svg { width: 24px; height: 24px; }
    .demo-card-title { font-size: 16px; }
    .demo-card-sub { font-size: 13px; }
}
@media (max-width: 560px) {
    .demo-accounts { gap: 12px; margin-bottom: 26px; }
    .demo-account-card { padding: 16px 16px; gap: 12px; }
    .da-icon { width: 40px; height: 40px; border-radius: 10px; }
    .da-icon svg { width: 19px; height: 19px; }
    .da-value { font-size: 13.5px; }
    .demo-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- 5. Navbar 酷炫美化升级版（黑背景下玻璃拟态） ---------- */
.navbar {
    background: linear-gradient(180deg, rgba(7, 10, 18, 0.42) 0%, rgba(7, 10, 18, 0.08) 100%);
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
}
.navbar::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(125, 90, 255, 0.08) 18%,
        rgba(0, 229, 255, 0.18) 50%,
        rgba(125, 90, 255, 0.08) 82%,
        transparent 100%);
    opacity: 0;
    transition: opacity .35s ease;
}
.navbar.scrolled::after { opacity: 1; }

.navbar.scrolled {
    padding: 10px 0;
    background: linear-gradient(180deg,
        rgba(10, 14, 26, 0.82) 0%,
        rgba(8, 11, 20, 0.70) 100%);
    backdrop-filter: blur(22px) saturate(160%) contrast(1.02);
    -webkit-backdrop-filter: blur(22px) saturate(160%) contrast(1.02);
    border-bottom: none;
    box-shadow:
        0 12px 32px -18px rgba(0, 0, 0, 0.72),
        0 0 0 1px rgba(125, 90, 255, 0.08) inset;
}
.nav-logo {
    gap: 0;
}
/* nav-link 升级：hover 增强渐变描边光效 */
.nav-links a {
    padding: 6px 2px;
    color: var(--text-1);
    position: relative;
    transition: color .28s ease, text-shadow .28s ease;
}
.nav-links a::after {
    left: 50%; right: 50%;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-grad);
    box-shadow: 0 0 14px var(--accent-500);
    transition: left .3s ease, right .3s ease, transform .3s ease, opacity .3s ease;
}
.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 14px rgba(0, 229, 255, 0.25);
}
.nav-links a:hover::after { left: 0; right: 0; transform: scaleX(1); opacity: 1; }
.nav-links a.nav-link.active {
    color: #fff;
    text-shadow: 0 0 16px rgba(125, 90, 255, 0.42);
}
.nav-links a.nav-link.active::after {
    left: 0; right: 0;
    transform: scaleX(1);
    box-shadow: 0 0 18px rgba(125, 90, 255, 0.65);
}
/* 排除 /blog 外部链接的 active 高亮逻辑（用 JS 处理高亮，这里兜底防止被错误高亮） */
.nav-links a.nav-external {
    cursor: pointer;
}
.nav-links a.nav-external::after { box-shadow: none; }

html[data-theme='light'] .navbar {
    background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.10) 100%);
}
html[data-theme='light'] .navbar::after {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(125, 90, 255, 0.10) 18%,
        rgba(0, 229, 255, 0.22) 50%,
        rgba(125, 90, 255, 0.10) 82%,
        transparent 100%);
}
html[data-theme='light'] .navbar.scrolled {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.78) 100%);
    box-shadow:
        0 10px 28px -16px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(125, 90, 255, 0.06) inset;
}
html[data-theme='light'] .nav-links a:hover { color: var(--text-0); }
html[data-theme='light'] .nav-links a.nav-link.active { color: var(--text-0); text-shadow: none; }

/* ---------- 6. 页脚联系方式：电话 / 邮箱 / 地址 三项明显化 ---------- */
.footer-contact {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 12px;
    font-size: 14px;
}
.footer-contact > div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(125, 90, 255, 0.04);
    border: 1px solid rgba(125, 90, 255, 0.10);
    transition: all .22s ease;
}
.footer-contact > div:hover {
    background: rgba(125, 90, 255, 0.08);
    border-color: rgba(125, 90, 255, 0.22);
    transform: translateX(2px);
}
.footer-contact .fc-label {
    font-size: 11.5px;
    color: var(--text-3);
    font-family: var(--font-display);
    letter-spacing: 0.03em;
    margin-bottom: 3px;
}
.footer-contact .fc-value {
    font-size: 14px;
    color: var(--text-0);
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.55;
    word-break: break-all;
}
.footer-contact .fc-value a {
    color: var(--accent);
    text-decoration: none;
    transition: color .2s;
}
.footer-contact .fc-value a:hover { color: var(--accent-500); }
.footer-contact .fc-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-grad);
    color: #fff;
    box-shadow: 0 6px 12px -6px rgba(125, 90, 255, 0.6);
}
.footer-contact .fc-icon svg { width: 14px; height: 14px; }

@media (max-width: 1100px) {
    .footer-contact > div { padding: 8px 10px; }
}


/* ============================================================
 *  2026/08/15 追加：第二轮需求样式
 * ============================================================ */

/* ---------- 1. 移动端截图：圆角 → 直角 ---------- */
.phone-frame {
    border-radius: 0 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    overflow: hidden !important;
}
.phone-frame img {
    border-radius: 0 !important;
}
.gallery-phone-cell:hover .phone-frame,
html[data-theme='light'] .phone-frame,
html[data-theme='light'] .phone-frame img {
    border-radius: 0 !important;
}
/* 响应式里也覆盖圆角（手机窄屏响应 12/12 → 0） */
@media (max-width: 1100px) { .phone-frame, .phone-frame img { border-radius: 0 !important; } }
@media (max-width: 900px)  { .phone-frame, .phone-frame img { border-radius: 0 !important; } }
@media (max-width: 768px)  { .phone-frame, .phone-frame img { border-radius: 0 !important; } }
@media (max-width: 640px)  { .phone-frame, .phone-frame img { border-radius: 0 !important; } }
@media (max-width: 520px)  { .phone-frame, .phone-frame img { border-radius: 0 !important; } }
@media (max-width: 420px)  { .phone-frame, .phone-frame img { border-radius: 0 !important; } }

/* ---------- 2. 导航栏 Active 选中状态：更明显的视觉效果 ---------- */
.nav-links a.nav-link {
    transition: color .28s ease, text-shadow .28s ease;
}
/* 导航选中状态：纯色高亮方案（100%可靠，避免文字透明消失） */
.nav-links a.nav-link {
    position: relative;
}
.nav-links a.nav-link.active {
    color: var(--accent) !important;
    font-weight: 600;
    text-shadow: 0 0 14px rgba(125, 90, 255, 0.35);
}
.nav-links a.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0 !important;
    right: 0 !important;
    bottom: -2px;
    height: 2.5px;
    border-radius: 999px;
    transform: scaleX(1) !important;
    background: var(--accent-grad);
    box-shadow:
        0 0 14px rgba(125, 90, 255, 0.75),
        0 0 24px rgba(0, 229, 255, 0.28);
    opacity: 1 !important;
}
html[data-theme='light'] .nav-links a.nav-link.active {
    color: var(--accent-500) !important;
    text-shadow: 0 0 12px rgba(125, 90, 255, 0.22);
}

/* ---------- 3. 信任背书 & 客户Logo墙（升级版） ---------- */
.partners {
    padding: 44px 0 36px;
}
.partners-head {
    text-align: center;
    margin-bottom: 32px;
}
.partners-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.01em;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    transition: all .25s ease;
}
.trust-badge:hover {
    transform: translateY(-2px);
    border-color: currentColor;
    box-shadow: 0 8px 18px -10px currentColor;
}
.trust-badge--cyan   { color: #22d3ee; background: rgba(34, 211, 238, 0.06); border-color: rgba(34, 211, 238, 0.28); }
.trust-badge--violet { color: #a78bfa; background: rgba(167, 139, 250, 0.06); border-color: rgba(167, 139, 250, 0.28); }
.trust-badge--amber  { color: #fbbf24; background: rgba(251, 191, 36, 0.06); border-color: rgba(251, 191, 36, 0.28); }
.trust-badge--green  { color: #34d399; background: rgba(52, 211, 153, 0.06); border-color: rgba(52, 211, 153, 0.28); }

.partners-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-0);
    margin: 0 0 8px;
}
.partners-sub {
    margin: 0 auto;
    max-width: 720px;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.75;
}
html[data-theme='light'] .trust-badge {
    background: rgba(125, 90, 255, 0.03);
}
html[data-theme='light'] .trust-badge--cyan   { background: rgba(34, 211, 238, 0.04); border-color: rgba(34, 211, 238, 0.22); }
html[data-theme='light'] .trust-badge--violet { background: rgba(167, 139, 250, 0.04); border-color: rgba(167, 139, 250, 0.22); }
html[data-theme='light'] .trust-badge--amber  { background: rgba(251, 191, 36, 0.04); border-color: rgba(251, 191, 36, 0.22); }
html[data-theme='light'] .trust-badge--green  { background: rgba(52, 211, 153, 0.04); border-color: rgba(52, 211, 153, 0.22); }

/* 客户卡片式 Logo 墙 */
.partners-logos--cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 0;
}
.partner-card {
    position: relative;
    padding: 20px 16px 18px;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    transition: all .28s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.partner-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent-500), #22d3ee);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .4s ease;
}
.partner-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-300);
    box-shadow:
        0 18px 36px -16px rgba(125, 90, 255, 0.38),
        0 0 0 1px rgba(125, 90, 255, 0.10) inset;
}
.partner-card:hover::before {
    transform: scaleX(1);
}
.partner-card-industry {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(125, 90, 255, 0.12), rgba(34, 211, 238, 0.08));
    color: var(--accent);
    font-size: 11.5px;
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 1px solid rgba(125, 90, 255, 0.18);
}
.partner-card-name {
    font-size: 17px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-0);
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.partner-card-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    padding-top: 8px;
    font-size: 11.5px;
    color: #34d399;
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.01em;
    opacity: 0.88;
}
@media (max-width: 1100px) {
    .partners-logos--cards { grid-template-columns: repeat(3, 1fr); }
    .partners-title { font-size: 24px; }
}
@media (max-width: 768px) {
    .partners-logos--cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .partners-title { font-size: 22px; }
    .partners-sub { font-size: 13.5px; }
    .partner-card { padding: 16px 14px 14px; border-radius: 14px; }
    .partner-card-name { font-size: 16px; }
    .trust-badge { font-size: 11.5px; padding: 5px 12px 5px 8px; }
}
@media (max-width: 520px) {
    .partners { padding: 32px 0 24px; }
    .partners-logos--cards { grid-template-columns: 1fr 1fr; gap: 10px; }
    .partners-title { font-size: 20px; }
    .partner-card { padding: 14px 12px 12px; gap: 6px; }
    .partner-card-industry { font-size: 10.5px; padding: 2px 8px; }
    .partner-card-name { font-size: 15px; }
    .partner-card-verified { font-size: 10.5px; padding-top: 6px; }
}

/* ---------- 4. Hero 数字统计：加强视觉与数字滚动感知 ---------- */
.hero-stats {
    position: relative;
}
.hero-stats::before {
    content: '';
    position: absolute;
    inset: -14px -18px;
    border-radius: 20px;
    background: radial-gradient(ellipse at center, rgba(125, 90, 255, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.hero-stats .stat {
    position: relative;
    z-index: 1;
    padding: 6px 10px;
    border-radius: 12px;
    transition: transform .25s ease, background .25s ease;
}
.hero-stats .stat:hover {
    transform: translateY(-2px);
    background: rgba(125, 90, 255, 0.06);
}
.stat-num {
    display: inline-flex;
    align-items: baseline;
}
/* 用户滚动到可视区域时数字会滚动，这里用视觉渐变强调 */
.stat-num.rolling, html .stat-num {
    background: linear-gradient(135deg, var(--accent), #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 24px rgba(125, 90, 255, 0.25);
}

/* 旧版 partners-label/partner-logo 兼容（如果出现） */
.partners-label { display: none; }


/* ================================================================
   Subpage module styles · 子页面（更新日志/FAQ/关于/团队/联系）
   ================================================================ */
.hero--center .hero--center { justify-content: center; text-align: center; }
.hero--simple { padding: 150px 0 70px !important; min-height: unset !important; }
.hero--simple .hero-content { justify-content: center; text-align: center; max-width: 760px; margin: 0 auto; display: block; }
.hero--center .section-head { text-align: center; }

.container--narrow { max-width: 860px; margin: 0 auto; }

/* ---------- Timeline 时间轴 ---------- */
.timeline {
    position: relative;
    padding: 10px 0 10px 18px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-500) 0%, var(--accent-300) 40%, rgba(34,211,238,0.3) 100%);
    border-radius: 999px;
    opacity: 0.55;
}
.timeline-item {
    position: relative;
    padding: 0 0 28px 26px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: -3px;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-grad);
    box-shadow:
        0 0 0 3px var(--card, #0a0f1c),
        0 0 14px rgba(125,90,255,0.72),
        0 0 28px rgba(0, 229, 255, 0.35);
}
.timeline-card {
    padding: 18px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all .25s;
}
.timeline-card:hover {
    transform: translateY(-2px);
    border-color: rgba(125,90,255,0.35);
    box-shadow: 0 12px 28px -12px rgba(125,90,255,0.3);
}
.timeline-date {
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, rgba(125,90,255,0.14), rgba(34,211,238,0.08));
    border: 1px solid rgba(125,90,255,0.22);
    border-radius: 999px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.timeline-title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-0);
    line-height: 1.4;
    letter-spacing: -0.005em;
}
.timeline-desc {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.78;
    letter-spacing: 0.005em;
}

/* ---------- FAQ Accordion · 折叠手风琴 ---------- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all .25s;
}
.faq-item[open] {
    border-color: rgba(125,90,255,0.35);
    box-shadow: 0 14px 32px -14px rgba(125,90,255,0.28);
}
.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-0);
    letter-spacing: 0;
    user-select: none;
    transition: color .2s;
}
.faq-question:hover { color: var(--accent); }
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
    color: var(--accent);
    transition: transform .28s cubic-bezier(0.4,0,0.2,1);
    flex-shrink: 0;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.85;
    letter-spacing: 0.005em;
}
.faq-answer::before {
    content: '';
    display: block;
    height: 1px;
    margin-bottom: 16px;
    background: linear-gradient(90deg, transparent, var(--border-soft), transparent);
}

/* ---------- 子页 milestones 容器（已有 .milestone/.milestone-year/.milestone-desc 复用） ---------- */
.milestones {
    padding: 26px 26px 18px;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---------- FAQ 底部 CTA Section ---------- */
.cta-section {
    padding: 72px 0;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(125,90,255,0.18), transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(34,211,238,0.12), transparent 70%);
}
.cta-inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}
.cta-section .section-tag--light,
.cta-section .section-title--light,
.cta-section .section-desc--light {
    color: var(--text-0);
}

/* ---------- Footer 页脚联系方式容器（只有 Telegram 的新版） ---------- */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}
.footer-contact > div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    transition: .25s;
}
.footer-contact > div:hover {
    border-color: rgba(125,90,255,0.35);
    transform: translateY(-1px);
}
.fc-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: var(--accent-grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 14px -8px rgba(125,90,255,0.8);
}
.fc-label {
    font-size: 11.5px;
    color: var(--text-3);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 2px;
    font-family: var(--font-display);
}
.fc-value {
    font-size: 14px;
    color: var(--text-0);
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0;
}
.fc-value a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.fc-value a:hover { color: var(--accent); }

/* ---------- 响应式：子页网格 3列→2列→1列 ---------- */
@media (max-width: 1024px) {
    .hero--simple { padding: 130px 0 50px !important; }
    .about-stat-num { font-size: 34px !important; }
    .timeline { padding-left: 14px; }
}
@media (max-width: 820px) {
    .timeline { padding-left: 12px; }
    .timeline-dot { left: -4px; width: 12px; height: 12px; }
    .timeline-card { padding: 16px 16px; }
    .faq-question { padding: 16px 16px; font-size: 14.5px; }
    .faq-answer { padding: 0 16px 18px 16px; font-size: 13.5px; }
    .container--narrow { padding: 0 18px; }
}

/* ====== Bento 卡片尺寸差异化 ====== */
/* 大卡：第1个 article（占1列宽、2行高，大标题青色 + 大封面 + 保留摘要） */
#newsGrid > article:nth-child(1) {
    grid-column: 1;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}
#newsGrid > article:nth-child(1) .news-cover,
#newsGrid > article:nth-child(1) .news-cover--rss {
    height: 230px;
    padding: 20px;
}
#newsGrid > article:nth-child(1) .news-title,
#newsGrid > article:nth-child(1) .news-title--rss {
    font-size: 22px !important;
    line-height: 1.35 !important;
    color: #22d3ee !important; /* 与设计图一致的青色大标题 */
    margin-bottom: 14px !important;
    font-weight: 600;
}
#newsGrid > article:nth-child(1) .news-body {
    padding: 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#newsGrid > article:nth-child(1) .news-meta,
#newsGrid > article:nth-child(1) .news-meta--rss {
    border-top: 0;
    padding-top: 0;
}

/* 小卡：第2-5个（隐藏摘要、缩小封面、紧凑padding） */
#newsGrid > article:not(:nth-child(1)) .news-desc {
    display: none !important;
}
#newsGrid > article:not(:nth-child(1)) .news-cover,
#newsGrid > article:not(:nth-child(1)) .news-cover--rss {
    height: 100px;
    padding: 14px 16px;
}
#newsGrid > article:not(:nth-child(1)) .news-body {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
#newsGrid > article:not(:nth-child(1)) .news-title,
#newsGrid > article:not(:nth-child(1)) .news-title--rss {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 12px;
}
#newsGrid > article:not(:nth-child(1)) .news-meta,
#newsGrid > article:not(:nth-child(1)) .news-meta--rss {
    margin-top: auto;
}

/* 3. 响应式 */
/* 平板：改 2 列，大卡仍占左列 2 行 */
@media (max-width: 1024px) {
    #newsGrid {
        grid-template-columns: 1.1fr 1fr;
        gap: 18px;
    }
    #newsGrid > article:nth-child(1) {
        grid-column: 1;
        grid-row: span 2;
    }
}
/* 手机：改 1 列，全卡等高等宽自然流 */
@media (max-width: 720px) {
    #newsGrid {
        grid-template-columns: 1fr;
        gap: 16px;
        grid-auto-rows: auto;
    }
    #newsGrid > article:nth-child(1) {
        grid-column: auto;
        grid-row: auto;
    }
    #newsGrid > article:nth-child(1) .news-title,
    #newsGrid > article:nth-child(1) .news-title--rss {
        font-size: 19px !important;
    }
}
