/* ========================================
   上流 Chat 1.8 — 官网样式
   ======================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6C5CE7;
    --primary-dark: #5A4BD1;
    --secondary: #00B894;
    --secondary-dark: #00A383;
    --accent: #FD79A8;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255,255,255,0.03);
    --bg-card-hover: rgba(255,255,255,0.06);
    --text: #E8E8ED;
    --text-dim: #8E8E93;
    --text-light: #AEAEB2;
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow-glow: 0 0 60px rgba(108,92,231,0.15);
    --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img { max-width: 100%; display: block; }

/* ---------- Particle Canvas ---------- */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---------- Gradient Text ---------- */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Section Common ---------- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108,92,231,0.12);
    border: 1px solid rgba(108,92,231,0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-mark {
    position: relative;
    width: 38px;
    height: 38px;
}

/* 旋转渐变光圈 */
.logo-ring {
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    background: conic-gradient(
        from 0deg,
        #6C5CE7 0%,
        #00B894 25%,
        #FD79A8 50%,
        #6C5CE7 75%,
        #00B894 100%
    );
    animation: logoRingSpin 3s linear infinite;
    z-index: 0;
}

.logo-ring::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 12px;
    background: var(--bg-dark);
}

.logo-core {
    position: relative;
    z-index: 1;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.logo-core svg {
    width: 38px;
    height: 38px;
    display: block;
    filter: drop-shadow(0 0 8px rgba(108,92,231,0.6));
    animation: logoPulse 4s ease-in-out infinite;
}

.logo:hover .logo-core {
    transform: scale(1.08);
}

.logo:hover .logo-ring {
    animation-duration: 1s;
}

@keyframes logoRingSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(108,92,231,0.5)); }
    50%       { filter: drop-shadow(0 0 14px rgba(0,184,148,0.7)); }
}

.logo-texts {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.1;
}

.logo-text {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-ver {
    font-size: 11px;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.5px;
    -webkit-text-fill-color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 1px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 600px; height: 600px;
    background: var(--primary);
    top: -200px; right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px; height: 400px;
    background: var(--secondary);
    bottom: -100px; left: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px; height: 300px;
    background: var(--accent);
    top: 50%; left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 200px; height: 200px;
    background: #0984E3;
    top: 20%; left: 10%;
    animation-delay: -15s;
}

.shape-5 {
    width: 350px; height: 350px;
    background: var(--primary);
    bottom: 10%; right: 20%;
    animation-delay: -8s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 10px) scale(1.02); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(108,92,231,0.1);
    border: 1px solid rgba(108,92,231,0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(108,92,231,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108,92,231,0.5);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.15));
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 16px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ---------- Dual Phone Scene ---------- */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.dual-phone-scene {
    position: relative;
    width: 580px;
    padding: 40px 20px 60px;
}

/* 光晕 */
.scene-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}
.scene-glow-left {
    width: 220px; height: 220px;
    background: rgba(108,92,231,0.25);
    top: 10%; left: -5%;
    animation: glowPulse 4s ease-in-out infinite;
}
.scene-glow-right {
    width: 200px; height: 200px;
    background: rgba(0,184,148,0.2);
    top: 10%; right: -5%;
    animation: glowPulse 4s ease-in-out infinite 2s;
}
.scene-glow-center {
    width: 320px; height: 160px;
    background: rgba(108,92,231,0.12);
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    animation: glowPulse 6s ease-in-out infinite 1s;
}
@keyframes glowPulse {
    0%,100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}
.scene-glow-center { transform-origin: center bottom; }

