/* ===== CSS Variables - 时尚杂志风格 ===== */
:root {
    /* 奶油白底 + 深棕金配色 */
    --background: #F8F6F3;
    --foreground: #2C2418;
    --card: #FDFCFA;
    --card-foreground: #2C2418;
    --primary: #8B6914;
    --primary-light: #A68B3D;
    --primary-foreground: #FDFCFA;
    --secondary: #F0EBE3;
    --secondary-foreground: #3D3425;
    --muted: #E8E3DA;
    --muted-foreground: #7A7062;
    --accent: #A68B3D;
    --border: #DDD7CC;
    --success: #4A7C59;
    --error: #9B4D4D;
    --radius: 4px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

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

@media (min-width: 1024px) {
    .container {
        padding: 0 64px;
    }
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', 'Noto Serif SC', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

.text-primary {
    color: var(--primary);
    font-weight: 500;
}

.divider {
    color: var(--primary);
    margin: 0 8px;
}

/* ===== Animations ===== */
@keyframes subtle-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes reveal-line {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    30% { transform: translate(3%, 5%); }
    50% { transform: translate(-15%, 10%); }
    70% { transform: translate(9%, -5%); }
    90% { transform: translate(-2%, 15%); }
}

@keyframes confirmPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* 胶片颗粒纹理 */
.grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.grain::before {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    animation: grain 8s steps(10) infinite;
}

/* 科技细线 */
.tech-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 105, 20, 0.2), transparent);
    z-index: 2;
}

.tech-line.top { top: 0; }
.tech-line.bottom { bottom: 0; }

/* 玻璃态 */
.glass-light {
    background: rgba(253, 252, 250, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(221, 215, 204, 0.5);
}

/* 金色光晕 */
.glow-gold {
    box-shadow: 0 0 50px -12px rgba(139, 105, 20, 0.25);
}

/* 脉冲点 */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse-soft 4s ease-in-out infinite;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 0 50px -12px rgba(139, 105, 20, 0.25);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Hero 双轨按钮 */
.hero-cta.dual-track {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-web2,
.btn-web3 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    min-width: 180px;
}

.btn-icon {
    font-size: 1.4rem;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-main {
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-sub {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 2px;
}

.btn-hero.btn-web2 {
    background: linear-gradient(135deg, #A68B3D 0%, #8B6914 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(139, 105, 20, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-hero.btn-web2:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 105, 20, 0.5);
}

.btn-outline.btn-web3 {
    background: rgba(255, 255, 255, 0.1);
    color: var(--foreground);
    border: 1px solid rgba(139, 105, 20, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-outline.btn-web3:hover {
    border-color: var(--primary);
    background: rgba(139, 105, 20, 0.1);
    box-shadow: 0 0 20px rgba(139, 105, 20, 0.2);
}

.hero-hint {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--muted-foreground);
    text-align: center;
}

/* 原有按钮样式保留 */
.btn-hero:not(.btn-web2) {
    background: linear-gradient(135deg, #A68B3D 0%, #8B6914 100%);
    color: white;
    padding: 20px 40px;
    font-size: 0.9rem;
    box-shadow: 0 8px 32px rgba(139, 105, 20, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-hero:not(.btn-web2):hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 105, 20, 0.5);
}

.btn-outline:not(.btn-web3) {
    background: transparent;
    color: var(--foreground);
    border: 1px solid rgba(139, 105, 20, 0.3);
}

.btn-outline:not(.btn-web3):hover {
    border-color: var(--primary);
    background: rgba(139, 105, 20, 0.05);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-large {
    padding: 20px 40px;
    font-size: 0.85rem;
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

/* ===== Section Common ===== */
section {
    position: relative;
    overflow: hidden;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary);
    font-family: monospace;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 24px;
    font-weight: 300;
    line-height: 1.2;
}

.section-title.large {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

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

.section-title .highlight {
    color: var(--primary);
    font-style: italic;
}

.section-desc {
    color: var(--muted-foreground);
    max-width: 450px;
    margin-bottom: 48px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--background) 0%, rgba(248, 246, 243, 0.9) 50%, rgba(248, 246, 243, 0.4) 100%);
}

.hero-overlay-top {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--background) 0%, transparent 50%, rgba(248, 246, 243, 0.3) 100%);
}

/* 侧边装饰 */
.side-decoration {
    position: absolute;
    left: 32px;
    top: 25%;
    bottom: 25%;
    display: none;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

@media (min-width: 1024px) {
    .side-decoration {
        display: flex;
    }
}

.side-line {
    width: 1px;
    flex: 1;
    background: linear-gradient(to bottom, transparent, rgba(139, 105, 20, 0.2), transparent);
}

.side-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.side-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(139, 105, 20, 0.3);
}

.side-dots .dot.active {
    width: 8px;
    height: 8px;
    background: var(--primary);
}

.hero-container {
    position: relative;
    z-index: 10;
    padding: 120px 0 80px;
}

.hero-content {
    max-width: 650px;
}

@media (min-width: 1024px) {
    .hero-content {
        padding-left: 48px;
    }
}

/* 品牌标识 */
.brand-tag {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.brand-line {
    width: 48px;
    height: 1px;
    background: var(--primary);
    animation: reveal-line 1s ease-out forwards;
    transform-origin: left;
}

.brand-text {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary);
    font-family: monospace;
}

/* 主标题 */
.hero-titles {
    margin-bottom: 32px;
}

.hero-hook {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.95;
    font-weight: 300;
}

.title-main {
    display: block;
    color: var(--foreground);
}

.title-highlight {
    display: block;
    color: var(--primary);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--foreground);
    opacity: 0.7;
    margin-bottom: 48px;
    max-width: 400px;
    line-height: 1.8;
    font-weight: 300;
}

/* CTA 按钮 */
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 80px;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* 底部数据 */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--primary);
}

.stat-item:not(:first-child) .stat-value {
    color: var(--foreground);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--muted-foreground);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    right: 32px;
    bottom: 48px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

@media (min-width: 1024px) {
    .scroll-hint {
        display: flex;
    }
}

.scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--muted-foreground);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.scroll-line {
    width: 1px;
    height: 64px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

/* ===== Features Section ===== */
.features-section {
    padding: 128px 0;
    position: relative;
}

.features-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--background) 0%, var(--secondary) 50%, var(--background) 100%);
    z-index: 0;
}

