/* 
 * 通用样式 - 所有页面共享
 * 包括导航栏、底部栏等通用组件
 */

/* ============================================
   导航栏样式
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo区域 */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-brand .logo {
    height: 45px;
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    transform: scale(1.05);
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-tagline {
    font-size: 14px;
    color: #333;
    letter-spacing: 1px;
    font-weight: 400;
    padding-left: 8px;
    border-left: 1px solid #e0e0e0;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 2px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00A6FB;
    background: rgba(0, 166, 251, 0.08);
}

.nav-link.active {
    color: #00A6FB;
    background: rgba(0, 166, 251, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    height: 2px;
    background: linear-gradient(90deg, #00A6FB 0%, #0082C8 100%);
    border-radius: 2px;
}

/* 免费试用按钮 */
.nav-link.btn-contact {
    background: linear-gradient(135deg, #00A6FB 0%, #0082C8 100%);
    color: white !important;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.nav-link.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 166, 251, 0.4);
    background: linear-gradient(135deg, #0082C8 0%, #00A6FB 100%);
}

/* 下拉菜单 */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 600px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.dropdown-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.dropdown-column a {
    display: block;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-column a:hover {
    color: #00A6FB;
    transform: translateX(4px);
}

/* ============================================
   底部栏样式
   ============================================ */
.footer {
    padding: 60px 0 20px;
    background: #001529;
    color: white;
    margin-top: 80px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
    clear: both;
}

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

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.footer-column a:hover {
    color: #00a6fb;
    transform: translateX(2px);
    display: inline-block;
}

.footer-bottom {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    clear: both;
    width: 100%;
    display: block;
}

.footer-bottom p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .brand-info {
        display: none;
    }
}