/* index.css - 重新设计版本 */
/* 页面整体样式 */
.page {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0 5%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 50px;
    height: 55px;
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #23c1ad 0%, #3e8ede 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(35, 193, 173, 0.1);
    color: #23c1ad;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, rgba(8, 29, 58, 0.85), rgba(35, 193, 173, 0.85)),
                url('https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/2a7c3f00658b4be58c5ca3bd663180a0_mergeImage.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: linear-gradient(135deg, #23c1ad, #3e8ede);
    color: white;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features-section {
    padding: 120px 5%;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto 60px;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #23c1ad, #3e8ede);
    margin: 20px auto 60px;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(35, 193, 173, 0.1), rgba(62, 142, 222, 0.1));
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Usage Section */
.usage-section {
    padding: 120px 5%;
    background: linear-gradient(135deg, #f8fdff 0%, #f0f9ff 100%);
    position: relative;
}

.usage-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #23c1ad, #3e8ede);
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.usage-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.usage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.usage-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.usage-content {
    padding: 25px;
}

.usage-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Value Section */
.value-section {
    padding: 120px 5%;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

.value-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.value-list {
    text-align: left;
    margin-top: 50px;
}

.value-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-item h3 {
    color: #23c1ad;
    margin-bottom: 10px;
    font-size: 20px;
}

/* Download Section */
.download-section {
    padding: 120px 5%;
    background: white;
    text-align: center;
}

.download-container {
    max-width: 600px;
    margin: 0 auto;
}

.app-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(35, 193, 173, 0.2);
}

.app-title {
    font-size: 36px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.app-subtitle {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 50px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    min-width: 220px;
    height: 65px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #23c1ad, #3e8ede);
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(35, 193, 173, 0.4);
}

.download-btn i {
    font-size: 24px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a252f, #2c3e50);
    color: white;
    padding: 80px 5% 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #23c1ad;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
        padding: 0 20px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-link {
        padding: 6px 15px;
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 22px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
}

/* 在 index.css 文件末尾添加以下样式 */

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(35, 193, 173, 0.1);
    color: #23c1ad;
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover {
    background: rgba(35, 193, 173, 0.1);
    color: #23c1ad;
    padding-left: 30px;
}

.mobile-nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* 移动端下拉菜单 */
.mobile-dropdown-content {
    display: none;
    padding-left: 40px;
}

.mobile-dropdown-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mobile-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-dropdown-item:hover {
    background: rgba(35, 193, 173, 0.1);
    color: #23c1ad;
    border-left-color: #23c1ad;
    padding-left: 25px;
}

.mobile-dropdown-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.dropdown-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .navbar {
        height: 70px;
        padding: 0 20px;
    }
    
    .nav-container {
        justify-content: space-between;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 22px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
}

/* 桌面端法律链接调整 */
@media (min-width: 769px) {
    .dropdown {
        position: relative;
    }
    
    .legal-link {
        padding-right: 25px !important;
    }
}