.features-section .container {
    position: relative;
    z-index: 1;
}

.features-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    flex-wrap: wrap;
    gap: 24px;
}

.features-count {
    text-align: right;
    display: none;
}

@media (min-width: 768px) {
    .features-count {
        display: block;
    }
}

.count-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    color: rgba(139, 105, 20, 0.15);
    line-height: 1;
}

.count-label {
    font-size: 0.7rem;
    color: var(--muted-foreground);
    letter-spacing: 0.1em;
}

/* 特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--border);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: var(--background);
    padding: 48px 32px;
    position: relative;
    transition: background 0.5s ease;
}

.feature-card:hover {
    background: var(--secondary);
}

.feature-corner {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
}

.feature-corner::before,
.feature-corner::after {
    content: '';
    position: absolute;
    background: var(--border);
    transition: background 0.3s ease;
}

.feature-corner::before {
    top: 0;
    right: 0;
    width: 100%;
    height: 1px;
}

.feature-corner::after {
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
}

.feature-card:hover .feature-corner::before,
.feature-card:hover .feature-corner::after {
    background: rgba(139, 105, 20, 0.4);
}

.feature-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.feature-number {
    font-family: monospace;
    font-size: 3.5rem;
    font-weight: 300;
    color: rgba(139, 105, 20, 0.2);
    line-height: 1;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-number {
    color: rgba(139, 105, 20, 0.4);
}

.feature-info {
    flex: 1;
    padding-top: 8px;
}

.feature-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.feature-title-row h3 {
    font-size: 1.25rem;
    font-weight: 500;
    font-family: inherit;
}

.feature-tag {
    font-size: 0.6rem;
    font-family: monospace;
    color: var(--primary);
    padding: 4px 8px;
    border: 1px solid rgba(139, 105, 20, 0.3);
    border-radius: 2px;
    background: rgba(139, 105, 20, 0.05);
}

.feature-info p {
    font-size: 0.95rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* ===== Clauses Section ===== */
