/* ============================================
   上海万座零碳工厂计划 - 战略级H5样式
   设计理念：工业哑光重色系 + 克制留白 + 电影级运镜
   ============================================ */

/* 基础重置和变量 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* 屏幕阅读器专用 - 视觉隐藏 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    /* 工业哑光重色系 */
    --carbon-black: #0a0a0b;
    --titanium-gray: #1a1a1c;
    --steel-gray: #2a2a2e;
    --graphite: #3a3a40;
    
    /* 科技微光 */
    --platinum: #e8e8e8;
    --silver: #c0c0c0;
    --cold-white: #f5f5f7;
    
    /* 强调色 - 克制使用 */
    --accent-cyan: #00d4aa;
    --accent-blue: #4a90d9;
    --accent-warm: #c9a962;
    
    /* 透明度层级 */
    --opacity-high: 0.9;
    --opacity-mid: 0.6;
    --opacity-low: 0.3;
    --opacity-subtle: 0.1;
    
    /* 字体 - 微信兼容 */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', 'Courier New', monospace;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font-primary);
    background-color: var(--carbon-black);
    background: var(--carbon-black);
    color: var(--platinum);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* ============================================
   微信浏览器兼容修复
   ============================================ */
.wechat-fix {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ============================================
   PC端禁止访问 - 极简风格
   ============================================ */
.pc-block {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--carbon-black);
    z-index: 9999;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.pc-content {
    text-align: center;
    padding: 60px;
}

.pc-line {
    width: 60px;
    height: 1px;
    background: var(--graphite);
    margin: 30px auto;
}

.pc-content h2 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 8px;
    color: var(--platinum);
    margin-bottom: 16px;
}

.pc-content p {
    font-size: 13px;
    color: var(--silver);
    letter-spacing: 2px;
}

@media screen and (min-width: 768px) {
    .pc-block {
        display: flex;
    }
    .page-container,
    .music-control,
    .page-indicator,
    .progress-indicator,
    .particle-layer {
        display: none !important;
    }
}

/* ============================================
   音乐控制 - 极简线条
   ============================================ */
.music-control {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 3px;
    z-index: 1000;
    cursor: pointer;
    opacity: 0.5;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.music-control:hover {
    opacity: 1;
}

.music-line {
    width: 2px;
    background: var(--silver);
    border-radius: 1px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.music-line:nth-child(1) { height: 8px; }
.music-line:nth-child(2) { height: 16px; }
.music-line:nth-child(3) { height: 12px; }

.music-control.playing .music-line {
    -webkit-animation: soundWave 0.8s ease-in-out infinite;
    animation: soundWave 0.8s ease-in-out infinite;
}

.music-control.playing .music-line:nth-child(1) { -webkit-animation-delay: 0s; animation-delay: 0s; }
.music-control.playing .music-line:nth-child(2) { -webkit-animation-delay: 0.1s; animation-delay: 0.1s; }
.music-control.playing .music-line:nth-child(3) { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; }

/* ============================================
   全局粒子层
   ============================================ */
.particle-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   页面容器 - 电影级滚动
   ============================================ */
.page-container {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    -webkit-scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.screen {
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    scroll-snap-align: start;
    -webkit-scroll-snap-align: start;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 40px 24px;
    overflow: hidden;
    background-color: var(--carbon-black);
}

/* 内容层级 */
.content-layer {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 360px;
    text-align: center;
}

/* ============================================
   页面指示器 - 极简线条
   ============================================ */
.page-indicator {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.indicator-line {
    width: 1px;
    height: 20px;
    background: var(--graphite);
    transition: all 0.4s ease;
}

.indicator-line.active {
    height: 40px;
    background: var(--platinum);
}

/* 进度指示 */
.progress-indicator {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--titanium-gray);
    z-index: 100;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

/* ============================================
   第一屏：城市俯瞰 - 时代点名
   ============================================ */
.screen-1 {
    background: linear-gradient(180deg, var(--carbon-black) 0%, var(--titanium-gray) 100%);
}

.city-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

.city-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, transparent 0%, var(--steel-gray) 100%);
    clip-path: polygon(
        0% 100%, 5% 70%, 10% 85%, 15% 60%, 20% 75%, 25% 55%, 30% 80%,
        35% 65%, 40% 85%, 45% 60%, 50% 75%, 55% 55%, 60% 80%, 65% 65%,
        70% 85%, 75% 60%, 80% 75%, 85% 55%, 90% 80%, 95% 65%, 100% 100%
    );
}

.river-flow {
    position: absolute;
    bottom: 20%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--silver) 50%, transparent 100%);
    opacity: 0.3;
}

.beam-light {
    position: absolute;
    top: 0;
    left: 30%;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-cyan) 0%, transparent 100%);
    opacity: 0.6;
    animation: beamDescend 2s ease-out 0.5s forwards;
}

