html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.3);
}

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #0f2a4a 0%, #1e3c72 50%, #5a6fd8 100%);
        box-shadow: 0 4px 12px rgba(30, 60, 114, 0.4);
    }

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 卡片悬停效果增强 */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .card-hover::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.6s ease;
    }

    .card-hover:hover {
        transform: translateY(-12px) scale(1.03);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }

        .card-hover:hover::before {
            left: 100%;
        }

/* 按钮悬停效果 */
.btn-gradient {
    position: relative;
    overflow: hidden;
}

    .btn-gradient::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;
    }

    .btn-gradient:hover::before {
        left: 100%;
    }

/* 响应式字体大小 */
@media (max-width: 575.98px) {
    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .lead {
        font-size: 1rem;
    }
}

/* 导航栏增强 */
.navbar {
    transition: all 0.3s ease;
}

    .navbar.scrolled {
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.95) !important;
    }

/* 图标动画 */
.icon-wrapper {
    transition: transform 0.3s ease;
}

.card-hover:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* 渐变文字效果 */
.text-gradient {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(30, 60, 114, 0.3);
}

/* 页脚链接悬停效果 */
.footer a {
    position: relative;
    transition: color 0.3s ease;
}

    .footer a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -2px;
        left: 0;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
        transition: width 0.3s ease;
        box-shadow: 0 0 8px rgba(30, 60, 114, 0.3);
    }

    .footer a:hover::after {
        width: 100%;
    }

/* 移动端优化 */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* 移动端优化 - 简化版本 */
    .navbar-collapse {
        display: none;
    }

    /* 移动端卡片优化 */
    .card-hover {
        margin-bottom: 20px;
        border-radius: 16px;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
    }

    /* 移动端按钮优化 */
    .btn-gradient {
        padding: 12px 28px;
        font-size: 1rem;
        border-radius: 25px;
    }

    /* 移动端英雄区域优化 */
    .hero-section h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-section p {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

/* 加载动画 */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

    .loading.loaded {
        opacity: 1;
        transform: translateY(0);
    }

/* 玻璃态效果 */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 霓虹灯效果 */
.neon-text {
    color: #fff;
    text-shadow: 0 0 5px #1e3c72, 0 0 10px #1e3c72, 0 0 15px #1e3c72, 0 0 20px #1e3c72;
    animation: neon-flicker 2s infinite alternate;
}

@keyframes neon-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow: 0 0 5px #1e3c72, 0 0 10px #1e3c72, 0 0 15px #1e3c72, 0 0 20px #1e3c72;
    }

    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* 浮动动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* 脉冲效果 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 60, 114, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(30, 60, 114, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(30, 60, 114, 0);
    }
}

.pulse-effect {
    animation: pulse 2s infinite;
}

/* 渐变边框 */
.gradient-border {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 2px;
}

    .gradient-border::before {
        content: '';
        position: absolute;
        inset: 0;
        padding: 2px;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
        border-radius: inherit;
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: exclude;
    }

/* 3D 效果 */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

    .card-3d:hover {
        transform: rotateY(5deg) rotateX(5deg);
    }

/* 粒子背景效果 */
.particle-bg {
    position: relative;
    overflow: hidden;
}

    .particle-bg::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px), radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
        background-size: 50px 50px, 80px 80px, 60px 60px;
        animation: particle-move 20s linear infinite;
    }

@keyframes particle-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-50px, -50px);
    }
}
/* 现代化配色方案 */
:root {
    /* 主色调 - 深蓝到紫色渐变 */
    --primary-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
    --primary-light: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    /* 辅助色 - 温暖的橙红渐变 */
    --secondary-gradient: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 50%, #ff6b9d 100%);
    --secondary-light: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    /* 成功色 - 清新的绿色渐变 */
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --success-light: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    /* 警告色 - 活力的黄色渐变 */
    --warning-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --warning-light: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    /* 信息色 - 优雅的紫色渐变 */
    --info-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --info-light: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%);
    /* 深色渐变 */
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    /* 中性色 */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 30%, #667eea 70%, #764ba2 100%);
    min-height: 50vh;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%), radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
        opacity: 0.8;
    }

    .hero-section::after {
        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 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
        opacity: 0.3;
    }

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

    .navbar-brand .logo-icon {
        width: 45px;
        height: 45px;
        background: var(--primary-gradient);
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
        transition: all 0.3s ease;
    }

        .navbar-brand .logo-icon:hover {
            transform: scale(1.05) rotate(5deg);
            box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
        }

.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

    .card-hover::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .card-hover:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

        .card-hover:hover::before {
            opacity: 1;
        }

.gradient-bg-primary {
    background: var(--primary-gradient);
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.gradient-bg-secondary {
    background: var(--secondary-gradient);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.gradient-bg-success {
    background: var(--success-gradient);
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.3);
}

.gradient-bg-warning {
    background: var(--warning-gradient);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.gradient-bg-info {
    background: var(--info-gradient);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.gradient-bg-dark {
    background: var(--dark-gradient);
}

.text-gradient {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--primary-gradient);
        border-radius: 2px;
        box-shadow: 0 2px 8px rgba(30, 60, 114, 0.3);
    }

.btn-gradient {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.3);
}

    .btn-gradient::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.6s ease;
    }

    .btn-gradient:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 12px 30px rgba(30, 60, 114, 0.4);
        color: white;
    }

        .btn-gradient:hover::before {
            left: 100%;
        }

