/* ==========================================================================
   海王宝下载页面样式
   ========================================================================== */

/* 全局样式
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

body {
    background: #f7f9fc;
    color: #333;
    line-height: 1.6;
}

.wrap {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* 容器和布局
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.justify-content-center {
    justify-content: center;
}

.col-xl-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
    padding: 0 15px;
}

.col-xl-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

/* 动画效果
   ========================================================================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes circle-animations {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 头部横幅区域
   ========================================================================== */
.breadcrumb__area {
    position: relative;
    padding: 80px 0;
    background: url('../images/project-brdcrmb-bg.png') center/cover no-repeat;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.breadcrumb__shape {
    position: absolute;
    z-index: 1;
}

.breadcrumb__shape--top-right {
    top: 0;
    right: 0;
}

.breadcrumb__shape--bottom-left {
    bottom: 12%;
    left: 8%;
    width: 24px;
    height: 24px;
    transform-origin: 50% 50%;
    animation: circle-animations 3s ease-in-out 1s forwards infinite alternate;
}

.breadcrumb__shape--bottom-left-2 {
    bottom: 12%;
    left: 9%;
}

.breadcrumb__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #000000;
}

.breadcrumb__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 36px;
    color: #000000;
}

.breadcrumb__text p {
    font-size: 18px;
    color: #8A8693;
}

/* 功能标签
   ========================================================================== */
.feature-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.feature-tag {
    width: 202px;
    height: 40px;
    border-radius: 20px;
    padding: 10px 20px;
    background: #FFFFFF;
    border: 1px solid #3082FF;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: #3082FF;
    color: #fff;
}

/* 下载区域
   ========================================================================== */
.downloads {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0 0 0;
    background-image: url('../images/download-bg.png');
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

.version-info {
    text-align: center;
    font-size: 16px;
    color: #666;
}

.downloads-card {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 0 80px 0;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 240px;
    padding: 30px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    text-decoration: none;
    color: #111;
    transition: all 0.3s ease;

/* 响应式设计
   ========================================================================== */

/* Tablets and smaller laptops */
@media (max-width: 991.98px) {
    .feature-tags {
        gap: 15px;
    }
    .feature-tag {
        width: calc(25% - 12px); /* Keep 4 columns but with less gap */
    }
    .downloads-card {
        gap: 30px;
    }
    .download-card {
        width: calc(33.333% - 20px); /* Keep 3 columns */
    }
}

/* Small tablets */
@media (max-width: 767.98px) {
    .breadcrumb__area {
        padding: 60px 20px;
    }
    .breadcrumb__title {
        font-size: 2rem; /* 32px */
    }
    .feature-tags {
        gap: 15px;
    }
    .feature-tag {
        width: calc(50% - 8px); /* 2x2 grid */
        text-align: center;
    }
    .downloads-card {
        padding: 40px 20px 60px 20px;
        gap: 20px;
    }
    .download-card {
        width: calc(50% - 10px); /* 2 columns */
    }
    .antivirus-section {
        padding: 0 20px;
    }
    
    /* 小屏下浮动公告优化 */
    .floating-announcement {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 10px 15px;
        flex-direction: column;
        text-align: center;
        padding: 12px 20px;
    }
    
    .floating-announcement p {
        margin-bottom: 8px;
        font-size: 13px;
    }
    
    .floating-announcement a {
        padding-left: 0;
        font-size: 13px;
    }
}

/* Mobile phones */
@media (max-width: 575.98px) {
    .breadcrumb__area {
        padding: 50px 20px;
    }
    .breadcrumb__title {
        font-size: 1.75rem; /* 28px */
        line-height: 1.4;
    }
    .feature-tags {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .feature-tag {
        width: 100%;
        max-width: 300px;
    }
    .downloads-card {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 30px 15px 50px 15px;
    }
    .download-card {
        width: 100%;
        max-width: 340px;
    }
    .antivirus-text {
        padding: 0 15px;
        text-align: center;
        font-size: 0.875rem; /* 14px */
    }
    .antivirus-icons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .antivirus-icons img {
        height: 24px;
    }
    
    /* 小屏下浮动公告进一步优化 */
    .floating-announcement {
        margin: 10px;
        padding: 10px 15px;
        border-radius: 12px;
    }
    
    .floating-announcement p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .floating-announcement a {
        font-size: 12px;
        margin-top: 5px;
        display: inline-block;
    }
}
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    text-decoration: none;
    color: #111;
}

.download-card__icon {
    height: 48px;
    margin-bottom: 15px;
}

.download-card__title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
}

.download-card__tip {
    color: #0066ff;
    font-size: 14px;
}

/* 禁用状态样式 */
.download-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.download-card.disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.download-card.disabled .download-card__tip {
    color: #999;
}

/* 杀毒软件检测区域
   ========================================================================== */
.antivirus-section {
    text-align: center;
}

.antivirus-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.antivirus-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.antivirus-icons img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.antivirus-icons img:hover {
    transform: scale(1.1);
}

/* FAQ区域（已注释但保留样式）
   ========================================================================== */
.faq {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 15px;
}

.faq h2 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 30px;
}