/* 浮动徽章 */
.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(20,20,30,0.85);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 10px 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 20;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.float-badge .badge-icon {
    font-size: 22px;
    line-height: 1;
}
.float-badge .badge-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.float-badge .badge-sub {
    display: block;
    font-size: 11px;
    color: var(--text-dim);
}
.badge-tl {
    top: 10px; left: -30px;
    animation: badgeFloat0 5s ease-in-out infinite;
}
.badge-tr {
    top: 10px; right: -30px;
    animation: badgeFloat1 5.5s ease-in-out infinite 0.5s;
}
.badge-bl {
    bottom: 80px; left: -40px;
    animation: badgeFloat2 6s ease-in-out infinite 1s;
}
.badge-br {
    bottom: 80px; right: -40px;
    animation: badgeFloat3 5s ease-in-out infinite 1.5s;
}
@keyframes badgeFloat0 {
    0%,100%{ transform: translateY(0) rotate(-1deg); }
    50%{ transform: translateY(-10px) rotate(1deg); }
}
@keyframes badgeFloat1 {
    0%,100%{ transform: translateY(0) rotate(1deg); }
    50%{ transform: translateY(-8px) rotate(-1deg); }
}
@keyframes badgeFloat2 {
    0%,100%{ transform: translateY(0) rotate(1deg); }
    50%{ transform: translateY(-12px) rotate(-2deg); }
}
@keyframes badgeFloat3 {
    0%,100%{ transform: translateY(0) rotate(-2deg); }
    50%{ transform: translateY(-8px) rotate(1deg); }
}

/* 双机行 */
.phones-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 10;
}

/* 单机容器 */
.phone-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.phone-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: rgba(255,255,255,0.03);
}
.active-label {
    color: var(--secondary);
    border-color: rgba(0,184,148,0.35);
    background: rgba(0,184,148,0.08);
}

.phone-left { animation: phoneFloatL 7s ease-in-out infinite; }
.phone-right { animation: phoneFloatR 7s ease-in-out infinite 0.5s; }
@keyframes phoneFloatL {
    0%,100%{ transform: translateY(0) rotate(-1.5deg); }
    50%{ transform: translateY(-14px) rotate(1deg); }
}
@keyframes phoneFloatR {
    0%,100%{ transform: translateY(-8px) rotate(1.5deg); }
    50%{ transform: translateY(6px) rotate(-1deg); }
}

.phone-glow-ring {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(108,92,231,0.35) 0%, transparent 70%);
    filter: blur(6px);
    border-radius: 50%;
}
.phone-glow-ring.ring-active {
    background: radial-gradient(ellipse, rgba(0,184,148,0.4) 0%, transparent 70%);
    width: 80%;
}

.phone-frame {
    width: 240px;
    height: 480px;
    background: #1C1C1E;
    border-radius: 38px;
    border: 2.5px solid #3A3A3C;
    padding: 10px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.05),
        0 30px 70px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.phone-frame-active {
    border-color: rgba(108,92,231,0.5);
    box-shadow:
        0 0 0 1px rgba(108,92,231,0.2),
        0 0 40px rgba(108,92,231,0.15),
        0 30px 70px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: #1C1C1E;
    border-radius: 0 0 16px 16px;
    margin: 0 auto 6px;
    position: relative;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: calc(100% - 30px);
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    background: #000;
}

/* Calculator UI */
.calculator-ui {
    position: absolute;
    inset: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.calculator-ui.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.calc-display {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 20px 10px;
    gap: 2px;
}

.calc-small-text {
    font-size: 16px;
    color: rgba(255,255,255,0.35);
    font-weight: 300;
}

.calc-result {
    font-size: 42px;
    font-weight: 300;
    color: white;
    letter-spacing: -1px;
}

.calc-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 8px 12px 16px;
}

.calc-btn {
    height: 44px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    color: white;
    cursor: pointer;
}

.calc-btn.num {
    background: #333;
}

.calc-btn.func {
    background: #A5A5A5;
    color: #000;
}

.calc-btn.op {
    background: #FF9F0A;
}

.calc-btn.active-op {
    background: #fff;
    color: #FF9F0A;
}

.calc-btn.zero {
    grid-column: span 2;
    justify-content: flex-start;
    padding-left: 20px;
}

.calc-btn.key-active {
    filter: brightness(1.5);
    transform: scale(0.92);
}