.btn-gradient-secondary {
    background: var(--secondary-gradient);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

    .btn-gradient-secondary:hover {
        box-shadow: 0 12px 30px rgba(255, 107, 107, 0.4);
        color: white;
    }

.footer {
    background: var(--dark-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
        opacity: 0.6;
    }

    .footer a {
        color: #cbd5e1;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
    }

        .footer a:hover {
            color: white;
            text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
        }

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

    .icon-wrapper::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent, rgba(255, 255, 255, 0.1));
        border-radius: 18px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

.card-hover:hover .icon-wrapper::before {
    opacity: 1;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 8px;
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: #1e3c72 !important;
        text-shadow: 0 0 8px rgba(30, 60, 114, 0.3);
    }

.dropdown-menu {
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 12px 0;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.dropdown-item {
    padding: 14px 24px;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 8px;
}

    .dropdown-item:hover {
        background: var(--primary-gradient);
        color: white;
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
    }

/* 移动端菜单按钮样式 */
.mobile-menu-btn {
    padding: 12px;
    border-radius: 12px;
    background: var(--primary-gradient);
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
    transition: all 0.3s ease;
}

    .mobile-menu-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
    }

    .mobile-menu-btn:focus {
        box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.2);
    }

.hamburger {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

    .hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

.mobile-menu-btn[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 移动端全屏菜单 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.95) 0%, rgba(42, 82, 152, 0.95) 50%, rgba(102, 126, 234, 0.95) 100%);
    backdrop-filter: blur(20px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .mobile-menu-overlay.show {
        opacity: 1;
        visibility: visible;
    }

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(20px);
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.show .mobile-menu-content {
    transform: translateX(0);
}

/* 菜单头部 */
.mobile-menu-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
}

    .mobile-menu-logo .logo-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-gradient);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

    .mobile-menu-close:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
    }

/* 菜单主体 */
.mobile-menu-body {
    flex: 1;
    padding: 24px 0;
    overflow-y: auto;
}

.mobile-menu-section {
    margin-bottom: 8px;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    margin: 4px 0;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .mobile-menu-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(30, 60, 114, 0.1), transparent);
        transition: left 0.6s ease;
    }

    .mobile-menu-item:hover::before {
        left: 100%;
    }

    .mobile-menu-item:hover {
        background: var(--primary-gradient);
        color: white;
        transform: translateX(8px);
        box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
    }

        .mobile-menu-item:hover .menu-item-text {
            color: white;
        }

        .mobile-menu-item:hover .menu-item-arrow {
            color: white;
        }

.menu-item-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.menu-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu-item-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: color 0.3s ease;
}

.menu-item-arrow {
    font-size: 14px;
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.mobile-menu-item.active .menu-item-arrow {
    transform: rotate(180deg);
}

/* 子菜单 */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(248, 250, 252, 0.8);
    margin: 0 24px;
    border-radius: 12px;
}

    .mobile-submenu.show {
        max-height: 500px;
    }

.mobile-submenu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 4px 8px;
}

    .mobile-submenu-item:hover {
        background: var(--primary-gradient);
        color: white;
        transform: translateX(8px);
    }

    .mobile-submenu-item i {
        width: 20px;
        text-align: center;
        margin-right: 12px;
        font-size: 16px;
    }

/* 菜单底部 */
.mobile-menu-footer {
    padding: 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
}

/* 移动端链接样式 */
.mobile-menu-link {
    text-decoration: none;
    color: inherit;
}

    .mobile-menu-link:hover {
        text-decoration: none;
        color: inherit;
    }

.dropdown-item {
    padding: 12px 20px;
    font-size: 1rem;
    color: var(--gray-600);
    border-radius: 8px;
    margin: 2px 8px;
    transition: all 0.3s ease;
}

    .dropdown-item:hover {
        background: var(--primary-gradient);
        color: white;
        transform: translateX(5px);
    }

    .dropdown-item i {
        width: 20px;
        text-align: center;
        margin-right: 10px;
    }

/* 背景颜色优化 */
.bg-light {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

.bg-white {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
}

/* 卡片边框优化 */
.card {
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(10px);
}

    .card:hover {
        border-color: rgba(30, 60, 114, 0.2);
    }

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 40vh;
        text-align: center;
        padding: 60px 0;
    }

        .hero-section h1 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
        }

        .hero-section p {
            font-size: 1.1rem;
            margin-bottom: 2rem;
        }

    /* 移动端导航栏优化 */
    .navbar {
        padding: 12px 0;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

        .navbar-brand .logo-icon {
            width: 40px;
            height: 40px;
        }

    /* 移动端菜单动画 */
    .navbar-collapse {
        animation: slideDown 0.3s ease-out;
    }

        .navbar-collapse.collapsing {
            animation: slideUp 0.3s ease-in;
        }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes slideUp {
        from {
            opacity: 1;
            transform: translateY(0);
        }

        to {
            opacity: 0;
            transform: translateY(-20px);
        }
    }

    /* 移动端卡片优化 */
    .card-hover {
        margin-bottom: 20px;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
    }

    /* 移动端按钮优化 */
    .btn-gradient {
        padding: 12px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 35vh;
        padding: 40px 0;
    }

        .hero-section h1 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .hero-section p {
            font-size: 1rem;
            margin-bottom: 1.5rem;
        }

    .btn-gradient {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
    }

    /* 小屏幕移动端菜单优化 */
    .mobile-menu-content {
        width: 90%;
        max-width: 350px;
    }

    .mobile-menu-item {
        padding: 14px 20px;
    }

    .menu-item-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .menu-item-text {
        font-size: 1rem;
    }
}

/* 确保移动端菜单在桌面端隐藏 */
@media (min-width: 992px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}