* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 32px;
}

.logo h1 {
    font-size: 24px;
    color: #2c3e50;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* 添加一个伪元素来填充一级菜单和二级菜单之间的间隙 */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        margin-top: 5px;
        width: 100%;
        max-height: 300px;
        overflow-y: auto;
    }
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .dropdown.active .dropdown-menu {
        position: static;
        width: 100%;
    }
}

/* 面包屑导航样式 */
.breadcrumb-container {
    background: white;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 70px;
    z-index: 99;
}

.breadcrumb {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 14px;
}

.breadcrumb-item {
    color: #7f8c8d;
    text-decoration: none;
    transition: all 0.3s;
    padding: 4px 8px;
    border-radius: 4px;
}

.breadcrumb-item:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.breadcrumb-item.active {
    color: #2c3e50;
    font-weight: 600;
    cursor: default;
}

.breadcrumb-separator {
    margin: 0 4px;
    color: #bdc3c7;
    font-size: 12px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    color: #667eea;
    padding-left: 25px;
}

/* 菜单项徽章样式 */
.dropdown-item .badge {
    background-color: #e74c3c;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    margin-left: 8px;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

/* 默认隐藏移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
}

.btn {
    padding: 10px 25px;
    border-radius: 25px;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: #3498db;
    color: #3498db;
}

.btn-outline:hover {
    background-color: #3498db;
    color: white;
}

.btn-large {
    padding: 14px 35px;
    font-size: 16px;
}

.btn-xlarge {
    padding: 18px 45px;
    font-size: 18px;
}

.full-width {
    width: 100%;
    margin-top: 10px;
}

.hero-section {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #7c8ff0 0%, #8b5fbf 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-overlay {
    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 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 1;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.6);
}

.hero-buttons .btn-outline {
    border-color: white;
    color: white;
}

.hero-buttons .btn-outline:hover {
    background-color: white;
    color: #7c8ff0;
}

.tree-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.tree-node {
    background: white;
    color: #667eea;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    min-width: 80px;
    text-align: center;
}

.tree-node.root {
    background: #ffd700;
    color: #333;
    font-size: 18px;
}

.tree-branch {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.6);
}

.tree-nodes-level {
    display: flex;
    gap: 30px;
}

.tree-branches-level {
    display: flex;
    gap: 80px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-arrow {
    font-size: 24px;
    margin-top: 5px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
}

.about-section {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.about-card p {
    color: #7f8c8d;
    line-height: 1.8;
}

.features-section {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-card > p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: #555;
    padding: 8px 0;
    font-size: 14px;
}

.culture-section {
    background: white;
}

.culture-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.culture-left h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.culture-left > p {
    color: #7f8c8d;
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.culture-points {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.culture-point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.point-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3498db;
    opacity: 0.3;
    min-width: 50px;
}

.point-content h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 8px;
}

.point-content p {
    color: #7f8c8d;
    line-height: 1.6;
}

.culture-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.quote-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    position: relative;
}

.quote-icon {
    font-size: 60px;
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
}

.quote-card blockquote {
    position: relative;
    z-index: 1;
    margin: 20px 0;
}

.quote-card blockquote p {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
}

.quote-author {
    text-align: right;
    font-weight: 600;
    opacity: 0.9;
}

.stats-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 5px;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: white;
}

.cta-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-box .btn-primary {
    background: white;
    color: #667eea;
}

.cta-box .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

.beian-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-top: 8px;
    font-size: 0.9rem;
}

.beian-item {
    margin: 0;
}

.mp-qr-code {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mp-qr-code img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mp-qr-code img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.mp-qr-code p {
    margin: 8px 0 0 0;
    padding: 0;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 768px) {
    .mp-qr-code img {
        width: 80px;
        height: 80px;
    }
    
    .mp-qr-code p {
        font-size: 0.7rem !important;
    }
}

.floating-mp-qr-code {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    background: white;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    width: 140px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.qr-code-content {
    text-align: center;
}

.qr-close-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.mobile-mp-qr-code {
    display: none;
    text-align: center;
    padding: 20px 0;
    background: #2c3e50;
    border-top: 1px solid #34495e;
    margin-top: 20px;
}

.mobile-mp-qr-code h4 {
    color: #ecf0f1;
    margin-bottom: 12px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .floating-mp-qr-code {
        display: none;
    }
    
    .mobile-mp-qr-code {
        display: block;
    }
    
    .beian-links {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .beian-item {
        text-align: center;
        width: 100%;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #fefefe;
    padding: 40px;
    border-radius: 15px;
    width: 420px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-btn {
    color: #999;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 10;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    line-height: 1;
}

.close-btn:hover,
.close-btn:focus {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    transform: rotate(90deg);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .close-btn {
        right: 10px;
        top: 10px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.8rem;
}

.form-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* 注册表单优化样式 */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.email-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    flex: 1;
    padding-right: 45px !important;
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    z-index: 1;
}

