

        :root {
    --primary: #1ec6e6;
    --primary-dark: #25a4e9;
    --accent: #ffa200;
    --accent-light: #ffb740;
    --success: #15a223;
    --dark: #0f1535;
    --darker: #0a0f25;
    --light: #b8c6e0;
    --card-bg: rgba(20, 30, 60, 0.95);
    --text: #fff;
}

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

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, var(--darker) 60%, var(--primary) 100%);
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 20% 30%, rgba(30, 198, 230, 0.15) 0%, transparent 25%),
            radial-gradient(circle at 80% 70%, rgba(255, 162, 0, 0.1) 0%, transparent 25%);
    z-index: -1;
}

/* 首屏优化 - 精简间距 */
.first-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 16px;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    box-sizing: border-box;
}

.header {
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
}

.ai-bot {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-bot-inner {
    width: 100%;
    height: 100%;
    background: url("../tou﹖z76d3tl8y6ynm.o7.GIF") center/contain no-repeat;
    border-radius: 50%;
}

@keyframes ai-float {
    0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 5px 15px rgba(30, 198, 230, 0.5)); }
    50% { transform: translateY(-10px) scale(1.05); filter: drop-shadow(0 15px 25px rgba(30, 198, 230, 0.7)); }
}

.title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--light);
    text-align: center;
    line-height: 1.3;
}

.card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 20px 15px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.accuracy {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
    text-align: center;
}

.accuracy .percent {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.desc {
    font-size: 0.95rem;
    color: var(--light);
    margin-bottom: 10px;
    line-height: 1.5;
    text-align: center;
}

.input-group {
    width: 100%;
    margin-bottom: 15px;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(35, 43, 69, 0.8);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 198, 230, 0.3);
}

.input-group input::placeholder {
    color: var(--light);
    opacity: 0.7;
}

.btn {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(30, 198, 230, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn::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: all 0.6s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 198, 230, 0.6);
}

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

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

/* 其他部分保持不变 */
.stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 20px 0;
    width: 100%;
}

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

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light);
}

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

.badge {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge i {
    color: var(--accent);
}

.testimonials {
    width: 100%;
    margin: 30px 0;
}

.testimonial {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent);
}

.testimonial-text {
    color: var(--light);
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.ai-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.ai-progress, .ai-result {
    background: rgba(5, 16, 26, 0.95);
    border-radius: 18px;
    padding: 35px 25px;
    max-width: 400px;
    width: 90%;
    color: var(--text);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.progress-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: bold;
}

.progress-box {
    margin: 20px 0;
}

.progress-item {
    margin-bottom: 20px;
}

.progress-label {
    font-size: 1rem;
    margin-bottom: 8px;
    text-align: left;
    color: var(--light);
}

.progress-bar-container {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    width: 0%;
    transition: width 0.8s ease;
}

.result-content {
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

#chat-btn {
    background: linear-gradient(90deg, var(--success), #1db954);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(21, 162, 35, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(21, 162, 35, 0); }
    100% { box-shadow: 0 0 0 0 rgba(21, 162, 35, 0); }
}

.footer {
    width: 100%;
    max-width: 450px;
    margin: 40px auto 0 auto;
    padding: 0 16px 24px 16px;
    box-sizing: border-box;
    text-align: center;
    font-size: 0.9rem;
    color: var(--light);
}

.footer a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent);
    text-decoration: underline;
}

#cookie-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(10, 15, 37, 0.98);
    color: var(--text);
    padding: 16px 20px;
    font-size: 0.95rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

#cookie-accept {
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

#cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 198, 230, 0.4);
}

@media (max-width: 480px) {
    .ai-bot {
        width: 100px;
        height: 100px;
    }

    .title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .stats {
        gap: 15px;
    }

    #cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    #cookie-accept {
        margin-left: 0;
    }

    .trust-badges {
        align-items: center;
    }
}