/* DeepView NEXT CSS Design System (v1.2 - 医美机构轻奢定制版) */

/* 1. 医美诊所专属 HSL 调色盘变量 */
:root {
    /* 主色调：柔和象牙白与洁净白，代表高档皮肤管理诊所的洁净与通透感 */
    --bg-primary: hsl(30, 25%, 98%); 
    --bg-secondary: hsl(0, 0%, 100%); 
    --bg-card: rgba(255, 255, 255, 0.75);
    
    /* 辅助色：
       - 优雅香槟金 (代表尊贵、高雅与美学)
       - 临床医用鼠尾草绿/柔青 (代表医疗专业度、信任与数据安全) */
    --color-mint: hsl(165, 25%, 42%); /* 鼠尾草绿 */
    --color-mint-rgb: 80, 134, 119;
    --color-violet: hsl(38, 35%, 52%); /* 优雅香槟金 */
    --color-violet-rgb: 188, 156, 112;
    --color-amber: hsl(30, 65%, 48%); /* 温润琥珀色 */
    --color-gray: hsl(215, 12%, 55%);

    /* 文字色：深石板灰，相比死板的纯黑更显柔和高级 */
    --text-primary: hsl(215, 25%, 18%); 
    --text-secondary: hsl(215, 15%, 38%); 
    --text-muted: hsl(215, 12%, 58%); 
    
    /* 描边系统：香槟金极细半透明分割线 */
    --border-soft: rgba(188, 156, 112, 0.15); 
    --border-bright: rgba(188, 156, 112, 0.35);
    
    --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. 基础重置与全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 医美风精细滚动条 */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(188, 156, 112, 0.2);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(188, 156, 112, 0.4);
}

/* 布局辅助容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.max-width-md {
    max-width: 768px;
}

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

/* 网格系统 */
.grid {
    display: grid;
    gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2-wide { grid-template-columns: 1fr 1.2fr; }

/* 3. 按钮与全局通用组件 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 600;
    padding: 0.9rem 2.2rem;
    border-radius: 6px; /* 偏方正切角，更有诊所的严谨专业感 */
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
}

.btn-sm {
    padding: 0.5rem 1.4rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1.2rem 2.6rem;
    font-size: 1.1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* 医美金沙色渐变按钮 */
.btn-primary {
    background: linear-gradient(135deg, var(--color-violet) 0%, hsl(38, 25%, 42%) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px -3px rgba(188, 156, 112, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -2px rgba(188, 156, 112, 0.5);
}
.btn-primary:active {
    transform: translateY(1px);
}

.btn-secondary {
    background: var(--bg-secondary);
    border-color: rgba(188, 156, 112, 0.3);
    color: var(--text-primary);
}
.btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--color-violet);
    transform: translateY(-2px);
}
.btn-secondary:active {
    transform: translateY(1px);
}

/* 香槟金-鼠尾草绿的高级渐变文本 */
.gradient-text {
    background: linear-gradient(135deg, var(--color-violet) 0%, var(--color-mint) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 极细金丝玻璃卡片 */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
}

/* 分段标题 */
.section {
    padding: 6.5rem 0;
}
.section-header {
    margin-bottom: 4.5rem;
}
.section-title {
    font-family: var(--font-title);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 1.2rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

/* 4. NAVBAR (顶部导航栏) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 1000;
    background: rgba(251, 252, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(188, 156, 112, 0.1);
    transition: var(--transition-normal);
}
.navbar.scrolled {
    background: rgba(251, 252, 255, 0.95);
    box-shadow: 0 4px 20px -10px rgba(188, 156, 112, 0.15);
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.25rem;
}
.logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.logo-highlight {
    color: var(--color-mint); /* NEXT 标志用专业青色 */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}
.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}
.nav-link:hover {
    color: var(--color-violet);
}

/* 5. HERO SECTION */
.hero-section {
    position: relative;
    padding-top: 11rem;
    padding-bottom: 7.5rem;
    overflow: hidden;
    /* 顶部放射状柔光背景 */
    background: radial-gradient(circle at 50% 0%, hsla(38, 35%, 52%, 0.08) 0%, transparent 60%);
}

/* 背景温和柔光团，不再使用刺眼霓虹色 */
.glow-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35; /* 略微提升不透明度，在白底上更柔和显现 */
}
.glow-primary {
    top: -15%;
    left: 25%;
    width: 400px;
    height: 400px;
    background-color: hsla(38, 35%, 52%, 0.15); /* 极淡香槟金 */
}
.glow-secondary {
    top: 0;
    right: 25%;
    width: 380px;
    height: 380px;
    background-color: hsla(165, 25%, 42%, 0.1); /* 极淡鼠尾草绿 */
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.4rem;
    background: rgba(188, 156, 112, 0.08);
    border: 1px solid rgba(188, 156, 112, 0.2);
    color: var(--color-violet);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3.4rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}
