/* 基础重置和变量 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #11132a;
    --primary-green: #25c583;
    --white-text: #fafafa;
    --gray-text: #98b2a5;
    --yellow-accent: #d0c462;
    --pink-accent: #8f6977;
    --light-green: #d6ed96;
    --light-gray: #c8d1d4;
    --brown-accent: #c7aaa5;
    --container-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* 基础字体 */
@font-face {
    font-family: 'AviLockBold';
    src: url('https://ext.same-assets.com/2716639241/566937228.bin') format('truetype');
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: 'YouSheBiaoTiHei';
    src: url('https://ext.same-assets.com/2716639241/1022890628.ttf') format('truetype');
    font-weight: normal;
    font-display: swap;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--white-text);
    background: var(--primary-bg);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(17, 19, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    flex-shrink: 0;
}

.logo-link {
    font-family: 'AviLockBold', sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-green);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: 60px;
}

.nav-item {
    color: var(--white-text);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-item:hover {
    color: var(--primary-green);
}

.collect-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.collect-btn:hover .collect-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.collect-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0, 0, 0, 0.9);
    color: var(--white-text);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1001;
}

.collect-tooltip kbd {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 12px;
    margin: 0 2px;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.help-link, .vip-link {
    color: var(--white-text);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
}

.help-link:hover, .vip-link:hover {
    color: var(--primary-green);
}

.login-btn {
    background: var(--primary-green);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.login-btn:hover {
    background: #1ea574;
    transform: translateY(-1px);
}

/* 主要内容区域 */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* 下载器输入区 */
.download-section {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #1a1c3a 100%);
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://ext.same-assets.com/2716639241/515916116.jpeg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.download-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.download-info .title {
    font-family: 'AviLockBold', sans-serif;
    font-size: 72px;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 20px;
    line-height: 1;
    text-shadow: 0 0 20px rgba(37, 197, 131, 0.3);
}

.download-info .subtitle {
    font-size: 24px;
    color: var(--white-text);
    margin-bottom: 16px;
    font-weight: 500;
}

.stats {
    margin-bottom: 24px;
}

.stats-item {
    background: rgba(37, 197, 131, 0.1);
    color: var(--primary-green);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 16px;
    border: 1px solid rgba(37, 197, 131, 0.3);
}

.description {
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 12px;
}

.support-text {
    font-size: 20px;
    color: var(--white-text);
    font-weight: 500;
}

.download-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px 45px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    min-width: 480px;
}

.input-wrapper {
    display: flex;
    margin:0 auto;
    gap: 16px;
    text-align: center;
    margin-bottom: 32px;
    
}

.url-input {
    flex: 1;
    padding: 20px 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white-text);
    font-size: 18px;
    transition: var(--transition);
    min-height: 24px;
}

.url-input:focus {
    outline: none;
    border-color: var(--primary-green);
    background: rgba(255, 255, 255, 0.08);
}

.url-input::placeholder {
    color: var(--gray-text);
}

.parse-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    min-width: 140px
    text-align: 0,auto;
    ;
}

.parse-btn:hover {
    background: #1ea574;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 197, 131, 0.4);
}

.quick-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white-text);
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    min-width: 140px;
    justify-content: center;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-green);
}

/* 使用步骤部分 */
.steps-section {
    background: #ffffff;
    color: #333;
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 16px;
    color: #333;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
}

.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    align-items: start;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(37, 197, 131, 0.3);
}

.step-content {
    position: relative;
}

.step-gif {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.step-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* 功能特色部分 */
.features-section {
    background: var(--primary-bg);
    padding: 100px 0;
}

.features-section .section-title {
    color: var(--white-text);
}

.features-section .section-subtitle {
    color: var(--gray-text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-green);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: white;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--white-text);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.5;
}

/* FAQ部分 */
.faq-section {
    background: #f8f9fa;
    color: #333;
    padding: 100px 0;
}

.faq-section .section-title {
    color: #333;
}

.faq-actions {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.faq-link {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
}

.faq-link:hover {
    color: #1ea574;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 5px 20px rgba(37, 197, 131, 0.1);
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* 工具推荐部分 */
.tools-section {
    background: var(--primary-bg);
    padding: 100px 0;
}

.tools-section .section-title {
    color: var(--white-text);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.tool-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: var(--white-text);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tool-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-green);
    transform: translateY(-3px);
}

.tool-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 16px;
}

.tool-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white-text);
}

.tool-desc {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.4;
}

/* 底部footer */
.footer {
    background: #0d0f1f;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 60px;
    align-items: start;
    margin-bottom: 40px;
}

.footer-links, .footer-tools {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-link, .footer-tool {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.footer-link:hover, .footer-tool:hover {
    color: var(--primary-green);
}

.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-btn {
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.2);
    color: var(--white-text);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.footer-btn:hover {
    background: rgba(192, 192, 192, 0.15);
    border-color: var(--primary-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: var(--gray-text);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.legal-link {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--primary-green);
}

/* 侧边栏工具 */
.sidebar-tools {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-green);
    transform: scale(1.1);
}

.sidebar-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* 登录弹窗 */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 400px;
    max-width: 90vw;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 24px;
}

.phone-input {
    display: flex;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.country-code {
    background: #f5f5f5;
    padding: 16px;
    color: #333;
    font-size: 16px;
    border-right: 1px solid #e0e0e0;
}

.phone-field {
    flex: 1;
    padding: 16px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
}

.login-submit {
    width: 100%;
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 16px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
}

.login-submit:hover {
    background: #1ea574;
}

.login-agreement {
    font-size: 14px;
    color: #666;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.agreement-checkbox {
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.agreement-link {
    color: var(--primary-green);
    text-decoration: none;
}

.agreement-link:hover {
    text-decoration: underline;
}

/* 产品列表下拉菜单 */
.dropdown-item {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white-text);
    text-decoration: none;
    font-size: 16px;
}

.dropdown-trigger:hover {
    color: var(--primary-green);
}

.dropdown-trigger i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown-item:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-bg);
    border: 1px solid rgba(37, 197, 131, 0.2);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    margin-top: 20px;
    transition: all 0.3s ease;
    z-index: 2000;
    min-width: 800px;
    max-width: 900px;
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px 25px 20px;
}

.product-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: var(--white-text);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    background: rgba(37, 197, 131, 0.1);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 197, 131, 0.2);
}

.product-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
    min-width: 0;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--white-text);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.product-desc {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.2;
}

.product-tag.hot {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
}

.product-tag.new {
    background: linear-gradient(45deg, var(--primary-green), #20bf6b);
    color: white;
}

.product-tag.recommend {
    background: linear-gradient(45deg, #3742fa, #5352ed);
    color: white;
}

.dropdown-footer {
    padding: 15px 25px 25px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.view-all-btn {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.view-all-btn:hover {
    color: #1ea574;
    transform: translateX(3px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        padding: 0 16px;
    }

    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .dropdown-menu {
        min-width: 600px;
        max-width: 700px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 25px 20px 15px;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
    }

    .nav-menu {
        margin-left: 0;
        margin-top: 16px;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .user-actions {
        margin-top: 16px;
    }

    .dropdown-menu {
        min-width: 90vw;
        max-width: 95vw;
        left: 5%;
        transform: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 15px 10px;
    }

    .product-card {
        padding: 16px;
        gap: 12px;
    }

    .product-icon {
        width: 40px;
        height: 40px;
    }

    .product-name {
        font-size: 15px;
    }

    .product-desc {
        font-size: 12px;
    }

    .download-info .title {
        font-size: 48px;
    }

    .steps-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .faq-list {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
