:root {
    --primary: #0a1628;      /* 深海军蓝 */
    --secondary: #1a2d4a;    /* 次深蓝 */
    --accent: #c9a227;       /* 金色 */
    --accent-light: #e8c547; /* 浅金色 */
    --text-primary: #ffffff;
    --text-secondary: #a8b5c9;
    --border: rgba(201, 162, 39, 0.2);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Particles 背景 */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* 顶部导航条 */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
    font-size: 18px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-badges {
    display: flex;
    gap: 16px;
    align-items: center;
}

.badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 6px 12px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 主内容区 */
.main-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 24px 60px;
    text-align: center;
}

/* 信任徽章 */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.trust-badge svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
}

/* 标题区 */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

h1 span {
    color: var(--accent);
}

.subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* 输入区域 */
.input-container {
    background: rgba(26, 45, 74, 0.6);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.input-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-align: left;
}

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

input[type="text"] {
    flex: 1;
    min-width: 280px;
    height: 56px;
    padding: 0 20px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    border-radius: 12px;
    border: 2px solid var(--border);
    background: rgba(10, 22, 40, 0.8);
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s;
}

input[type="text"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1);
}

input::placeholder {
    color: #5a6b82;
}

.btn-main {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    padding: 0 32px;
    height: 56px;
    min-width: 200px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(201, 162, 39, 0.4);
}

/* 进度条 */
.progress-section {
    margin-top: 24px;
}

.progress-rail {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: width 0.4s ease;
}

.status {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* 统计数据 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-badges {
        display: none;
    }
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(26, 45, 74, 0.4);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 底部声明 */
footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px 24px;
    font-size: 12px;
    color: #5a6b82;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.modal-card {
    width: min(480px, 92vw);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    text-align: center;
    margin-bottom: 24px;
}

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

.closex:hover {
    color: var(--accent);
}

.label {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal .progress-rail {
    margin-top: 8px;
}

.mcta {
    text-align: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

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