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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

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

.logo-img {
    height: 50px;
    width: auto;
}

/* 电梯导航 */
.nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 0;
}

.nav-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    display: block;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 12px 20px;
    transition: all 0.3s ease;
    border-radius: 20px;
    margin: 0 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nav-list a:hover {
    color: #982E29;
    background: rgba(152, 46, 41, 0.1);
    transform: translateX(-3px);
}

.nav-list a.active {
    color: #fff;
    background: #982E29;
    box-shadow: 0 2px 10px rgba(152, 46, 41, 0.3);
}

/* 导航指示器 */
.nav-list a::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: #982E29;
    transition: height 0.3s ease;
    border-radius: 2px;
}

.nav-list a:hover::before,
.nav-list a.active::before {
    height: 20px;
}

/* 语言切换器 */
.language-switcher {
    display: none;
    /* display: flex; */
    align-items: center;
    gap: 8px;
}

.lang-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: #982E29;
    background-color: rgba(152, 46, 41, 0.1);
}

.lang-btn.active {
    color: #982E29;
    background-color: rgba(152, 46, 41, 0.15);
    font-weight: 600;
}

.lang-separator {
    color: #ccc;
    font-size: 0.9rem;
}

/* 主横幅区域 */
.hero {
    min-height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('../img/banner.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    width: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 500px;
}

.hero-left {
    flex: 1;
    color: #fff;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
    white-space: nowrap;
    max-width: 600px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 600px;
    text-align: justify;
}

.hero-right {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.report-card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    min-height: 300px;
    justify-content: space-between;
}

.report-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.query-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    justify-content: center;
}

