* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f4f6fb url('/static/img/bgpc.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #2d3748;
    min-height: 100vh;
}
/* 移动端使用不同的背景图 */
@media (max-width: 600px) {
    body {
        background: #f4f6fb url('/static/img/bgm.jpg') no-repeat center center fixed;
        background-size: cover;
    }
}
.top {
    background: transparent;                /* 导航栏完全透明 */
    border-bottom: 1px solid rgba(255,255,255,0.1); /* 极淡的分隔线，可选 */
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.top .logo { position: absolute; left: 20px; display: flex; align-items: center; }
.top .logo img { height: 40px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); } /* 给logo加阴影 */
.top ul { list-style: none; display: flex; gap: 30px; align-items: center; }
.top ul li a { 
    color: #ffffff; 
    text-decoration: none; 
    font-size: 15px; 
    transition: all 0.2s; 
    padding: 6px 0; 
    border-bottom: 2px solid transparent;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6); /* 阴影提高可读性 */
}
.top ul li a:hover { 
    color: #f0b90b; 
    border-bottom-color: #f0b90b; 
}

.hamburger { display: none; position: absolute; right: 20px; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; z-index: 101; }
.hamburger span { display: block; width: 25px; height: 2px; background: #ffffff; transition: 0.3s; box-shadow: 0 1px 3px rgba(0,0,0,0.5); } /* 白色线条+阴影 */
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu { display: none; position: fixed; top: 60px; right: 0; background: rgba(26,32,44,0.95); border: 1px solid #2d3748; border-radius: 0 0 8px 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.3); z-index: 99; overflow: hidden; backdrop-filter: blur(10px); }
.mobile-menu a { display: block; padding: 14px 30px; color: #e2e8f0; text-decoration: none; font-size: 15px; border-bottom: 1px solid #2d3748; white-space: nowrap; }
.mobile-menu a:hover { background: #2d3748; color: #f0b90b; }

@media (min-width: 601px) { .mobile-menu, .hamburger { display: none !important; } .mobile-hide { display: flex !important; } }
@media (max-width: 600px) {
    .top .logo { left: 8px; } .top .logo img { height: 30px; } .top ul { gap: 12px; } .top ul li a { font-size: 13px; }
    .mobile-hide { display: none !important; } .hamburger { display: flex; } .mobile-menu.active { display: block; }
}

/* 标题文字优化 */
.hero { text-align: center; padding: 70px 20px 50px; }
.hero h1 { 
    font-size: 40px; 
    font-weight: bold; 
    color: #ffffff;                      /* 白色文字 */
    margin-bottom: 12px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);   /* 深色阴影，提高可读性 */
}
.hero h2 { 
    font-size: 17px; 
    font-weight: normal; 
    color: #ffffff;                      /* 白色文字 */
    text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
}

.service-list { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 20px 50px; max-width: 420px; margin: 0 auto; }
.service-item { background: #ffffff; color: #2d3748; border: 1px solid #e2e8f0; padding: 20px 28px; font-size: 19px; font-weight: 600; border-radius: 12px; width: 100%; text-align: center; cursor: pointer; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.service-item:hover { border-color: #2b6cb0; color: #2b6cb0; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(43,108,176,0.1); }
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); backdrop-filter: blur(4px); z-index: 1000; justify-content: center; align-items: center; }
.modal.active { display: flex; }
.modal-card { background: #ffffff; border-radius: 20px; box-shadow: 0 25px 60px rgba(0,0,0,0.1); max-width: 420px; width: 90%; padding: 35px 30px; position: relative; max-height: 90vh; overflow-y: auto; border: 1px solid #e2e8f0; }
.modal-close { position: absolute; top: 18px; right: 22px; color: #a0aec0; font-size: 28px; cursor: pointer; background: none; border: none; transition: color 0.2s; }
.modal-close:hover { color: #e53e3e; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #4a5568; margin-bottom: 8px; }
.form-group select, .form-group input, .form-group textarea { width: 100%; padding: 13px 16px; font-size: 15px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f7fafc; color: #2d3748; outline: none; transition: border 0.2s, box-shadow 0.2s; }
.form-group select:focus, .form-group input:focus, .form-group textarea:focus { border-color: #2b6cb0; box-shadow: 0 0 10px rgba(43,108,176,0.1); }
.form-group textarea { resize: vertical; height: 80px; }
.btn { width: 100%; background: linear-gradient(180deg, #f0b90b 0%, #d4a30a 100%); color: #0b0f1a; border: none; padding: 16px; font-size: 17px; font-weight: 700; border-radius: 10px; cursor: pointer; transition: all 0.2s; margin-top: 12px; box-shadow: 0 4px 12px rgba(240,185,11,0.3); }
.btn:hover { opacity: 0.95; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(240,185,11,0.4); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.footer { text-align: center; padding: 35px; color: #a0aec0; font-size: 13px; border-top: 1px solid #e2e8f0; margin-top: 30px; }
.hint-text { color: #e53e3e; font-size: 13px; margin-top: 6px; margin-bottom: 0; text-align: left; font-weight: 500; }
.rate-info { font-size: 13px; color: #718096; margin-top: 4px; }
.score-display { background: #f0fff4; border: 1px solid #c6f6d5; border-radius: 8px; padding: 12px; margin: 15px 0; text-align: center; font-size: 15px; color: #22543d; }
.score-display span { font-weight: bold; font-size: 18px; }
.success-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); backdrop-filter: blur(4px); z-index: 2000; justify-content: center; align-items: center; }
.success-modal.active { display: flex; }
.success-content { background: #ffffff; border-radius: 20px; padding: 40px 35px; text-align: center; color: #2d3748; max-width: 340px; box-shadow: 0 25px 60px rgba(0,0,0,0.1); border: 1px solid #e2e8f0; }
.success-content h3 { font-size: 24px; margin-bottom: 12px; color: #2b6cb0; }
.contact-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px 20px; margin: 0 auto 40px; max-width: 420px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); text-align: left; }
.contact-card h4 { font-size: 18px; color: #1a202c; margin-bottom: 16px; border-bottom: 1px solid #e2e8f0; padding-bottom: 8px; }
.contact-card ul { list-style: none; padding: 0; }
.contact-card ul li { padding: 6px 0; font-size: 15px; color: #4a5568; line-height: 1.6; }
.contact-card ul li a { color: #2b6cb0; text-decoration: none; }
.contact-card ul li a:hover { text-decoration: underline; }

/* 主标题区域的大 Logo */
.hero-logo {
    display: block;
    margin: 0 auto 20px;        /* 居中，下方留间距 */
    width: 120px;               /* 桌面端宽度，可根据你的图片调整 */
    height: auto;
}

/* 移动端缩小 */
@media (max-width: 600px) {
    .hero-logo {
        width: 90px;
    }
}