.era-marker {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--silver);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.main-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 6px;
    line-height: 1.4;
    color: var(--cold-white);
    opacity: 0;
}

.title-line:nth-child(1) {
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.title-line:nth-child(2) {
    animation: fadeInUp 1s ease-out 0.7s forwards;
}

.title-divider {
    width: 40px;
    height: 1px;
    background: var(--accent-cyan);
    margin: 0 auto 24px;
    opacity: 0;
    animation: expandWidth 1s ease-out 0.9s forwards;
}

.sub-title {
    font-size: 16px;
    letter-spacing: 3px;
    color: var(--silver);
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

.recipient-block {
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.3s forwards;
}

.recipient-label {
    font-size: 14px;
    color: var(--graphite);
    margin-right: 8px;
}

.recipient-name {
    display: block;
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--platinum);
    margin: 8px 0;
}

.recipient-person {
    font-size: 15px;
    color: var(--silver);
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.8s forwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--silver) 0%, transparent 100%);
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--graphite);
    text-transform: uppercase;
}

/* ============================================
   第二屏：数据解构
   ============================================ */
.screen-2 {
    background-color: var(--carbon-black);
}

.screen-2 .screen-title {
    margin-bottom: 40px;
}

/* 数据对比 */
.data-contrast {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.contrast-item {
    text-align: center;
    min-width: 120px;
}

.contrast-item.left .contrast-number {
    color: var(--accent-cyan);
}

.contrast-item.right .contrast-number {
    color: var(--graphite);
}

.contrast-number {
    display: block;
    font-size: 42px;
    font-weight: 200;
    letter-spacing: -1px;
    line-height: 1;
}

.contrast-number .unit {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-left: 2px;
}

.contrast-label {
    display: block;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--silver);
    margin-top: 8px;
}

.contrast-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, var(--titanium-gray) 50%, transparent 100%);
}

/* 洞察文本 */
.insight-box {
    margin-bottom: 40px;
    padding: 24px 0;
    border-top: 1px solid var(--titanium-gray);
    border-bottom: 1px solid var(--titanium-gray);
}

.insight-line {
    font-size: 16px;
    line-height: 1.8;
    color: var(--platinum);
    letter-spacing: 1px;
}

.insight-line.dim {
    color: var(--silver);
    opacity: 0.7;
}

.insight-highlight {
    font-size: 18px;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    margin-top: 4px;
    font-weight: 400;
}

.insight-gap {
    height: 16px;
}

/* 碳徽章 */
.carbon-badge {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 16px 32px;
    border: 1px solid #00d4aa;
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

.carbon-badge.visible {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.badge-number {
    font-size: 36px;
    font-weight: 200;
    color: var(--accent-cyan);
    letter-spacing: -1px;
}

.badge-number .unit {
    font-size: 14px;
    font-weight: 400;
    margin-left: 4px;
}

.badge-label {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--silver);
    margin-top: 6px;
}

.screen-title {
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.5;
    color: var(--cold-white);
    margin-bottom: 40px;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   第三屏：价值转化
   ============================================ */
.screen-3 {
    background-color: var(--carbon-black);
}

.screen-3 .screen-title {
    margin-bottom: 30px;
}

/* 真相文本 */
.truth-box {
    margin-bottom: 40px;
}

.truth-text {
    font-size: 17px;
    color: #e8e8e8;
    line-height: 1.6;
    margin-bottom: 8px;
}

.truth-white {
    color: #e8e8e8;
}

.truth-highlight {
    font-size: 18px;
    color: #00d4aa;
    letter-spacing: 2px;
}

/* 价值流程 */
.value-flow {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.flow-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 10px;
    min-width: 70px;
}

.flow-item.core {
    gap: 8px;
}

.core-circle {
    width: 60px;
    height: 60px;
    border: 1px solid #00d4aa;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.1) 0%, transparent 70%);
    -webkit-animation: breathe 3s ease-in-out infinite;
    animation: breathe 3s ease-in-out infinite;
}

.item-label {
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--silver);
}

.flow-item.core .item-label {
    color: var(--accent-cyan);
}

.flow-arrow {
    font-size: 16px;
    color: var(--graphite);
    margin-top: 20px;
}

/* 价值列表 */
.value-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.list-item {
    font-size: 15px;
    color: var(--platinum);
    letter-spacing: 1px;
    padding: 8px 0;
}

/* ============================================
   第四屏：破局合伙人 - 极简画廊
   ============================================ */
.screen-4 {
    background: var(--carbon-black);
}

.gallery-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid-line {
    position: absolute;
    background: var(--titanium-gray);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line.horizontal:nth-child(1) { top: 33%; opacity: 0.3; }
.grid-line.horizontal:nth-child(2) { top: 66%; opacity: 0.2; }

.grid-line.vertical {
    width: 1px;
    height: 100%;
}

.grid-line.vertical:nth-child(3) { left: 25%; opacity: 0.3; }
.grid-line.vertical:nth-child(4) { left: 75%; opacity: 0.2; }

.location-marker {
    position: absolute;
    top: 60%;
    left: 30%;
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.3;
    animation: markerPulse 3s ease-out infinite;
}

.marker-core {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    position: relative;
    z-index: 10;
}

.partner-statement {
    margin: 30px 0 40px;
}

.statement-main {
    font-size: 17px;
    letter-spacing: 2px;
    color: var(--silver);
}

.genes-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.gene-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-left: 1px solid var(--titanium-gray);
    background: linear-gradient(90deg, rgba(42,42,46,0.3) 0%, transparent 100%);
    text-align: left;
}

.gene-index {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    min-width: 20px;
}

.gene-content h3 {
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--platinum);
    margin-bottom: 6px;
}

