/* 现代化首页样式 */

/* 全局变量 */
:root {
    --primary-color: #5B67CA;
    --secondary-color: #7C83FD;
    --accent-color: #FDC76C;
    --dark-color: #2D3142;
    --light-color: #F8F9FA;
    --text-color: #4A4A4A;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

/* 重置基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

/* 导航栏 */
.navbar-modern {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: var(--transition);
    border: none;
    min-height: 70px;
}

.navbar-modern.scrolled {
    padding: 10px 0;
    min-height: 60px;
}

.navbar-modern .navbar-brand {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
    padding: 15px 0;
}

.navbar-modern .navbar-brand:hover {
    color: var(--secondary-color);
}

.navbar-modern .navbar-nav > li > a {
    color: var(--text-color);
    padding: 10px 20px;
    font-weight: 500;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.navbar-modern .navbar-nav > li > a:hover {
    color: var(--primary-color);
    background-color: rgba(91, 103, 202, 0.05);
}

.navbar-modern .nav-highlight {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.navbar-modern .nav-highlight:hover {
    background: rgba(91, 103, 202, 0.1);
}

/* 用户下拉菜单 */
.navbar-modern .user-dropdown {
    display: flex;
    align-items: center;
}

.navbar-modern .avatar-img {
    display: inline-block;
    margin-right: 8px;
}

.navbar-modern .avatar-img img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.navbar-modern .username {
    font-weight: 600;
}

/* 下拉菜单样式 */
.navbar-modern .dropdown-menu,
.dropdown-menu-modern {
    border: none;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border-radius: var(--border-radius);
    padding: 10px 0;
    min-width: 200px;
    margin-top: 10px;
}

.navbar-modern .dropdown-menu > li > a,
.dropdown-menu-modern > li > a {
    padding: 10px 20px;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.navbar-modern .dropdown-menu > li > a:hover,
.dropdown-menu-modern > li > a:hover {
    background: var(--primary-color);
    color: white;
}

.navbar-modern .dropdown-menu > li > a i,
.dropdown-menu-modern > li > a i {
    width: 20px;
    margin-right: 10px;
    color: var(--primary-color);
}

.navbar-modern .dropdown-menu > li > a:hover i,
.dropdown-menu-modern > li > a:hover i {
    color: white;
}

.navbar-modern .dropdown-menu .divider,
.dropdown-menu-modern .divider {
    margin: 5px 0;
    background-color: #f0f0f0;
}

.navbar-modern .dropdown-menu a.logout-link,
.dropdown-menu-modern a.logout-link {
    color: #e74c3c !important;
}

.navbar-modern .dropdown-menu a.logout-link:hover,
.dropdown-menu-modern a.logout-link:hover {
    background: #e74c3c !important;
    color: white !important;
}

.navbar-modern .dropdown-menu a.logout-link i,
.dropdown-menu-modern a.logout-link i {
    color: inherit;
}

/* 用户下拉菜单特殊样式 */
.navbar-modern .nav-order-btn {
    margin-right: 15px;
}

.navbar-modern .user-dropdown-menu {
    margin-left: 10px;
}

.navbar-modern .user-dropdown {
    display: flex;
    align-items: center;
    /* 移除特殊的padding，使用默认导航链接的样式 */
}

.navbar-modern .user-dropdown .avatar-img {
    display: inline-block;
    margin-right: 8px;
}

.navbar-modern .user-dropdown .avatar-img img {
    width: 20px;  /* 调整为20px以与其他按钮大小一致 */
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(91, 103, 202, 0.3);  /* 使用主题色的边框 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-modern .user-dropdown .username {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    font-size: 14px;  /* 与其他导航链接保持一致的字体大小 */
}

.navbar-modern .user-dropdown .caret {
    margin-left: 5px;
    transition: transform 0.3s;
}

.navbar-modern .dropdown.open .user-dropdown .caret {
    transform: rotate(180deg);
}

.navbar-modern .dropdown-toggle::after {
    display: none;
}

/* 导航按钮 */
.btn-nav-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 25px;
    margin-left: 10px;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
}

.btn-nav-primary i {
    margin-right: 6px;
    font-size: 14px;
}

.btn-nav-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 103, 202, 0.3);
    color: white !important;
    text-decoration: none;
}

.btn-nav-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
    padding: 6px 18px !important;
    border-radius: 25px;
    margin-left: 10px;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
}

