/* 页面公共样式 - 用于 download/plans/faq/login/register */

.page-content {
    min-height: calc(100vh - 200px);
}

/* ===== 导航栏优化（页面版 - 白色背景+深色文字） ===== */
/* 新页面的导航栏使用白色背景，不透明浮在顶部 */
.page-content ~ #j-global-top-navbar,
body[data-page-template-path] #j-global-top-navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body[data-page-template-path] #j-global-top-navbar .navbar-nav li a {
    color: #333333 !important;
}

body[data-page-template-path] #j-global-top-navbar .navbar-nav li a:hover {
    color: #388fff !important;
}

body[data-page-template-path] #j-global-top-navbar .navbar-nav .active a {
    color: #388fff !important;
}

body[data-page-template-path] #j-global-top-navbar .navbar-brand .navbar-logo {
    background-image: url(../images/bottom_logo@2x.png) !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

body[data-page-template-path] .pc-header .navbar-brand .navbar-logo {
    background-image: url(../images/bottom_logo@2x.png) !important;
    background-size: contain !important;
}

body[data-page-template-path] #j-global-top-navbar .navbar-toggle .icon-bar {
    background-color: #666666 !important;
}

body[data-page-template-path] #j-global-top-navbar .navbar-btn {
    background-color: #388fff !important;
    border-color: #388fff !important;
}

body[data-page-template-path] #j-global-top-navbar .navbar-btn a {
    color: #ffffff !important;
}

/* 页面顶部横幅 - 参考 index.html banner 深色渐变风格 */
.page-banner {
    width: 100%;
    padding: 120px 0 80px;
    background: linear-gradient(133deg, rgba(67, 105, 172, 1) 0%, rgba(50, 71, 122, 1) 100%);
    text-align: center;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.page-banner-download {
    background: linear-gradient(133deg, rgba(56, 143, 255, 0.85) 0%, rgba(56, 87, 160, 1) 100%);
}

.page-banner-plans {
    background: linear-gradient(133deg, rgba(70, 130, 180, 1) 0%, rgba(50, 71, 122, 1) 100%);
}

.page-banner-faq {
    background: linear-gradient(133deg, rgba(60, 110, 180, 1) 0%, rgba(45, 65, 110, 1) 100%);
}

.page-banner-login,
.page-banner-register {
    background: linear-gradient(133deg, rgba(67, 105, 172, 1) 0%, rgba(50, 71, 122, 1) 100%);
}

.page-title {
    font-size: 3.6rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

@media (max-width: 767px) {
    .page-banner {
        padding: 120px 0 40px;
    }
    .page-title {
        font-size: 2.4rem;
    }
    .page-subtitle {
        font-size: 1.4rem;
    }
}

/* 下载页面 - 下载卡片 */
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.download-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: 0px 2px 8px rgba(56, 143, 255, 0.1);
    transition: all 0.3s ease;
}

.download-card:hover {
    box-shadow: 0px 10px 30px rgba(56, 143, 255, 0.2);
    transform: translateY(-4px);
}

.download-icon {
    margin-bottom: 20px;
}

.download-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.download-card h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #388FFF;
    margin: 0 0 12px;
}

.download-card p {
    font-size: 1.4rem;
    color: #666666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.download-btn {
    padding: 8px 30px;
    font-size: 1.4rem;
}

@media (max-width: 991px) {
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .download-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ 页面 */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 16px;
    box-shadow: 0px 2px 8px rgba(56, 143, 255, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0px 4px 16px rgba(56, 143, 255, 0.15);
}

.faq-item h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #388FFF;
    margin: 0 0 12px;
    line-height: 1.5;
}

.faq-item p {
    font-size: 1.5rem;
    color: #555555;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 767px) {
    .faq-item {
        padding: 20px;
    }
    .faq-item h3 {
        font-size: 1.6rem;
    }
    .faq-item p {
        font-size: 1.4rem;
    }
}

/* 登录/注册页面 */
.auth-wrapper {
    max-width: 440px;
    margin: 0 auto;
}

.auth-box {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 48px 40px;
    box-shadow: 0px 4px 20px rgba(56, 143, 255, 0.12);
}

.auth-box h2 {
    font-size: 2.4rem;
    font-weight: bold;
    color: #333333;
    margin: 0 0 8px;
    text-align: center;
}

.auth-subtitle {
    font-size: 1.4rem;
    color: #999999;
    text-align: center;
    margin-bottom: 32px;
}

.auth-form {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 1.4rem;
    color: #555555;
    margin-bottom: 8px;
    font-weight: normal;
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 1.5rem;
    line-height: 1.5;
    color: #333333;
    background: #F8F9FC;
    border: 1px solid #E0E6F0;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #388FFF;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(56, 143, 255, 0.1);
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 1.3rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666666;
    font-size: 1.3rem;
    cursor: pointer;
    margin: 0;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 14px;
    height: 14px;
}

.form-link {
    color: #388FFF;
    text-decoration: none;
    font-size: 1.3rem;
}

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

.auth-submit {
    width: 100%;
    padding: 14px;
    font-size: 1.6rem;
    font-weight: bold;
    background: linear-gradient(130deg, rgba(110, 198, 255, 1) 0%, rgba(42, 135, 255, 1) 100%);
    border: none;
    color: #FFFFFF;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    margin: 0;
}

.auth-submit:hover {
    opacity: 0.9;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #E0E6F0;
}

.auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 16px;
    background: #FFFFFF;
    color: #999999;
    font-size: 1.3rem;
}

.auth-tip {
    text-align: center;
    font-size: 1.4rem;
    color: #666666;
}

.auth-tip a {
    color: #388FFF;
    text-decoration: none;
    font-weight: bold;
    margin-left: 4px;
}

.auth-tip a:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .auth-box {
        padding: 32px 24px;
    }
    .auth-box h2 {
        font-size: 2rem;
    }
}

/* 页脚 */
.page-footer {
    background: #2A3657;
    color: #ADC0D9;
    padding: 50px 0 20px;
    margin-top: 40px;
}

.page-footer h4 {
    color: #FFFFFF;
    font-size: 1.6rem;
    margin-bottom: 16px;
    font-weight: bold;
}

.page-footer p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #ADC0D9;
    margin: 0;
}

.page-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-footer ul li {
    margin-bottom: 10px;
}

.page-footer ul li a {
    color: #ADC0D9;
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.2s ease;
}

.page-footer ul li a:hover {
    color: #388FFF;
}

.footer-info {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(173, 192, 217, 0.2);
}

.footer-bottom {
    padding-top: 24px;
    font-size: 1.2rem;
    color: #ADC0D9;
}

.footer-bottom .footer-pay {
    text-align: right;
}

.footer-bottom .footer-pay svg {
    width: 36px;
    height: 24px;
    margin-left: 8px;
}

@media (max-width: 767px) {
    .page-footer {
        padding: 30px 0 20px;
    }
    .footer-info > div {
        margin-bottom: 24px;
    }
    .footer-bottom > div {
        text-align: center;
        margin-bottom: 12px;
    }
    .footer-bottom .footer-pay {
        text-align: center;
    }
    .footer-bottom .footer-pay svg {
        margin: 0 4px;
    }
}

.text-center {
    text-align: center;
}