.gene-content p {
    font-size: 15px;
    color: var(--silver);
    line-height: 1.6;
}

.commitment-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}

.commitment-line {
    width: 30px;
    height: 1px;
    background: var(--titanium-gray);
}

.commitment-text-wrap {
    text-align: center;
}

.commitment-text {
    font-size: 15px;
    letter-spacing: 3px;
    color: var(--platinum);
    margin-bottom: 4px;
}

.commitment-text-sub {
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--silver);
}

/* ============================================
   第五屏：种子计划 - 克制留白
   ============================================ */
.screen-5 {
    background: var(--carbon-black);
}

.minimal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.architectural-line {
    position: absolute;
    background: var(--titanium-gray);
}

.line-1 {
    width: 1px;
    height: 30%;
    top: 10%;
    left: 20%;
    opacity: 0.2;
}

.line-2 {
    width: 60%;
    height: 1px;
    top: 40%;
    left: 20%;
    opacity: 0.15;
}

.line-3 {
    width: 1px;
    height: 40%;
    bottom: 10%;
    right: 25%;
    opacity: 0.2;
}

.content-layer.minimal {
    text-align: left;
}

.section-marker.light {
    color: var(--silver);
    opacity: 0.5;
}

.seed-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.seed-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--silver);
}

.seed-divider {
    flex: 1;
    height: 1px;
    background: var(--titanium-gray);
}

.screen-title.minimal {
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.minimal-subtitle {
    font-size: 15px;
    letter-spacing: 2px;
    color: var(--silver);
    margin-bottom: 50px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.service-number {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 200;
    color: var(--accent-cyan);
    opacity: 0.5;
    min-width: 30px;
}

.service-content h3 {
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--platinum);
    margin-bottom: 6px;
}

.service-content p {
    font-size: 15px;
    color: var(--silver);
}

.data-point {
    padding: 16px 0;
    border-top: 1px solid var(--titanium-gray);
}

.point-label {
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--graphite);
    margin-right: 12px;
}

.point-value {
    font-size: 15px;
    letter-spacing: 1px;
    color: var(--accent-cyan);
}

/* ============================================
   第六屏：共创邀约 - 机密白皮书
   ============================================ */
.screen-6 {
    background: var(--titanium-gray);
}

.document-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-family: var(--font-mono);
    font-size: 80px;
    font-weight: 700;
    color: var(--steel-gray);
    opacity: 0.05;
    letter-spacing: 10px;
    pointer-events: none;
}

.document-border {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--graphite);
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--silver);
    border-style: solid;
}

.corner-tl {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.corner-tr {
    top: -1px;
    right: -1px;
    border-width: 1px 1px 0 0;
}

.corner-bl {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 1px 1px;
}

.corner-br {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

.content-layer.document {
    text-align: left;
    padding: 40px 20px;
}

.doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--graphite);
}

.doc-classification {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--accent-cyan);
}

.doc-code {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--silver);
}

.doc-title-block {
    margin-bottom: 40px;
}

.doc-title {
    font-size: 34px;
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--cold-white);
    margin-bottom: 12px;
}

.title-underline {
    width: 60px;
    height: 1px;
    background: var(--accent-cyan);
}

.invitation-content {
    margin-bottom: 40px;
}

.invitation-salutation {
    font-size: 17px;
    color: var(--platinum);
    margin-bottom: 20px;
}

.invitation-body {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--cold-white);
    margin-bottom: 20px;
    line-height: 1.8;
}

.invitation-offer {
    font-size: 16px;
    line-height: 1.8;
    color: var(--silver);
    margin-bottom: 20px;
}

.invitation-pledge {
    font-size: 16px;
    font-style: italic;
    color: var(--accent-cyan);
    letter-spacing: 1px;
}

.form-section {
    border-top: 1px solid var(--graphite);
    padding-top: 30px;
}