.btn-nav-outline:hover {
    background: var(--primary-color);
    color: white !important;
    text-decoration: none;
}

/* 移动端导航 */
.navbar-toggle {
    border: none;
    background: transparent;
    padding: 10px;
    margin-top: 15px;
    position: relative;
    z-index: 1001;
}

.navbar-toggle .icon-bar {
    background: var(--primary-color);
    height: 3px;
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-toggle:hover .icon-bar {
    background: var(--secondary-color);
}

.navbar-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.navbar-toggle.active .icon-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active .icon-bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .icon-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端云电脑按钮样式 */
.mobile-cpanel-btn,
.mobile-logout-btn {
    display: none;
}

@media (max-width: 767px) {
    .mobile-cpanel-btn,
    .mobile-logout-btn {
        display: block !important;
    }

    .mobile-logout-btn {
        margin-top: 5px;
    }

    .btn-mobile-cpanel {
        display: block !important;
        width: calc(100% - 30px);
        margin: 10px 15px;
        padding: 8px 20px !important;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white !important;
        text-align: center;
        border-radius: 25px;
        font-weight: 600;
        transition: var(--transition);
        text-decoration: none;
    }

    .btn-mobile-cpanel:hover,
    .btn-mobile-cpanel:focus {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(91, 103, 202, 0.3);
        color: white !important;
        text-decoration: none;
    }

    .btn-mobile-cpanel:active {
        transform: translateY(0);
    }

    .btn-mobile-cpanel i {
        margin-right: 6px;
    }

    /* 退出登录按钮样式 - 白色背景 */
    .btn-mobile-logout {
        display: block !important;
        width: calc(100% - 30px);
        margin: 10px 15px;
        padding: 8px 20px !important;
        background: white;
        color: var(--text-color) !important;
        text-align: center;
        border-radius: 25px;
        border: 2px solid rgba(0, 0, 0, 0.1);
        font-weight: 600;
        transition: var(--transition);
        text-decoration: none;
    }

    .btn-mobile-logout:hover,
    .btn-mobile-logout:focus {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        background: #f8f9fa;
        color: #e74c3c !important;
        border-color: rgba(231, 76, 60, 0.3);
        text-decoration: none;
    }

    .btn-mobile-logout:active {
        transform: translateY(0);
        background: #f0f0f0;
    }

    .btn-mobile-logout i {
        margin-right: 6px;
    }
}


/* Hero区域 */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: linear-gradient(135deg, rgba(91, 103, 202, 0.05) 0%, rgba(124, 131, 253, 0.05) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(91, 103, 202, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    display: block;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-color);
    margin-top: 10px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-actions {
    margin-bottom: 50px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 30px;
    border: none;
    display: inline-block;
    text-decoration: none;
    margin-right: 20px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(91, 103, 202, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(91, 103, 202, 0.4);
    color: white;
    text-decoration: none;
}

.btn-hero-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 30px;
    border: 2px solid var(--primary-color);
    display: inline-block;
    text-decoration: none;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-color);
    margin-top: 5px;
}

/* 服务器插画 */
.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-illustration {
    position: relative;
    width: 100%;
    height: 100%;
}

.server-box {
    width: 200px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 40px rgba(91, 103, 202, 0.3);
}

.server-light {
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 50%;
    position: absolute;
    top: 20px;
    right: 20px;
    animation: blink 2s infinite;
}

.server-line {
    width: 160px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    margin: 20px auto;
    border-radius: 2px;
}

.floating-icon {
    position: absolute;
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 60%;
    right: 10%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* 特性区域 */
.features-section {
    padding: 80px 0;
    background: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-color);
}

.features-section .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.features-section .col-md-4 {
    display: flex;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
}

.feature-card {
    background: white;
    padding: 40px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 320px;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 36px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* 套餐展示 */
.packages-section {
    padding: 80px 0;
    background: white;
}

.package-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 30px;
    position: relative;
}

.package-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(91, 103, 202, 0.15);
}

.package-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: 600;
}

.package-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.package-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 15px;
}

.price-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.price-option {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
}

.price-currency {
    font-size: 20px;
    color: var(--text-color);
    margin-right: 5px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: 16px;
    color: var(--text-color);
    margin-left: 5px;
}

