/* ============================================================
   校盈易 · 教育CRM系统 网站样式（响应式 · SEO 友好）
   配色：主色 indigo #4f46e5 ｜ 深色 #1a1a2e ｜ 底 #f5f7fa
   ============================================================ */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #eef1ff;
  --dark: #1a1a2e;
  --text: #333;
  --muted: #666;
  --light: #f5f7fa;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  --maxw: 1200px;
      --accent: #F97316;
  --accent-dark: #EA580C;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--border);
}
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; font-size: 18px; font-weight: 700; color: var(--dark); }
.logo .dot { color: var(--primary); }
.logo small { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--text); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--primary); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-block; padding: 9px 22px; border-radius: 6px;
  font-size: 14px; font-weight: 600; cursor: pointer; border: none;
  transition: all .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); text-decoration: none; }
.btn-lg { padding: 13px 30px; font-size: 16px; }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); font-size: 1.1rem; padding: 14px 36px; }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--dark); cursor: pointer; }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 14px 0;}
.breadcrumb a { color: var(--muted); }
.breadcrumb .sep { margin: 0 6px; color: #ccc; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #eef1ff 0%, #f5f7fa 60%, #fff 100%);
  padding: 72px 0 64px;
}
.hero-inner { text-align: center; max-width: 820px; margin: 0 auto; }
.hero h1 { font-size: 42px; font-weight: 800; color: var(--dark); line-height: 1.25; margin-bottom: 18px; }
.hero h1 .hl { color: var(--primary); }
.hero .sub { font-size: 17px; color: var(--muted); margin-bottom: 30px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .trust { margin-top: 28px; font-size: 14px; color: var(--muted); display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero .trust span { white-space: nowrap; }

/* ---------- 通用 section ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--light); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sec-head h2 { font-size: 30px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.sec-head p { color: var(--muted); font-size: 15px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(79, 70, 229, 0.12); }
.card h3 { font-size: 17px; color: var(--primary); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text); }
.card .icon { font-size: 30px; margin-bottom: 12px; }

/* 定义段 */
.define-block { max-width: 820px; margin: 0 auto; text-align: left; }
.define-block p { font-size: 16px; color: var(--text); margin-bottom: 14px; }

/* 表格 */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; }
th { background: var(--primary-light); color: var(--primary); text-align: left; padding: 12px 14px; font-weight: 600; }
td { padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--text); }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 16px 20px; font-weight: 600; color: var(--dark); cursor: pointer; font-size: 15px; }
.faq-item summary:hover { color: var(--primary); }
.faq-item .faq-a { padding: 0 20px 16px; color: var(--text); font-size: 14px; }

