/* ===== 苹果GSX查询 主题样式 ===== */
:root {
    --gsx-blue: #0071e3;
    --gsx-blue-dark: #0062c4;
    --gsx-dark: #1d1d1f;
    --gsx-gray: #6e6e73;
    --gsx-bg: #f5f5f7;
    --gsx-border: #e5e5e7;
}

body.gsx-body {
    background: var(--gsx-bg);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--gsx-dark);
    padding-top: 0 !important;
    margin: 0;
}

.gsx-wrap a { text-decoration: none; color: inherit; }
.gsx-wrap a:hover { text-decoration: none; }

/* ===== 顶部导航 ===== */
.gsx-topbar {
    background: rgba(29, 29, 31, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    color: #f5f5f7;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.gsx-topbar-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 16px;
}
.gsx-topbar .gsx-brand {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .5px;
}
.gsx-topbar nav a {
    color: #d2d2d7;
    font-size: 13px;
    margin-left: 22px;
    transition: color .2s;
}
.gsx-topbar nav a:hover { color: #fff; }
.gsx-topbar nav a.on { color: #fff; font-weight: 600; }

/* ===== Hero 区 ===== */
.gsx-hero {
    background: linear-gradient(180deg, #0a0a0c 0%, #1d1d1f 100%);
    color: #fff;
    text-align: center;
    padding: 56px 16px 64px;
}
.gsx-hero h1 {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: 1px;
}
.gsx-hero h1 .gsx-logo {
    width: 46px;
    height: 46px;
    vertical-align: -11px;
    margin-right: 12px;
}
.gsx-hero .gsx-sub {
    font-size: 17px;
    color: #a1a1a6;
    margin: 0 0 30px;
}

/* ===== 查询框 ===== */
.gsx-search {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #0071e3;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.gsx-search input {
    flex: 1;
    border: none;
    outline: none;
    height: 54px;
    padding: 0 20px;
    font-size: 16px;
    color: var(--gsx-dark);
    min-width: 0;
}
.gsx-search .gsx-btn {
    height: 54px;
    padding: 0 34px;
    background: var(--gsx-blue);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}
.gsx-search .gsx-btn:hover { background: var(--gsx-blue-dark); }
.gsx-hero .gsx-tip {
    margin-top: 16px;
    font-size: 12px;
    color: #86868b;
}

/* ===== 服务标签云 ===== */
.gsx-services {
    max-width: 1080px;
    margin: -28px auto 0;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}
.gsx-services .gsx-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 24px 26px;
}
.gsx-services h2 {
    font-size: 18px;
    margin: 0 0 16px;
    font-weight: 700;
}
.gsx-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.gsx-tags a {
    background: #f5f5f7;
    color: var(--gsx-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    transition: all .2s;
    border: 1px solid transparent;
}
.gsx-tags a:hover {
    background: #e8f1fd;
    color: var(--gsx-blue);
    border-color: var(--gsx-blue);
}

/* ===== 引流区 ===== */
.gsx-follow {
    max-width: 1080px;
    margin: 28px auto;
    padding: 0 16px;
}
.gsx-follow h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px;
}
.gsx-follow .gsx-follow-sub {
    text-align: center;
    color: var(--gsx-gray);
    font-size: 14px;
    margin: 0 0 24px;
}
.gsx-follow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.gsx-follow-item {
    background: #fff;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.gsx-follow-item .gsx-follow-icon {
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 12px;
    margin: 0 auto 14px;
    font-size: 24px;
    color: #fff;
}
.gsx-follow-item .gsx-follow-icon.gzh { background: #07c160; }
.gsx-follow-item .gsx-follow-icon.mp { background: var(--gsx-blue); }
.gsx-follow-item .gsx-follow-icon.kf { background: #ff7a45; }
.gsx-follow-item h3 {
    font-size: 17px;
    margin: 0 0 6px;
    font-weight: 700;
}
.gsx-follow-item .gsx-follow-name {
    color: var(--gsx-gray);
    font-size: 13px;
    margin: 0 0 14px;
    min-height: 20px;
}
.gsx-follow-item .gsx-qr {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border: 1px solid var(--gsx-border);
    border-radius: 10px;
    margin: 0 auto;
    display: block;
}
.gsx-follow-item .gsx-qr-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border: 1px dashed #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 12px;
    background: #fafafa;
}
.gsx-follow-item .gsx-follow-desc {
    font-size: 13px;
    color: var(--gsx-gray);
    margin: 12px 0 0;
    line-height: 1.6;
}
.gsx-follow-item .gsx-wechat-id {
    display: inline-block;
    margin-top: 10px;
    background: #f5f5f7;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--gsx-blue);
    font-weight: 600;
}

/* ===== 服务说明 ===== */
.gsx-desc {
    max-width: 1080px;
    margin: 0 auto 28px;
    padding: 0 16px;
}
.gsx-desc .gsx-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    color: #444;
    line-height: 1.9;
}
.gsx-desc .gsx-card a { color: var(--gsx-blue); }

/* ===== 资讯 ===== */
.gsx-news {
    max-width: 1080px;
    margin: 0 auto 40px;
    padding: 0 16px;
}
.gsx-news h2 {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 20px;
}
.gsx-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gsx-news-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
    transition: transform .2s, box-shadow .2s;
    display: block;
}
.gsx-news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}
.gsx-news-item h3 {
    font-size: 15px;
    margin: 0 0 8px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gsx-news-item p {
    font-size: 13px;
    color: var(--gsx-gray);
    margin: 0 0 10px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gsx-news-item .gsx-news-meta {
    font-size: 12px;
    color: #aaa;
}
.gsx-news-item {
    text-decoration: none;
    color: inherit;
}
.gsx-news-item h3 { color: var(--gsx-dark); }
.gsx-news-item .gsx-news-more {
    font-size: 13px;
    color: var(--gsx-primary, #0071e3);
    font-weight: 600;
}
.gsx-news-empty {
    text-align: center;
    color: #999;
    padding: 30px 0;
    font-size: 14px;
}

/* ===== Footer ===== */
.gsx-footer {
    background: #1d1d1f;
    color: #86868b;
    padding: 32px 16px;
    text-align: center;
    font-size: 13px;
    line-height: 1.9;
}
.gsx-footer a { color: #a1a1a6; }
.gsx-footer a:hover { color: #fff; }
.gsx-footer .gsx-footer-links { margin-bottom: 8px; }

/* ===== 弹窗 ===== */
.gsx-modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.gsx-modal-mask.show { display: flex; }
.gsx-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 380px;
    width: 100%;
    padding: 30px 24px;
    text-align: center;
    position: relative;
    animation: gsxPop .25s ease;
}
@keyframes gsxPop {
    from { transform: scale(.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.gsx-modal .gsx-modal-close {
    display: block;
    margin: 16px auto 0;
    font-size: 16px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    text-align: center;
    line-height: 1;
    background: #f0f0f0;
    padding: 12px 0;
    border-radius: 22px;
}
.gsx-modal .gsx-modal-close:hover { background: #e0e0e0; color: #e5484d; }
.gsx-modal h3 { font-size: 19px; margin: 0 0 6px; font-weight: 700; }
.gsx-modal .gsx-modal-tip { color: var(--gsx-gray); font-size: 14px; margin: 0 0 18px; }
.gsx-modal .gsx-modal-text { color: #333; font-size: 14px; line-height: 1.7; margin: 14px 0 16px; }
.gsx-modal img.gsx-qr {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border: 1px solid var(--gsx-border);
    border-radius: 10px;
    margin: 0 auto 14px;
}
.gsx-modal .gsx-modal-btn {
    display: inline-block;
    background: var(--gsx-blue);
    color: #fff;
    padding: 10px 30px;
    border-radius: 22px;
    font-size: 15px;
    font-weight: 600;
}
.gsx-follow-qrs {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 6px;
}
.gsx-follow-qr-item {
    flex: 1;
    max-width: 170px;
}
.gsx-follow-qr-item img.gsx-qr {
    width: 140px;
    height: 140px;
    margin-bottom: 8px;
}
.gsx-follow-qr-label {
    color: #999;
    font-size: 13px;
    margin: 0 0 4px;
}
.gsx-follow-qr-name {
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}
.gsx-follow-qr-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.gsx-follow-qr-link:hover img.gsx-qr {
    border-color: var(--gsx-blue);
}
.gsx-follow-qr-enter {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 18px;
    background: #0071e3;
    color: #ffffff;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
}
.gsx-follow-qr-enter:hover {
    opacity: .9;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .gsx-hero h1 { font-size: 28px; }
    .gsx-hero { padding: 40px 16px 52px; }
    .gsx-follow-grid,
    .gsx-news-grid { grid-template-columns: 1fr; }
    .gsx-topbar-inner { height: 44px; }
    .gsx-topbar nav a { margin-left: 14px; font-size: 12px; }
    .gsx-search .gsx-btn { padding: 0 22px; }
}

/* ===== 免责声明 / 内容页 ===== */
.gsx-page {
    max-width: 1080px;
    margin: 40px auto;
    padding: 0 16px;
}
.gsx-page .gsx-card {
    background: #fff;
    border-radius: 14px;
    padding: 40px 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    line-height: 1.9;
    color: #444;
    font-size: 15px;
}
.gsx-page h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gsx-dark);
    margin: 0 0 8px;
    text-align: center;
}
.gsx-page .gsx-page-lead {
    color: var(--gsx-gray);
    font-size: 14px;
    text-align: center;
    margin: 0 0 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gsx-border);
}
.gsx-page h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gsx-dark);
    margin: 24px 0 10px;
}
.gsx-page p { margin: 0 0 12px; }
.gsx-page .gsx-page-update {
    margin-top: 24px;
    color: var(--gsx-gray);
    font-size: 13px;
    text-align: right;
}
@media (max-width: 768px) {
    .gsx-page .gsx-card { padding: 26px 20px; }
}

/* ===== 常见问题详情 ===== */
.gsx-page .gsx-faq-content {
    font-size: 15px;
    color: #444;
    line-height: 1.9;
    text-align: left;
}
.gsx-page .gsx-faq-content p {
    margin: 0 0 14px;
    text-indent: 2em;
    text-align: left !important;
}
.gsx-page .gsx-faq-content img {
    display: block;
    width: auto !important;
    max-width: 50% !important;
    height: auto;
    border-radius: 6px;
    margin: 14px auto;
}
.gsx-page .gsx-faq-content a { color: var(--gsx-primary, #0071e3); }
.gsx-page .gsx-faq-back {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--gsx-border);
}
.gsx-page .gsx-faq-back a {
    color: var(--gsx-primary, #0071e3);
    font-size: 14px;
    text-decoration: none;
}

/* ===== 友情链接 ===== */
.gsx-footer .gsx-footer-friendlinks {
    margin: 2px 0 14px;
    font-size: 12px;
    color: #86868b;
    line-height: 2.2;
}
.gsx-footer .gsx-footer-friendlinks .gsx-friendlinks-label {
    color: #a1a1a6;
}
.gsx-footer .gsx-footer-friendlinks a {
    color: #a1a1a6;
    margin-right: 14px;
}
.gsx-footer .gsx-footer-friendlinks a:hover { color: #fff; }

/* ===== 查询服务详情页 ===== */
.gsx-query-box {
    margin: 28px 0 8px;
    text-align: center;
}
.gsx-query-box .gsx-search {
    margin: 0 auto;
}
.gsx-query-box .gsx-tip {
    margin-top: 14px;
    font-size: 13px;
    color: var(--gsx-gray);
    text-align: center;
}
.gsx-query-example {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gsx-border);
}
.gsx-query-example h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gsx-dark);
    margin: 0 0 16px;
    text-align: center;
}
.gsx-query-content {
    font-size: 15px;
    color: #444;
    line-height: 1.9;
    text-align: left;
    max-width: 640px;
    margin: 0 auto;
}
.gsx-query-content p {
    margin: 0 0 14px;
    text-indent: 0;
    text-align: left !important;
}
.gsx-query-content img {
    display: block;
    width: auto !important;
    max-width: 60% !important;
    height: auto;
    border-radius: 6px;
    margin: 14px auto;
}
.gsx-query-empty {
    text-align: center;
    color: #999;
    padding: 30px 0;
    font-size: 14px;
}