.title-chunk {
    display: inline-block;
}


.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 850px;
    margin: 0 auto 3.5rem auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5.5rem;
}

/* 核心无感录音组件 */
.interactive-hero-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 860px;
    margin: 0 auto;
}

.demo-bubbles-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.recording-bar {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.9rem 2rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(188, 156, 112, 0.35); /* 精细香槟金细框 */
    box-shadow: 0 10px 30px -5px rgba(188, 156, 112, 0.15);
    border-radius: 50px;
    z-index: 5;
}

.recording-indicator {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.red-dot {
    width: 7px;
    height: 7px;
    background-color: var(--color-mint); /* 录音提示用专业鼠尾绿 */
    border-radius: 50%;
    animation: pulse-glow 1.8s infinite;
}

/* 仿真声波 */
.wave-lines {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 18px;
}
.wave-line {
    width: 2px;
    background-color: var(--color-mint);
    border-radius: 1px;
    animation: wave-bounce 1.2s infinite ease-in-out;
}
.wave-line:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.wave-line:nth-child(2) { height: 90%; animation-delay: 0.3s; }
.wave-line:nth-child(3) { height: 40%; animation-delay: 0.5s; }
.wave-line:nth-child(4) { height: 75%; animation-delay: 0.2s; }

.recording-text {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* 气泡 - 温暖素雅的白金微光 */
.float-bubble {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    border-radius: 10px;
    flex: 1;
    max-width: 380px;
    text-align: left;
    background: var(--bg-secondary);
    border: 1.5px solid rgba(188, 156, 112, 0.15);
    box-shadow: 0 12px 35px -10px rgba(188, 156, 112, 0.18);
    transition: var(--transition-normal);
}
.float-bubble:hover {
    transform: translateY(-2px);
    border-color: rgba(188, 156, 112, 0.4);
    box-shadow: 0 15px 40px -8px rgba(188, 156, 112, 0.25);
}

.bubble-mint {
    border-left: 3px solid var(--color-mint); /* 左边一条专业鼠尾绿竖线 */
}
.bubble-mint .bubble-icon { color: var(--color-mint); }

.bubble-purple {
    border-left: 3px solid var(--color-violet); /* 左边一条优雅香槟金竖线 */
}
.bubble-purple .bubble-icon { color: var(--color-violet); }

.bubble-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}
.bubble-content {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

/* 6. STAKEHOLDERS (三个角色的难处) */
.stakeholders-section {
    background: radial-gradient(circle at bottom, rgba(188, 156, 112, 0.03) 0%, transparent 60%);
}

.stakeholder-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px -10px rgba(188, 156, 112, 0.08);
    transition: var(--transition-slow);
}

.card-role-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.role-icon {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}
.role-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.role-jtbd {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-violet); /* JTBD 使用香槟金标出 */
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--border-soft);
}

.quotes-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.quote-item {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid rgba(188, 156, 112, 0.2);
}

/* Hover 优雅暗化联动 */
.stakeholders-section:hover .stakeholder-card {
    opacity: 0.55;
    transform: scale(0.98);
}
.stakeholders-section .stakeholder-card:hover {
    opacity: 1;
    transform: scale(1.01) translateY(-4px);
    border-color: rgba(188, 156, 112, 0.45);
    box-shadow: 0 15px 35px -10px rgba(188, 156, 112, 0.2);
}