.package-body {
    padding: 30px;
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.package-features li {
    padding: 10px 0;
    color: var(--text-color);
    font-size: 16px;
    display: flex;
    align-items: center;
}

.package-features li i {
    color: #4CAF50;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.package-features li span {
    color: #666;
    font-size: 14px;
    margin-right: 5px;
    min-width: 60px;
}

.btn-package {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
}

.btn-package:hover {
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
}

.btn-view-all {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.btn-view-all:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* 关于我们 */
.about-section {
    padding: 80px 0;
    background: var(--light-color);
}

.about-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.about-section p {
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-stats {
    margin-top: 40px;
}

.stat-box {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
}

.stat-box h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 16px;
    color: var(--text-color);
    margin: 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.tech-item {
    background: white;
    padding: 15px 25px;
    border-radius: 25px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--text-color);
}

.tech-item i {
    font-size: 24px;
    color: var(--primary-color);
}

/* CTA区域 */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn-cta-primary {
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 30px;
    border: none;
    display: inline-block;
    text-decoration: none;
    margin: 0 10px;
    transition: var(--transition);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
    text-decoration: none;
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 30px;
    border: 2px solid white;
    display: inline-block;
    text-decoration: none;
    margin: 0 10px;
    transition: var(--transition);
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--primary-color);
    text-decoration: none;
}

/* 页脚 */
.footer-modern {
    background: var(--dark-color);
    color: #B0B0B0;
    padding: 60px 0 20px;
}

.footer-modern h4 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-modern h5 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-modern p {
    line-height: 1.8;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #B0B0B0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

.footer-bottom a {
    color: #B0B0B0;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .features-section .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        text-align: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        margin-top: 50px;
    }

    .features-section .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .features-section .col-sm-6 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .feature-card {
        padding: 30px 20px;
        min-height: 280px;
    }

    .feature-card h3 {
        font-size: 18px;
    }

    .feature-card p {
        font-size: 14px;
    }

    .package-card.featured {
        transform: scale(1);
    }

    .tech-stack {
        justify-content: flex-start;
    }

    .navbar-modern .navbar-nav {
        margin-top: 20px;
        background: rgba(255, 255, 255, 0.98);
        padding: 15px;
        border-radius: var(--border-radius);
    }

    .navbar-modern .navbar-nav > li {
        display: block;
        width: 100%;
    }

    .navbar-modern .navbar-nav > li > a {
        padding: 10px 15px;
        display: block;
        border-radius: var(--border-radius);
    }

    /* 修复移动端用户下拉菜单 */
    .navbar-modern .user-dropdown-menu {
        position: static !important;
        margin: 0;
    }

    .navbar-modern .user-dropdown-menu .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0;
        background: rgba(248, 249, 250, 0.98);
        box-shadow: none;
        border-top: 1px solid rgba(0,0,0,0.1);
    }

    .navbar-modern .user-dropdown-menu.open .dropdown-menu {
        display: block;
        padding-top: 0;
        margin-top: 0;
    }

    /* 移动端用户信息区域样式 */
    .navbar-modern .user-dropdown-menu.open > a.dropdown-toggle {
        border-bottom: 1px solid rgba(91, 103, 202, 0.2);
        margin-bottom: 5px;
        padding-bottom: 15px;
    }

    .navbar-modern .user-dropdown {
        width: 100%;
        justify-content: space-between;
        padding: 10px 15px !important;
    }

    .navbar-modern .user-dropdown:focus,
    .navbar-modern .user-dropdown:active {
        background-color: rgba(91, 103, 202, 0.05);
        outline: none;
    }

    /* 确保下拉菜单项可点击 */
    .navbar-modern .dropdown-menu > li > a {
        padding: 12px 20px;
        display: block;
    }

    .btn-nav-primary,
    .btn-nav-outline {
        margin: 10px 15px;
        display: block;
        text-align: center;
        width: calc(100% - 30px);
    }

    /* 修复Bootstrap默认的collapse样式 */
    .navbar-collapse.in {
        overflow-y: visible !important;
    }

    .navbar-modern .navbar-collapse {
        border-top: 1px solid rgba(0,0,0,0.1);
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .features-section .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .price-amount {
        font-size: 36px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 30px;
    }
}