/* 现代UI设计 - AI Plus 充值平台 */

/* 基础重置和字体 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #2d3748;
    line-height: 1.6;
}

/* 主容器 */
.main-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* 首页顶部营销卡片（纯白圆角背景） */
.header-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

/* 增强的信任度展示区域 */
.trust-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    margin-bottom: 25px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.trust-section::before,
.trust-section::after { display: none; }

.trust-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 0deg at 50% 50%, 
            transparent 0deg, 
            rgba(255, 255, 255, 0.03) 90deg, 
            transparent 180deg, 
            rgba(255, 255, 255, 0.02) 270deg, 
            transparent 360deg);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.hero-section {
    text-align: center;
    padding: 40px 30px 30px;
    color: white;
    position: relative;
    z-index: 2;
}

.hero-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    background: none;
    -webkit-text-fill-color: white;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 0.95rem;
    margin: 0 0 30px 0;
    opacity: 0.8;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.header-content {
    text-align: center;
    margin-bottom: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.logo-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.logo-section h1 {
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 11px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #edf2f7;
    color: #2d3748;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.badge:hover::before {
    left: 100%;
}

.badge.success { background: #e6fffa; color: #285e61; border-color: #b2f5ea; }
.badge.warning { background: #fffaf0; color: #7b341e; border-color: #fbd38d; }

.badge:hover { transform: translateY(-2px); box-shadow: none; }

.guarantee-section {
    padding: 24px;
    background: #ffffff;
    position: relative;
    z-index: 2;
    border-radius: 16px;
    margin: 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.guarantee-header {
    text-align: center;
    margin-bottom: 25px;
}

.guarantee-header h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.guarantee-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.guarantee-item.enhanced {
    background: none;
    border-radius: 0;
    padding: 15px 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    backdrop-filter: none;
}

.guarantee-item.enhanced:hover {
    transform: translateY(-3px);
    box-shadow: none;
    background: none;
}

.guarantee-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.guarantee-icon.security { animation: none; }
.guarantee-icon.verified { animation: none; }
.guarantee-icon.speed { animation: none; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes flash {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
}

.guarantee-content {
    color: #2d3748;
}

.guarantee-content strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
    font-weight: 600;
}

.guarantee-content small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.85;
    line-height: 1.3;
    color: #4a5568;
}

/* 特性区域 - 更紧凑，降低视觉权重 */
.features-section {
    background: transparent;
    border-radius: 0;
    padding: 8px 0 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.feature-card {
    background: none;
    border-radius: 0;
    padding: 8px 4px;
    text-align: center;
    transition: none;
    border: none;
}

.feature-card:hover { transform: none; box-shadow: none; }

.feature-icon {
    width: 28px;
    height: 28px;
    background: #edf2f7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    color: #4a5568;
    font-size: 13px;
}

.feature-content h3 {
    font-size: 12px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 2px;
}

.feature-content p {
    color: #718096;
    font-size: 10px;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    justify-items: center;
}

.stat-card {
    background: none;
    border-radius: 0;
    padding: 6px 0;
    text-align: center;
    transition: none;
}

.stat-card:hover { transform: none; box-shadow: none; }

/* 增强的统计数据样式 */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.stat-item.highlighted {
    text-align: center;
    padding: 10px;
    background: none;
    border-radius: 0;
    min-width: auto;
    transition: all 0.3s ease;
    border: none;
    backdrop-filter: none;
}

.stat-item.highlighted:hover {
    transform: translateY(-3px);
    background: none;
    box-shadow: none;
}

.stat-item.highlighted .kpi-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2px;
}

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

.stat-item.highlighted .kpi-label {
    color: #4a5568;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 流程预览样式 */
.process-preview {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.process-preview h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.step.active {
    transform: scale(1.1);
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: all 0.3s ease;
}

.step.active .step-num {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
    to { box-shadow: 0 0 30px rgba(255, 255, 255, 0.5); }
}

.step-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
    opacity: 0.85;
}

.step-arrow {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: bold;
}

/* 重要：确保我们的样式优先级更高 */
.trust-section .guarantee-item.enhanced {
    background: none !important;
    border-radius: 0 !important;
    padding: 15px 10px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    border: none !important;
    backdrop-filter: none !important;
}

.trust-section .guarantee-item.enhanced:hover {
    transform: translateY(-3px) !important;
    box-shadow: none !important;
    background: none !important;
}

.trust-section .stat-item.highlighted {
    text-align: center !important;
    padding: 10px !important;
    background: none !important;
    border-radius: 0 !important;
    min-width: auto !important;
    transition: all 0.3s ease !important;
    border: none !important;
    backdrop-filter: none !important;
}

.trust-section .stat-item.highlighted:hover {
    transform: translateY(-3px) !important;
    background: none !important;
    box-shadow: none !important;
}

.trust-section .stat-item.highlighted .kpi-number {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    margin-bottom: 2px !important;
    background: none !important;
}

.trust-section .stat-item.highlighted .kpi-label {
    color: #4a5568 !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
}

.trust-section .guarantee-content {
    color: #2d3748 !important;
}

.trust-section .guarantee-content strong {
    display: block !important;
    font-size: 0.9rem !important;
    margin-bottom: 2px !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
}

.trust-section .guarantee-content small {
    display: block !important;
    font-size: 0.75rem !important;
    opacity: 0.85 !important;
    line-height: 1.3 !important;
    color: #4a5568 !important;
}

/* 保持原有样式兼容性 */
.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2px;
}

.stat-label {
    color: #718096;
    font-size: 10px;
    font-weight: 500;
}

/* 步骤指示器 - 修复样式 */
.section-header {
    margin-bottom: 20px;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    backdrop-filter: blur(10px);
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50px;
    right: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
    transform: translateY(-50%);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #a0aec0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.step.done .step-number {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(72, 187, 120, 0.3);
}

.step-label {
    font-size: 12px;
    font-weight: 500;
    color: #718096;
}

.step.active .step-label {
    color: #2d3748;
    font-weight: 600;
}

/* 卡片样式 - 突出输入区域 */
.input-card, .form-card, .status-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(102, 126, 234, 0.1);
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.input-card {
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.input-header, .form-header, .status-header {
    text-align: center;
    margin-bottom: 30px;
}

.input-icon, .form-icon, .status-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 24px;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
}

.input-header h2, .form-header h2, .status-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 6px;
}

.input-header p, .form-header p, .status-header p {
    color: #718096;
    font-size: 14px;
}

/* 输入区域 */
.input-group {
    margin-bottom: 30px;
}

.input-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.input-wrapper input {
    width: 100%;
    padding: 20px 60px 20px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    background: #f7fafc;
    transition: all 0.3s ease;
    outline: none;
}

.input-wrapper input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.paste-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #718096;
    transition: all 0.3s ease;
}

.paste-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.input-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fed7d7;
    border: 1px solid #feb2b2;
    border-radius: 8px;
    color: #c53030;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.input-instructions {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-size: 14px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
    font-size: 16px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    background: #f7fafc;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

/* 复选框样式 */
.checkbox-group {
    margin-bottom: 30px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    color: #2d3748;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 12px;
}

/* 按钮样式 */
.submit-btn {
    width: 100%;
    padding: 20px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* 状态详情 */
.status-details {
    display: grid;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.detail-content {
    flex: 1;
}

.detail-label {
    display: block;
    font-size: 14px;
    color: #718096;
    margin-bottom: 4px;
}

.detail-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

/* 消息样式 */
.message {
    margin-top: 20px;
}

/* 空消息不占空间，避免在第一步产生多余留白 */
.message:empty {
    margin: 0;
    padding: 0;
    height: 0;
    border: 0;
}

.success {
    background: #f0fff4;
    color: #22543d;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #9ae6b4;
    font-weight: 500;
}

.error {
    background: #fed7d7;
    color: #c53030;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #feb2b2;
    font-weight: 500;
}

/* Token 相关样式 */
.token-input-container {
    position: relative;
}

.token-actions {
    margin-top: 16px;
    text-align: right;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-info {
    background: #4299e1;
    color: white;
}

.btn-info:hover {
    background: #3182ce;
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.token-guide {
    margin-top: 20px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.guide-content h4 {
    color: #2d3748;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-content ol {
    margin: 16px 0;
    padding-left: 20px;
}

.guide-content li {
    margin-bottom: 8px;
    color: #4a5568;
}

.error-message {
    color: #c53030;
    font-size: 14px;
    margin-top: 8px;
    padding: 12px 16px;
    background: #fed7d7;
    border: 1px solid #feb2b2;
    border-radius: 8px;
}

/* 模态框样式 */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.modal-header {
    padding: 30px 40px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f7fafc;
}

.modal-header h2 {
    margin: 0;
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: #a0aec0;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #2d3748;
}

.modal-body {
    padding: 40px;
}

.modal-footer {
    padding: 30px 40px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #f7fafc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-container {
        padding: 10px;
    }
    
    .trust-section {
        border-radius: 15px;
        margin-bottom: 20px;
    }
    
    .hero-section {
        padding: 30px 20px 25px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .trust-badges {
        gap: 8px;
        margin-bottom: 0;
    }
    
    .badge {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .trust-section .guarantee-section {
        padding: 25px 20px !important;
        margin: 15px !important;
    }
    
    .trust-section .guarantee-row {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
    
    .trust-section .guarantee-item.enhanced {
        padding: 10px 5px !important;
    }
    
    .trust-section .guarantee-icon {
        font-size: 1.8rem !important;
        margin-bottom: 8px !important;
    }
    
    .trust-section .guarantee-content strong {
        font-size: 0.8rem !important;
    }
    
    .trust-section .guarantee-content small {
        font-size: 0.7rem !important;
    }
    
    .trust-section .stats-row {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
    
    .trust-section .stat-item.highlighted {
        padding: 8px 5px !important;
    }
    
    .trust-section .stat-item.highlighted .stat-number {
        font-size: 1.4rem !important;
    }
    
    .trust-section .stat-item.highlighted .stat-label {
        font-size: 0.7rem !important;
    }
    
    .process-steps {
        gap: 10px;
    }
    
    .step-arrow {
        display: none;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .step {
        flex-direction: row;
        gap: 12px;
    }
    
    .step-num {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .step-indicator {
        gap: 20px;
    }
    
    .step-indicator::before {
        left: 30px;
        right: 30px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    .input-card, .form-card, .status-card {
        padding: 24px 20px;
    }
    
    .input-header h2, .form-header h2, .status-header h2 {
        font-size: 1.5rem;
    }
    
    .input-wrapper input {
        padding: 16px 50px 16px 16px;
        font-size: 16px;
    }
    
    .paste-btn {
        width: 36px;
        height: 36px;
        right: 8px;
    }
    
    .form-group input, .form-group textarea {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .submit-btn {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .detail-item {
        padding: 16px;
        gap: 12px;
    }
    
    .detail-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-header, .modal-body, .modal-footer {
        padding: 20px;
    }
}

/* ===== 管理后台专用样式 ===== */
.admin-container {
    background: #f8f9fa;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.admin-container .main-container {
    max-width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
}

.admin-header {
    background: white;
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-header h1 {
    color: #333;
    font-size: 1.8em;
    font-weight: 300;
    margin: 0;
}

.admin-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.admin-role {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.admin-id {
    color: #666;
    font-size: 12px;
}

.admin-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-content {
    padding: 40px;
}

.admin-container .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.admin-container .stat-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.admin-container .stat-card h3 {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-container .stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d3748;
}

.forms-table {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.forms-table h2 {
    padding: 30px;
    margin: 0;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    color: #333;
    font-size: 1.5em;
    font-weight: 300;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

th {
    background: #f8f9fa;
    font-weight: 600;
    color: #555;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

tr:hover {
    background: #f8f9fa;
}

.token-cell {
    position: relative;
}

.token {
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    cursor: pointer;
    margin-left: 5px;
}

.copy-btn:hover {
    background: #0056b3;
}

.empty {
    color: #999;
    font-style: italic;
}

.status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status.completed {
    background: #d4edda;
    color: #155724;
}

.status.pending {
    background: #fff3cd;
    color: #856404;
}

.remark-text {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.user-list {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 20px;
}

.user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #f8f9fa;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.username {
    font-weight: bold;
    color: #333;
}

.role {
    background: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    display: inline-block;
}

.created-at {
    color: #666;
    font-size: 12px;
}

.user-actions {
    display: flex;
    gap: 10px;
}

/* 管理后台按钮样式 */
.admin-container .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.admin-container .btn-primary {
    background: #007bff;
    color: white;
}

.admin-container .btn-primary:hover {
    background: #0056b3;
}

.admin-container .btn-secondary {
    background: #6c757d;
    color: white;
}

.admin-container .btn-secondary:hover {
    background: #545b62;
}

.admin-container .btn-success {
    background: #28a745;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
}

.admin-container .btn-success:hover {
    background: #1e7e34;
}

.admin-container .btn-danger {
    background: #dc3545;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
}

.admin-container .btn-danger:hover {
    background: #c82333;
}

.admin-container .btn-warning {
    background: #ffc107;
    color: #212529;
    padding: 5px 10px;
    font-size: 12px;
}

.admin-container .btn-warning:hover {
    background: #e0a800;
}

.admin-container .btn-info {
    background: #17a2b8;
    color: white;
}

.admin-container .btn-info:hover {
    background: #138496;
}

.admin-container .btn-sm {
    padding: 4px 8px;
    font-size: 12px;
}

/* 管理后台模态框样式 */
.admin-container .modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.admin-container .modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.admin-container .modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-container .modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5em;
}

.admin-container .close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.admin-container .close:hover {
    color: #000;
}

.admin-container .modal-body {
    padding: 30px;
}

.admin-container .modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.admin-container .modal-body .form-group {
    margin-bottom: 20px;
}

.admin-container .modal-body label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.admin-container .modal-body input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.admin-container .modal-body input:focus {
    outline: none;
    border-color: #667eea;
}

.admin-container .modal-body small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

/* 管理后台响应式 */
@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .admin-content {
        padding: 20px;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 10px 8px;
    }
    
    .token {
        max-width: 100px;
    }
    
    .admin-container .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .admin-container .modal-header, 
    .admin-container .modal-body, 
    .admin-container .modal-footer {
        padding: 20px;
    }
}
@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .badge {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .trust-section .guarantee-section {
        padding: 20px 15px !important;
        margin: 10px !important;
    }
    
    .trust-section .guarantee-header h3 {
        font-size: 0.9rem !important;
    }
    
    .trust-section .guarantee-row {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }
    
    .trust-section .guarantee-item.enhanced {
        padding: 8px 3px !important;
    }
    
    .trust-section .guarantee-icon {
        font-size: 1.5rem !important;
        margin-bottom: 6px !important;
    }
    
    .trust-section .guarantee-content strong {
        font-size: 0.75rem !important;
    }
    
    .trust-section .guarantee-content small {
        font-size: 0.65rem !important;
    }
    
    .trust-section .stats-row {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }
    
    .trust-section .stat-item.highlighted {
        padding: 6px 3px !important;
    }
    
    .trust-section .stat-item.highlighted .stat-number {
        font-size: 1.2rem !important;
    }
    
    .trust-section .stat-item.highlighted .stat-label {
        font-size: 0.65rem !important;
    }
    
    .process-preview h4 {
        font-size: 0.9rem;
    }
    
    .step-text {
        font-size: 0.7rem;
    }
    
    .input-card, .form-card, .status-card {
        padding: 20px 16px;
    }
    
    .step-indicator {
        gap: 16px;
    }
    
    .step-indicator::before {
        left: 20px;
        right: 20px;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .step-label {
        font-size: 11px;
    }
}

.forms-table .table-actions{display:flex;gap:8px;align-items:center;margin:8px 0;flex-wrap:wrap}
.forms-table .table-responsive{width:100%;overflow:auto}
.forms-table table thead th{white-space:nowrap}
.forms-table .token-cell .token{display:inline-block;max-width:320px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
@media (max-width: 1024px){
  .forms-table .token-cell .token{max-width:220px}
}
@media (max-width: 768px){
  .forms-table .token-cell .token{max-width:160px}
}