.toggle-password:hover {
    opacity: 0.7;
}

.required {
    color: #e74c3c;
    margin-right: 4px;
}

.hint-text {
    color: #95a5a6;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
    line-height: 1.4;
}

.validation-icon {
    position: absolute;
    right: 12px;
    font-size: 1.2rem;
    display: none;
}

.validation-icon.success {
    display: inline;
    content: '✓';
    color: #2ecc71;
}

.validation-icon.error {
    display: inline;
    content: '✗';
    color: #e74c3c;
}

.validation-icon.loading {
    display: inline;
    content: '⏳';
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 密码强度指示器 */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 25%;
    background-color: #e74c3c;
}

.strength-fill.fair {
    width: 50%;
    background-color: #f39c12;
}

.strength-fill.good {
    width: 75%;
    background-color: #3498db;
}

.strength-fill.strong {
    width: 100%;
    background-color: #2ecc71;
}

.strength-text {
    color: #7f8c8d;
    font-size: 0.8rem;
    display: block;
}

.strength-text.weak { color: #e74c3c; }
.strength-text.fair { color: #f39c12; }
.strength-text.good { color: #3498db; }
.strength-text.strong { color: #2ecc71; }

/* 复选框样式 */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #34495e;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #667eea;
}

.agreement-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.agreement-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* 按钮加载状态 */
.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.captcha-wrapper {
    display: flex;
    gap: 10px;
}

#captchaImg {
    height: 46px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s;
}

#captchaImg:hover {
    border-color: #3498db;
}

.switch-auth {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #7f8c8d;
}

.switch-auth a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.switch-auth a:hover {
    text-decoration: underline;
}

.message-box {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 14px 28px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    z-index: 3000;
    display: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.3s;
}

.message-box.show {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.message-box.error {
    background-color: #e74c3c;
}

.message-box.success {
    background-color: #2ecc71;
}

.message-box.warning {
    background-color: #f39c12;
}

@media (max-width: 768px) {
    /* 移动端布局顺序：logo(1) - nav-buttons(2) - hamburger(3) */
    .logo {
        order: 1;
    }
    
    .nav-buttons {
        order: 2;
        margin-left: auto;
    }
    
    /* 移动端菜单按钮 */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10001;
        position: relative;
        order: 3;
    }
    
    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: #2c3e50;
        border-radius: 2px;
        transition: all 0.3s ease;
        display: block;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: white;
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: white;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 10000;
        gap: 0;
        order: 4;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        margin-bottom: 5px;
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        color: white !important;
        font-size: 16px;
        font-weight: 500;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: #ffd700 !important;
    }
    
    .dropdown-toggle {
        color: white !important;
    }
    
    /* 移动端禁用 hover 效果，只通过 active 类控制 */
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        margin-top: 0;
        width: 100%;
        max-height: none;
        overflow-y: visible;
        display: none;
        padding-left: 20px;
        background: rgba(255,255,255,0.1);
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .dropdown-item {
        padding: 12px 15px;
        color: rgba(255,255,255,0.9) !important;
        font-size: 14px;
        border-radius: 5px;
        transition: all 0.2s;
    }
    
    .dropdown-item:hover {
        background: rgba(255,255,255,0.2);
        color: white !important;
        padding-left: 20px;
    }
    
    /* 移动端菜单项徽章样式 */
    .dropdown-item .badge {
        background-color: #ff4757;
        color: white;
        font-size: 11px;
        padding: 2px 6px;
        border-radius: 10px;
        min-width: 18px;
        text-align: center;
        margin-left: 8px;
    }
    
    .nav-buttons {
        margin-left: auto;
        order: 1;
    }
    
    /* 移动端调整按钮样式，使其更紧凑 */
    .nav-buttons .btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .tree-visual {
        display: none;
    }

    .culture-content {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-card {
        grid-template-columns: 1fr;
    }
}
.dashboard-container {
    margin-top: 70px;
    padding: 40px 20px;
    min-height: calc(100vh - 70px);
    background: #f5f7fa;
}

.welcome-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.welcome-box h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.welcome-box p {
    color: #7f8c8d;
}
/* 导航栏图标按钮 */
.nav-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.nav-icon-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-icon-btn .icon {
    font-size: 20px;
    line-height: 1;
}

.nav-icon-btn .badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background-color: #ff4757;
    color: white;
    border-radius: 9px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(25%, -25%);
}

.nav-buttons {
    display: flex;
    align-items: center;
}

/* Shake 动画 - 用于提示用户注意 */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}