/* Chat UI */
.chat-ui {
    position: absolute;
    inset: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.chat-ui.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.chat-header-ui {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #1C1C1E;
    border-bottom: 1px solid #2C2C2E;
}

.chat-back {
    font-size: 24px;
    color: var(--primary);
    font-weight: 300;
}

.chat-avatar-small {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.chat-name {
    font-size: 15px;
    font-weight: 600;
    flex: 1;
}

.chat-hide-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(108,92,231,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.chat-messages {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.chat-msg.sent {
    align-self: flex-end;
    align-items: flex-end;
}

.chat-msg.received {
    align-self: flex-start;
    align-items: flex-start;
}

.msg-bubble {
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.4;
}

.chat-msg.sent .msg-bubble {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-msg.received .msg-bubble {
    background: #2C2C2E;
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.msg-time {
    font-size: 10px;
    color: var(--text-dim);
    margin-top: 2px;
    padding: 0 4px;
}

.chat-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #1C1C1E;
    border-top: 1px solid #2C2C2E;
}

.chat-input-field {
    flex: 1;
    height: 32px;
    border-radius: 16px;
    background: #2C2C2E;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 13px;
    color: var(--text-dim);
}

.chat-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 700;
}

/* 中间变换箭头 */
.transform-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.arrow-track {
    width: 52px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.arrow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: -3px;
    left: -10px;
    animation: arrowDotMove 1.8s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(108,92,231,0.8);
}

@keyframes arrowDotMove {
    0% { left: -10px; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: calc(100% + 4px); opacity: 0; }
}

.arrow-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-dim);
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* 打字动画 */
.chat-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: #2C2C2E;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    width: fit-content;
    max-width: 60px;
}

.chat-typing span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-dim);
    animation: typingBounce 1.3s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
    0%,60%,100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

/* 在线绿点 */
.online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary);
    margin-left: -4px;
    box-shadow: 0 0 5px var(--secondary);
    animation: pulse 2s ease-in-out infinite;
}

/* 底部标注 */
.scene-caption {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    animation: fadeInUp 1s ease 2.5s both;
}

.caption-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    animation: pulse 2s ease-in-out infinite;
}

.scene-caption span {
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease 2.5s both;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-dim);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-dim);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

.scroll-indicator span {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Stats Band ---------- */
.stats-band {
    position: relative;
    z-index: 5;
    background: rgba(255,255,255,0.025);
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.stats-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(108,92,231,0.06) 0%,
        transparent 40%,
        transparent 60%,
        rgba(0,184,148,0.06) 100%);
    pointer-events: none;
}

.stats-band-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    flex-wrap: wrap;
}

.stats-band-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    flex: 1;
    min-width: 160px;
    justify-content: center;
    transition: background 0.3s ease;
}

.stats-band-item:hover {
    background: rgba(255,255,255,0.03);
}