.card-glow-mint:hover .role-icon { color: var(--color-mint); }
.card-glow-mint:hover .quote-item { border-left-color: var(--color-mint); }

.card-glow-purple:hover .role-icon { color: var(--color-violet); }
.card-glow-purple:hover .quote-item { border-left-color: var(--color-violet); }

.card-glow-gray:hover .role-icon { color: var(--text-primary); }
.card-glow-gray:hover .quote-item { border-left-color: var(--text-primary); }

/* 客户想法 Banner - 弧形设计，贴合医美曲线 */
.customer-banner {
    margin-top: 4.5rem;
    padding: 1.4rem 2.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-soft);
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(188, 156, 112, 0.06);
}
.customer-avatar {
    width: 34px;
    height: 34px;
    color: var(--color-violet);
    background: rgba(188, 156, 112, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.customer-avatar svg { width: 18px; height: 18px; }

.customer-thoughts {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
    overflow: hidden;
}
.customer-tag {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-amber);
    flex-shrink: 0;
}
.customer-bubbles {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
}
.customer-bubbles::-webkit-scrollbar { display: none; }
.cbubble {
    font-size: 0.88rem;
    color: var(--text-secondary);
    background: var(--bg-primary);
    padding: 0.45rem 1.2rem;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid var(--border-soft);
}

/* 7. CORE LOGIC (一个简单的道理) */
.logic-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(188, 156, 112, 0.05);
    border-bottom: 1px solid rgba(188, 156, 112, 0.05);
}

.logic-visual-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 360px;
}

.logic-flow-svg {
    width: 100%;
    height: 100%;
    max-width: 320px;
    display: block;
    overflow: visible;
}

.node-group {
    transition: var(--transition-normal);
    cursor: default;
}
.node-group:hover {
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(1.03);
}

/* 粒子滴落动画：表达交付不足，信息在同事交接中流失的痛感 */
@keyframes leak-drop {
    0% { transform: translateY(0); opacity: 0.8; }
    50% { opacity: 0.8; }
    100% { transform: translateY(65px); opacity: 0; }
}

.leaking-dot {
    fill: var(--color-violet); /* 香槟金小球，象征有价值的面诊深度信息 */
    animation: leak-drop 2.2s infinite ease-in;
    transform-origin: center;
}
.dot-1 { animation-delay: 0s; }
.dot-2 { animation-delay: 0.7s; }
.dot-3 { animation-delay: 1.4s; }

/* 右侧文本 */
.logic-content {
    padding-left: 2rem;
}
.highlight-text {
    font-size: 1.2rem;
    line-height: 1.65;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}
.logic-content p {
    margin-bottom: 1.5rem;
}

/* 优雅虚线解法框 */
.solution-highlight {
    background: linear-gradient(135deg, rgba(188,156,112,0.03) 0%, rgba(80,134,119,0.03) 100%);
    border: 1px dashed rgba(188, 156, 112, 0.4);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
}
.solution-title {
    color: var(--color-violet);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}
.solution-body {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}
.solution-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* 8. 6 CARDS SECTION */
.grid-tabs {
    grid-template-columns: 1fr 1.8fr;
    align-items: stretch;
}

.tab-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tab-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-soft);
    padding: 1.1rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}
.tab-btn:hover {
    background: var(--bg-primary);
    border-color: var(--color-violet);
    color: var(--text-primary);
}

.tab-btn.active {
    background: rgba(188, 156, 112, 0.05);
    border-color: rgba(188, 156, 112, 0.4);
    color: var(--color-violet);
}
.tab-btn.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--color-violet);
}

.tab-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.tab-name {
    font-size: 0.98rem;
    font-weight: 600;
}