/* CTA 条 */
.cta-band { background: linear-gradient(135deg, #4f46e5, #4338ca); color: #fff; text-align: center; padding: 56px 20px; border-radius: var(--radius); }
.cta-band h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.cta-band p { font-size: 15px; opacity: .9; margin-bottom: 24px; }
.cta-band .btn { background: #fff; color: var(--primary); }
.cta-band .btn:hover { background: var(--primary-light); }

/* 页脚 */
.site-footer { background: var(--dark); color: #c7c9d1; padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer a { color: #c7c9d1; display: block; padding: 3px 0; font-size: 13px; }
.site-footer a:hover { color: #fff; }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; color: #8a8c96; font-size: 13px; }

/* ---------- 痛点共鸣区（PAS：痛点→方案→CTA） ---------- */
.pain-title { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.pain-title h2 { font-size: 28px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.pain-title h2 .q { color: #e5605a; }
.pain-card {
  background: #fff;
  border: 1px solid #f2e3e2;
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pain-num {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fdeceb;
  color: #c0392b;
  font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.pain-card h3 { font-size: 16px; color: #c0392b; margin-bottom: 6px; }
.pain-card p { font-size: 16px; color: var(--muted); line-height: 1.6; }
.pain-solution {
  margin-top: 28px;
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--radius);
  display: flex; align-items: center;justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.pain-solution p { font-size: 16px;font-weight: 600;line-height:1.5;}
.pain-solution .btn { background: #fff; color: var(--primary);}
.pain-solution .btn:hover { background: var(--primary-light);}

/* ---------- 功能模块块 ---------- */
.module {display: flex;justify-content:space-between; max-width: var(--maxw); margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 16px; }
.module .left{}
.module .right{display: flex;
  justify-content: flex-end;}
.module .right img{width: 80%;min-width: 500px;}
.module h3 {font-size: 18px; color: var(--dark); margin-bottom: 8px; }
.module h3 .tag {font-size:12px; color:#b45309; background: #fef3c7;border-radius: 4px;padding:2px 8px; margin-left: 8px; font-weight: 600; vertical-align: middle; white-space: nowrap;}
.module .tagline { font-size:16px; color: var(--muted); margin-bottom:10px;}
.module ul { margin-top: 4px;}
.module ul li { position: relative; padding-left: 20px; font-size: 16px; color: var(--text);margin-bottom:6px;}
.module ul li::before { content: "✓"; position: absolute;left: 0; color: var(--primary);font-weight: 700;}

/* ---------- SEO 文章卡 ---------- */
.article-grid { display: grid;gap:20px; grid-template-columns: repeat(3, 1fr);}
.article { background: #fff; border:1px solid var(--border); border-radius: var(--radius); padding:22px; display:flex;flex-direction: column; }
.article .article-meta {font-size:12px; color: var(--muted); margin-bottom: 8px;}
.article h4 { font-size: 15px; color: var(--dark); margin-bottom: 8px;line-height:1.5;}
.article h4 a { color: var(--dark); }
.article h4 a:hover { color: var(--primary); }
.article p { font-size: 13px; color: var(--muted); margin-bottom:12px;flex: 1; }
.article a.more { font-size: 13px; font-weight: 600; }

/* ---------- 提示块 ---------- */
.note { border-radius: 10px; padding: 16px 20px; margin: 16px 0; font-size: 14px; }
.note.warn { background: #fef3c7; border: 1px solid #fde68a; color: #92400e; max-width: var(--maxw); margin: 0 auto; }
.note.info { max-width: var(--maxw); margin: 0 auto;background: var(--primary-light); border: 1px solid #c7d2fe; color: #3730a3; }
.note p { margin: 0; }

/* ---------- 表格高亮列 ---------- */
table td.hl { background: var(--primary-light); font-weight: 600; color: var(--primary); }
table th.hl { background: var(--primary); color: #fff; }


/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 30px; }
  .sec-head h2 { font-size: 24px; }
  .section { padding: 44px 0; }
  .article-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pain-title h2 { font-size: 22px; }
  .pain-solution { flex-direction: column; text-align: center; }
  .nav-links, .nav-actions .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: #fff; padding: 16px 20px;
    border-bottom: 1px solid var(--border); gap: 14px; align-items: flex-start;
  }
  .nav-actions .btn-primary { display: inline-block; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .trust { gap: 10px 16px; }
}

/* Trial Page */
.trial-hero { text-align: center; }
.trial-hero h1 { font-size: 2.2rem; }
.trial-steps { display: flex; gap: 16px; justify-content: center; margin: 32px 0; }
.trial-step { display: flex; align-items: center; gap: 8px; font-weight: 600;}
.trial-step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.trial-form { max-width: 400px; margin: 24px auto 0;}
.trial-form input { width: 100%; padding: 14px 16px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 1rem; margin-bottom: 12px; }
.trial-form input:focus { outline: none; border-color: var(--primary); }
.trial-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 700px; margin: 48px auto 0;}
.trial-features li { padding: 8px 12px; background: var(--bg-gray); border-radius: var(--radius); font-size: 0.9rem;}



/*-------------------------------------------------------------------------------------------------------------------------*/
  /* ========================================
       容器系统（模拟Bootstrap容器）
       ======================================== */
    .container-fluid {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    /* ========================================
       网格系统（模拟Bootstrap网格）
       ======================================== */
    .row {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -12px;
    }
    
    .row.g-4 {
        margin: 0 -16px;
    }
    .row.g-4 > [class*="col-"] {
        padding: 0 16px;
    }
    
    .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 12px;
    }
    
    .col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
        padding: 0 12px;
    }
    
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
        padding: 0 12px;
    }
    
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 12px;
    }
    
    .col {
        flex: 1 0 0%;
        padding: 0 12px;
    }
    
    /* ========================================
       工具类（模拟Bootstrap工具）
       ======================================== */
    .bg-light {
        background-color: #f8fafc;
    }
    
    .bg-white {
        background-color: #ffffff;
    }
    
    .bg-body-secondary {
        background-color: #f1f5f9;
    }
    
    .bg-secondary-subtle {
        background-color: #eff6ff;
    }
    
    .rounded-4 {
        border-radius: 16px;
    }
    
    .rounded-3 {
        border-radius: 12px;
    }
    
    .rounded-5 {
        border-radius: 40px;
    }
    
    .border-0 {
        border: 0;
    }
    
    .border {
        border: 1px solid #e2e8f0;
    }
    
    .border-1 {
        border: 1px solid #e2e8f0;
    }
    
    .shadow-sm {
        box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    }
    
    /* ========================================
       间距工具
       ======================================== */
    .p-2 { padding: 0.5rem; }
    .p-3 { padding: 1rem; }
    .p-4 { padding: 1.5rem; }
    .px-3 { padding-left: 1rem; padding-right: 1rem; }
    .px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
    .py-3 { padding-top: 1rem; padding-bottom: 1rem; }
    .py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
    .py-5 { padding-top: 3rem; padding-bottom: 3rem; }
    
    .ps-0 { padding-left: 0; }
    .ps-3 { padding-left: 1rem; }
    .ps-lg-4 { padding-left: 1.5rem; }
    
    .mb-3 { margin-bottom: 1rem; }
    .mb-4 { margin-bottom: 1.5rem; }
    .mb-5 { margin-bottom: 3rem; }
    .mt-3 { margin-top: 1rem; }
    .my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
    
    .m-0 { margin: 0; }
    
    /* ========================================
       弹性布局工具
       ======================================== */
    .d-flex { display: flex; }
    .d-block { display: block; }
    .d-none { display: none; }
    .d-inline-block { display: inline-block; }
    
    .flex-column { flex-direction: column; }
    .flex-wrap { flex-wrap: wrap; }
    
    .justify-content-center { justify-content: center; }
    .justify-content-between { justify-content: space-between; }
    
    .align-content-center { align-content: center; }
    .align-items-center { align-items: center; }
    
    /* ========================================
       文本工具
       ======================================== */
    .text-center { text-align: center; }
    .text-black { color: #1e293b; }
    .text-black-50 { color: #64748b; }
    .text-secondary { color: #64748b; }
    .text-muted { color: #94a3b8; }
    .text-decoration-none { text-decoration: none; }
    .text-dark { color: #1e293b; }
    
    .fw-bold { font-weight: 700; }
    .fs-4 { font-size: 1.1rem; }
    .fs-5 { font-size: 1.05rem; }
    .lh-lg { line-height: 1.8; }
    .display-6 { font-size: 1.8rem; font-weight: 700; }
    .h3 { font-size: 1.25rem; font-weight: 600; }
    .h2 { font-size: 2rem; font-weight: 700; }
    
    /* ========================================
       卡片组件
       ======================================== */
    .card {
        background: #ffffff;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .h-100 {
        height: 100%;
    }
    
    /* ========================================
       粘性定位
       ======================================== */
    .sticky-top {
        position: sticky;
        top: 100px;
        z-index: 2;
    }
    
    /* ========================================
       自定义：资讯详情页
       ======================================== */
    .news-content {
        font-size: 1.1rem;
        line-height: 1.9;
        color: #1e293b;
    }
    .news-content img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        margin: 1rem 0;
    }
    .news-content p {
        margin-bottom: 1.2rem;
    }
    
    /* ========================================
       自定义：产品矩阵
       ======================================== */
    .product-matrix li {
        margin-bottom: 1.5rem;
    }
    .product-matrix li:last-child {
        margin-bottom: 0;
    }
    .product-matrix a {
        display: flex;
        flex-direction: column;
        background-color: #eff6ff;
        border-radius: 12px;
        overflow: hidden;
        transition: box-shadow 0.3s;
    }
    .product-matrix a:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    .product-matrix a img {
        width: 100%;
        height: auto;
    }
    .product-matrix a p {
        padding: 0.5rem 1rem;
        text-align: center;
        font-size: 1.1rem;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        margin: 0;
    }
    
    /* ========================================
       自定义：相关文章
       ======================================== */
    .related-articles .related-col .card {
        transition: transform 0.2s, box-shadow 0.2s;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
    }
    .related-articles .related-col .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }
    .related-articles .related-col .card-body h2 {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }
    .related-articles .related-col .card-body p {
        color: #64748b;
        font-size: 0.95rem;
        line-height: 1.7;
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* ========================================
       自定义：关注标签
       ======================================== */
    .tag-item a {
        display: flex;
        justify-content: center;
        align-content: center;
        padding: 0.5rem 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 40px;
        background-color: #f8fafc;
        font-size: 1.1rem;
        color: #64748b;
        transition: all 0.2s;
        text-decoration: none;
        text-align: center;
    }
    .tag-item a:hover {
        background-color: #dbeafe;
        border-color: #2563eb;
        color: #2563eb;
    }
    .tag-item a p {
        margin: 0;
    }
    
    /* ========================================
       行/列 辅助（row-cols）
       ======================================== */
    .row-cols-2 > * {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .row-cols-sm-2 > * {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .row-cols-md-3 > * {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .row-cols-lg-4 > * {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .row-cols-xl-5 > * {
        flex: 0 0 20%;
        max-width: 20%;
    }
    
    /* ========================================
       响应式
       ======================================== */
    @media (min-width: 992px) {
        .d-lg-block { display: block; }
        .d-lg-none { display: none; }
    }
    
    @media (max-width: 991.98px) {
        .col-lg-9 {
            flex: 0 0 100%;
            max-width: 100%;
        }
        .col-lg-3 {
            flex: 0 0 100%;
            max-width: 100%;
            padding-left: 0;
            padding-right: 0;
        }
        .ps-lg-4 {
            padding-left: 0;
        }
        .sticky-top {
            position: relative;
            top: 0;
        }
        .d-none.d-lg-block {
            display: none !important;
        }
    }
.list_line{font-size: 18px;border-left: 3px solid var(--primary);}
    @media (max-width: 767.98px) {
        .col-md-6 {
            flex: 0 0 100%;
            max-width: 100%;
        }
        .display-6 {
            font-size: 1.4rem;
        }
        .fs-4 {
            font-size: 1rem;
        }
        .p-4 {
            padding: 1rem;
        }
        .row-cols-sm-2 > * {
            flex: 0 0 50%;
            max-width: 50%;
        }
    }
    
    @media (max-width: 575.98px) {
        .row-cols-2 > * {
            flex: 0 0 50%;
            max-width: 50%;
        }
    }