.clauses-section {
    padding: 128px 0;
    position: relative;
}

.clauses-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.clauses-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.clauses-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--background) 0%, rgba(248, 246, 243, 0.95) 50%, rgba(248, 246, 243, 0.85) 100%);
}

.clauses-section .container {
    position: relative;
    z-index: 2;
}

.clauses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: center;
}

@media (min-width: 1024px) {
    .clauses-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* 条款分类选择 */
.clause-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.clause-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    text-align: left;
    background: transparent;
    border: none;
    border-left: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.clause-tab:hover {
    background: rgba(139, 105, 20, 0.05);
}

.clause-tab.active {
    background: rgba(139, 105, 20, 0.1);
    border-left-color: var(--primary);
}

.tab-number {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.clause-tab.active .tab-number {
    color: var(--primary);
}

.tab-title {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.clause-tab.active .tab-title {
    color: var(--foreground);
}

.tab-arrow {
    margin-left: auto;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    color: var(--primary);
}

.clause-tab.active .tab-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* 条款展示卡片 */
.clauses-display {
    position: relative;
}

.clauses-card {
    padding: 32px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .clauses-card {
        padding: 48px;
    }
}

.clauses-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.clauses-card-header h3 {
    font-size: 1.5rem;
}

.clauses-card-tag {
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--muted-foreground);
}

.clauses-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.clause-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.clause-item.hidden {
    display: none;
}

.clause-checkbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(139, 105, 20, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.clause-checkbox-wrapper:hover {
    background: rgba(139, 105, 20, 0.05);
}

.clause-checkbox {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.clause-number {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--primary);
}

.clause-checkbox:checked + .clause-number::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-foreground);
}

.clause-checkbox:checked ~ .clause-number {
    opacity: 0;
}

.clause-checkbox-wrapper:has(.clause-checkbox:checked) {
    background: var(--primary);
    border-color: var(--primary);
}

.clause-checkbox-wrapper:has(.clause-checkbox:checked)::after {
    content: '✓';
    color: var(--primary-foreground);
    font-size: 0.85rem;
}

/* 自动加入的条款样式 */
.clause-item.auto-included {
    opacity: 0.85;
    background: rgba(139, 105, 20, 0.05);
    border-left: 3px solid var(--primary);
    padding-left: 16px;
}

.clause-check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 600;
}

.clause-item p {
    color: var(--foreground);
    opacity: 0.8;
    line-height: 1.6;
    padding-top: 4px;
}

.clauses-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.clauses-card-footer:hover {
    color: var(--primary);
}

.clauses-card-footer svg {
    color: var(--primary);
}

/* 装饰框 */
.clauses-decoration {
    position: absolute;
    width: 96px;
    height: 96px;
    z-index: 0;
}

.clauses-decoration.top-left {
    top: -16px;
    left: -16px;
    border-top: 1px solid rgba(139, 105, 20, 0.3);
    border-left: 1px solid rgba(139, 105, 20, 0.3);
}

.clauses-decoration.bottom-right {
    bottom: -16px;
    right: -16px;
    border-bottom: 1px solid rgba(139, 105, 20, 0.3);
    border-right: 1px solid rgba(139, 105, 20, 0.3);
}

/* 不可写条款 */
.not-supported {
    max-width: 520px;
    margin: 48px auto 0;
    padding: 28px 32px;
    background: var(--card);
    border: 1px solid var(--border);
    text-align: left;
    position: relative;
}

.not-supported::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: #9B4D4D;
}

.not-supported-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.not-supported-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #9B4D4D;
}

.not-supported-icon svg {
    width: 18px;
    height: 18px;
}

.not-supported h4 {
    font-size: 0.95rem;
    color: #9B4D4D;
    font-weight: 500;
    font-family: inherit;
    margin: 0;
}

.not-supported-list {
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0;
}

.not-supported-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.not-supported-list li:last-child {
    border-bottom: none;
}

.x-icon {
    color: #9B4D4D;
    font-size: 0.85rem;
    font-weight: 400;
    flex-shrink: 0;
    opacity: 0.7;
}

.not-supported-note {
    font-size: 0.9rem;
    color: var(--primary);
    font-style: italic;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
}