.tab-badge {
    position: absolute;
    right: 1.5rem;
    font-size: 0.72rem;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-weight: 700;
}
.badge-accent {
    background-color: rgba(80, 134, 119, 0.1);
    color: var(--color-mint);
}
.badge-upgrade {
    background-color: rgba(188, 156, 112, 0.1);
    color: var(--color-violet);
}

/* 右侧 Mockup 面板 */
.mockup-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 3rem;
    min-height: 380px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 15px 40px -15px rgba(188, 156, 112, 0.1);
}

.mockup-content {
    display: none;
    width: 100%;
    height: 100%;
    animation: fade-in-up 0.4s ease-out;
}
.mockup-content.active {
    display: flex;
    flex-direction: column;
}

.card-mockup-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px dashed var(--border-soft);
    padding-bottom: 1rem;
}
.mockup-badge {
    background-color: rgba(188, 156, 112, 0.08);
    border: 1px solid rgba(188, 156, 112, 0.2);
    color: var(--color-violet);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
}
.mockup-badge.badge-mint {
    background-color: rgba(80, 134, 119, 0.08);
    border-color: rgba(80, 134, 119, 0.2);
    color: var(--color-mint);
}

.mockup-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mockup-body-lines {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.m-line {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}
.m-label {
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.3rem;
}

/* 仅助理可见 - 隐私气泡徽章 */
.privacy-notice-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(188, 156, 112, 0.06);
    border: 1px dashed rgba(188, 156, 112, 0.3);
    color: var(--color-violet);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    line-height: 1.4;
}
.privacy-lock-icon {
    width: 15px;
    height: 15px;
    color: var(--color-violet);
    flex-shrink: 0;
}


/* 极速标签胶囊 */
.capsules-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.capsule-item {
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 0.88rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.cap-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}
.cap-val {
    font-weight: 600;
}

.cap-red {
    border: 1px solid rgba(220, 38, 38, 0.2);
    background: rgba(220, 38, 38, 0.02);
    color: hsl(0, 75%, 50%);
}
.cap-orange {
    border: 1px solid rgba(188, 156, 112, 0.3);
    background: rgba(188, 156, 112, 0.02);
    color: var(--color-violet);
}
.cap-gray {
    border: 1px solid var(--border-soft);
    background: var(--bg-primary);
    color: var(--text-secondary);
}

/* 模拟播放组件 */
.audio-player-mock {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--bg-primary);
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    border: 1px solid var(--border-soft);
}
.play-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--color-violet);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}
.play-btn svg { width: 10px; height: 10px; margin-left: 2px; }

.progress-bar-mock {
    flex-grow: 1;
    height: 3px;
    background-color: rgba(188, 156, 112, 0.15);
    border-radius: 2px;
    position: relative;
}
.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: var(--color-violet);
    border-radius: 2px;
}
.time-mock {
    font-size: 0.78rem;
    font-family: var(--font-title);
    color: var(--text-muted);
}

.transcript-box {
    background: var(--bg-primary);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    padding: 1.2rem;
    max-height: 150px;
    overflow-y: auto;
    font-size: 0.88rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.speaker-label {
    font-weight: 700;
}
.speaker-doc { color: var(--color-mint); }
.speaker-cust { color: var(--color-violet); }

/* 9. TIMELINE SECTION (三波变化) */
.timeline-container {
    position: relative;
    padding: 2rem 0;
    margin-left: 1rem;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-violet) 0%, var(--color-mint) 50%, rgba(188,156,112,0.1) 100%);
    z-index: 1;
}

.timeline-line-glow {
    position: absolute;
    top: 0;
    left: -1px;
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, var(--color-violet) 0%, var(--color-mint) 100%);
    filter: blur(2px);
    opacity: 0.35;
}

.timeline-stage {
    position: relative;
    padding-left: 55px;
    margin-bottom: 5rem;
    z-index: 2;
}

.timeline-stage:last-child {
    margin-bottom: 0;
}

/* 时间轴圆圈节点 */
.timeline-node {
    position: absolute;
    left: 14px; /* Centered on the 2px line at 20px (20 - 14/2 + 1 = 14px for 14px dot) */
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 3px solid var(--color-violet);
    z-index: 3;
    box-shadow: 0 0 0 4px var(--bg-primary);
    transition: var(--transition-fast);
}