.query-input {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

.query-input:focus {
    border-color: #982E29;
}

.query-btn {
    background: #982E29;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
}

.query-btn:hover {
    background: #a31829;
}

/* 行业服务部分 */
.industries {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 70px;
    color: #333;
    position: relative;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #982E29;
    border-radius: 2px;
}

.industries-grid {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: stretch;
}

.industry-card {
    flex: 1;
    background: #fff;
    padding: 35px 25px 30px;
    border-radius: 6px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.industry-icon {
    text-align: left;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.industry-icon-img {
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease;
}

.industry-card:hover .industry-icon-img {
    transform: scale(1.05);
}

.industry-title {
    font-size: 1.3rem;
    text-align: left;
    margin-bottom: 25px;
    color: #982E29;
    font-weight: 500;
    line-height: 1.3;
    flex-shrink: 0;
}

.industry-content {
    position: relative;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-column {
    padding-right: 20px;
    flex-grow: 1;
}

.service-column h4 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: capitalize;
}

.service-column ul {
    list-style: none;
    margin-bottom: 18px;
    padding-left: 0;
}

.service-column li {
    padding: 3px 0;
    color: #777;
    font-size: 0.85rem;
    line-height: 1.5;
    position: relative;
    padding-left: 12px;
}

.service-column li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 3px;
    height: 3px;
    background: #999;
    border-radius: 50%;
}

.red-line {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #982E29;
    border-radius: 1px;
}

/* 服务认证部分 */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services .section-title {
    color: #333;
    margin-bottom: 50px;
}

.services .section-title::after {
    background: #982E29;
}

.services-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.certification-slider {
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    max-width: 1160px;
    margin: 0 auto;
}

.slider-background {
    position: relative;
    height: 500px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3)), 
                url('../img/ser_banner.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.8s ease-in-out;
}

/* 导航箭头 */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.prev-nav {
    left: 20px;
}

.next-nav {
    right: 20px;
}

.slider-nav:hover {
    background: #fff;
    color: #982E29;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* 认证内容覆盖层 */
.certification-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cert-content {
    text-align: center;
    padding: 0 80px;
    width: 100%;
}

.cert-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 服务描述卡片 */
.service-description-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px 32px;
    margin: 0 auto 30px auto;
    max-width: 700px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.service-description-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.service-description-text {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.cert-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 650px;
    margin: 0 auto;
}

.cert-badge {
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 8px 6px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.cert-badge:hover {
    background: #982E29;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.4);
}

/* 轮播指示器 */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-indicator.active {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
    transform: scale(1.2);
}

.slider-indicator:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.1);
}

/* 针对较长文本的特殊处理 */
/* .cert-badge:nth-child(6),
.cert-badge:nth-child(8) {
    font-size: 0.7rem;
    padding: 6px 4px;
} */

/* 底部联系按钮栏 */
.contact-bar {
    background: #982E29;
    padding: 0;
    margin-top: 20px;
}

.contact-button {
    width: 100%;
    background: transparent;
    color: #fff;
    padding: 18px 0;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

/* 咨询合作部分 */
.consultation {
    padding: 100px 0;
    background: #fff;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.consultation .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.consultation-form {
    max-width: 1160px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 0;
    width: 100%;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 250px;
}

.form-group.full-width {
    flex: 1 1 100%;
    min-width: 100%;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-input,
.form-textarea {
    font-family: 'Arial', sans-serif;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    background-color: #f0f0f03a;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
    font-style: italic;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #982E29;
    background-color: #fff;
}

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

.submit-btn {
    background: #982E29;
    width: 300px;
    max-width: 100%;
    color: #fff;
    padding: 15px 50px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: block;
    margin: 40px auto 0;
    transition: all 0.3s;
    flex-shrink: 0;
    box-sizing: border-box;
}

.submit-btn:hover {
    background: #a31829;
    transform: translateY(-2px);
}

/* 表单验证样式 */
.required {
    color: #982E29;
    font-weight: bold;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 8px;
    display: none;
    line-height: 1.4;
    min-height: 20px;
    animation: slideDown 0.3s ease-out;
}

.form-input.error,
.form-textarea.error {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.05);
    animation: shake 0.5s ease-in-out;
}

.form-input.success,
.form-textarea.success {
    border-color: #27ae60;
    background-color: rgba(39, 174, 96, 0.05);
}

.form-input.error:focus,
.form-textarea.error:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-input.success:focus,
.form-textarea.success:focus {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* 添加摇晃动画 */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* 表单组聚焦状态 */
.form-group:focus-within label {
    color: #982E29;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* 加载状态 */
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #ccc;
}

.submit-btn.loading {
    position: relative;
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 成功提示样式 */
.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
    animation: slideDown 0.3s ease-out;
}

.success-message.show {
    display: block;
}

/* 现代化提示框系统 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    min-width: 320px;
    max-width: 400px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.toast.error {
    background: linear-gradient(135deg, #f44336, #e53935);
}

.toast.info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.toast.warning {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.toast-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-top: 1px;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.toast-message {
    opacity: 0.9;
    font-size: 13px;
}

.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    font-size: 18px;
    line-height: 1;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    transition: width linear;
}

/* 模态对话框系统 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.show .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.modal-icon.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.modal-icon.error {
    background: linear-gradient(135deg, #f44336, #e53935);
}

.modal-icon.info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.modal-icon.warning {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.modal-body {
    padding: 16px 24px 24px;
}

.modal-message {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.modal-footer {
    padding: 0 24px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.modal-btn.primary {
    background: #982E29;
    color: #fff;
}

.modal-btn.primary:hover {
    background: #7a241f;
    transform: translateY(-1px);
}

.modal-btn.secondary {
    background: #f5f5f5;
    color: #666;
}

.modal-btn.secondary:hover {
    background: #e9e9e9;
    color: #333;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
    }
    
    .modal {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* 英雄区域 */
    .hero-content {
        padding: 80px 0 60px 0;
        gap: 30px;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .hero-right {
        min-height: auto;
        flex: none;
    }

    .report-card {
        padding: 20px;
        border-radius: 15px;
    }

    .report-title {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .query-form {
        gap: 10px;
    }

    .query-input {
        font-size: 0.9rem;
        padding: 12px 15px;
    }

    .query-btn {
        font-size: 0.85rem;
        padding: 12px 20px;
    }

    /* 咨询部分 */
    .consultation {
        padding: 60px 0;
    }

    .consultation .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .consultation-form {
        max-width: 100%;
        gap: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .form-input,
    .form-textarea {
        font-size: 0.9rem;
        padding: 12px 15px;
    }

    .form-textarea {
        min-height: 100px;
    }

    .submit-btn {
        font-size: 0.9rem;
        padding: 12px 30px;
        width: 200px;
    }

    /* 页脚 */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-company-name {
        font-size: 1rem;
    }

    .footer-label,
    .footer-text {
        font-size: 0.8rem;
    }

    .footer-phone-number {
        font-size: 1.2rem;
    }

    .footer-copyright {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* 服务描述卡片在手机端的样式 */
    .service-description-card {
        max-width: 95%;
        padding: 16px 20px;
        margin: 0 auto 20px auto;
        border-radius: 12px;
    }

    .service-description-text {
        font-size: 0.9rem;
        line-height: 1.4;
        letter-spacing: 0.3px;
    }

    .cert-heading {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
}

/* 表单验证图标 */
.form-input-container {
    position: relative;
}

.form-input-container .validation-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-input-container .validation-icon.success {
    color: #27ae60;
    opacity: 1;
}

.form-input-container .validation-icon.error {
    color: #e74c3c;
    opacity: 1;
}

/* 实时验证反馈 */
.form-group.validating .form-input {
    border-color: #f39c12;
}

.form-group.valid .form-input {
    border-color: #27ae60;
}

.form-group.invalid .form-input {
    border-color: #e74c3c;
}

/* 页脚 */
.footer {
    color: #fff;
    font-family: 'Arial', sans-serif;
}

/* 上部分：红色背景 */
.footer-top {
    background: #982E29;
    padding: 45px 0;
}

/* 下部分：黑色背景 */
.footer-bottom {
    background: #2C2C2C;
    padding: 15px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo区域 */
.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    height: 90px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-company-name {
    font-size: 1.8rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: -1px;
}

.footer-company-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 2px;
    margin-left: -5px;
}

/* 联系信息组合区域 */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 地址信息 */
.footer-address {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-label {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

.footer-text {
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
}

/* 邮箱信息 */
.footer-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* 电话信息 */
.footer-phone {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-phone-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.footer-phone-number {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
}

/* 底部内容 */
.footer-bottom-content {
    text-align: left;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
}

/* 超大屏幕响应式 */
@media (min-width: 1400px) {
    .hero-content {
        gap: 80px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        white-space: nowrap;
        max-width: 650px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .hero-right {
        flex: 0 0 450px;
    }
    
    .report-card {
        padding: 50px;
        max-width: 450px;
        border-radius: 12px;
    }
    
    .report-title {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }
    
    .query-form {
        gap: 25px;
    }
    
    .query-input,
    .query-btn {
        padding: 18px;
        font-size: 1.1rem;
    }
    
    /* Consultation超大屏幕样式 */
    .consultation {
        padding: 120px 0;
    }
    
    .consultation-form {
        max-width: 1300px;
        gap: 35px;
    }
    
    .form-row {
        gap: 35px;
    }
    
    .form-group {
        min-width: 300px;
    }
    
    .form-input,
    .form-textarea {
        padding: 18px;
        font-size: 1.05rem;
    }
    
    .submit-btn {
        width: 350px;
        padding: 18px 60px;
        font-size: 1.2rem;
        margin: 50px auto 0;
    }
}

/* 中等屏幕响应式 (平板设备) */
@media (max-width: 1024px) {
    .hero-content {
        gap: 50px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        white-space: nowrap;
        max-width: 500px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-right {
        flex: 0 0 350px;
    }
    
    .report-card {
        padding: 35px;
        max-width: 350px;
    }
    
    .report-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    /* Industries部分平板优化 */
    .industries {
        padding: 70px 0;
    }
    
    .industries .section-title {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }
    
    .industries-grid {
        gap: 25px;
    }
    
    .industry-card {
        padding: 32px 22px 28px;
    }
    
    .industry-icon-img {
        width: 65px;
        height: 65px;
    }
    
    .industry-title {
        font-size: 1.25rem;
        margin-bottom: 22px;
    }
    
    .service-column h4 {
        font-size: 0.98rem;
        margin-bottom: 9px;
    }
    
    .service-column li {
        font-size: 0.82rem;
        padding: 2.5px 0;
    }
    
    .service-column ul {
        margin-bottom: 16px;
    }
    
    /* Consultation中等屏幕样式 */
    .consultation {
        padding: 80px 0;
        min-height: 70vh;
    }
    
    .consultation-form {
        max-width: 900px;
        gap: 25px;
    }
    
    .form-row {
        gap: 25px;
    }
    
    .form-group {
        min-width: 220px;
    }
    
    .form-input,
    .form-textarea {
        padding: 14px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        width: 280px;
        padding: 14px 40px;
        font-size: 1.05rem;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        padding: 0 15px;
        flex-direction: column;
        gap: 15px;
    }

    .language-switcher {
        font-size: 0.9rem;
        padding: 8px 12px;
        gap: 8px;
        order: -1;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 0.85rem;
    }

    /* 在移动设备上完全隐藏电梯导航 */
    .nav {
        display: none !important;
        right: 15px;
        top: 50%;
    }

    .nav-list {
        display: none !important;
    }

    .nav-list a {
        display: none !important;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .nav-list a::before {
        display: none !important;
        width: 100%;
        left: 0;
    }

    .nav-list a:hover::before,
    .nav-list a.active::before {
        display: none !important;
        width: 100%;
    }

    /* Industries部分移动端优化 */
    .industries {
        padding: 60px 0;
    }
    
    .industries .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .industries-grid {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }
    
    .industry-card {
        width: 100%;
        max-width: 100%;
        padding: 30px 20px 25px;
        margin: 0;
    }
    
    .industry-icon {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .industry-icon-img {
        width: 60px;
        height: 60px;
    }
    
    .industry-title {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .industry-content {
        text-align: center;
    }
    
    .service-column {
        padding-right: 0;
    }
    
    .service-column h4 {
        font-size: 0.95rem;
        margin-bottom: 8px;
        text-align: center;
    }
    
    .service-column ul {
        margin-bottom: 15px;
        text-align: left;
    }
    
    .service-column li {
        font-size: 0.8rem;
        padding: 2px 0;
    }
    
    .red-line {
        display: none;
    }

    /* 服务描述卡片在平板设备上的样式 */
    .service-description-card {
        max-width: 90%;
        padding: 20px 24px;
        margin: 0 auto 25px auto;
    }

    .service-description-text {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Hero区域响应式 */
    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero-left {
        order: 1;
    }

    .hero-title {
        font-size: 2rem;
        white-space: nowrap;
        max-width: 450px;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0 auto 20px;
    }
    
    .hero-right {
        order: 2;
        flex: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .report-card {
        padding: 30px;
        max-width: 100%;
        min-height: auto;
    }
    
    .report-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .query-form {
        gap: 15px;
    }
    
    .query-input,
    .query-btn {
        padding: 12px;
        font-size: 1rem;
    }
    
    /* Consultation移动端样式 */
    .consultation {
        padding: 60px 0;
        min-height: auto;
    }
    
    .consultation-form {
        max-width: 100%;
        gap: 20px;
        padding: 0 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-group {
        min-width: 100%;
        width: 100%;
    }
    
    .form-input,
    .form-textarea {
        padding: 12px;
        font-size: 1rem;
    }
    
    .form-textarea {
        min-height: 100px;
    }
    
    .submit-btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 30px;
        font-size: 1rem;
        margin: 30px auto 0;
    }
    
    /* Footer响应式 */
    .footer-top {
        padding: 36px 0;
    }
    
    .footer-bottom {
        padding: 12px 0;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-logo-section {
        justify-content: center;
    }
    
    .footer-logo {
        height: 70px;
    }
    
    .footer-company-name {
        font-size: 1.5rem;
    }
    
    .footer-company-subtitle {
        font-size: 0.8rem;
    }
    
    .footer-address,
    .footer-email,
    .footer-phone {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-contact-info {
        align-items: center;
    }
    
    .footer-phone-number {
        font-size: 1.2rem;
    }
    
    .footer-phone-icon {
        width: 20px;
        height: 20px;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    /* 在小屏移动设备上完全隐藏电梯导航 */
    .nav {
        display: none !important;
    }

    .nav-list {
        display: none !important;
    }

    .nav-list a {
        display: none !important;
    }

    .nav-list a::before,
    .nav-list a:hover::before,
    .nav-list a.active::before {
        display: none !important;
    }

    /* Industries部分小屏幕优化 */
    .industries {
        padding: 50px 0;
    }
    
    .industries .section-title {
        font-size: 1.9rem;
        margin-bottom: 30px;
    }
    
    .industries-grid {
        gap: 20px;
        padding: 0 10px;
    }
    
    .industry-card {
        padding: 25px 15px 20px;
        border-radius: 8px;
    }
    
    .industry-icon-img {
        width: 50px;
        height: 50px;
    }
    
    .industry-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .service-column h4 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .service-column li {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .service-column ul {
        margin-bottom: 12px;
    }

    /* Hero区域小屏幕响应式 */
    .hero-content {
        padding: 30px 0;
        gap: 30px;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
        white-space: nowrap;
        max-width: 350px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-right {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .report-card {
        padding: 20px;
        border-radius: 8px;
        min-height: 250px;
    }
    
    .report-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .query-form {
        gap: 12px;
    }
    
    .query-input {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    .query-btn {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    /* Consultation小屏幕样式 */
    .consultation {
        padding: 40px 0;
    }
    
    .consultation .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .consultation-form {
        gap: 15px;
        padding: 0 15px;
    }
    
    .form-row {
        gap: 15px;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .form-input,
    .form-textarea {
        padding: 10px;
        font-size: 0.95rem;
        border-radius: 4px;
    }
    
    .form-textarea {
        min-height: 80px;
    }
    
    .submit-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 25px;
        font-size: 0.95rem;
        margin: 25px auto 0;
        border-radius: 8px;
    }
    
    /* Footer小屏幕响应式 */
    .footer-content {
        gap: 12px;
    }
    
    .footer-company-name {
        font-size: 1.3rem;
    }
    
    .footer-label,
    .footer-text {
        font-size: 0.9rem;
    }
    
    .footer-phone-number {
        font-size: 1.1rem;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* 超小屏幕响应式 (320px以下) */
@media (max-width: 360px) {
    /* Industries部分超小屏幕优化 */
    .industries {
        padding: 40px 0;
    }
    
    .industries .section-title {
        font-size: 1.7rem;
        margin-bottom: 25px;
    }
    
    .industries-grid {
        gap: 15px;
        padding: 0 5px;
    }
    
    .industry-card {
        padding: 20px 12px 15px;
        border-radius: 6px;
    }
    
    .industry-icon-img {
        width: 45px;
        height: 45px;
    }
    
    .industry-title {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .service-column h4 {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .service-column li {
        font-size: 0.7rem;
        line-height: 1.3;
    }
    
    .service-column ul {
        margin-bottom: 10px;
    }
    
    .consultation {
        padding: 30px 0;
    }
    
    .consultation .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .consultation-form {
        gap: 12px;
        padding: 0 10px;
    }
    
    .form-row {
        gap: 12px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .form-input,
    .form-textarea {
        padding: 8px;
        font-size: 0.9rem;
    }
    
    .form-textarea {
        min-height: 70px;
    }
    
    .submit-btn {
        max-width: 100%;
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 20px auto 0;
    }
    
    .error-message {
        font-size: 0.8rem;
        min-height: 18px;
    }
}

/* 字体回退样式优化 */
.font-fallback {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
}

.font-fallback .hero-title {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.font-fallback .section-title {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.font-fallback .nav-list a {
    font-weight: 600;
}

.font-fallback .query-btn {
    font-weight: 700;
}

.font-fallback .submit-btn {
    font-weight: 700;
}

/* 字体加载失败提示样式 */
.font-loading-notice {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 193, 7, 0.9);
    color: #333;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10001;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* 商务风登录注册弹框 - 完全重新设计 */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11000;
    background: linear-gradient(135deg, 
        rgba(152,46,41,0.15) 0%, 
        rgba(44,44,44,0.25) 50%, 
        rgba(152,46,41,0.15) 100%);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.auth-modal {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border-radius: 28px;
    box-shadow: 
        0 25px 80px rgba(0,0,0,0.15),
        0 8px 32px rgba(152,46,41,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
    width: 480px;
    max-width: 95vw;
    max-height: 90vh;
    overflow: hidden;
    animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
}

/* 弹框内容滚动容器 */
.auth-modal-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

/* Tab切换区域 */
.auth-tabs {
    display: flex;
    background: #f8f9fa;
    margin: 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    flex-shrink: 0;
}

/* 表单滚动区域 */
.auth-form-scroll-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    /* 美观的滚动条样式 */
    scrollbar-width: thin;
    scrollbar-color: rgba(152,46,41,0.3) rgba(0,0,0,0.1);
}

/* Webkit浏览器的滚动条样式 */
.auth-form-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.auth-form-scroll-container::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(248,249,250,0.8) 0%, rgba(233,236,239,0.8) 100%);
    border-radius: 10px;
    margin: 4px;
}

.auth-form-scroll-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(152,46,41,0.4) 0%, rgba(152,46,41,0.6) 50%, rgba(152,46,41,0.4) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.auth-form-scroll-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(152,46,41,0.6) 0%, rgba(152,46,41,0.8) 50%, rgba(152,46,41,0.6) 100%);
    box-shadow: 0 2px 8px rgba(152,46,41,0.3);
}

.auth-form-scroll-container::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, rgba(152,46,41,0.8) 0%, rgba(152,46,41,1) 50%, rgba(152,46,41,0.8) 100%);
}

/* 滚动阴影效果 */
.auth-form-scroll-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 8px;
    height: 20px;
    background: linear-gradient(180deg, rgba(248,249,250,0.9) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-form-scroll-container.scrolled::before {
    opacity: 1;
}

.auth-form-scroll-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 8px;
    height: 20px;
    background: linear-gradient(0deg, rgba(248,249,250,0.9) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-form-scroll-container.has-more::after {
    opacity: 1;
}

/* 表单区域样式调整 */
.auth-form {
    padding: 40px;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 100%;
    position: relative;
}

/* 安全提示固定在底部 */
/* 安全提示样式已移动到上方 */

/* 调整移动端响应式 */
@media (max-width: 600px) {
    .auth-modal {
        width: 95vw;
        max-height: 95vh;
    }
    
    .auth-form {
        padding: 30px 20px;
    }
    
    .auth-form-scroll-container::-webkit-scrollbar {
        width: 6px;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 弹框头部 */
.auth-modal-header {
    background: linear-gradient(135deg, #982E29 0%, #b94a3a 100%);
    padding: 32px 40px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.auth-modal-logo {
    position: relative;
    z-index: 2;
    margin-bottom: 16px;
}

.auth-logo-img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.auth-modal-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.auth-modal-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
    position: relative;
    z-index: 2;
    opacity: 0.85;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    position: relative;
    overflow: hidden;
}

.auth-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #982E29, #b94a3a);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-tab::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(152,46,41,0.05) 0%, rgba(152,46,41,0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-tab.active {
    color: #982E29;
    transform: translateY(-2px);
}

.auth-tab.active::before {
    transform: scaleX(1);
}

.auth-tab.active::after {
    opacity: 1;
}

.auth-tab:hover:not(.active) {
    color: #982E29;
    background: rgba(152,46,41,0.03);
    transform: translateY(-1px);
}

.tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.tab-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: all 0.3s ease;
}

.auth-tab.active .tab-icon {
    opacity: 1;
}

.auth-tab.active .tab-icon svg {
    stroke: #982E29;
    transform: scale(1.1);
}

.auth-tab:hover .tab-icon svg {
    transform: scale(1.05);
}

.tab-text {
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* 原表单区域样式已移动到上方 */

.auth-form[style*="display: none"] {
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
}

/* 输入框聚焦动画增强 */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.input-group:hover {
    border-color: rgba(152,46,41,0.5);
    box-shadow: 0 4px 16px rgba(152,46,41,0.08);
    transform: translateY(-1px);
}

.input-group:focus-within {
    border-color: #982E29;
    box-shadow: 0 0 0 4px rgba(152,46,41,0.1), 0 8px 24px rgba(152,46,41,0.12);
    transform: translateY(-2px);
}

/* 输入框验证状态 */
.input-group.success {
    border-color: #28a745;
    box-shadow: 0 0 0 4px rgba(40,167,69,0.1);
}

.input-group.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220,53,69,0.1);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* 输入框标签样式 */
.input-label {
    padding: 0 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    flex-shrink: 0;
    border-right: 1px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.input-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(152,46,41,0.1), transparent);
    transition: left 0.5s ease;
}

.input-group:focus-within .input-label {
    color: #982E29;
    background: linear-gradient(135deg, rgba(152,46,41,0.1) 0%, rgba(152,46,41,0.05) 100%);
    border-right-color: #982E29;
    transform: scale(1.02);
}

.input-group:focus-within .input-label::before {
    left: 100%;
}

/* 按钮点击反馈增强 */
.auth-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #982E29 0%, #b94a3a 100%);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 18px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(152,46,41,0.25);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    transform-origin: center;
}

.auth-submit-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: left 0.5s ease;
}

.auth-submit-btn:hover {
    background: linear-gradient(135deg, #b94a3a 0%, #982E29 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(152,46,41,0.35);
}

.auth-submit-btn:hover::before {
    left: 100%;
}

.auth-submit-btn:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* 表单底部 */
.auth-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.auth-tip {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.switch-link {
    color: #982E29;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.switch-link:hover {
    color: #b94a3a;
    border-bottom-color: #b94a3a;
}

/* 关闭按钮动画增强 */
.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #666;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.auth-modal-close:hover {
    background: linear-gradient(135deg, #982E29 0%, #b94a3a 100%);
    color: #fff;
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 6px 16px rgba(152,46,41,0.3);
}

.auth-modal-close:active {
    transform: scale(1.05) rotate(90deg);
}

/* 安全提示动画 */
.auth-security-notice {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6c757d;
    border-top: 1px solid #e9ecef;
    animation: slideInUp 0.5s ease-out 0.3s both;
}

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

.security-icon {
    font-size: 1rem;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

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

/* 响应式设计 */
@media (max-width: 600px) {
    .auth-modal {
        width: 95vw;
        margin: 20px;
        border-radius: 20px;
    }
    
    .auth-modal-header {
        padding: 24px 24px 20px;
    }
    
    .auth-modal-title {
        font-size: 1.5rem;
    }
    
    .auth-modal-subtitle {
        font-size: 0.85rem;
    }
    
    .auth-form {
        padding: 24px;
    }
    
    .form-section {
        gap: 20px;
        margin-bottom: 24px;
    }
    
    .input-group {
        border-radius: 12px;
    }
    
    .input-label {
        width: 85px;
        flex-shrink: 0;
        height: 48px;
        font-size: 0.85rem;
        padding: 0 12px;
    }
    
    .input-group input {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    /* 电话号码输入组合样式 - 移动端 */
    .phone-input-wrapper {
        border-radius: 12px;
    }
    
    .country-code-select {
        min-width: 100px;
        padding: 12px 8px;
        font-size: 0.85rem;
        padding-right: 32px;
        background-size: 14px;
        background-position: right 8px center;
    }
    
    .phone-input-wrapper input {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .input-group:has(.phone-input-wrapper) .input-label {
        height: 40px;
        font-size: 0.85rem;
        padding: 0 12px;
        border-radius: 12px 12px 0 0;
    }
    
    .input-group:has(.phone-input-wrapper) .phone-input-wrapper {
        border-radius: 0 0 12px 12px;
    }

    /* 验证码组响应式设置 */
    .captcha-group .input-label {
        height: 40px;
        font-size: 0.85rem;
        padding: 0 12px;
    }
    
    .captcha-input-row {
        height: 48px;
    }
    
    .captcha-input-wrapper input {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .captcha-container {
        height: 48px;
        padding: 6px;
        flex: 0 0 150px;
        width: 150px;
        gap: 6px;
    }
    
    .captcha-container img {
        width: 100px;
        height: 32px;
        border-radius: 4px;
    }
    
    .captcha-refresh {
        width: 24px;
        height: 24px;
    }
    
    .captcha-refresh svg {
        width: 12px;
        height: 12px;
    }
    
    .auth-submit-btn {
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .auth-security-notice {
        padding: 12px 24px;
        font-size: 0.8rem;
    }
    
    .auth-tab {
        padding: 16px 12px;
        font-size: 0.9rem;
    }
    
    .tab-icon {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .auth-modal {
        width: 98vw;
        margin: 10px;
    }
    
    .auth-form {
        padding: 20px;
    }
    
    .auth-modal-header {
        padding: 20px;
    }
    
    .auth-security-notice {
        padding: 10px 20px;
    }
    
    /* 电话号码输入组合样式 - 超小屏幕 */
    .country-code-select {
        min-width: 90px;
        padding: 10px 6px;
        font-size: 0.8rem;
        padding-right: 28px;
        background-size: 12px;
        background-position: right 6px center;
    }
    
    .phone-input-wrapper input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .input-group:has(.phone-input-wrapper) .input-label {
        height: 36px;
        font-size: 0.8rem;
        padding: 0 10px;
    }

    /* 验证码超小屏幕优化 */
    .captcha-group .input-label {
        height: 36px;
        font-size: 0.8rem;
        padding: 0 10px;
    }
    
    .captcha-input-row {
        height: 44px;
        flex-direction: row;
    }
    
    .captcha-input-wrapper input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .captcha-container {
        height: 44px;
        padding: 4px;
        flex: 0 0 120px;
        width: 120px;
        gap: 4px;
    }
    
    .captcha-container img {
        width: 80px;
        height: 28px;
        border-radius: 3px;
    }
    
    .captcha-refresh {
        width: 20px;
        height: 20px;
    }
    
    .captcha-refresh svg {
        width: 10px;
        height: 10px;
        stroke-width: 3;
    }
}

/* 表单区域补充样式 */
.form-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 20px;
    font-size: 1rem;
    background: transparent;
    color: #333;
    font-weight: 500;
}

/* 移除旧的验证码输入框特殊设置 */

.input-group input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

/* 电话号码输入组合样式 */
.phone-input-wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.phone-input-wrapper:hover {
    border-color: rgba(152,46,41,0.5);
    box-shadow: 0 4px 16px rgba(152,46,41,0.08);
    transform: translateY(-1px);
}

.phone-input-wrapper:focus-within {
    border-color: #982E29;
    box-shadow: 0 0 0 4px rgba(152,46,41,0.1), 0 8px 24px rgba(152,46,41,0.12);
    transform: translateY(-2px);
}

.country-code-select {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    outline: none;
    padding: 16px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid #e9ecef;
    min-width: 120px;
    flex-shrink: 0;
    appearance: none;
    background-image: none;
}

.country-code-select:focus {
    background: linear-gradient(135deg, rgba(152,46,41,0.1) 0%, rgba(152,46,41,0.05) 100%);
    color: #982E29;
    border-right-color: #982E29;
    background-image: none;
}

.country-code-select option {
    background: #fff;
    color: #333;
    padding: 8px 12px;
}

.phone-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 20px;
    font-size: 1rem;
    background: transparent;
    color: #333;
    font-weight: 500;
}

.phone-input-wrapper input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

/* 输入组响应式调整 */
.input-group:has(.phone-input-wrapper) {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    flex-direction: column;
}

.input-group:has(.phone-input-wrapper) .input-label {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    border-radius: 16px 16px 0 0;
    width: 100%;
    height: 48px;
}

.input-group:has(.phone-input-wrapper):focus-within .input-label {
    color: #982E29;
    background: linear-gradient(135deg, rgba(152,46,41,0.1) 0%, rgba(152,46,41,0.05) 100%);
    border-color: #982E29;
}

.input-group:has(.phone-input-wrapper) .phone-input-wrapper {
    border-radius: 0 0 16px 16px;
    border-top: none;
}

/* 验证码特殊样式 - 重新设计 */
.captcha-group {
    padding-right: 0;
    flex-direction: column !important;
    gap: 0 !important;
}

.captcha-group .input-label {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e9ecef;
    border-radius: 16px 16px 0 0;
    height: 48px;
}

.captcha-group .input-group {
    flex-direction: column;
    height: auto;
    border-radius: 16px;
}

.captcha-input-row {
    display: flex;
    align-items: stretch;
    height: 56px;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.captcha-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border-right: 1px solid #e9ecef;
}

.captcha-input-wrapper input {
    width: 100%;
    border: none;
    outline: none;
    padding: 16px 20px;
    font-size: 1rem;
    background: transparent;
    color: #333;
    font-weight: 500;
}

.captcha-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    height: 56px;
    position: relative;
    padding: 8px;
    flex: 0 0 180px;
    width: 180px;
    gap: 8px;
    border-radius: 0 0 16px 0;
}

.captcha-container img {
    width: 120px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #982E29;
    object-fit: cover;
    display: block;
    background-color: #fff;
    flex-shrink: 0;
}

.captcha-container img:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(152,46,41,0.2);
}

/* 验证码刷新按钮 */
.captcha-refresh {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #982E29 0%, #b94a3a 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(152,46,41,0.3);
    flex-shrink: 0;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.captcha-refresh::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.captcha-refresh svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    position: relative;
}

.captcha-refresh:hover {
    background: linear-gradient(135deg, #b94a3a 0%, #982E29 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(152,46,41,0.4);
}

.captcha-refresh:hover::before {
    opacity: 1;
}

.captcha-refresh:hover svg {
    transform: rotate(180deg);
}

.captcha-refresh:active {
    transform: scale(0.95);
}

.captcha-refresh:active svg {
    transform: rotate(360deg) scale(0.9);
}

/* 按钮文本和图标 */
.btn-text {
    font-weight: 700;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.auth-submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* 按钮加载状态 */
.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-submit-btn.loading {
    color: transparent;
}

.auth-submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* 用户状态区域 - 重新设计 */
.user-status {
    position: relative;
    margin-left: 16px;
}

.user-status-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid rgba(152,46,41,0.1);
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-width: 280px;
}

.user-status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(152,46,41,0.03) 0%, rgba(152,46,41,0.01) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.user-status-card:hover {
    border-color: rgba(152,46,41,0.2);
    box-shadow: 0 8px 32px rgba(152,46,41,0.12);
    transform: translateY(-2px);
}

.user-status-card:hover::before {
    opacity: 1;
}

/* 用户头像 */
.user-avatar {
    flex-shrink: 0;
    position: relative;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #982E29 0%, #b94a3a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(152,46,41,0.25);
    position: relative;
    overflow: hidden;
}

.avatar-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3) 0%, transparent 70%);
}

.avatar-circle svg {
    position: relative;
    z-index: 1;
}

/* 用户信息 */
.user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.user-greeting {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.user-welcome {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 400;
    opacity: 0.8;
}

.user-name {
    font-size: 1rem;
    color: #333;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.user-company {
    font-size: 0.8rem;
    color: #982E29;
    font-weight: 500;
    opacity: 0.9;
    padding: 2px 8px;
    background: rgba(152,46,41,0.08);
    border-radius: 6px;
    display: inline-block;
    max-width: fit-content;
    border: 1px solid rgba(152,46,41,0.15);
}

/* 用户操作按钮 */
.user-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-btn {
    background: linear-gradient(135deg, #982E29 0%, #b94a3a 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 12px rgba(152,46,41,0.2);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.logout-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: left 0.5s ease;
}

.logout-btn:hover {
    background: linear-gradient(135deg, #b94a3a 0%, #982E29 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(152,46,41,0.3);
}

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

.logout-btn:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

.logout-btn svg {
    transition: transform 0.3s ease;
}

.logout-btn:hover svg {
    transform: translateX(2px);
}

/* 用户状态响应式设计 */
@media (max-width: 1024px) {
    .user-status-card {
        min-width: 260px;
        padding: 10px 14px;
        gap: 10px;
    }
    
    .avatar-circle {
        width: 36px;
        height: 36px;
    }
    
    .avatar-circle svg {
        width: 14px;
        height: 14px;
    }
    
    .user-name {
        font-size: 0.95rem;
    }
    
    .user-company {
        font-size: 0.75rem;
        padding: 1px 6px;
    }
    
    .logout-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .logout-btn svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 768px) {
    .user-status {
        margin-left: 8px;
        margin-right: 8px;
    }
    
    .user-status-card {
        min-width: 240px;
        padding: 8px 12px;
        gap: 8px;
        border-radius: 12px;
        box-shadow: 0 3px 16px rgba(0,0,0,0.06);
    }
    
    .avatar-circle {
        width: 32px;
        height: 32px;
    }
    
    .avatar-circle svg {
        width: 12px;
        height: 12px;
    }
    
    .user-greeting {
        gap: 3px;
    }
    
    .user-welcome {
        font-size: 0.8rem;
    }
    
    .user-name {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .user-company {
        font-size: 0.7rem;
        padding: 1px 4px;
        border-radius: 4px;
    }
    
    .logout-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
        border-radius: 8px;
        gap: 4px;
    }
    
    .logout-btn svg {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .user-status {
        margin-left: 4px;
        margin-right: 4px;
    }
    
    .user-status-card {
        min-width: 200px;
        padding: 6px 10px;
        gap: 6px;
        border-radius: 10px;
        flex-wrap: wrap;
    }
    
    .user-avatar {
        order: 1;
    }
    
    .user-info {
        order: 2;
        flex: 1;
        min-width: 120px;
    }
    
    .user-actions {
        order: 3;
        width: 100%;
        margin-top: 4px;
        justify-content: center;
    }
    
    .avatar-circle {
        width: 28px;
        height: 28px;
    }
    
    .avatar-circle svg {
        width: 10px;
        height: 10px;
    }
    
    .user-greeting {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
    
    .user-welcome {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .user-name {
        font-size: 0.85rem;
        line-height: 1.2;
    }
    
    .user-company {
        font-size: 0.65rem;
        padding: 1px 3px;
        margin-top: 1px;
    }
    
    .user-actions .edit-profile-btn,
    .logout-btn {
        flex: 1;
        justify-content: center;
        padding: 6px 8px;
        font-size: 0.7rem;
        border-radius: 6px;
    }
    
    .logout-btn svg {
        width: 8px;
        height: 8px;
    }
}

/* 安全提示动画 */
.auth-security-notice {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6c757d;
    border-top: 1px solid #e9ecef;
    animation: slideInUp 0.5s ease-out 0.3s both;
}

/* 邮件发送弹框样式 */
.email-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11500;
    background: linear-gradient(135deg, 
        rgba(152,46,41,0.15) 0%, 
        rgba(44,44,44,0.25) 50%, 
        rgba(152,46,41,0.15) 100%);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.4s ease-out;
}

.email-modal {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    box-shadow: 
        0 25px 80px rgba(0,0,0,0.15),
        0 8px 32px rgba(152,46,41,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
    width: 600px;
    max-width: 95vw;
    max-height: 90vh;
    overflow: hidden;
    animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255,255,255,0.2);
}

/* 邮件弹框头部 */
.email-modal-header {
    background: linear-gradient(135deg, #982E29 0%, #b94a3a 100%);
    padding: 24px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.email-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="email-grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23email-grid)"/></svg>');
    opacity: 0.3;
}

.email-modal-logo {
    position: relative;
    z-index: 2;
    margin-bottom: 12px;
}

.email-modal-logo svg {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.email-modal-title {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.email-modal-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
    position: relative;
    z-index: 2;
    opacity: 0.85;
}

/* 邮件表单容器 */
.email-form-container {
    padding: 0;
    max-height: calc(90vh - 200px);
    overflow-y: auto;
}

.email-form-section {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.email-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.email-input-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
}

.email-input-label .required {
    color: #e74c3c;
    font-weight: 700;
}

.email-input-group input,
.email-input-group textarea {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: inherit;
    outline: none;
    resize: vertical;
}

.email-input-group input:focus,
.email-input-group textarea:focus {
    border-color: #982E29;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(152, 46, 41, 0.1);
    transform: translateY(-1px);
}

.email-input-group textarea {
    min-height: 120px;
    font-family: inherit;
    line-height: 1.5;
}

/* 邮件表单底部 */
.email-form-footer {
    background: #f8f9fa;
    padding: 20px 32px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid #e9ecef;
}

.email-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    position: relative;
    overflow: hidden;
}

.email-btn.secondary {
    background: #6c757d;
    color: #fff;
}

.email-btn.secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.email-btn.primary {
    background: linear-gradient(135deg, #982E29 0%, #b94a3a 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(152, 46, 41, 0.3);
}

.email-btn.primary:hover {
    background: linear-gradient(135deg, #b94a3a 0%, #982E29 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(152, 46, 41, 0.4);
}

.email-btn.primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* 邮件弹框关闭按钮 */
.email-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #666;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.email-modal-close:hover {
    background: linear-gradient(135deg, #982E29 0%, #b94a3a 100%);
    color: #fff;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 16px rgba(152,46,41,0.3);
}

.email-modal-close:active {
    transform: scale(1.05) rotate(90deg);
}

/* 邮件弹框加载状态 */
.email-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.email-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

/* 邮件弹框响应式 */
@media (max-width: 768px) {
    .email-modal {
        width: 95vw;
        margin: 20px;
        max-height: 85vh;
    }
    
    .email-form-section {
        padding: 20px;
        gap: 16px;
    }
    
    .email-form-footer {
        padding: 16px 20px;
        flex-direction: column;
    }
    
    .email-btn {
        width: 100%;
        justify-content: center;
    }
    
    .email-modal-header {
        padding: 20px 24px;
    }
    
    .email-modal-title {
        font-size: 1.4rem;
    }
    
    .email-modal-subtitle {
        font-size: 0.85rem;
    }
}

/* 编辑用户信息弹窗样式 */
.edit-profile-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.edit-profile-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.edit-profile-modal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(20px);
    transition: transform 0.3s ease;
}

.edit-profile-modal-overlay.show .edit-profile-modal {
    transform: scale(1) translateY(0);
}

.edit-profile-modal-header {
    padding: 30px 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, #982E29 0%, #B8342A 100%);
    color: white;
    position: relative;
}

.edit-profile-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px 16px 0 0;
}

.edit-profile-modal-logo {
    margin-bottom: 15px;
}

.edit-profile-modal-logo svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.edit-profile-modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.edit-profile-modal-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.edit-profile-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.edit-profile-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 16px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
    position: relative;
}

.edit-profile-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: #982E29;
    transition: height 0.3s ease;
}

.edit-profile-tab::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(152, 46, 41, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.edit-profile-tab.active {
    color: #982E29;
    background: white;
}

.edit-profile-tab.active::before {
    height: 3px;
}

.edit-profile-tab.active::after {
    opacity: 1;
}

.edit-profile-tab:hover:not(.active) {
    color: #982E29;
    background: rgba(152, 46, 41, 0.03);
}

.edit-profile-tab .tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.edit-profile-tab .tab-icon svg {
    transition: all 0.3s ease;
}

.edit-profile-tab.active .tab-icon {
    color: #982E29;
}

.edit-profile-tab.active .tab-icon svg {
    stroke: #982E29;
}

.edit-profile-tab:hover .tab-icon svg {
    stroke: #982E29;
}

.edit-profile-tab .tab-text {
    font-weight: 500;
    white-space: nowrap;
}

.edit-profile-form {
    padding: 0;
    animation: fadeIn 0.3s ease;
}

.edit-profile-form[style*="display: none"] {
    display: none !important;
}

.edit-profile-form-section {
    padding: 30px;
    border-bottom: 1px solid #e9ecef;
}

.edit-profile-input-group {
    margin-bottom: 20px;
    position: relative;
}

.edit-profile-input-group:last-child {
    margin-bottom: 0;
}

.edit-profile-input-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.edit-profile-input-label .required {
    color: #dc3545;
}

.edit-profile-input-group input,
.edit-profile-input-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.edit-profile-input-group input:focus,
.edit-profile-input-group textarea:focus {
    outline: none;
    border-color: #982E29;
    box-shadow: 0 0 0 3px rgba(152, 46, 41, 0.1);
}

.edit-profile-input-group input:disabled {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.edit-profile-input-group textarea {
    min-height: 100px;
    resize: vertical;
}

.edit-profile-form-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 30px;
    background: #f8f9fa;
}

.edit-profile-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.edit-profile-btn.secondary {
    background: #6c757d;
    color: white;
}

.edit-profile-btn.secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.edit-profile-btn.primary {
    background: #982E29;
    color: white;
}

.edit-profile-btn.primary:hover {
    background: #7a2421;
    transform: translateY(-2px);
}

.edit-profile-btn.primary:active {
    transform: translateY(0);
}

.edit-profile-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.edit-profile-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.edit-profile-modal-close:active {
    transform: scale(0.95);
}

.edit-profile-btn.loading {
    position: relative;
    pointer-events: none;
}

.edit-profile-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 用户状态区域编辑按钮样式 */
.user-actions .edit-profile-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 12px rgba(40, 167, 69, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.user-actions .edit-profile-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: left 0.5s ease;
}

.user-actions .edit-profile-btn:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.user-actions .edit-profile-btn:hover::before {
    left: 100%;
}

.user-actions .edit-profile-btn:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

.user-actions .edit-profile-btn svg {
    transition: transform 0.3s ease;
}

.user-actions .edit-profile-btn:hover svg {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .edit-profile-modal {
        width: 95%;
        max-width: 400px;
    }
    
    .edit-profile-form-section {
        padding: 20px;
    }
    
    .edit-profile-form-footer {
        padding: 15px 20px;
    }
    
    .edit-profile-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .edit-profile-modal-header {
        padding: 20px;
    }
    
    .edit-profile-modal-title {
        font-size: 1.4rem;
    }
    
    .edit-profile-modal-subtitle {
        font-size: 0.9rem;
    }
    
    .edit-profile-tab {
        font-size: 0.8rem;
        padding: 14px 8px;
    }
    
    .user-actions {
        gap: 6px;
    }
    
    .user-actions .edit-profile-btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .logout-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
} 