/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #35be70;
    --primary-dark: #2da85f;
    --primary-light: #4cd585;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --text-white: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f4;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 毛玻璃头部样式 */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Safari 兼容性 fallback */
@supports not (backdrop-filter: blur(20px)) {
    .header {
        background: rgba(255, 255, 255, 0.95);
    }
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: var(--shadow-sm);
}

.site-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 0;
}

/* 主导航样式 */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(53, 190, 112, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 下拉菜单图标样式 */
.nav-dropdown .nav-link i {
    font-size: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    margin-left: 4px;
}

/* 悬停时图标颜色变化 */
.nav-dropdown:hover .nav-link i {
    color: var(--primary-color);
}


/* 下拉菜单样式 */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    padding-top: 8px;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    margin: 4px;
    position: relative;
    z-index: 1;
}

.dropdown-menu a:hover {
    background: rgba(53, 190, 112, 0.1);
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 语言选择器 */
.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    color: var(--text-secondary);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--primary-color);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 8px;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border-radius: 4px;
    margin: 4px;
}

.lang-option:hover {
    background: rgba(53, 190, 112, 0.1);
    color: var(--primary-color);
}

/* 登录按钮 */
.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-size: 14px;
}

.login-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
}

/* 主要内容区域 */
.main-content {
    flex: 1;
    transition: opacity 0.3s ease;
}

.language-transition {
    opacity: 0.7;
}

/* 首页横幅样式 */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #35be70 0%, #00bcd4 100%);
    color: white;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* 区域样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 功能特色样式 */
