/* 优点游戏: 渐变活力底 + 柔和深色页脚, 无背景图 */

:root {
    --text: #2a2f3a;
    --text-muted: #6b7280;
    --nav-blue: #2563eb;
    --card-bg: rgba(255, 255, 255, 0.88);
    --card-border: rgba(255, 255, 255, 0.95);
    --shadow: 0 10px 40px rgba(80, 100, 180, 0.12);
    --footer-a: #2f1f4a;
    --footer-b: #1e3a5f;
    --footer-c: #1a3048;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
    color: var(--text);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f5f0ff;
}

a {
    color: inherit;
    text-decoration: none;
}

/* 全屏渐变 mesh, 跳脱一点, 不用任何图片 */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 70% at 10% -10%, rgba(255, 120, 80, 0.35), transparent 55%),
        radial-gradient(ellipse 75% 60% at 95% 15%, rgba(56, 189, 248, 0.28), transparent 50%),
        radial-gradient(ellipse 65% 55% at 70% 100%, rgba(167, 139, 250, 0.32), transparent 48%),
        radial-gradient(ellipse 50% 40% at 0% 85%, rgba(251, 191, 36, 0.2), transparent 45%),
        linear-gradient(168deg, #fff7ed 0%, #f0f9ff 38%, #fdf4ff 72%, #fffbeb 100%);
}

.container {
    width: min(1000px, 94vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 24px rgba(100, 120, 200, 0.08);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

/* 页头 logo 来自 CDN */
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.15;
}

.brand-title {
    font-size: 18px;
    color: var(--text);
    letter-spacing: 0.02em;
}

.brand-sub {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px;
}

.nav-links a {
    padding: 8px 0 10px;
    color: var(--text);
    border-bottom: 3px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover {
    color: var(--nav-blue);
}

.nav-links a.active {
    color: var(--nav-blue);
    border-bottom-color: var(--nav-blue);
    font-weight: 600;
}

.hero {
    position: relative;
    z-index: 1;
    padding: 40px 0 28px;
}

.hero-small {
    padding-bottom: 22px;
}

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

.badge {
    display: inline-block;
    margin: 0;
    padding: 4px 12px;
    font-size: 13px;
    color: var(--text-muted);
}

h1 {
    margin: 8px 0 14px;
    font-size: clamp(24px, 4.2vw, 34px);
    font-weight: 800;
    letter-spacing: 0.03em;
    background: linear-gradient(120deg, #ea580c, #db2777, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    margin: 0 auto;
    max-width: 720px;
    color: var(--text-muted);
    line-height: 1.85;
    font-size: 15px;
}

.section {
    position: relative;
    z-index: 1;
    padding: 8px 0 44px;
}

.news-panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.news-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(250, 245, 255, 0.9));
}

.news-panel-head a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.news-panel-head a:hover {
    color: #db2777;
}

.news-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 14px;
    line-height: 1.55;
    transition: background 0.15s ease;
}

.news-row:hover {
    background: rgba(255, 255, 255, 0.65);
}

.news-row:last-child {
    border-bottom: none;
}

.news-row a {
    color: var(--text);
    flex: 1;
    min-width: 0;
}

.news-row a:hover {
    color: #2563eb;
}

.news-date {
    flex-shrink: 0;
    color: var(--text-muted);
    font-size: 13px;
}

.tag {
    color: #db2777;
    font-weight: 700;
    margin-right: 6px;
}

.card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
}

.info-card h2 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
}

.info-card p,
.info-card li {
    margin: 0;
    color: #4b5563;
    line-height: 1.9;
    font-size: 15px;
}

.info-card p + h2,
.info-card ul + h2 {
    margin-top: 20px;
}

.info-card ul {
    margin: 0 0 8px;
    padding-left: 1.3em;
}

.info-card ol {
    margin: 0 0 8px;
    padding-left: 1.4em;
}

.info-card ol li {
    margin-bottom: 0.5em;
}