/* ===== Story Section ===== */
.story-section {
    padding: 128px 0;
    background: var(--secondary);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .story-grid {
        grid-template-columns: 5fr 7fr;
        gap: 64px;
    }
}

/* 左侧图片 */
.story-image {
    position: relative;
}

.story-image-wrapper {
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
}

.story-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(248, 246, 243, 0.6) 0%, transparent 50%);
}

.story-badge {
    position: absolute;
    font-size: 0.7rem;
    font-family: monospace;
    letter-spacing: 0.1em;
    padding: 6px 10px;
    background: rgba(248, 246, 243, 0.8);
}

.story-badge.top-left {
    top: 16px;
    left: 16px;
    color: var(--muted-foreground);
}

.story-badge.bottom-right {
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

/* 浮动卡片 */
.story-float-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    padding: 24px;
    max-width: 200px;
}

@media (max-width: 1023px) {
    .story-float-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 24px;
        max-width: 100%;
    }
}

.float-card-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.float-card-text {
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

/* 右侧内容 */
.story-content {
    padding-left: 0;
}

@media (min-width: 1024px) {
    .story-content {
        padding-left: 48px;
    }
}

.story-text {
    margin-bottom: 48px;
}

.story-text p {
    color: var(--muted-foreground);
    line-height: 1.9;
    margin-bottom: 24px;
}

.story-lead {
    font-size: 1.1rem;
    color: var(--foreground) !important;
    opacity: 0.8;
}

/* 签名 */
.story-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    margin-bottom: 48px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(139, 105, 20, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: var(--primary);
}

.author-name {
    font-weight: 500;
    color: var(--foreground);
}

.author-title {
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

/* 技术标签 */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    background: var(--background);
}

.tag-name {
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--primary);
}

.tag-value {
    font-size: 0.7rem;
    color: var(--muted-foreground);
}

/* ===== Create Section ===== */
.create-section {
    padding: 128px 0;
    position: relative;
    background: var(--background);
}

.create-header {
    text-align: center;
    margin-bottom: 64px;
}

.create-price {
    color: var(--foreground);
    font-size: 1.1rem;
    margin-top: 24px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 400;
}

.price-meaning {
    font-size: 1rem;
    color: var(--muted-foreground);
    font-style: italic;
}

.create-price-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted-foreground);
    margin-top: 8px;
}

.price-divider {
    margin: 0 12px;
    color: var(--border);
}

/* 表单 */
.covenant-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--foreground);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-foreground);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Photo Upload */
.photo-upload {
    position: relative;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: var(--card);
    border: 1px dashed var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-placeholder:hover {
    border-color: var(--primary);
    background: var(--secondary);
}

.upload-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.upload-text {
    font-size: 0.95rem;
    color: var(--foreground);
}

.upload-hint {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    margin-top: 6px;
}

.upload-preview {
    position: relative;
}

.upload-preview img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}