.stats-band-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(108,92,231,0.12);
    border: 1px solid rgba(108,92,231,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.stats-band-item:hover .stats-band-icon {
    transform: scale(1.1);
}

.stats-band-icon.green {
    background: rgba(0,184,148,0.12);
    border-color: rgba(0,184,148,0.2);
    color: var(--secondary);
}

.stats-band-icon.orange {
    background: rgba(253,203,110,0.12);
    border-color: rgba(253,203,110,0.2);
    color: #FDCB6E;
}

.stats-band-icon.purple {
    background: rgba(253,121,168,0.12);
    border-color: rgba(253,121,168,0.2);
    color: var(--accent);
}

.stats-band-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stats-band-num {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
}

.stats-band-label {
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 500;
    white-space: nowrap;
}

.stats-band-sep {
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
}

.stats-band-live {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0,184,148,0.08);
    border: 1px solid rgba(0,184,148,0.2);
    border-radius: 100px;
    margin-left: 16px;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* ---------- Features ---------- */
.features {
    padding: 120px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    margin-bottom: 20px;
}

.icon-bg {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(108,92,231,0.1);
    border: 1px solid rgba(108,92,231,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.icon-bg.purple { background: rgba(108,92,231,0.1); border-color: rgba(108,92,231,0.2); color: var(--primary); }
.icon-bg.green { background: rgba(0,184,148,0.1); border-color: rgba(0,184,148,0.2); color: var(--secondary); }
.icon-bg.orange { background: rgba(253,121,168,0.1); border-color: rgba(253,121,168,0.2); color: var(--accent); }
.icon-bg.pink { background: rgba(9,132,227,0.1); border-color: rgba(9,132,227,0.2); color: #0984E3; }
.icon-bg.cyan { background: rgba(0,206,209,0.1); border-color: rgba(0,206,209,0.2); color: #00CED1; }

.feature-card:hover .icon-bg {
    transform: scale(1.1);
}

.icon-bg svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ---------- Security ---------- */
.security {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(108,92,231,0.03), transparent);
}

.security-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-container {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(108,92,231,0.15);
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation: rotateRing 30s linear infinite;
}

.ring-2 {
    width: 80%;
    height: 80%;
    border-color: rgba(0,184,148,0.15);
    animation: rotateRing 25s linear infinite reverse;
}

.ring-3 {
    width: 60%;
    height: 60%;
    animation: rotateRing 20s linear infinite;
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.shield-ring::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--primary);
}

.ring-2::before { background: var(--secondary); box-shadow: 0 0 10px var(--secondary); }

.shield-core svg {
    width: 80px;
    height: 90px;
    filter: drop-shadow(0 0 30px rgba(108,92,231,0.3));
    animation: shieldPulse 3s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.shield-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
    animation: floatParticle 4s ease-in-out infinite;
}

.shield-particles span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.shield-particles span:nth-child(2) { top: 10%; right: 20%; animation-delay: 0.5s; background: var(--secondary); }
.shield-particles span:nth-child(3) { bottom: 20%; left: 15%; animation-delay: 1s; }
.shield-particles span:nth-child(4) { bottom: 10%; right: 15%; animation-delay: 1.5s; background: var(--secondary); }
.shield-particles span:nth-child(5) { top: 40%; left: 5%; animation-delay: 2s; background: var(--accent); }
.shield-particles span:nth-child(6) { top: 30%; right: 5%; animation-delay: 2.5s; }
.shield-particles span:nth-child(7) { bottom: 30%; left: 25%; animation-delay: 3s; background: var(--secondary); }
.shield-particles span:nth-child(8) { bottom: 40%; right: 10%; animation-delay: 3.5s; background: var(--accent); }

@keyframes floatParticle {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-15px); }
}

.security-content {
    padding-left: 20px;
}

.security-content .section-title {
    text-align: left;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.security-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.security-check {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0,184,148,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.security-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.security-item p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ---------- How It Works ---------- */
.how-it-works {
    padding: 120px 0;
    position: relative;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.step-line {
    position: absolute;
    top: 120px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    opacity: 0.3;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    margin-bottom: -10px;
    letter-spacing: -2px;
}

.step-content {
    position: relative;
}

.step-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.step-phone {
    width: 120px;
    height: 200px;
    background: #1C1C1E;
    border-radius: 20px;
    border: 2px solid #3A3A3C;
    padding: 8px;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.step-card:hover .step-phone {
    transform: scale(1.05);
}

/* Mini Calculator */
.mini-calc {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    padding: 8px;
}

.mini-display {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    font-size: 28px;
    font-weight: 300;
    color: white;
    padding: 0 8px 4px;
}

.mini-calc.secret .mini-display {
    color: var(--primary);
    animation: secretType 2s steps(6) infinite;
}

@keyframes secretType {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.mini-keys {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
}

.mini-keys span {
    height: 16px;
    border-radius: 8px;
    background: #333;
}

.mini-keys span.active {
    background: var(--primary);
    animation: keyPress 1.5s ease-in-out infinite;
}

.mini-keys span.glow {
    background: #FF9F0A;
    animation: keyPress 1.5s ease-in-out infinite 0.5s;
}

@keyframes keyPress {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Mini Chat */
.mini-chat {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mini-chat-header {
    height: 24px;
    background: #1C1C1E;
    border-bottom: 1px solid #2C2C2E;
}

.mini-chat-msgs {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.mini-msg {
    height: 14px;
    border-radius: 7px;
    width: 70%;
}

.mini-msg.left {
    background: #2C2C2E;
    align-self: flex-start;
}

.mini-msg.right {
    background: var(--primary);
    align-self: flex-end;
}

.mini-msg.short {
    width: 45%;
}

.mini-chat-input {
    height: 24px;
    background: #1C1C1E;
    border-top: 1px solid #2C2C2E;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 300px;
    margin: 0 auto;
}

/* ---------- Audience ---------- */
.audience {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(0,184,148,0.03), transparent);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.audience-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.audience-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.audience-emoji {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.audience-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.audience-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ---------- Pricing ---------- */
.pricing {
    padding: 120px 0;
}

.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(108,92,231,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-popular {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 40px;
    transform: rotate(45deg);
    letter-spacing: 0.5px;
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.currency {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dim);
}

.price {
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.period {
    font-size: 18px;
    color: var(--text-dim);
}

.pricing-trial {
    font-size: 15px;
    color: var(--secondary);
    font-weight: 600;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-light);
}

/* ---------- Download ---------- */
.download {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(108,92,231,0.03), transparent);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: block;
}

.download-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(108,92,231,0.2);
}

.download-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(108,92,231,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.download-card:hover .download-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: scale(1.1);
}

.download-icon svg {
    width: 32px;
    height: 32px;
}

.download-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.download-card p {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.download-btn-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.download-card:hover .download-btn-text {
    color: var(--secondary);
}

/* ---------- iOS Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #1C1C1E;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.modal-icon {
    margin-bottom: 24px;
}

.modal-icon svg {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    animation: modalIconPulse 2s ease-in-out infinite;
}

@keyframes modalIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.modal-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal-progress {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-bottom: 28px;
    overflow: hidden;
}

.modal-progress-bar {
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    animation: progressGrow 2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes progressGrow {
    from { width: 0; }
    to { width: 65%; }
}

.modal-btn {
    min-width: 160px;
}

/* ---------- Footer ---------- */
.footer {
    padding: 60px 0 0;
    border-top: 1px solid var(--border);
    background: rgba(0,0,0,0.3);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-dim);
    margin-top: 12px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-dim);
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle { margin: 0 auto 36px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }

    .hero-visual {
        order: -1;
    }

    /* 在板/播上缩小双机场景 */
    .dual-phone-scene {
        width: 480px;
        padding: 30px 15px 50px;
    }

    .phone-frame {
        width: 190px;
        height: 380px;
    }

    .badge-tl { left: -10px; }
    .badge-tr { right: -10px; }
    .badge-bl { left: -10px; }
    .badge-br { right: -10px; }

    .calc-result { font-size: 32px; }
    .calc-btn { height: 32px; font-size: 14px; }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .security-content {
        padding-left: 0;
        text-align: center;
    }

    .security-content .section-title {
        text-align: center;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step-line { display: none; }

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10,10,15,0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 22px;
        font-weight: 600;
    }

    .nav-toggle {
        display: flex;
        z-index: 200;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 36px;
    }

    .stats-band-inner {
        justify-content: center;
        gap: 0;
    }

    .stats-band-item {
        padding: 16px 16px;
        min-width: 130px;
    }

    .stats-band-sep { height: 30px; }
    .stats-band-live { display: none; }

    /* 手机上缩小场景，隐藏浮动徽章 */
    .dual-phone-scene {
        width: 340px;
        padding: 20px 10px 50px;
    }

    .phone-frame {
        width: 148px;
        height: 296px;
    }

    .float-badge { display: none; }
    .scene-glow { display: none; }

    .phones-row { gap: 12px; }

    .calc-result { font-size: 26px; }
    .calc-btn { height: 26px; font-size: 12px; gap: 3px; }
    .calc-buttons { gap: 3px; padding: 3px 6px 8px; }
    .phone-notch { width: 70px; height: 18px; }

    .arrow-track { width: 36px; }

    .features-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 30px;
    }

    .pricing-card {
        padding: 36px 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .download-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
    }

    .phone-frame {
        width: 200px;
        height: 400px;
    }

    .calc-result { font-size: 30px; }
    .calc-btn { height: 32px; font-size: 14px; }
    .calc-buttons { gap: 5px; padding: 5px 8px 12px; }

    .modal-content {
        padding: 36px 24px;
    }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.25);
}

/* ---------- Selection ---------- */
::selection {
    background: rgba(108,92,231,0.3);
    color: white;
}
