/* ============================================
   共创设计师平台 - 高端暗色系设计
   配色：深黑 #0a0a0a / 深灰 #1a1a1a / 金色 #c9a96e / 白 #f0f0f0
   ============================================ */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-elevated: #1c1c1c;
    --border-color: #2a2a2a;
    --border-light: #333333;
    
    --gold: #c9a96e;
    --gold-light: #e0c992;
    --gold-dark: #a08045;
    --gold-glow: rgba(201, 169, 110, 0.15);
    
    --text-primary: #f0ece4;
    --text-secondary: #8a8a8a;
    --text-muted: #555555;
    
    --red: #e74c3c;
    --green: #2ecc71;
    --blue: #3498db;
    
    --font-display: '幼圆', 'YouYuan', 'STXihei', sans-serif;
    --font-body: '幼圆', 'YouYuan', 'STXihei', sans-serif;
    
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

.gold {
    color: var(--gold);
}

/* ============================================
   导航栏
   ============================================ */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-icon {
    color: var(--gold);
    font-size: 18px;
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--gold);
}

.btn-login {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 1px;
}

.btn-login:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

/* ============================================
   英雄区
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 169, 110, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 50% 110%, rgba(201, 169, 110, 0.05), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.statement-badge {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--gold-dark);
    border-radius: 20px;
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 40px;
    background: var(--gold-glow);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-weight: 300;
}

/* ============================================
   核心声明区
   ============================================ */
.declaration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.declaration-line {
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.declaration-text {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 4px;
    white-space: nowrap;
}

.declaration-detail {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 36px;
    margin-bottom: 48px;
    text-align: left;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.declaration-detail p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.exclude-list {
    list-style: none;
    margin-bottom: 20px;
}

.exclude-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

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

.exclude-icon {
    color: var(--red);
    font-size: 14px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.declaration-note {
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 0 !important;
    font-style: italic;
    opacity: 0.8;
}

/* ============================================
   按钮
   ============================================ */
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-primary);
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 169, 110, 0.3);
}

.btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 15px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

.btn-send-code {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    color: var(--gold);
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
}

.btn-send-code:hover {
    background: var(--gold-glow);
}

.btn-send-code:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   演示卡片
   ============================================ */
.hero-visual {
    margin-top: 64px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donation-notice {
    background: var(--bg-card);
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    text-align: center;
    max-width: 400px;
}

.donation-icon {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 16px;
}

.donation-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.demo-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.demo-before, .demo-after {
    flex: 1;
}

.demo-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.demo-label.gold {
    color: var(--gold);
}

.demo-placeholder {
    height: 160px;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    border: 1px dashed var(--border-color);
}

.demo-placeholder.rendered {
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.05), rgba(201, 169, 110, 0.02));
    border-color: var(--gold-dark);
    color: var(--gold);
}

.demo-arrow {
    color: var(--gold);
    flex-shrink: 0;
}

/* ============================================
   功能区
   ============================================ */
.features-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.section-title {
    font-family: var(--font-display);
    font-size: 32px;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--gold-dark);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gold-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: 500;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   工作流程
   ============================================ */
.workflow-section {
    padding: 120px 0;
}

.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
    opacity: 0.7;
}

.step-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

.step-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

.step-connector {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-dark), var(--border-color));
    flex-shrink: 0;
}

/* ============================================
   定价
   ============================================ */
.pricing-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.pricing-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.pricing-featured {
    border-color: var(--gold);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(201, 169, 110, 0.15);
}

.pricing-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gold);
    color: #0a0a0a;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.pricing-header {
    padding: 40px;
    text-align: center;
    background: linear-gradient(180deg, rgba(201, 169, 110, 0.08), transparent);
    border-bottom: 1px solid var(--border-color);
}