.timeline-node.node-mint {
    border-color: var(--color-mint);
}

.timeline-node.node-violet {
    border-color: var(--color-violet);
}

.timeline-node.node-gray {
    border-color: var(--text-muted);
}

.stage-content {
    position: relative;
}

.stage-header-block {
    margin-bottom: 1.8rem;
}

.stage-time {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-violet);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.timeline-stage:nth-child(2) .stage-time {
    color: var(--color-mint);
}

.timeline-stage:nth-child(3) .stage-time {
    color: var(--text-muted);
}

.stage-title {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* 角色对比网格 */
.stage-roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stage-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px -10px rgba(188, 156, 112, 0.04);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.stage-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -8px rgba(188, 156, 112, 0.08);
}

.scard-role-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.scard-role-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(188, 156, 112, 0.06);
    color: var(--color-violet);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-stage:nth-child(2) .scard-role-icon {
    background: rgba(80, 134, 119, 0.06);
    color: var(--color-mint);
}

.timeline-stage:nth-child(3) .scard-role-icon {
    background: rgba(148, 163, 184, 0.08);
    color: var(--text-muted);
}

.scard-role-icon svg {
    width: 16px;
    height: 16px;
}

.scard-role-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Before / After 对比组件 */
.scard-compare-flow {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.compare-box {
    border-radius: 8px;
    padding: 0.8rem 1rem;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.compare-box.box-past {
    background: hsl(0, 100%, 99%);
    border-color: rgba(239, 68, 68, 0.08);
    color: var(--text-secondary);
}

.compare-box.box-present {
    background: hsl(165, 30%, 98.5%);
    border-color: rgba(80, 134, 119, 0.15);
    color: var(--text-primary);
}

.compare-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.compare-tag.tag-past {
    background: rgba(239, 68, 68, 0.06);
    color: #ef4444;
}

.compare-tag.tag-present {
    background: rgba(80, 134, 119, 0.1);
    color: var(--color-mint);
}

.compare-desc {
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0;
}

.compare-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 14px;
    color: var(--color-violet);
    opacity: 0.5;
}

.compare-arrow svg {
    width: 14px;
    height: 14px;
    transform: rotate(90deg);
}


/* 10. ACCOUNTS SECTION (三笔账) */
.account-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px -10px rgba(188, 156, 112, 0.08);
    transition: var(--transition-normal);
}

.account-card-highlight {
    background: var(--bg-secondary);
    border-color: var(--color-violet);
    transform: scale(1.03);
    box-shadow: 0 15px 35px -10px rgba(188, 156, 112, 0.15);
}

.account-title {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.title-num {
    font-size: 0.78rem;
    color: var(--color-mint);
    padding: 0.1rem 0.4rem;
    border: 1px solid rgba(80, 134, 119, 0.2);
    border-radius: 3px;
}
.account-card-highlight .title-num {
    color: var(--color-violet);
    border-color: rgba(188, 156, 112, 0.2);
}

.account-subtitle {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    line-height: 1.35;
}

.account-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* 算力开销数据 */
.cost-stat {
    display: flex;
    gap: 2rem;
    margin-top: auto;
    background: var(--bg-primary);
    padding: 1.2rem;
    border-radius: 6px;
    border: 1px solid var(--border-soft);
}
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.stat-lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.stat-num {
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
}
.stat-unit {
    font-size: 0.75rem;
    font-weight: 500;
}
.highlight-mint {
    color: var(--color-mint);
}
.stat-footer-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* 用处账对比表 */
.contrast-table {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: auto;
}
.contrast-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 0.5rem;
}
.contrast-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 600;
}
.c-bad { color: hsl(0, 75%, 55%); }
.c-good { color: var(--color-mint); }

