/* ========================================
   AnyDesk 远程桌面 - 首页专用样式
   品牌色：红色 #E30613 + 深灰 #2C2C2C
   ======================================== */

/* SEO H1 - 隐藏但保留 */
.seo-h1 {
    position: absolute;
    left: -9999px;
    font-size: 0;
    line-height: 0;
}

/* Hero 区域 */
.hero-section-ad {
    background: linear-gradient(135deg, #2C2C2C 0%, #1a1a1a 100%);
    padding: 120px 0 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-section-ad::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.hero-container-ad {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content-ad {
    flex: 1;
    z-index: 1;
}

.hero-title-ad {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.hero-subtitle-ad {
    font-size: 18px;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 30px;
}

.hero-buttons-ad {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-ad-primary,
.btn-ad-secondary {
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-ad-primary {
    background: #E30613;
    color: #fff;
}

.btn-ad-primary:hover {
    background: #c00510;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.3);
}

.btn-ad-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-ad-secondary:hover {
    background: #fff;
    color: #2C2C2C;
}

.hero-stats-ad {
    display: flex;
    gap: 40px;
}

.stat-item-ad {
    display: flex;
    flex-direction: column;
}

.stat-number-ad {
    font-size: 32px;
    font-weight: 700;
    color: #E30613;
    margin-bottom: 5px;
}

.stat-label-ad {
    font-size: 14px;
    color: #999;
}

.hero-image-ad {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup-ad {
    width: 100%;
    max-width: 500px;
}

.mockup-screen-ad {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.remote-demo-ad {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
}

.demo-window-ad {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.window-header-ad {
    background: #2C2C2C;
    padding: 12px;
    display: flex;
    gap: 8px;
}

.window-dot-ad {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E30613;
}

.window-dot-ad:nth-child(2) {
    background: #ffc107;
}

.window-dot-ad:nth-child(3) {
    background: #4caf50;
}

.window-content-ad {
    padding: 60px 20px;
    text-align: center;
}

.connection-status-ad {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.status-icon-ad {
    font-size: 48px;
}

.status-text-ad {
    font-size: 18px;
    font-weight: 600;
    color: #4caf50;
}

/* 核心功能区域 */
.features-section-ad {
    padding: 80px 0;
    background: #fff;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title-ad {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #2C2C2C;
}

.section-desc-ad {
    font-size: 18px;
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}

.features-grid-ad {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card-ad {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
}

.feature-card-ad:hover {
    border-color: #E30613;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(227, 6, 19, 0.1);
}

.feature-icon-ad {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title-ad {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2C2C2C;
}

.feature-desc-ad {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.feature-list-ad {
    list-style: none;
    padding: 0;
}

.feature-list-ad li {
    font-size: 14px;
    color: #666;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.feature-list-ad li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #E30613;
    font-weight: 700;
}

/* 使用场景 */
.scenarios-section-ad {
    padding: 80px 0;
    background: #f8f8f8;
}

.scenarios-grid-ad {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.scenario-card-ad {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.scenario-card-ad:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.scenario-icon-ad {
    font-size: 48px;
    margin-bottom: 20px;
}

.scenario-card-ad h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2C2C2C;
}

.scenario-card-ad p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

/* 下载区域 */
.download-section-ad {
    padding: 80px 0;
    background: linear-gradient(135deg, #E30613 0%, #c00510 100%);
    color: #fff;
}

.download-container-ad {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.download-title-ad {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.download-subtitle-ad {
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
    opacity: 0.9;
}

.download-platforms-ad {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.platform-card-ad {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: #fff;
    display: block;
}

.platform-card-ad:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

.platform-icon-ad {
    font-size: 48px;
    margin-bottom: 15px;
}

.platform-card-ad h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.platform-card-ad p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.download-btn-ad {
    display: inline-block;
    padding: 10px 25px;
    background: #fff;
    color: #E30613;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.platform-card-ad:hover .download-btn-ad {
    background: #2C2C2C;
    color: #fff;
}

/* FAQ 区域 */
.faq-section-ad {
    padding: 80px 0;
    background: #fff;
}

.faq-list-ad {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item-ad {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item-ad:hover {
    border-color: #E30613;
}

.faq-question-ad {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.faq-question-ad::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #E30613;
    opacity: 0;
    transition: opacity 0.3s;
}

.faq-item-ad.active .faq-question-ad::before {
    opacity: 1;
}

.faq-question-ad h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0;
    flex: 1;
}

.faq-toggle-ad {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E30613;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item-ad.active .faq-toggle-ad {
    transform: rotate(45deg);
}

.faq-answer-ad {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item-ad.active .faq-answer-ad {
    max-height: 500px;
}

.faq-answer-ad p {
    padding: 0 30px 25px 30px;
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-container-ad {
        flex-direction: column;
        text-align: center;
    }

    .hero-title-ad {
        font-size: 32px;
    }

    .hero-subtitle-ad {
        font-size: 16px;
    }

    .hero-buttons-ad {
        justify-content: center;
    }

    .hero-stats-ad {
        justify-content: center;
    }

    .section-title-ad {
        font-size: 28px;
    }

    .features-grid-ad,
    .scenarios-grid-ad,
    .download-platforms-ad {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   AnyDesk 导航栏差异化样式
   ======================================== */

/* Logo 样式 */
.anydesk-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s;
}

.anydesk-logo-link:hover {
    transform: scale(1.05);
}

.anydesk-logo-img {
    height: 40px;
    width: auto;
}

.anydesk-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #2C2C2C;
    letter-spacing: -0.5px;
}

/* 导航栏差异化 - AnyDesk风格 */
.multi-header-box {
    background: #fff !important;
    border-bottom: 3px solid #E30613 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.multi-header-box .layui-nav .layui-this:after {
    background-color: #E30613 !important;
}

.multi-header-box .multi-header-menu .layui-nav-item a:hover {
    color: #E30613 !important;
}

/* Footer 差异化 - AnyDesk风格 */
.footer {
    background: linear-gradient(135deg, #2C2C2C 0%, #1a1a1a 100%);
    color: #ddd;
    padding: 60px 0 30px;
    display: flex;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-left {
    flex: 1;
}

.footer-left .logo {
    font-size: 28px;
    font-weight: 700;
    color: #E30613;
    margin-bottom: 15px;
}

.footer-left .description {
    font-size: 14px;
    line-height: 1.8;
    color: #999;
}

.footer-right {
    flex: 2;
    display: flex;
    gap: 60px;
    justify-content: flex-end;
}

.footer-right .section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.footer-right .section ul {
    list-style: none;
    padding: 0;
}

.footer-right .section ul li {
    margin-bottom: 10px;
}

.footer-right .section ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-right .section ul li a:hover {
    color: #E30613;
}

.footer-bottom {
    background: #1a1a1a;
    color: #666;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

.footer-bottom a {
    color: #E30613;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        gap: 40px;
    }

    .footer-right {
        flex-direction: column;
        gap: 30px;
    }
}