.form-section.hidden {
    display: none;
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.form-divider .divider-line {
    flex: 1;
    height: 1px;
    background: var(--titanium-gray);
}

.divider-text {
    font-size: 15px;
    letter-spacing: 3px;
    color: var(--silver);
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
}

.form-field {
    position: relative;
}

.form-field input {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--graphite);
    color: var(--platinum);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-field input:focus {
    border-color: var(--accent-cyan);
}

.form-field label {
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 12px;
    color: var(--silver);
    letter-spacing: 1px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 10px;
    color: var(--accent-cyan);
}

.field-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.form-field input:focus ~ .field-line {
    width: 100%;
}

.action-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-option {
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: 1px solid var(--graphite);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-option:hover {
    border-color: var(--accent-cyan);
    background: rgba(0,212,170,0.05);
}

.option-label {
    display: block;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--platinum);
    margin-bottom: 4px;
}

.option-desc {
    display: block;
    font-size: 11px;
    color: var(--silver);
}

.success-state {
    text-align: center;
    padding: 40px 0;
    display: none;
}

.success-state.visible {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.success-mark {
    width: 50px;
    height: 50px;
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
}

.success-mark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) rotate(45deg);
    width: 8px;
    height: 16px;
    border-right: 1px solid var(--accent-cyan);
    border-bottom: 1px solid var(--accent-cyan);
}

.success-text {
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--platinum);
    margin-bottom: 8px;
}

.success-sub {
    font-size: 12px;
    color: var(--silver);
}

/* ============================================
   一键拨号
   ============================================ */
.call-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--steel-gray);
    text-align: center;
}

.call-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: transparent;
    border: 1px solid var(--accent-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

.call-button:active {
    background: rgba(0, 212, 170, 0.1);
}

.call-icon {
    width: 16px;
    height: 16px;
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    position: relative;
}

.call-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
}

.call-text {
    font-size: 17px;
    letter-spacing: 3px;
    color: var(--accent-cyan);
}

.call-hint {
    margin-top: 12px;
    font-size: 14px;
    color: var(--graphite);
    letter-spacing: 1px;
}

/* 展示墙入口 */
.wall-entry {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #2a2a2e;
    text-align: center;
}

.wall-link {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: rgba(0, 212, 170, 0.05);
    border: 1px solid #3a3a40;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    min-width: 200px;
}

.wall-link:active {
    background: rgba(0, 212, 170, 0.1);
    border-color: #00d4aa;
}

.wall-icon {
    font-size: 10px;
    color: #00d4aa;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.wall-text {
    font-size: 13px;
    letter-spacing: 1px;
    color: #c0c0c0;
    line-height: 1.4;
    white-space: nowrap;
}

.wall-arrow {
    font-size: 12px;
    color: #00d4aa;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.wall-link:active .wall-arrow {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
}

/* ============================================
   动画定义
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 40px;
        opacity: 1;
    }
}

@-webkit-keyframes soundWave {
    0%, 100% { -webkit-transform: scaleY(1); transform: scaleY(1); }
    50% { -webkit-transform: scaleY(1.5); transform: scaleY(1.5); }
}

@keyframes soundWave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

@keyframes beamDescend {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: 60%;
        opacity: 0.6;
    }
}

@keyframes scrollPulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% { 
        opacity: 0.8;
        transform: scaleY(1.1);
    }
}

@keyframes markerPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(0,212,170,0);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(0,212,170,0.3);
    }
}

/* ============================================
   屏幕进入动画
   ============================================ */
.screen.active .content-layer > * {
    animation: fadeInUp 0.8s ease-out both;
}

.screen.active .content-layer > *:nth-child(1) { animation-delay: 0.1s; }
.screen.active .content-layer > *:nth-child(2) { animation-delay: 0.2s; }
.screen.active .content-layer > *:nth-child(3) { animation-delay: 0.3s; }
.screen.active .content-layer > *:nth-child(4) { animation-delay: 0.4s; }
.screen.active .content-layer > *:nth-child(5) { animation-delay: 0.5s; }

/* ============================================
   响应式调整
   ============================================ */
@media screen and (max-height: 700px) {
    .screen {
        padding: 30px 20px;
    }
    
    .title-line {
        font-size: 24px;
    }
    
    .screen-title {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .data-number {
        font-size: 36px;
    }
    
    .gene-card {
        padding: 16px;
    }
    
    .services-list {
        gap: 20px;
    }
    
    .doc-title {
        font-size: 24px;
    }
}

@media screen and (max-height: 600px) {
    .title-line {
        font-size: 20px;
    }
    
    .recipient-block {
        margin-bottom: 30px;
    }
    
    .data-display {
        gap: 16px;
        margin-bottom: 30px;
    }
    
    .genes-gallery {
        gap: 12px;
    }
}