/* 安全箱 */
.safety-commit-box {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: #fdfbf7; /* 温暖复古纸张底色 */
    border: 1px solid rgba(188, 156, 112, 0.4);
    box-shadow: inset 0 0 0 3px #fdfbf7, inset 0 0 0 4px rgba(188, 156, 112, 0.15); /* 证书双边框质感 */
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: visible; /* 允许公章稍许溢出，显得真实自然 */
}

/* 契约公章组件 */
.legal-seal {
    position: absolute;
    right: 10px;
    bottom: -15px; /* 稍微向下偏移溢出 */
    width: 82px;
    height: 82px;
    transform: rotate(-12deg);
    opacity: 0.85;
    pointer-events: none;
    z-index: 5;
}

.seal-svg {
    width: 100%;
    height: 100%;
}

.safety-commit-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    z-index: 6; /* 确保文字在公章上方 */
}
.safety-icon {
    width: 18px;
    height: 18px;
    color: var(--color-violet);
}
.safety-commit-header h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-violet);
}
.safety-commit-body {
    font-size: 0.85rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 6; /* 确保文字在公章上方 */
}

.safety-rules {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    list-style: none;
    font-size: 0.85rem;
    margin-top: auto;
}
.safety-rules li {
    position: relative;
    padding-left: 1.2rem;
}
.safety-rules li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--color-violet);
    font-size: 1rem;
}

/* 11. MAFIA SECTION (零风险承诺) - 象牙白金高雅卡片，不再使用纯黑 */
.mafia-section {
    background: radial-gradient(circle at top, rgba(188, 156, 112, 0.05) 0%, transparent 60%);
}

.mafia-card {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 4.5rem;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--border-soft);
    box-shadow: 0 20px 50px -15px rgba(188, 156, 112, 0.15);
}

/* 渐变流光边框动效：使用金色到白色的优雅缓动 */
.mafia-glow-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--color-violet) 0%, var(--bg-primary) 50%, var(--color-violet) 100%);
    background-size: 200% 200%;
    animation: flow-gradient 8s linear infinite;
    z-index: -2;
    border-radius: 14px;
    opacity: 0.6;
}
.mafia-card::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: var(--bg-secondary);
    border-radius: 11px;
    z-index: -1;
}

.mafia-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.4rem;
    background: rgba(188, 156, 112, 0.06);
    border: 1px solid rgba(188, 156, 112, 0.25);
    color: var(--color-violet);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 2rem;
}
.mafia-badge svg { width: 16px; height: 16px; }

.mafia-title {
    font-family: var(--font-title);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    text-align: center;
}

/* 承诺亮点网格 */
.mafia-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.offer-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 1.2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: var(--transition-fast);
}

.offer-item:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
}

.offer-val {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-violet);
}

.offer-lbl {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.offer-item.highlight-mint .offer-val {
    color: var(--color-mint);
}

/* 承诺步骤 */
.mafia-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.mstep-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    transition: var(--transition-normal);
}

.mstep-card:hover {
    border-color: var(--border-bright);
    box-shadow: 0 10px 25px -10px rgba(188, 156, 112, 0.05);
}

.mstep-num {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(188, 156, 112, 0.12);
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    line-height: 1;
}

.mstep-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.mstep-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* 核心法务级保障书 */
.mafia-guarantee-certificate {
    background: #fdfbf7;
    border: 1px solid rgba(188, 156, 112, 0.35);
    box-shadow: inset 0 0 0 3px #fdfbf7, inset 0 0 0 4px rgba(188, 156, 112, 0.12);
    border-radius: 8px;
    padding: 1.8rem 2.2rem;
    margin-bottom: 3rem;
}

.certificate-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cert-shield-icon {
    width: 38px;
    height: 38px;
    color: var(--color-violet);
    flex-shrink: 0;
}

.cert-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cert-text strong {
    font-size: 1.1rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.3rem;
}

.cert-text p {
    margin: 0;
}