.info-card ol li:last-child {
    margin-bottom: 0;
}

/* 人才招聘：多岗位区块 */
.careers-page .career-block {
    margin-bottom: 26px;
}

.careers-page .career-block:last-of-type {
    margin-bottom: 20px;
}

.careers-page .career-block h2 {
    font-size: 17px;
    margin-bottom: 10px;
}

.careers-page .career-email {
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(43, 47, 58, 0.1);
    color: var(--text);
}

.lead-card {
    border-left: 4px solid transparent;
    border-image: linear-gradient(180deg, #f97316, #a855f7) 1;
}

.inline-link {
    color: #2563eb;
    font-weight: 600;
}

.inline-link:hover {
    color: #db2777;
    text-decoration: underline;
}

.legal-page .section {
    padding-top: 0;
}

.legal-body {
    max-width: 860px;
    margin: 0 auto;
}

main {
    flex: 1 0 auto;
}

/* 柔和深色渐变页脚, 避免纯黑刺眼 */
.site-footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 32px 16px 36px;
    text-align: center;
    font-size: 13px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.88);
    background: linear-gradient(145deg, var(--footer-a) 0%, var(--footer-b) 48%, var(--footer-c) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -12px 48px rgba(30, 58, 95, 0.2);
}

.footer-primary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-bottom: 16px;
    font-size: 14px;
}

.footer-primary a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.footer-primary a:hover {
    color: #fde68a;
}

.footer-sep {
    color: rgba(255, 255, 255, 0.28);
    user-select: none;
}

.footer-company {
    margin: 0 0 6px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.footer-icp {
    margin: 0 0 10px;
}

.footer-icp a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-icp a:hover {
    color: #93c5fd;
}

.footer-legal {
    margin: 0 0 12px;
}

.footer-legal a {
    color: #93c5fd;
    margin: 0 12px;
    font-weight: 500;
}

.footer-legal a:hover {
    color: #fde68a;
    text-decoration: underline;
}

.footer-meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
}

/* 客服中心: 服务时间与入口模块 */
.kf-time-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
    padding: 14px 20px;
    border-radius: 16px;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0.95), rgba(224, 242, 254, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    font-size: 16px;
    font-weight: 700;
}

.kf-time-label {
    color: var(--text-muted);
    font-weight: 600;
}

.kf-time-value {
    color: #db2777;
    letter-spacing: 0.06em;
}

.kf-modules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.kf-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 14px 16px;
    border-radius: 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.kf-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 44px rgba(80, 100, 180, 0.18);
}

.kf-tile img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}

.kf-tile-title {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
}

.kf-tile-desc {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
    font-style: normal;
}

.faq-panel {
    margin-top: 0;
}

.faq-details {
    padding: 0 4px 8px;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item summary {
    padding: 14px 12px;
    cursor: pointer;
    font-weight: 800;
    font-size: 15px;
    list-style: none;
    color: var(--text);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: "▸ ";
    color: #db2777;
    font-weight: 900;
}

.faq-item[open] summary::before {
    content: "▾ ";
}

.faq-body {
    padding: 0 12px 16px 28px;
}

.faq-body p {
    margin: 0 0 10px;
    color: #4b5563;
    line-height: 1.85;
    font-size: 14px;
}

.parent-hint {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

/* 家长监控长文 */
.parent-panel {
    overflow: hidden;
}

.parent-faq .faq-item summary {
    font-size: 16px;
}

.parent-text p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.95;
    color: #4b5563;
}

.flow-figure {
    margin: 0;
    text-align: center;
}

.flow-figure img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-radius: 8px;
}

@media (max-width: 640px) {
    .nav-links {
        gap: 16px;
        font-size: 14px;
    }

    .brand-sub {
        display: none;
    }

    .kf-modules {
        grid-template-columns: 1fr;
    }

    .footer-primary {
        flex-direction: column;
        gap: 12px;
    }

    .footer-sep {
        display: none;
    }
}
