/* 重置基础样式 - 移除全局body样式，改用特定类名 */
.sq-page {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: #333;
    background-color: #f5f7fa;
}

/* 确保授权验证页面不被header覆盖 */
body:has(.sq-page) {
    padding-top: 65px !important;
}



/* 顶部背景区域 */
.sq-banner-area {
    height: 550px;
    width: 100%;
    background-image: url('/web/StarPolicy/static/image/banner.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 85px 20px 20px 20px;
    box-sizing: border-box;
}

/* 标题样式 */
.sq-banner-title {
    color: #fff;
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sq-banner-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 600px;
}

/* 搜索框样式 */
.sq-search-container {
    width: 100%;
    max-width: 600px;
    position: relative;
    margin-top: 20px;
}

.sq-search-input {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    border: none;
    padding: 0 60px 0 25px;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    color: #333;
    box-sizing: border-box;
}

.sq-search-input:focus {
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.sq-search-button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4285f4;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sq-search-button:hover {
    background-color: #3367d6;
}

/* 内容区域 */
.sq-content-area {
    flex: 1;
    padding: 40px 20px;
    background-color: #f5f7fa;
}

.sq-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.sq-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.sq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sq-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 24px;
    color: #fff;
}

.sq-card-icon.orange {
    background-color: #ff9800;
}

.sq-card-icon.blue {
    background-color: #4285f4;
}

.sq-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.sq-card-button {
    margin-top: 15px;
    padding: 8px 20px;
    border-radius: 20px;
    background-color: #f44336;
    color: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sq-card-button:hover {
    background-color: #e53935;
}

.sq-footer {
    text-align: center;
    padding: 20px;
    color: #000000;
    font-size: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .sq-banner-area {
        height: 500px;
        padding: 80px 15px 15px 15px;
    }
    
    .sq-banner-title {
        font-size: 2rem;
    }
    
    .sq-banner-subtitle {
        font-size: 1rem;
    }
    
    .sq-search-container {
        max-width: 90%;
    }
    
    .sq-card {
        max-width: 100%;
    }
}
.sq-heart {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.sq-report-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.sq-piracy {
    background: #fff;
    border-radius: 12px;
    padding: 30px;  /* 增加内部padding */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(50% - 15px);
    min-width: 300px;
    transition: all 0.3s ease;
    gap: 30px;  /* 添加文字和按钮之间的间距 */
}

.sq-piracy:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sq-piracy .sq-left {
    display: flex;
    align-items: center;
    gap: 25px;  /* 增加图标和文字之间的间距 */
    flex: 1;  /* 让文字区域占据剩余空间 */
}

.sq-piracy .sq-left img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.sq-piracy .sq-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    flex: 1;  /* 让文字占据剩余空间 */
}

.sq-piracy .sq-report-btn {
    background: #f44336;
    color: white;
    padding: 10px 25px;  /* 增加按钮内部间距 */
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;  /* 防止按钮文字换行 */
    flex-shrink: 0;  /* 防止按钮被压缩 */
}

.sq-piracy .sq-report-btn:hover {
    background: #e53935;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .sq-piracy {
        width: 100%;
        padding: 25px;  /* 移动端稍微减小内部间距 */
        gap: 20px;  /* 移动端减小间距 */
    }
    
    .sq-piracy .sq-left {
        gap: 20px;  /* 移动端减小图标和文字间距 */
    }
    
    .sq-piracy .sq-left img {
        width: 40px;
        height: 40px;
    }
    
    .sq-piracy .sq-text {
        font-size: 14px;
    }
    
    .sq-piracy .sq-report-btn {
        padding: 8px 20px;  /* 移动端减小按钮内部间距 */
    }
}
/* 移除重复的动画和提示框样式，因为已经在HTML中定义 */

/* 商业授权优势介绍区域样式 */
.sq-why-auth {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.sq-why-title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.sq-why-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sq-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sq-feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sq-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sq-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    position: relative;
}

/* 图标样式 */
.sq-icon-auth {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
}

.sq-icon-auth::before {
    content: "\2713";
    font-size: 40px;
}

.sq-icon-reputation {
    background: linear-gradient(135deg, #4ECDC4, #45B7AF);
}

.sq-icon-reputation::before {
    content: "\2605";
    font-size: 40px;
}

.sq-icon-security {
    background: linear-gradient(135deg, #6C63FF, #574BD2);
}

.sq-icon-security::before {
    content: "\1F512";
    font-size: 40px;
}

.sq-icon-support {
    background: linear-gradient(135deg, #7F7FD5, #86A8E7);
}

.sq-icon-support::before {
    content: "\2764";
    font-size: 40px;
}

.sq-feature-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.sq-feature-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    max-width: 300px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .sq-features {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .sq-feature-card {
        padding: 30px;
    }

    .sq-feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .sq-feature-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .sq-feature-desc {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* 抖动动画效果 */
@-webkit-keyframes sq-shake {
    0%, 100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0);
    }
    20%, 40%, 60%, 80% {
        -webkit-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0);
    }
}

@keyframes sq-shake {
    0%, 100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0);
    }
    20%, 40%, 60%, 80% {
        -webkit-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0);
    }
}

.shake {
    -webkit-animation-name: sq-shake;
    animation-name: sq-shake;
    -webkit-animation-duration: 0.8s;
    animation-duration: 0.8s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}