/* 不行动的代价警告框 */
.mafia-inaction-warning {
    background-color: hsl(0, 100%, 99.5%);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 8px;
    padding: 1.5rem;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.warning-icon {
    width: 18px;
    height: 18px;
    color: #ef4444;
}

.warning-header span {
    font-size: 0.9rem;
    font-weight: 700;
    color: #dc2626;
}

.warning-body {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

/* 12. PRICING SECTION (价格套餐) */
.pricing-grid {
    align-items: stretch;
    margin-bottom: 3.5rem;
}

.price-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px -10px rgba(188, 156, 112, 0.08);
    transition: var(--transition-normal);
}
.price-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-violet);
    box-shadow: 0 15px 35px -10px rgba(188, 156, 112, 0.15);
}

.price-card-highlight {
    border-color: rgba(188, 156, 112, 0.6);
    box-shadow: 0 15px 40px -10px rgba(188, 156, 112, 0.2);
}
.price-card-highlight:hover {
    border-color: var(--color-violet);
}

.highlight-ribbon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(188, 156, 112, 0.08);
    color: var(--color-violet);
    border: 1px solid rgba(188, 156, 112, 0.25);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.p-header {
    margin-bottom: 2.5rem;
}
.p-name {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}
.price-card-highlight .p-name {
    color: var(--color-violet);
}
.p-price {
    font-family: var(--font-title);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}
.currency {
    font-size: 1.4rem;
    font-weight: 600;
    margin-right: 0.2rem;
}
.duration {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 0.3rem;
}

.p-body {
    margin-bottom: 3rem;
}
.p-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.95rem;
}
.p-features li {
    position: relative;
    padding-left: 1.5rem;
}
.p-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-mint);
    font-weight: 700;
}
.p-features li:last-child {
    color: var(--text-muted);
    font-style: italic;
}
.p-features li:last-child::before {
    content: '•';
    color: var(--text-muted);
}

.p-footer {
    margin-top: auto;
}

/* 套餐说明底盘 */
.pricing-commit-footer {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-soft);
    padding: 2rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px -10px rgba(188, 156, 112, 0.08);
}
.pricing-commit-icon {
    width: 22px;
    height: 22px;
    color: var(--color-violet);
    flex-shrink: 0;
}
.pricing-commit-text {
    font-size: 0.9rem;
    line-height: 1.65;
}

/* 13. APPLY SECTION (申请表单) */
.apply-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 4rem;
    box-shadow: 0 20px 50px -12px rgba(188, 156, 112, 0.08), 0 0 0 1px rgba(188, 156, 112, 0.02);
}

.apply-form {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    margin-top: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    text-align: left;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
}

.form-control {
    background: var(--bg-primary);
    border: 1px solid rgba(188, 156, 112, 0.22);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.98rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.01);
}
.form-control::placeholder {
    color: rgba(0, 0, 0, 0.3);
}
.form-control:hover {
    border-color: rgba(188, 156, 112, 0.45);
    background-color: var(--bg-secondary);
}
.form-control:focus {
    border-color: var(--color-violet);
    box-shadow: 0 0 0 3px rgba(188, 156, 112, 0.15), inset 0 1px 2px rgba(0, 0, 0, 0.01);
    background-color: var(--bg-secondary);
}

/* 提交成功与二维码 */
.success-message {
    animation: fade-in-up 0.5s ease-out;
    padding: 2rem 0;
}
.success-icon {
    width: 44px;
    height: 44px;
    color: var(--color-mint);
    margin-bottom: 1.5rem;
}
.success-message h4 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.success-message p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 2rem auto;
}
.qr-code-box {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    display: inline-block;
}
.qr-img {
    max-width: 140px;
    display: block;
    border-radius: 4px;
}

/* 14. FOOTER */
.footer {
    padding: 3.5rem 0;
    border-top: 1px solid var(--border-soft);
    background-color: var(--bg-secondary);
}
.footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.icp-info {
    margin-top: 0.5rem;
}
.icp-info a {
    color: var(--text-muted);
    text-decoration: none;
}
.icp-info a:hover {
    color: var(--color-violet);
}

/* 15. MODAL (弹窗) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 41, 59, 0.4); /* 柔和暗色遮罩 */
    backdrop-filter: blur(8px);
}