.remove-photo {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: var(--foreground);
    border: none;
    border-radius: 50%;
    color: var(--background);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.remove-photo:hover {
    background: var(--error);
}

/* Selected Clauses Preview */
.selected-clauses {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 20px 24px;
    margin-bottom: 28px;
    border-left: 2px solid var(--primary);
}

.selected-clauses h4 {
    font-size: 0.85rem;
    margin-bottom: 12px;
    color: var(--muted-foreground);
    font-weight: 500;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.selected-clauses h4 .clause-count {
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.clauses-preview-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.clauses-preview-list .clause-preview-item {
    padding: 10px 14px;
    background: var(--primary);
    background: rgba(139, 105, 20, 0.08);
    border-left: 2px solid var(--primary);
    font-size: 0.85rem;
    color: var(--foreground);
    line-height: 1.4;
}

.clauses-preview-list .clause-preview-item::before {
    content: '✓';
    color: var(--primary);
    margin-right: 8px;
    font-weight: 600;
}

.no-clauses {
    color: var(--muted-foreground);
    font-size: 0.85rem;
    font-style: italic;
    padding: 8px 0;
}

/* Disclaimer Box */
.disclaimer-box {
    background: rgba(139, 105, 20, 0.05);
    border: 1px solid rgba(139, 105, 20, 0.2);
    padding: 24px;
    margin-bottom: 28px;
}

.disclaimer-box h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 500;
    font-family: inherit;
}

.disclaimer-content {
    margin-bottom: 20px;
}

.disclaimer-content p {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    margin-bottom: 8px;
}

.disclaimer-content strong {
    color: var(--primary);
}

.agreement-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.agreement-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.agreement-check span {
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

/* Long Press Button */
.form-submit {
    padding-top: 24px;
}

.long-press-container {
    text-align: center;
}

.long-press-btn {
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.long-press-btn .btn-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: rgba(255, 255, 255, 0.25);
    transition: none;
    pointer-events: none;
}

.long-press-btn.pressing .btn-progress {
    transition: width 3s linear;
    width: 100%;
}

.long-press-btn.confirmed {
    background: var(--success);
    pointer-events: none;
}

.long-press-btn.confirmed .btn-text::after {
    content: ' ✓';
}

.long-press-btn.pulse {
    animation: confirmPulse 0.3s ease;
}

.long-press-container {
    text-align: center;
}

.long-press-hint {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--foreground);
    font-weight: 500;
}

/* ===== Loading Overlay ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 246, 243, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading-overlay.active {
    display: flex;
    opacity: 1;
}

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

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.2rem;
    color: var(--foreground);
    font-weight: 600;
    margin-bottom: 8px;
}

.loading-subtext {
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

/* ===== Footer ===== */
.footer {
    position: relative;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 80px 0 40px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-tech {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--muted-foreground);
}

.footer-bottom {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--muted-foreground);
    opacity: 0.7;
}

/* ===== Modal Styles ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 36, 24, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--muted-foreground);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--error);
    border-color: var(--error);
    color: white;
}

/* Payment Modal */
.payment-modal {
    text-align: center;
}

.payment-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 400;
}

.payment-note {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    min-height: 180px;
}

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

.qr-placeholder {
    width: 140px;
    height: 140px;
    background: var(--secondary);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.qr-placeholder span {
    color: var(--foreground);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.qr-mock {
    width: 80px;
    height: 80px;
    background: var(--muted);
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--muted-foreground);
    padding: 8px;
    text-align: center;
    line-height: 1.2;
}

.qr-code-text {
    font-size: 0.6rem;
    color: var(--foreground);
    margin-bottom: 4px;
}

.qr-code-hint {
    font-size: 0.5rem;
    color: var(--muted-foreground);
}

.qr-label {
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

/* 支付信息 */
.payment-info {
    background: var(--secondary);
    padding: 16px;
    margin-bottom: 24px;
    border-radius: var(--radius);
    text-align: left;
}

.payment-order-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.payment-order-info:last-child {
    border-bottom: none;
}

.payment-label {
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

.payment-value {
    font-size: 0.85rem;
    color: var(--foreground);
    font-weight: 500;
    font-family: monospace;
}

.payment-status {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

/* 加载状态 */
.qr-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 0;
}

.loading-spinner.small {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.qr-loading p {
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

.payment-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    font-size: 1rem;
    text-align: center;
    font-family: inherit;
}

.payment-input:focus {
    outline: none;
    border-color: var(--primary);
}

.payment-help {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    margin-top: 20px;
}

/* Success Modal */
.success-modal {
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.success-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--success);
    font-weight: 400;
}

.success-modal p {
    color: var(--muted-foreground);
    margin-bottom: 8px;
}

.success-note {
    font-size: 0.9rem;
}

.success-hint {
    font-size: 0.9rem;
    color: var(--primary);
    font-style: italic;
    margin-top: 20px;
    padding: 16px;
    background: rgba(139, 105, 20, 0.08);
}

.covenant-number {
    text-align: center;
    padding: 24px;
    margin-bottom: 24px;
    background: var(--secondary);
}

.covenant-number-label {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    margin-bottom: 6px;
}

.covenant-number-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary);
}

.success-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.success-actions .btn {
    flex: 1;
}

/* Privacy Modal */
.privacy-modal {
    text-align: left;
}

.privacy-modal h3 {
    text-align: center;
    margin-bottom: 32px;
    font-weight: 400;
}

.privacy-content h4 {
    font-size: 1rem;
    color: var(--primary);
    margin: 24px 0 10px;
    font-weight: 500;
    font-family: inherit;
}

.privacy-content h4:first-child {
    margin-top: 0;
}

.privacy-content p {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* Web3 Modal */
.web3-modal {
    text-align: center;
    max-width: 420px;
}

.web3-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.web3-modal h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--foreground);
    font-weight: 500;
}