.features-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: rgba(53, 190, 112, 0.02);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* 工具部分样式 */
.tools-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.tool-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: rgba(53, 190, 112, 0.02);
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tool-card:hover .tool-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.tool-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tool-features {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tag {
    padding: 6px 12px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tool-card:hover .feature-tag {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 使用步骤样式 */
.steps-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.5;
}

/* 底部样式 */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo i {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.footer-logo span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 14px;
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* 表单样式 */
.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(53, 190, 112, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.forgot-password:hover {
    color: var(--primary-dark);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.submit-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
    color: var(--text-muted);
    font-size: 14px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.divider span {
	background: #f5f5f5;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

.google-login-btn {
    width: 100%;
    padding: 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.google-login-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

.form-switch {
	margin-top: 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.form-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.form-switch a:hover {
    color: var(--primary-dark);
}

/* 注册步骤样式 */
.verification-info {
    text-align: center;
    margin-bottom: 32px;
}

.verification-icon {
    width: 80px;
    height: 80px;
    background: rgba(53, 190, 112, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary-color);
}

.verification-info p {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.email-display {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.resend-section {
    text-align: center;
    margin: 16px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.resend-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.password-strength {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.password-strength.weak {
    color: #ef4444;
}

.password-strength.medium {
    color: #f59e0b;
}

.password-strength.strong {
    color: var(--primary-color);
}

/* 通知系统样式 */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification {
    background: rgba(51, 51, 51, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 300px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: var(--transition);
    pointer-events: auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    background: rgba(40, 167, 69, 0.9);
    border-left: 4px solid #1e7e34;
}

.notification.error {
    background: rgba(220, 53, 69, 0.9);
    border-left: 4px solid #c82333;
}

.notification.info {
    background: rgba(23, 162, 184, 0.9);
    border-left: 4px solid #138496;
}

.notification.warning {
    background: rgba(255, 193, 7, 0.9);
    color: #212529;
    border-left: 4px solid #e0a800;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.notification-content i {
    font-size: 18px;
    flex-shrink: 0;
}

.notification-content span {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.notification.warning .notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* 成功消息样式 */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(40, 167, 69, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 20px 30px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: var(--transition);
}

.success-message.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.success-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.success-content i {
    font-size: 20px;
}

.success-content span {
    font-size: 16px;
    font-weight: 500;
}

/* 工具提示样式 */
.tooltip {
    position: absolute;
    background: rgba(51, 51, 51, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-5px);
    transition: var(--transition);
    pointer-events: none;
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(51, 51, 51, 0.9);
}

/* 屏幕阅读器专用样式 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 键盘导航样式 */
.keyboard-navigation *:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 32px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 28px;
    }
    
    .steps-container {
        gap: 32px;
    }
    
    .step-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    /* 导航栏移动端样式 */
    .nav-wrapper {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }
    
    .main-nav.show {
        display: block;
    }
    
    .nav-menu {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        margin: 0;
        border-radius: 0;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        background: rgba(248, 249, 250, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        margin: 0;
        padding: 0;
        box-shadow: none;
        border: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .nav-dropdown .dropdown-menu::before {
        display: none;
    }

    .nav-dropdown .dropdown-menu a {
        padding: 8px 40px;
        font-size: 13px;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-dropdown .dropdown-menu a:first-child {
        margin-top: 0;
    }

    .nav-dropdown .dropdown-menu a:last-child {
        border-bottom: none;
    }

    .nav-dropdown .dropdown-menu {
        display: none;
    }

    .nav-dropdown .dropdown-menu.show {
        display: block;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-actions {
        order: 2;
    }
    
    /* 英雄区域移动端样式 */
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 200px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    /* 功能特色移动端样式 */
    .features-section,
    .tools-section,
    .steps-section {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .features-grid,
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card,
    .tool-card {
        padding: 28px 20px;
    }
    
    .feature-icon,
    .tool-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .feature-card h3,
    .tool-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .feature-card p,
    .tool-card p {
        font-size: 15px;
    }
    
    /* 步骤区域移动端样式 */
    .steps-container {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 100%;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .step-content h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .step-content p {
        font-size: 15px;
    }
    
    /* 底部移动端样式 */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        margin-bottom: 32px;
    }
    
    .footer-section h3 {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .footer-section a {
        font-size: 15px;
    }
    
    .footer-desc {
        font-size: 15px;
    }
    
    /* 弹窗移动端样式 */
    .modal-content {
        padding: 32px 24px;
        width: 95%;
        max-width: 400px;
    }
    
    .form-header h2 {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .form-header p {
        font-size: 15px;
    }
    
    .form-group input {
        padding: 12px 14px;
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 15px;
    }
    
    .google-login-btn {
        padding: 10px;
        font-size: 15px;
    }
    
    .verification-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .verification-info p {
        font-size: 15px;
    }
    
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .notification {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
    
    .success-message {
        margin: 0 20px;
        max-width: calc(100% - 40px);
    }
}

/* 暗色模式下的移动端导航菜单 */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
    .nav-menu {
        background: rgba(45, 45, 45, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(64, 64, 64, 0.3);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    .nav-link {
        color: var(--text-secondary);
        border-bottom: 1px solid rgba(64, 64, 64, 0.2);
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color);
        background: rgba(53, 190, 112, 0.1);
    }
    
    .nav-dropdown .dropdown-menu {
        background: rgba(26, 26, 26, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(64, 64, 64, 0.2);
    }
    
    .nav-dropdown .dropdown-menu a {
        color: var(--text-secondary);
    }
    
    .nav-dropdown .dropdown-menu a:hover {
        background: rgba(53, 190, 112, 0.1);
        color: var(--primary-color);
    }
    
    /* 修复移动端导航菜单显示问题 */
    .main-nav.show {
        display: block;
    }
    
    .main-nav.show .nav-menu {
        background: rgba(45, 45, 45, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(64, 64, 64, 0.3);
    }
}

/* 为不支持 backdrop-filter 的浏览器提供 fallback */
@supports not (backdrop-filter: blur(20px)) {
    @media (max-width: 768px) and (prefers-color-scheme: dark) {
        .nav-menu {
            background: rgba(45, 45, 45, 0.98);
        }
        
        .nav-dropdown .dropdown-menu {
            background: rgba(26, 26, 26, 0.95);
        }
    }
}

@media (max-width: 480px) {
    /* 极小屏幕优化 */
    .container {
        padding: 0 12px;
    }
    
    .nav-wrapper {
        padding: 12px 0;
    }
    
    .site-name {
        font-size: 20px;
    }
    
    .logo {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .btn {
        width: 100%;
        max-width: 240px;
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .features-section,
    .tools-section,
    .steps-section {
        padding: 60px 0;
    }
    
    .feature-card,
    .tool-card {
        padding: 24px 16px;
    }
    
    .feature-icon,
    .tool-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .modal-content {
        padding: 24px 20px;
        width: 92%;
    }
    
    .form-header h2 {
        font-size: 22px;
    }
    
    .lang-dropdown {
        right: -20px;
        min-width: 160px;
    }
    
    .tool-features {
        gap: 6px;
    }
    
    .feature-tag {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .notification {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .notification-content {
        gap: 8px;
    }
    
    .notification-content i {
        font-size: 16px;
    }
    
    .success-message {
        padding: 16px 20px;
    }
    
    .success-content span {
        font-size: 14px;
    }
}

/* 横屏平板优化 */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .features-section,
    .tools-section,
    .steps-section {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover,
    .tool-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    
    .feature-card:hover .feature-icon,
    .tool-card:hover .tool-icon {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .login-btn:hover {
        transform: none;
    }
    
    .nav-link:hover {
        background: rgba(53, 190, 112, 0.1);
    }
    
    .dropdown-menu a:hover {
        background: rgba(53, 190, 112, 0.1);
    }
}

/* 高分辨率屏幕优化 */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 64px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .section-header h2 {
        font-size: 48px;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .steps-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 打印样式 */
@media print {
    .header,
    .footer,
    .modal-overlay {
        display: none !important;
    }
    
    .main-content {
        margin: 0;
        padding: 0;
    }
    
    .hero-section {
        padding: 20px 0;
    }
    
    .features-section,
    .tools-section,
    .steps-section {
        padding: 30px 0;
    }
    
    .feature-card,
    .tool-card {
        break-inside: avoid;
    }
    
    .btn {
        display: none;
    }
}

/* 可访问性优化 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .feature-card:hover,
    .tool-card:hover,
    .btn:hover {
        transform: none;
    }
    
    .notification,
    .success-message,
    .tooltip {
        transition: none;
    }
}

/* 暗色模式支持 */
/* 暗色模式支持 - 修复移动端导航菜单 */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #ffffff;
        --text-secondary: #b3b3b3;
        --text-muted: #808080;
        --text-white: #ffffff;
        --bg-primary: #1a1a1a;
        --bg-secondary: #2d2d2d;
        --bg-tertiary: #404040;
        --border-color: #404040;
        --border-light: #333333;
    }
    
    /* 头部毛玻璃效果 - 暗色模式 */
    .header {
        background: rgba(26, 26, 26, 0.8);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid rgba(64, 64, 64, 0.3);
    }
    
    /* Safari 兼容性 fallback - 暗色模式 */
    @supports not (backdrop-filter: blur(20px)) {
        .header {
            background: rgba(26, 26, 26, 0.95);
        }
    }
    
    /* 下拉菜单 - 暗色模式 */
    .dropdown-menu {
        background: rgba(45, 45, 45, 0.9);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(64, 64, 64, 0.3);
    }
    
    /* 语言选择器 - 暗色模式 */
    .lang-btn {
        background: rgba(45, 45, 45, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(64, 64, 64, 0.3);
        color: var(--text-secondary);
    }
    
    .lang-btn:hover {
        background: rgba(45, 45, 45, 0.8);
        border-color: var(--primary-color);
    }
    
    .lang-dropdown {
        background: rgba(45, 45, 45, 0.9);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(64, 64, 64, 0.3);
    }
    
    /* 移动端菜单按钮 - 暗色模式 */
    .mobile-menu-btn {
        background: rgba(45, 45, 45, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(64, 64, 64, 0.3);
        color: var(--text-secondary);
    }
    
    .mobile-menu-btn:hover {
        background: rgba(45, 45, 45, 0.8);
        color: var(--primary-color);
    }
    
    /* 英雄区域 - 暗色模式 */
    .hero-section {
        background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
        color: var(--text-white);
    }
    
    /* 弹窗 - 暗色模式 */
    .modal-overlay {
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .modal-content {
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(64, 64, 64, 0.3);
    }
    
    /* 表单元素 - 暗色模式 */
    .form-group input {
        background: var(--bg-secondary);
        color: var(--text-primary);
        border: 1px solid var(--border-color);
    }
    
    .form-group input::placeholder {
        color: var(--text-muted);
    }
    
    .form-group input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(53, 190, 112, 0.2);
    }
    
    .google-login-btn {
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        color: var(--text-primary);
    }
    
    .google-login-btn:hover {
        background: var(--bg-tertiary);
        border-color: var(--primary-color);
    }
    
    .divider span {
        background: var(--bg-primary);
    }
    
    /* 通知系统 - 暗色模式 */
    .notification {
        background: rgba(45, 45, 45, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        color: #e2e8f0;
    }
    
    .notification.warning {
        background: rgba(214, 158, 46, 0.9);
        color: #1a202c;
    }
    
    .notification.warning .notification-close:hover {
        background: rgba(0, 0, 0, 0.1);
    }
    
    /* 成功消息 - 暗色模式 */
    .success-message {
        background: rgba(40, 167, 69, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    /* 工具提示 - 暗色模式 */
    .tooltip {
        background: rgba(64, 64, 64, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        color: #e2e8f0;
    }
    
    .tooltip::after {
        border-top-color: rgba(64, 64, 64, 0.9);
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .notification {
        border: 2px solid currentColor;
    }
    
    .notification-close:hover {
        background-color: currentColor;
        color: white;
    }
    
    .header {
        border-bottom: 2px solid var(--border-color);
    }
    
    .nav-link:hover,
    .nav-link.active {
        border: 1px solid var(--primary-color);
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ====================
   用户界面样式
   ==================== */

/* 用户按钮 */
.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 120px;
}

.user-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.user-btn .user-avatar {
    flex-shrink: 0;
}

.user-btn .user-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-btn .fas.fa-chevron-down {
    font-size: 12px;
    color: #9ca3af;
    transition: transform 0.2s ease;
}

.user-menu.active .user-btn .fas.fa-chevron-down {
    transform: rotate(180deg);
}

/* 用户下拉菜单 */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    margin-top: 8px;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.user-info .user-avatar {
    flex-shrink: 0;
}

.user-btn .user-avatar img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f3f4f6;
}

.user-info .user-avatar i {
    font-size: 48px;
    color: #9ca3af;
}

.user-info .user-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f3f4f6;
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-nickname {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-email {
    font-size: 14px;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-actions {
    padding: 8px 0;
}

.user-action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.user-action-item:hover {
    background: #f9fafb;
    color: #007bff;
}

.user-action-item i {
    width: 16px;
    text-align: center;
    color: #6b7280;
    transition: color 0.2s ease;
}

.user-action-item:hover i {
    color: #007bff;
}

.user-action-divider {
    height: 1px;
    background: #f3f4f6;
    margin: 8px 16px;
}

/* 加载状态 */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 成功消息样式 */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.success-message.show {
    opacity: 1;
    transform: translateX(0);
}

.success-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.success-content i {
    font-size: 18px;
}

/* 通知样式 */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
}

.notification {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #10b981;
}

.notification.error {
    border-left: 4px solid #ef4444;
}

.notification.warning {
    border-left: 4px solid #f59e0b;
}

.notification.info {
    border-left: 4px solid #3b82f6;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.notification-content i {
    font-size: 18px;
    flex-shrink: 0;
}

.notification.success .notification-content i {
    color: #10b981;
}

.notification.error .notification-content i {
    color: #ef4444;
}

.notification.warning .notification-content i {
    color: #f59e0b;
}

.notification.info .notification-content i {
    color: #3b82f6;
}

.notification-content span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.notification-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: #f3f4f6;
    color: #6b7280;
}

/* 错误消息样式 */
.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.error-message::before {
    content: '⚠';
    font-size: 14px;
}

/* 表单错误状态 */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* 密码强度指示器 */
.password-strength {
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

.password-strength.weak {
    color: #ef4444;
}

.password-strength.medium {
    color: #f59e0b;
}

.password-strength.strong {
    color: #10b981;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .user-btn {
        min-width: auto;
        padding: 8px;
    }

    .user-btn .user-name {
        display: none;
    }

    .user-dropdown {
        min-width: 250px;
        right: -10px;
    }

    .success-message,
    .notification-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .notification {
        margin-left: 0;
        margin-right: 0;
    }
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    .user-btn {
        background: #1f2937;
        border-color: #374151;
        color: #f9fafb;
    }

    .user-btn:hover {
        background: #374151;
        border-color: #4b5563;
    }

    .user-dropdown {
        background: #1f2937;
        border-color: #374151;
    }

    .user-info {
        border-color: #374151;
    }

    .user-nickname {
        color: #f9fafb;
    }

    .user-email {
        color: #d1d5db;
    }

    .user-action-item {
        color: #f9fafb;
    }

    .user-action-item:hover {
        background: #374151;
    }

    .user-action-divider {
        background: #374151;
    }

    .notification {
        background: #1f2937;
        border-color: #374151;
    }

    .notification-content span {
        color: #f9fafb;
    }
}

/* ====================
   会员相关样式
   ==================== */

/* 会员徽章 */
.member-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #35be70 0%, #2da85f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(53, 190, 112, 0.3);
    z-index: 10;
}

.user-avatar {
    position: relative;
}

/* 用户会员信息 */
.user-membership {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.membership-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    margin-bottom: 4px;
}

.membership-status.free {
    background: #f3f4f6;
    color: #6b7280;
}

.membership-status.active {
    background: rgba(53, 190, 112, 0.15);
    color: #2da85f;
}

.membership-expire {
    font-size: 11px;
    color: #6b7280;
    margin-left: 16px;
}

.sort-hint {
    padding: 0.8rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.sort-hint i {
    color: var(--primary-color);
    font-size: 0.8rem;
}