.modal-wrapper {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    z-index: 2100;
    padding: 3rem;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 45px -10px rgba(188, 156, 112, 0.2);
}
.modal.active .modal-wrapper {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
}
.modal-close:hover {
    color: var(--text-primary);
}
.modal-close svg { width: 22px; height: 22px; }

.modal-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.modal-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.modal-apply-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 16. ANIMATIONS DEFINITION (动画关键帧) */
@keyframes pulse-glow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(80, 134, 119, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(80, 134, 119, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(80, 134, 119, 0); }
}

@keyframes wave-bounce {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}
.animate-float-slow {
    animation: float 5s ease-in-out infinite;
}
.animate-float-fast {
    animation: float 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes flow-stroke {
    100% { stroke-dashoffset: -20; }
}
@keyframes flow-stroke-reverse {
    100% { stroke-dashoffset: 20; }
}

@keyframes flow-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Observer - Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 17. 响应式适配断点 */

/* 手机端适配 (Max 768px) */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .grid-2, .grid-3, .grid-4, .grid-2-wide {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .col-span-2 {
        grid-column: span 1;
    }
    
    .navbar {
        height: 60px;
    }
    .nav-container {
        padding: 0 1rem;
    }
    .nav-logo {
        font-size: 1.05rem;
        gap: 0.4rem;
    }
    .logo-text {
        white-space: nowrap;
    }
    .nav-cta .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.82rem;
        white-space: nowrap;
    }
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.35;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-actions .btn {
        width: 100%;
    }
    
    .interactive-hero-demo {
        height: auto;
        padding-top: 1rem;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .demo-bubbles-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    .recording-bar {
        width: 100%;
        justify-content: center;
    }
    .float-bubble {
        position: static;
        max-width: 100%;
        width: 100%;
        transform: none !important;
        animation: none !important;
        margin: 0;
    }
    
    .customer-banner {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 12px;
        padding: 1.5rem;
    }
    .customer-bubbles {
        flex-direction: column;
        gap: 0.8rem;
    }
    .cbubble {
        white-space: normal;
    }
    
    .logic-visual-container {
        height: 280px;
    }
    .logic-flow-svg {
        transform: scale(0.9);
    }
    .logic-content {
        padding-left: 0;
        margin-top: 1rem;
    }
    
    /* Section 4 Tab 转化为横向滚动 */
    .grid-tabs {
        grid-template-columns: 1fr;
    }
    .tab-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.8rem;
        gap: 0.6rem;
        scroll-snap-type: x mandatory;
    }
    .tab-list::-webkit-scrollbar {
        height: 3px;
    }
    .tab-list::-webkit-scrollbar-thumb {
        background-color: var(--border-soft);
    }
    .tab-btn {
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 0.8rem 1.2rem;
        border-radius: 4px;
    }
    .tab-badge {
        display: none; 
    }
    .mockup-panel {
        padding: 1.5rem;
        min-height: auto;
    }
    
    /* Section 5 时间轴 */
    .timeline-container {
        margin-left: 0;
        padding: 1rem 0;
    }
    .timeline-line {
        left: 12px;
    }
    .timeline-stage {
        padding-left: 36px;
        margin-bottom: 3rem;
    }
    .timeline-node {
        left: 6px;
        top: 4px;
    }
    .stage-title {
        font-size: 1.35rem;
    }
    .stage-roles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .stage-card {
        padding: 1.2rem;
    }
    .grid-3-sm {
        grid-template-columns: 1fr;
    }
    
    /* Section 6 & 8 & 9 */
    .account-card-highlight {
        transform: none;
    }
    .mafia-card {
        padding: 2rem;
    }
    .mafia-title {
        font-size: 1.8rem;
    }
    .mafia-offer-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }
    .mafia-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    .mafia-guarantee-certificate {
        padding: 1.2rem;
        margin-bottom: 2rem;
    }
    .certificate-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .pricing-commit-footer {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .apply-box {
        padding: 2rem;
    }
    .modal-wrapper {
        padding: 2rem 1.5rem;
    }
}