.mb-60 {
    margin-bottom: 60px;
}

.tp-blog-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.tp-blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.tp-blog-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.tp-blog-meta {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tp-blog-category {
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #a8a39e67;
}

.tp-blog-category span {
    color: #6765F6;
    font-weight: 600;
    font-size: 13px;
}

.category-color-2 span {
    color: #f5c88e;
}

.category-color-3 span {
    color: #95CE75;
}

.tp-blog-date {
    margin-left: auto;
    color: #666;
    font-size: 13px;
    opacity: 0.8;
}

.tp-blog-title-box {
    padding: 20px;
}

.tp-blog-title-sm {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    line-height: 1.4;
}

.tp-blog-title-sm:hover {
    color: #0066ff;
}

/* 底部区域
   ========================================================================== */
.footer {
    text-align: center;
    margin-top: 40px;
    background: url('../images/cta-bg.jpg') center/cover no-repeat;
    padding: 80px 20px;
    position: relative;
    color: #fff;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(103, 101, 246, 0.9), rgba(103, 101, 246, 0.7));
}

.footer h2 {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    line-height: 1.4;
}

.footer p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    position: relative;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    background: #fff;
    color: #6765F6;
    padding: 16px 48px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #6765F6;
}

/* 响应式设计
   ========================================================================== */
@media (max-width: 1200px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 992px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .downloads-card {
        gap: 30px;
    }
    
    .breadcrumb__title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .col-xl-10 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .mb-60 {
        margin-bottom: 40px;
    }

    .faq {
        padding: 0;
    }
    
    .downloads-card {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 20px 60px 20px;
    }
    
    .download-card {
        width: 100%;
        max-width: 300px;
    }
    
    .breadcrumb__area {
        padding: 60px 20px;
    }
    
    .breadcrumb__title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .feature-tags {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .feature-tag {
        width: 100%;
        max-width: 280px;
        font-size: 13px;
    }
    
    .antivirus-section {
        padding: 0 20px;
    }
    
    .antivirus-icons {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .antivirus-icons img {
        width: 40px;
        height: 40px;
    }
    
    .footer h2 {
        font-size: 28px;
    }
    
    .footer p {
        font-size: 16px;
    }
    
    /* 浮动公告小屏优化 */
     .floating-announcement {
         position: fixed;
         top: 0;
         left: 0;
         right: 0;
         transform: none;
         margin: 0;
         flex-direction: row;
         justify-content: space-between;
         align-items: center;
         padding: 8px 15px;
         border-radius: 0;
         flex-wrap: nowrap;
         white-space: nowrap;
     }
     
     .floating-announcement p {
         margin: 0;
         font-size: 12px;
         line-height: 1.3;
         flex-shrink: 1;
         overflow: hidden;
         text-overflow: ellipsis;
         white-space: nowrap;
     }
     
     .floating-announcement a {
         padding-left: 10px;
         font-size: 12px;
         flex-shrink: 0;
         white-space: nowrap;
     }
}

@media (max-width: 480px) {
    .breadcrumb__area {
        padding: 40px 15px;
    }
    
    .breadcrumb__title {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .feature-tag {
        width: 100%;
        max-width: 260px;
        font-size: 12px;
        padding: 8px 16px;
        height: 36px;
        line-height: 20px;
    }
    
    .downloads-card {
        padding: 20px 15px 40px 15px;
        gap: 15px;
    }
    
    .download-card {
        width: 100%;
        max-width: 280px;
        padding: 20px 15px;
    }
    
    .download-card__icon {
        height: 40px;
        margin-bottom: 12px;
    }
    
    .download-card__title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .download-card__tip {
        font-size: 13px;
    }
    
    .version-info {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .antivirus-text {
        font-size: 13px;
        padding: 0 15px;
    }
    
    .antivirus-icons img {
        width: 32px;
        height: 32px;
    }
    
    /* 超小屏浮动公告优化 */
     .floating-announcement {
         position: fixed;
         top: 0;
         left: 0;
         right: 0;
         margin: 0;
         padding: 6px 10px;
         border-radius: 0;
         flex-direction: row;
         justify-content: space-between;
         align-items: center;
         flex-wrap: nowrap;
     }
     
     .floating-announcement p {
         font-size: 11px;
         line-height: 1.2;
         margin: 0;
         flex-shrink: 1;
         overflow: hidden;
         text-overflow: ellipsis;
         white-space: nowrap;
     }
     
     .floating-announcement a {
         font-size: 11px;
         padding-left: 8px;
         flex-shrink: 0;
         white-space: nowrap;
     }
}
/* 悬浮公告样式 */
.floating-announcement {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 6px 20px;
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.floating-announcement p {
    margin: 0;
    font-size: 14px;
    color: #333;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.floating-announcement a {
    padding-left: 15px;
    font-size: 14px;
    color: #0066ff;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}