.pricing-label {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pricing-amount {
    margin-top: 16px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 24px;
    color: var(--gold);
    font-weight: 300;
}

.price {
    font-size: 64px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.unit {
    font-size: 16px;
    color: var(--text-secondary);
}

.pricing-features {
    padding: 32px 40px;
    list-style: none;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.check {
    color: var(--gold);
    font-weight: 600;
}

/* ============================================
   底部
   ============================================ */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-note {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   弹窗
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
}

.modal-wide {
    max-width: 520px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 22px;
    margin-bottom: 28px;
    letter-spacing: 1px;
}

/* ============================================
   表单
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.optional {
    color: var(--text-muted);
    font-size: 12px;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus {
    border-color: var(--gold);
}

.code-input {
    display: flex;
    gap: 12px;
}

.code-input input {
    flex: 1;
}

.form-hint {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

/* ============================================
   工作台页面
   ============================================ */
.app-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    height: 56px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    flex-shrink: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-info {
    font-size: 13px;
    color: var(--text-secondary);
}

.workspace {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.ws-sidebar {
    width: 320px;
    border-right: 1px solid var(--border-color);
    padding: 24px;
    overflow-y: auto;
    flex-shrink: 0;
    background: var(--bg-secondary);
}

.sidebar-section {
    margin-bottom: 28px;
}

.sidebar-title {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-weight: 400;
}

.ws-main {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 上传区 */
.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--gold);
    background: var(--gold-glow);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.upload-placeholder svg {
    opacity: 0.5;
}

.upload-placeholder span {
    font-size: 14px;
}

.upload-placeholder small {
    font-size: 11px;
    color: var(--text-muted);
}

.upload-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 4px;
    object-fit: contain;
}

.upload-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 14px;
}

/* 风格选择 */
.style-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.style-item {
    padding: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.style-item:hover {
    border-color: var(--border-light);
}

.style-item.active {
    border-color: var(--gold);
    background: var(--gold-glow);
}

.style-thumb {
    height: 48px;
    background: var(--bg-card);
    border-radius: 4px;
    margin-bottom: 8px;
}

.style-name {
    font-size: 12px;
    color: var(--text-secondary);
}

.style-item.active .style-name {
    color: var(--gold);
}

/* 空状态 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-muted);
    text-align: center;
}

.empty-state svg {
    opacity: 0.3;
}

.empty-state p {
    font-size: 14px;
    line-height: 1.8;
}

/* 渲染中 */
.rendering-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.render-animation {
    position: relative;
    width: 120px;
    height: 120px;
}

.render-ring {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.render-ring.inner {
    inset: 16px;
    border-top-color: var(--gold-dark);
    animation-duration: 1.5s;
    animation-direction: reverse;
}

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

.render-status {
    font-size: 16px;
    color: var(--text-primary);
}

.render-hint {
    font-size: 13px;
    color: var(--text-muted);
}

/* 结果区 */
.result-area {
    width: 100%;
    max-width: 800px;
}

.result-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.result-item {
    position: relative;
}

.result-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.result-img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.watermark {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
    font-weight: 700;
    color: rgba(201, 169, 110, 0.15);
    letter-spacing: 4px;
    pointer-events: none;
}

.result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* 历史任务 */
.task-history {
    width: 100%;
    margin-top: 48px;
}

.history-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 400;
    letter-spacing: 1px;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.history-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--transition);
}

.history-item:hover {
    border-color: var(--gold-dark);
}

.history-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.history-info {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-no {
    font-size: 11px;
    color: var(--text-muted);
}

.history-status {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--bg-elevated);
}

.status-2 { color: var(--green); }
.status-1 { color: var(--gold); }
.status-0 { color: var(--text-muted); }
.status-3 { color: var(--red); }

/* ============================================
   下载面板
   ============================================ */
.download-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--gold-dark);
    padding: 16px 24px;
    z-index: 50;
    transform: translateY(100%);
    transition: transform var(--transition);
}

.download-panel.visible,
.download-panel:not([style*="display: none"]) {
    transform: translateY(0);
}

.panel-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.panel-divider {
    color: var(--border-color);
}

.panel-actions {
    display: flex;
    gap: 12px;
}

/* 结算弹窗 */
.checkout-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.checkout-item-no {
    font-size: 13px;
    color: var(--text-secondary);
}

.checkout-item-price {
    font-size: 14px;
    font-weight: 500;
}

.checkout-summary {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
}

.payment-methods h4 {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 400;
}

.pay-options {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.pay-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 14px;
}

.pay-option:hover {
    border-color: var(--border-light);
}

.pay-option.active {
    border-color: var(--gold);
    background: var(--gold-glow);
}

.pay-option input {
    display: none;
}

.pay-icon {
    font-size: 18px;
}

/* ============================================
   Spinner
   ============================================ */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .declaration-text {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .declaration-detail {
        padding: 20px 24px;
    }
    
    .demo-card {
        flex-direction: column;
        gap: 12px;
    }
    
    .demo-arrow {
        transform: rotate(90deg);
    }
    
    .workflow-steps {
        flex-direction: column;
        gap: 24px;
    }
    
    .step-connector {
        width: 1px;
        height: 24px;
        background: linear-gradient(180deg, var(--gold-dark), var(--border-color));
    }
    
    .workspace {
        flex-direction: column;
    }
    
    .ws-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        max-height: 50vh;
    }
    
    .result-compare {
        grid-template-columns: 1fr;
    }
    
    .nav-links .nav-link {
        display: none;
    }
}