.web3-status {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 24px;
    padding: 8px 16px;
    background: rgba(139, 105, 20, 0.1);
    display: inline-block;
}

.web3-info {
    text-align: left;
    background: var(--secondary);
    padding: 20px;
    margin-bottom: 24px;
}

.web3-info p {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    margin-bottom: 12px;
}

.web3-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.web3-info li {
    font-size: 0.85rem;
    color: var(--foreground);
    padding: 6px 0;
}

.web3-note {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    /* 基础调整 */
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 80px 0;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 0;
        padding: 100px 0 60px;
    }
    
    .hero-container {
        padding: 80px 0 40px;
    }
    
    .hero-content {
        padding-left: 0;
        text-align: center;
    }
    
    .brand-tag {
        justify-content: center;
        margin-bottom: 32px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-hook {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin: 0 auto 32px;
        text-align: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        margin-bottom: 48px;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 16px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-divider {
        height: 32px;
    }
    
    /* Features Section */
    .features-section {
        padding: 64px 0;
    }
    
    .features-header {
        margin-bottom: 48px;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 32px 20px;
    }
    
    .feature-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .feature-number {
        font-size: 2.5rem;
    }
    
    .feature-info {
        padding-top: 0;
    }
    
    /* Clauses Section */
    .clauses-section {
        padding: 64px 0;
    }
    
    .clauses-grid {
        gap: 40px;
    }
    
    .clauses-intro {
        text-align: center;
    }
    
    .section-title.large {
        font-size: 2rem;
    }
    
    .section-desc {
        margin: 0 auto 32px;
        text-align: center;
    }
    
    .clause-tabs {
        max-width: 100%;
    }
    
    .clause-tab {
        padding: 12px;
    }
    
    .clauses-card {
        padding: 24px;
    }
    
    .clauses-card-header h3 {
        font-size: 1.25rem;
    }
    
    .clauses-decoration {
        display: none;
    }
    
    .not-supported {
        margin-top: 40px;
        padding: 24px;
    }
    
    /* Story Section */
    .story-section {
        padding: 64px 0;
    }
    
    .story-grid {
        gap: 32px;
    }
    
    .story-content {
        padding-left: 0;
        text-align: center;
    }
    
    .story-text {
        text-align: left;
    }
    
    .story-author {
        justify-content: center;
    }
    
    .tech-tags {
        justify-content: center;
    }
    
    .story-float-card {
        text-align: center;
    }
    
    .float-card-value {
        font-size: 2.5rem;
    }
    
    /* Create Section */
    .create-section {
        padding: 64px 0;
    }
    
    .create-header {
        margin-bottom: 40px;
    }
    
    .create-price {
        font-size: 0.95rem;
    }
    
    .price-divider {
        margin: 0 8px;
    }
    
    .covenant-form {
        padding: 0;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px; /* 防止iOS缩放 */
    }
    
    .upload-placeholder {
        padding: 32px 16px;
    }
    
    .disclaimer-box {
        padding: 20px;
    }
    
    .long-press-btn {
        padding: 18px 24px;
    }
    
    /* Footer */
    .footer-content {
        padding: 48px 0 32px;
        gap: 24px;
    }
    
    .footer-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    /* Modals */
    .modal-content {
        padding: 24px;
        margin: 16px;
    }
    
    .payment-modal h3 {
        font-size: 1.25rem;
    }
    
    .qr-codes {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .qr-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title.large {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .feature-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .clause-item {
        gap: 12px;
    }
    
    .clause-checkbox-wrapper {
        width: 28px;
        height: 28px;
    }
    
    .clause-item p {
        font-size: 0.9rem;
    }
    
    .create-price {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .price-divider {
        display: none;
    }
}
