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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #f0f2f5;
    min-height: 100vh;
    color: #333;
    line-height: 1.5;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.header-banner {
    background: linear-gradient(135deg, #1a5fce 0%, #3b82f6 70%, #e8f4ff 100%);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100"%3E%3Ccircle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/%3E%3C/svg%3E') repeat;
    opacity: 0.3;
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.main-logo {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transition: all 0.5s ease;
    animation: logoFadeIn 1s ease-out;
}

.main-logo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

#footerLogo {
    width: 280px;
    height: auto;
    transition: all 0.5s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.banner-text {
    text-align: center;
}

.app-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
}

.app-subtitle {
    font-size: 18px;
    margin-bottom: 6px;
    opacity: 0.95;
    font-weight: 600;
}

.app-subtitle-en {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.4;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.banner-slogan {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.slogan-item {
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
}

.screening-items {
    background: linear-gradient(135deg, #e8f4ff 0%, #f0f8ff 100%);
    padding: 24px 20px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin: 0 20px;
    border-radius: 20px;
    transform: translateY(-10px);
    z-index: 10;
}

.screening-items::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a5fce, #3b82f6);
    border-radius: 20px 20px 0 0;
}

.screening-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 18px 22px;
    border-radius: 16px;
    margin-bottom: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid #3b82f6;
    position: relative;
    overflow: hidden;
}

.screening-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.screening-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.screening-item span:first-child {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.5px;
}

.checkmark {
    color: #10b981;
    font-weight: bold;
    font-size: 20px;
    background: #d1fae5;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.footer-logo {
    padding: 24px;
    background: linear-gradient(90deg, #f0f2f5 0%, #e6f7ff 100%);
    position: relative;
    z-index: 5;
    margin: 0 20px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

#footerLogo {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

#footerLogo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.form-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.label-en {
    font-size: 12px;
    color: #666;
    margin-left: 8px;
    font-weight: 400;
    font-style: normal;
}

.form-input,
.form-select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    outline: none;
    transition: all 0.3s;
}

.form-input:focus,
.form-select:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.form-input::placeholder {
    color: #999;
}

.photo-upload {
    margin-top: 12px;
}

.upload-area {
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    transform: scale(1.02);
}

.photo-preview {
    width: 140px;
    height: 140px;
    border: 3px dashed #cbd5e1;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.photo-preview:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.upload-icon {
    font-size: 56px;
    color: #94a3b8;
    transition: color 0.3s;
}

.photo-preview:hover .upload-icon {
    color: #3b82f6;
}

.option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.option-btn {
    flex: 1;
    min-width: 90px;
    height: 40px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 400;
}

.option-btn:hover {
    border-color: #1890ff;
}

.option-btn.active {
    background: #1890ff;
    color: #fff;
    border-color: #1890ff;
    transform: none;
    box-shadow: none;
    font-weight: 600;
}

.form-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
    background: #fff;
}

.form-textarea:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.text-count {
    text-align: right;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 8px;
    font-weight: 500;
}

.submit-section {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.submit-btn {
    width: 100%;
    height: 48px;
    background: #1890ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #40a9ff;
}

.submit-btn:active {
    background: #096dd9;
}

.info-section {
    padding: 32px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    z-index: 2;
}

.info-section .section-title {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #7e22ce 0%, #a855f7 100%);
    color: #fff;
    padding: 20px 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(126, 34, 206, 0.3);
    position: relative;
    overflow: hidden;
}

.info-section .section-title::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    transform: translate(40%, -40%);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    width: 100%;
    max-width: 340px;
    animation: modalIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid #e9ecef;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
    border-radius: 50%;
    font-size: 40px;
    margin: 0 auto 28px;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.modal-title {
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.modal-text {
    font-size: 17px;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.6;
}

.modal-btn {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, #7e22ce, #a855f7);
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 16px rgba(126, 34, 206, 0.4);
    letter-spacing: 1px;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(126, 34, 206, 0.4);
}

@media (max-width: 375px) {
    .header-banner {
        padding: 24px 16px;
    }
    
    .main-logo {
        max-width: 280px;
    }
    
    .screening-items {
        padding: 20px 16px;
    }
    
    .screening-item {
        padding: 14px 16px;
    }
    
    .info-section {
        padding: 20px 16px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .option-btn {
        min-width: 80px;
    }
    
    .submit-btn {
        height: 52px;
        font-size: 16px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 加载动画 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Logo 渐入动画 */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* 短信验证码区域 */
.sms-code-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sms-code-input {
    flex: 1;
}

.sms-send-btn {
    white-space: nowrap;
    min-width: 110px;
    height: 48px;
    padding: 0 16px;
    background: #1890ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.sms-send-btn:hover {
    background: #40a9ff;
}

.sms-send-btn:disabled {
    background: #d9d9d9;
    color: #999;
    cursor: not-allowed;
}

/* 关系按钮组 - 两排 */
.relation-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.relation-group .option-btn {
    min-width: 70px;
    flex: 0 0 auto;
}

/* 输入框带单位后缀 */
.input-with-suffix {
    position: relative;
}

.input-with-suffix .form-input {
    padding-right: 50px;
}

.input-suffix {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    pointer-events: none;
}

/* Toast 提示 */
.toast-msg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    max-width: 280px;
    text-align: center;
    animation: toastIn 0.3s ease;
}

.toast-fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 标题副文本 */
.title-subtext {
    font-size: 14px;
    margin-left: 14px;
    opacity: 0.9;
    font-weight: normal;
    font-style: italic;
    letter-spacing: 0.5px;
}